示例#1
0
        //发布完成事件
        void DocDistrbuteClient_DocDistrbuteInfoUpdateByBatchCompleted(object sender, DocDistrbuteInfoUpdateByBatchCompletedEventArgs e)
        {
            if (!e.Cancelled)
            {
                if (e.Result)
                {
                    issuanceExtOrgObj.Clear();
                    Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("UPDATESUCCESED", "EmployeeSurveyApp"));
                    if (isSubmitFlow)
                        saveType = RefreshedTypes.CloseAndReloadData;
                }
                else
                    Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("UPDATEISSUEFAILED", "EmployeeSurveyApp"));
            }
            else
                Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("UPDATEISSUEFAILED", "EmployeeSurveyApp"));
            RefreshUI(saveType);


        }
示例#2
0
 //发布完成事件
 void DocDistrbuteClient_DocDistrbuteInfoUpdateByBatchCompleted(object sender, DocDistrbuteInfoUpdateByBatchCompletedEventArgs e)
 {
     if (!e.Cancelled)
     {
         if (e.Result)
         {
             issuanceExtOrgObj.Clear();
             Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("UPDATESUCCESED", "EmployeeSurveyApp"));
             if (isSubmitFlow)
             {
                 saveType = RefreshedTypes.CloseAndReloadData;
             }
         }
         else
         {
             Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("UPDATEISSUEFAILED", "EmployeeSurveyApp"));
         }
     }
     else
     {
         Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("UPDATEISSUEFAILED", "EmployeeSurveyApp"));
     }
     RefreshUI(saveType);
 }