This commit is contained in:
parent
2337b2e0b2
commit
80f78972df
|
|
@ -1378,7 +1378,13 @@ namespace FineUIPro.Web.HSSE.Manager
|
|||
if (this.rbIsAgree.SelectedValue == "0")
|
||||
{
|
||||
this.drpStep.Hidden = true;
|
||||
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpAudit, this.CurrUser.LoginProjectId, Const.UnitId_SEDIN, null, false);
|
||||
var units = BLL.ProjectUnitService.GetProjectUnitListByProjectIdUnitType(this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_1);
|
||||
string unitId = Const.UnitId_SEDIN;
|
||||
if (units.Count > 0)
|
||||
{
|
||||
unitId = units[0].UnitId;
|
||||
}
|
||||
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpAudit, this.CurrUser.LoginProjectId, unitId, null, false);
|
||||
this.drpAudit.SelectedValue = this.CompileManId.SelectedValue;
|
||||
this.drpAudit.Readonly = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue