2023-04-25-001
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user