2023-04-25-001

This commit is contained in:
2023-04-25 21:38:01 +08:00
parent 6813e22226
commit 418ef0bd4a
15 changed files with 207 additions and 33 deletions
@@ -88,11 +88,26 @@ namespace FineUIPro.Web.PHTGL.Filing
_BidDocumentsStandingBook.ProjectId = this.CurrUser.LoginProjectId;
}
}
if (!string.IsNullOrEmpty(drpDepartId.SelectedValue) )
{
var RoleIds = this.CurrUser.RoleIds;
if (RoleIds.Contains(Const.SedinHTGLManager))
{
//model.UnitId=this.CurrUser.UnitId;
}
else if (RoleIds.Contains(Const.OtherHTGLManager))
{
_BidDocumentsStandingBook.UnitId = this.CurrUser.UnitId;
}
else if (RoleIds.Contains(Const.SedinHTGLDepartManager))
{
_BidDocumentsStandingBook.UnitId = this.CurrUser.UnitId;
_BidDocumentsStandingBook.DepartId = this.CurrUser.DepartId;
}
else
{
_BidDocumentsStandingBook.UnitId = "normal";
}
if (dropState.SelectedValue!=Const._Null)
{