1
This commit is contained in:
@@ -220,6 +220,10 @@ namespace FineUIPro.Web.ZHGL.Information
|
|||||||
{
|
{
|
||||||
canReport = units.Any(p => p.UnitId == this.CurrUser.UnitId);
|
canReport = units.Any(p => p.UnitId == this.CurrUser.UnitId);
|
||||||
}
|
}
|
||||||
|
if (this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId)
|
||||||
|
{
|
||||||
|
canReport = true;
|
||||||
|
}
|
||||||
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.MillionsMonthlyReportMenuId);
|
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.MillionsMonthlyReportMenuId);
|
||||||
if (canReport && buttonList.Count() > 0)
|
if (canReport && buttonList.Count() > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user