예제 #1
0
 void view_OnSubmit(object sender, Views.Backstage.CheckSubmit e)
 {
     if (e.TreeIDs.Length > 0)
     {
         bool isSuccess = true;
         foreach (string str in e.TreeIDs)
         {
             isSuccess = Model.ModifyCheckState(str, "1202", e.UserID);
             if (!isSuccess)
             {
                 break;
             }
         }
         View.ExeBindIsSuccessSubmit(isSuccess);
     }
 }
예제 #2
0
        void view_OnIndexChange(object sender, Views.Backstage.CheckSubmit e)
        {
            DataTable data = Model.GetCheckData(e.CheckStateID);

            View.ExeBindCheckData(data);
        }
예제 #3
0
        void view_OnReadDetail(object sender, Views.Backstage.CheckSubmit e)
        {
            DataTable data = Model.GetCheckDataByID(e.CheckID);

            View.ExeBindCheckDetail(data);
        }
예제 #4
0
        void view_OnSaveCheck(object sender, Views.Backstage.CheckSubmit e)
        {
            bool bol = Model.ModifyCheck(e.CheckID, e.CheckStateID, e.CheckResultID, e.CheckAdvice, e.ZhengGaiAdvice, e.EndDate, e.CheckDate, e.UserID, e.UserName);

            View.ExeBindIsSuccessCheck(bol);
        }