Beispiel #1
0
        protected override void OnSaving(object sender, EntityUtils.EntityFormEventArgs e)
        {
            Entity.EmployeeID      = Employee.Current.EmployeeID;
            Entity.CheckEmployeeID = Employee.Current.EmployeeID;
            Entity.CheckDate       = DateTime.Now;
            Entity.IsCheck         = true;

            if (Request.Form["frmContorlID"] != "")
            {
                CID = Request.Form["frmContorlID"].ToString();
            }
            base.OnSaving(sender, e);
        }
Beispiel #2
0
 protected override void OnSaveSuccess(object sender, EntityUtils.EntityFormEventArgs e)
 {
     JSDo_UserCallBack_Success("$(\"#" + CID + "\").hide();$.pdialog.closeCurrent(); ", "操作成功!", false);
     return;
 }