数据大屏优化
This commit is contained in:
@@ -68,7 +68,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
//权限按钮方法
|
||||
this.GetButtonPower();
|
||||
}
|
||||
if (CommonService.IsSuperAdminManage(this.CurrUser.UserId))
|
||||
if (CommonService.IsSuperAdminManageAuth(this.CurrUser.UserId))
|
||||
{
|
||||
//权限按钮方法
|
||||
this.GetButtonPower();
|
||||
@@ -92,7 +92,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
this.GetButtonPower();
|
||||
if (string.IsNullOrEmpty(this.CurrUser.LoginProjectId) && !CommonService.IsSuperAdminManage(this.CurrUser.UserId))
|
||||
if (string.IsNullOrEmpty(this.CurrUser.LoginProjectId) && !CommonService.IsSuperAdminManageAuth(this.CurrUser.UserId))
|
||||
{
|
||||
btnNew.Hidden = true;
|
||||
btnImport.Hidden = true;
|
||||
@@ -806,7 +806,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
this.btnPersonUnit.Hidden = false;
|
||||
}
|
||||
}
|
||||
if (CommonService.IsSuperAdminManage(this.CurrUser.UserId))
|
||||
if (CommonService.IsSuperAdminManageAuth(this.CurrUser.UserId))
|
||||
{//罗菲、史志扬、管理员账号
|
||||
this.btnSearchUserAdd.Hidden = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user