SVN r1210
SVN-Revision: r1210
This commit is contained in:
@@ -1364,7 +1364,7 @@ namespace Lskj.Control
|
|||||||
{
|
{
|
||||||
ApiHelper apiHelper = new ApiHelper(this.SysModel.ModuleCode, BillDocumentId, tmpParmaryField, this.BaseAccraditModelObj.BillTable, 0);
|
ApiHelper apiHelper = new ApiHelper(this.SysModel.ModuleCode, BillDocumentId, tmpParmaryField, this.BaseAccraditModelObj.BillTable, 0);
|
||||||
apiHelper.OnEvent(Interface.Api.OperateEvent.BeforeModuleAuditStateChange, Interface.Api.ActionType.Audit);//审核
|
apiHelper.OnEvent(Interface.Api.OperateEvent.BeforeModuleAuditStateChange, Interface.Api.ActionType.Audit);//审核
|
||||||
if (!string.IsNullOrEmpty(apiHelper.apiResutMsg))
|
if (!apiHelper.apiHandler.GetApiSuccess(apiHelper.apiHandlerModels))
|
||||||
{
|
{
|
||||||
DialogResult dialogResult = MessageUtil.Show(ResourceKeys.AuditFail + "\r\n" + apiHelper.apiResutMsg);
|
DialogResult dialogResult = MessageUtil.Show(ResourceKeys.AuditFail + "\r\n" + apiHelper.apiResutMsg);
|
||||||
break;
|
break;
|
||||||
@@ -1379,10 +1379,13 @@ namespace Lskj.Control
|
|||||||
if (ApiHelper.IsExecEventApi(Interface.Api.OperateEvent.AfterModuleAuditStateChange, this.SysModel.ModuleCode, 0))
|
if (ApiHelper.IsExecEventApi(Interface.Api.OperateEvent.AfterModuleAuditStateChange, this.SysModel.ModuleCode, 0))
|
||||||
{
|
{
|
||||||
ApiHelper apiHelper = new ApiHelper(this.SysModel.ModuleCode, BillDocumentId, tmpParmaryField, this.BaseAccraditModelObj.BillTable, 0);
|
ApiHelper apiHelper = new ApiHelper(this.SysModel.ModuleCode, BillDocumentId, tmpParmaryField, this.BaseAccraditModelObj.BillTable, 0);
|
||||||
|
this.Info($"进入执行逻辑");
|
||||||
apiHelper.OnEvent(Interface.Api.OperateEvent.AfterModuleAuditStateChange, Interface.Api.ActionType.Audit);//审核
|
apiHelper.OnEvent(Interface.Api.OperateEvent.AfterModuleAuditStateChange, Interface.Api.ActionType.Audit);//审核
|
||||||
if (!string.IsNullOrEmpty(apiHelper.apiResutMsg))
|
if (!apiHelper.apiHandler.GetApiSuccess(apiHelper.apiHandlerModels))
|
||||||
|
{
|
||||||
MessageUtil.Show(apiHelper.apiResutMsg);
|
MessageUtil.Show(apiHelper.apiResutMsg);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
success++;
|
success++;
|
||||||
}
|
}
|
||||||
@@ -1884,4 +1887,23 @@ namespace Lskj.Control
|
|||||||
string confirmOpers = "",
|
string confirmOpers = "",
|
||||||
bool ret = false,
|
bool ret = false,
|
||||||
int returnd = 0,
|
int returnd = 0,
|
||||||
|
int selectConfirmFlag = 0,
|
||||||
|
bool IsStepOver = false,
|
||||||
|
int comfirm = 0
|
||||||
|
)
|
||||||
|
{
|
||||||
|
string result = BaseAuditImpl.Audit(out nextSelectStepCode, out nextSelectStepOper, out msgText, sysModel, stepCode, billDocumentId, message, storedName, accractFlag, remindSelect, remarkText, remindOpers, confirmOpers, ret, returnd, selectConfirmFlag, IsStepOver, comfirm);
|
||||||
|
|
||||||
|
if ("9".Equals(result))
|
||||||
|
{
|
||||||
|
// 继续执行保存
|
||||||
|
//if (string.IsNullOrWhiteSpace(msgText)) msgText = "失败";
|
||||||
|
if (MessageUtil.Show(msgText, MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||||
|
result = AuditMethod(out nextSelectStepCode, out nextSelectStepOper, out msgText, sysModel, stepCode, billDocumentId, message, storedName, accractFlag, remindSelect, remarkText, remindOpers, confirmOpers, ret, returnd, selectConfirmFlag, IsStepOver, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user