Пример #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            DetailEmployeeReimbursePresenter detailEmployeeReimbursePresenter = new DetailEmployeeReimbursePresenter(
                Convert.ToInt32(SecurityUtil.DECDecrypt(Request.QueryString["ReimburseID"])), EmployeeReimburseView1);

            detailEmployeeReimbursePresenter.ToMyReimbursePage += ToMyReimbursePage;
            detailEmployeeReimbursePresenter.InitView(IsPostBack);
        }
Пример #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Powers.HasAuth(LoginUser.Auths, AuthType.HRMIS, HrmisPowers.A901))
            {
                throw new ApplicationException("没有权限访问");
            }
            Account loginUser = new Account();

            loginUser.Id = Convert.ToInt32(SecurityUtil.DECDecrypt(Request.QueryString["EmployeeID"]));
            DetailEmployeeReimbursePresenter detailEmployeeReimbursePresenter = new DetailEmployeeReimbursePresenter(
                Convert.ToInt32(SecurityUtil.DECDecrypt(Request.QueryString["ReimburseID"])), EmployeeReimburseView1);

            detailEmployeeReimbursePresenter.ToMyReimbursePage += ToSearchReimbursePage;
            detailEmployeeReimbursePresenter.InitView(IsPostBack);
        }