void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); if (!e.Cancelled) { if (e.Result) { issuanceExtOrgObj.Clear(); if (isFlow) { } saveType = RefreshedTypes.CloseAndReloadData; RefreshUI(saveType); } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ADDFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ADDFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } }
void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); if (e.Error != null && e.Error.Message != "") { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message); return; } if (!e.Cancelled) { if (e.Result) { //issuanceExtOrgObj.Clear(); //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("EMPLOYEESURVEYDISTRBUTESUCCESSED")); if (isFlow) saveType = RefreshedTypes.CloseAndReloadData; RefreshUI(saveType); } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("EMPLOYEESURVEYDISTRBUTEFAILED")); } } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("EMPLOYEESURVEYDISTRBUTEFAILED")); } }
//发布完成事件 void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); if (e.Error != null && e.Error.Message != "") { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message); return; } if (!e.Cancelled) { if (e.Result) { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("SAVETHEINFORMATIONSUCCESSFULLY")); if (isSubmitFlow) { saveType = RefreshedTypes.CloseAndReloadData; } RefreshUI(saveType); } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ISSUEDOCUMENTFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("SAVETHEINFORMATIONSUCCESSFULLY")); } }
//发布完成事件 void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { if (!e.Cancelled) { if (e.Result) { distributeLists.Clear(); Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("WERESUCCESSFULLYRELEASED")); if (isSubmitFlow) { saveType = RefreshedTypes.CloseAndReloadData; } RefreshUI(saveType); } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("PUBLISHEDINVESTIGATIONSFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("PUBLISHEDINVESTIGATIONSFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } }
//发布完成事件 void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { if (!e.Cancelled) { if (e.Result) { issuanceExtOrgObj.Clear(); Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("ISSUEDOCUMENTSUCCESED")); if (isSubmitFlow) { saveType = RefreshedTypes.CloseAndReloadData; } } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ISSUEDOCUMENTFAILED")); } } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ISSUEDOCUMENTFAILED")); } RefreshUI(saveType); }
//发布完成事件 void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { if (!e.Cancelled) { if (e.Result) { issuanceExtOrgObj.Clear(); Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("ISSUEDOCUMENTSUCCESED")); if (isSubmitFlow) saveType = RefreshedTypes.CloseAndReloadData; } else Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ISSUEDOCUMENTFAILED")); } else Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ISSUEDOCUMENTFAILED")); RefreshUI(saveType); }
void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { if (!e.Cancelled) { if (e.Result) { //Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("ISSUEDOCUMENTSUCCESED")); tmpdoc.ISDISTRIBUTE = "1"; string StrReturn = ""; DocDistrbuteClient.SendDocInfoUpdateAsync(tmpdoc,StrReturn); //RefreshUI(RefreshedTypes.CloseAndReloadData); } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ISSUEDOCUMENTFAILED")); return; } } ViewInfosList.Clear(); }
//发布完成事件 void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { if (!e.Cancelled) { if (e.Result) { distributeLists.Clear(); Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("WERESUCCESSFULLYRELEASED")); if (isSubmitFlow) saveType = RefreshedTypes.CloseAndReloadData; RefreshUI(saveType); } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("PUBLISHEDINVESTIGATIONSFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("PUBLISHEDINVESTIGATIONSFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } }
//发布完成事件 void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); if (e.Error != null && e.Error.Message != "") { Utility.ShowCustomMessage(MessageTypes.Error, Utility.GetResourceStr("ERROR"), e.Error.Message); return; } if (!e.Cancelled) { if (e.Result) { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("SUCCESSED"), Utility.GetResourceStr("SAVETHEINFORMATIONSUCCESSFULLY")); if (isSubmitFlow) saveType = RefreshedTypes.CloseAndReloadData; RefreshUI(saveType); } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ISSUEDOCUMENTFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("SAVETHEINFORMATIONSUCCESSFULLY")); } }
void DocDistrbuteClient_DocDistrbuteBatchAddCompleted(object sender, DocDistrbuteBatchAddCompletedEventArgs e) { RefreshUI(RefreshedTypes.HideProgressBar); if (!e.Cancelled) { if (e.Result) { issuanceExtOrgObj.Clear(); if (isFlow) { } saveType = RefreshedTypes.CloseAndReloadData; RefreshUI(saveType); } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ADDFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } } else { Utility.ShowCustomMessage(MessageTypes.Message, Utility.GetResourceStr("FAILED"), Utility.GetResourceStr("ADDFAILED")); RefreshUI(RefreshedTypes.HideProgressBar); } }