1
This commit is contained in:
@@ -38,6 +38,11 @@ namespace BLL
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public const string shenyinhangId = "fb3b3171-f2f3-40b1-b40b-9424cc14ecfe";
|
public const string shenyinhangId = "fb3b3171-f2f3-40b1-b40b-9424cc14ecfe";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 施工部——白慧敏
|
||||||
|
/// </summary>
|
||||||
|
public const string baihuiminId = "6a2c83c0-fb49-4e2b-bbcf-7b012f25bc82";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 施工部——张慧娟
|
/// 施工部——张慧娟
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -278,8 +278,8 @@ namespace FineUIPro.Web.BaseInfo
|
|||||||
{
|
{
|
||||||
this.btnSave.Hidden = false;
|
this.btnSave.Hidden = false;
|
||||||
}
|
}
|
||||||
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.fuweiId || this.CurrUser.UserId == Const.shenyinhangId)
|
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.fuweiId || this.CurrUser.UserId == Const.shenyinhangId || this.CurrUser.UserId == Const.baihuiminId)
|
||||||
{//系统管理员、合肥诺必达、付伟、申银行
|
{//系统管理员、合肥诺必达、付伟、申银行、白慧敏
|
||||||
this.btnDataBase.Hidden = false;
|
this.btnDataBase.Hidden = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -264,8 +264,8 @@ namespace FineUIPro.Web.BaseInfo
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
private void GetButtonPower()
|
private void GetButtonPower()
|
||||||
{
|
{
|
||||||
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.fuweiId || this.CurrUser.UserId == Const.shenyinhangId)
|
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.fuweiId || this.CurrUser.UserId == Const.shenyinhangId || this.CurrUser.UserId == Const.baihuiminId)
|
||||||
{//系统管理员、合肥诺必达、付伟、申银行
|
{//系统管理员、合肥诺必达、付伟、申银行、白慧敏
|
||||||
this.btnSave.Hidden = false;
|
this.btnSave.Hidden = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -332,8 +332,8 @@ namespace FineUIPro.Web.ProjectData
|
|||||||
}
|
}
|
||||||
|
|
||||||
string curruserId = this.CurrUser.UserId;
|
string curruserId = this.CurrUser.UserId;
|
||||||
if (curruserId == Const.sysglyId || curruserId == Const.hfnbdId || curruserId == Const.zhanpeipeiId || curruserId == Const.fuweiId || curruserId == Const.shenyinhangId || curruserId == Const.zhanghuijuanId)
|
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、付伟、申银行、张慧敏的账号可以新增和维护项目数据
|
{//只有管理员、JT、付伟、申银行、张慧娟、白慧敏的账号可以新增和维护项目数据
|
||||||
btnUpdata.Hidden = false;
|
btnUpdata.Hidden = false;
|
||||||
this.btnNew.Hidden = false;
|
this.btnNew.Hidden = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ namespace FineUIPro.Web.ProjectData
|
|||||||
if (!IsPostBack)
|
if (!IsPostBack)
|
||||||
{
|
{
|
||||||
string curruserId = this.CurrUser.UserId;
|
string curruserId = this.CurrUser.UserId;
|
||||||
if (curruserId == Const.sysglyId || curruserId == Const.hfnbdId || curruserId == Const.zhanpeipeiId || curruserId == Const.fuweiId || curruserId == Const.shenyinhangId || curruserId == Const.zhanghuijuanId)
|
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、付伟、申银行、张慧娟的账号可以新增和维护项目数据
|
{//只有管理员、JT、付伟、申银行、张慧娟、白慧敏的账号可以新增和维护项目数据
|
||||||
this.btnSave.Hidden = false;
|
this.btnSave.Hidden = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -93,8 +93,8 @@ namespace FineUIPro.Web.SysManage
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.fuweiId || this.CurrUser.UserId == Const.shenyinhangId)
|
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.fuweiId || this.CurrUser.UserId == Const.shenyinhangId || this.CurrUser.UserId == Const.baihuiminId)
|
||||||
{//系统管理员、合肥诺必达、付伟、申银行
|
{//系统管理员、合肥诺必达、付伟、申银行、白慧敏
|
||||||
this.btnDataBase.Hidden = false;
|
this.btnDataBase.Hidden = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -287,8 +287,8 @@ namespace FineUIPro.Web.SysManage
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
private void GetButtonPower()
|
private void GetButtonPower()
|
||||||
{
|
{
|
||||||
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.fuweiId || this.CurrUser.UserId == Const.shenyinhangId)
|
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId || this.CurrUser.UserId == Const.fuweiId || this.CurrUser.UserId == Const.shenyinhangId || this.CurrUser.UserId == Const.baihuiminId)
|
||||||
{//系统管理员、合肥诺必达、付伟、申银行
|
{//系统管理员、合肥诺必达、付伟、申银行、白慧敏
|
||||||
this.btnSave.Hidden = false;
|
this.btnSave.Hidden = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user