This commit is contained in:
geh
2026-03-23 15:22:29 +08:00
parent 94584d242b
commit c38590add8
173 changed files with 19679 additions and 4413 deletions
@@ -131,6 +131,13 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
//this.drpResponsibleMan.DataBind();
this.drpWorkArea.SelectedValue = BLL.Const._Null;
//this.drpResponsibleMan.SelectedValue = BLL.Const._Null;
BLL.PersonService.InitPersonByProjectUnitDropDownList(this.drpPunishPerson,
this.CurrUser.LoginProjectId, registration.ResponsibleUnit, false);//添加人员下拉
}
if (!string.IsNullOrEmpty(registration.PunishPerson))
{
this.drpPunishPerson.SelectedValue = registration.PunishPerson;
}
if (!string.IsNullOrEmpty(registration.Place))
{
@@ -213,6 +220,9 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
where y.ProjectId == this.CurrUser.LoginProjectId && x.UnitId == this.drpUnit.SelectedValue
select x;
this.drpResponsibleMan.DataBind();
BLL.PersonService.InitPersonByProjectUnitDropDownList(this.drpPunishPerson,
this.CurrUser.LoginProjectId, this.drpUnit.SelectedValue, false);//添加人员下拉
}
Funs.FineUIPleaseSelect(this.drpWorkArea);
Funs.FineUIPleaseSelect(this.drpResponsibleMan);
@@ -268,6 +278,10 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
register.CheckCycle = this.ckType.SelectedValue;
register.IsEffective = "1";
register.Risk_Level = this.dpRiskLevel.SelectedText;
if (this.drpPunishPerson.SelectedValue != BLL.Const._Null)
{
register.PunishPerson = this.drpPunishPerson.SelectedValue;
}
if (this.drpUnit.SelectedValue != BLL.Const._Null)
{
register.ResponsibleUnit = this.drpUnit.SelectedValue;