This commit is contained in:
parent
80f78972df
commit
dc2ad822cd
|
|
@ -1423,13 +1423,19 @@ namespace FineUIPro.Web.HSSE.Manager
|
|||
private void SetStepDrp()
|
||||
{
|
||||
this.drpAudit.Items.Clear();
|
||||
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;
|
||||
}
|
||||
if (this.drpStep.SelectedValue == Const.State_1)
|
||||
{
|
||||
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpAudit, this.CurrUser.LoginProjectId, Const.UnitId_SEDIN, Const.ProjectSafetyDirector, false);
|
||||
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpAudit, this.CurrUser.LoginProjectId, unitId, Const.ProjectSafetyDirector, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpAudit, this.CurrUser.LoginProjectId, Const.UnitId_SEDIN, Const.ProjectManager + "," + Const.ProjectAssistantManager, false);
|
||||
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.drpAudit, this.CurrUser.LoginProjectId, unitId, Const.ProjectManager + "," + Const.ProjectAssistantManager, false);
|
||||
}
|
||||
if (this.States == Const.State_0 || string.IsNullOrEmpty(this.States)) ///待提交
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue