2024-02-26
This commit is contained in:
@@ -40,20 +40,26 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
var model = new Model.PHTGL_ContractStandingBook();
|
||||
var RoleIds = this.CurrUser.RoleIds;
|
||||
|
||||
if (RoleIds.Contains(Const.SedinHTGLManager))
|
||||
|
||||
if (this.CurrUser.PersonId == Const.hfnbdId || this.CurrUser.PersonId == Const.sysglyId)
|
||||
{
|
||||
|
||||
}
|
||||
else if (RoleIds.Contains(Const.SedinHTGLManager) && !string.IsNullOrEmpty(RoleIds))
|
||||
{
|
||||
//model.UnitId=this.CurrUser.UnitId;
|
||||
}
|
||||
else if (RoleIds.Contains(Const.OtherHTGLManager))
|
||||
else if (RoleIds.Contains(Const.OtherHTGLManager) && !string.IsNullOrEmpty(RoleIds))
|
||||
{
|
||||
model.UnitId = this.CurrUser.UnitId;
|
||||
}
|
||||
else if (RoleIds.Contains(Const.SedinHTGLDepartManager))
|
||||
else if (RoleIds.Contains(Const.SedinHTGLDepartManager) && !string.IsNullOrEmpty(RoleIds))
|
||||
{
|
||||
model.UnitId = this.CurrUser.UnitId;
|
||||
model.DepartId= this.CurrUser.DepartId;
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
model.UnitId = "normal";
|
||||
@@ -176,7 +182,13 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
dropState.SelectedValue = Const._Null;
|
||||
//txtSubConstruction.Text = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
/// <param name="State"></param>
|
||||
/// <returns></returns>
|
||||
public string ConvertState(object State)
|
||||
{
|
||||
string StateName = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user