This commit is contained in:
2026-07-16 17:46:43 +08:00
parent 4f81960199
commit 28fc3247f5
7 changed files with 17 additions and 12 deletions
@@ -332,8 +332,8 @@ namespace FineUIPro.Web.ProjectData
}
string curruserId = this.CurrUser.UserId;
if (curruserId == Const.sysglyId || curruserId == Const.hfnbdId || curruserId == Const.zhanpeipeiId || curruserId == Const.fuweiId || curruserId == Const.shenyinhangId || curruserId == Const.zhanghuijuanId)
{//只有管理员、JT、付伟、申银行、张慧敏的账号可以新增和维护项目数据
if (curruserId == Const.sysglyId || curruserId == Const.hfnbdId || curruserId == Const.zhanpeipeiId || curruserId == Const.fuweiId || curruserId == Const.shenyinhangId || curruserId == Const.zhanghuijuanId || this.CurrUser.UserId == Const.baihuiminId)
{//只有管理员、JT、付伟、申银行、张慧娟、白慧敏的账号可以新增和维护项目数据
btnUpdata.Hidden = false;
this.btnNew.Hidden = false;
}
@@ -37,8 +37,8 @@ namespace FineUIPro.Web.ProjectData
if (!IsPostBack)
{
string curruserId = this.CurrUser.UserId;
if (curruserId == Const.sysglyId || curruserId == Const.hfnbdId || curruserId == Const.zhanpeipeiId || curruserId == Const.fuweiId || curruserId == Const.shenyinhangId || curruserId == Const.zhanghuijuanId)
{//只有管理员、JT、付伟、申银行、张慧娟的账号可以新增和维护项目数据
if (curruserId == Const.sysglyId || curruserId == Const.hfnbdId || curruserId == Const.zhanpeipeiId || curruserId == Const.fuweiId || curruserId == Const.shenyinhangId || curruserId == Const.zhanghuijuanId || this.CurrUser.UserId == Const.baihuiminId)
{//只有管理员、JT、付伟、申银行、张慧娟、白慧敏的账号可以新增和维护项目数据
this.btnSave.Hidden = false;
}
else