推送数据

This commit is contained in:
2023-01-30 14:14:20 +08:00
parent 354f0ef6fe
commit 5c4b481651
49 changed files with 3905 additions and 289 deletions
@@ -428,7 +428,26 @@ namespace FineUIPro.Web.ZHGL.Information
AddItems(accidentCauseReport.AccidentCauseReportId);
if (type == "updata") //保存并上报
{
Update(accidentCauseReport.AccidentCauseReportId);
// Update(accidentCauseReport.AccidentCauseReportId);
if (accidentCauseReport.UpState == BLL.Const.UpState_2)
{
string code = CNCECHSSEWebService.UpAccidentCauseReport(accidentCauseReport.AccidentCauseReportId, this.CurrUser);
if (code == "1")
{
ShowNotify("同步成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
return;
}
else
{
Alert.ShowInParent("同步异常,请退出后重试!", MessageBoxIcon.Error);
}
}
else
{
ShowNotify("当前单据状态不能同步!", MessageBoxIcon.Warning);
return;
}
}
if (type == "submit")
{