完善PC待办功能

This commit is contained in:
2023-08-17 09:39:51 +08:00
parent 12b9eaae63
commit c8d6ac780a
12 changed files with 1361 additions and 171 deletions
@@ -166,6 +166,7 @@ namespace FineUIPro.Web.HSSE.Hazard
return;
}
SaveData(true);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
else
{
@@ -287,15 +288,15 @@ namespace FineUIPro.Web.HSSE.Hazard
selectedItem.State = "0";
BLL.Hazard_HazardSelectedItemService.UpdateHazardSelectedItem(selectedItem);
}
if (string.IsNullOrEmpty(Request.Params["Main"]))
{
PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(str)
+ ActiveWindow.GetHidePostBackReference());
}
else
{
PageContext.RegisterStartupScript(String.Format("window.close();"));
}
//if (string.IsNullOrEmpty(Request.Params["Main"]))
//{
// PageContext.RegisterStartupScript(ActiveWindow.GetWriteBackValueReference(str)
// + ActiveWindow.GetHidePostBackReference());
//}
//else
//{
// PageContext.RegisterStartupScript(String.Format("window.close();"));
//}
}
Project_HSSEData_HSSEService.StatisticalData(this.CurrUser.LoginProjectId, Project_HSSEData_HSSEService.HSSEDateType.SecurityRisk);
}