升级
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user