增强HSE检查的功能

This commit is contained in:
2024-07-17 14:35:47 +08:00
parent e3286e45d8
commit b503c6f706
46 changed files with 1404 additions and 386 deletions
@@ -83,6 +83,8 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
Type = Request.Params["Type"];
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
ConstValue.InitConstValueDropDownList(drpHiddenType, "Hiddendangertype", false);
UnitService.InitUnitByProjectIdUnitTypeDropDownList(this.drpUnit, this.CurrUser.LoginProjectId, Const.ProjectUnitType_2, true);
UnitWorkService.InitUnitWorkDownList(this.drpWorkArea, this.CurrUser.LoginProjectId, true);
@@ -163,6 +165,7 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
this.txtHandleIdea.Hidden = false;
this.txtHandleIdea.Text = registration.HandleIdea;
}
drpHiddenType.SelectedValue = registration.HiddenType;
}
}
}
@@ -274,6 +277,8 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
register.CheckManId = this.hdCheckManId.Text;
register.CutPayment = Funs.GetNewIntOrZero(this.txtCutPayment.Text.Trim());
register.States = "1"; //待整改
register.HiddenType = drpHiddenType.SelectedValue;
if (!string.IsNullOrEmpty(HazardRegisterId))
{
register.HazardRegisterId = HazardRegisterId;