This commit is contained in:
高飞 2025-11-12 08:26:11 +08:00
parent 2337b2e0b2
commit 80f78972df
1 changed files with 7 additions and 1 deletions

View File

@ -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;