20210618
This commit is contained in:
@@ -24,6 +24,11 @@ namespace FineUIPro.Web.ZHGL.RealName
|
||||
this.drpCountry.SelectedValue ="101";
|
||||
|
||||
SynchroSetService.InitProjectDropDownList(this.drpProject, false);
|
||||
if (!string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
|
||||
{
|
||||
this.drpProject.SelectedValue = this.CurrUser.LoginProjectId;
|
||||
this.drpProject.Readonly = true;
|
||||
}
|
||||
// 绑定表格
|
||||
this.BindGrid();
|
||||
this.BindGrid2();
|
||||
@@ -41,7 +46,8 @@ namespace FineUIPro.Web.ZHGL.RealName
|
||||
/// <returns></returns>
|
||||
private void GetButtonPower()
|
||||
{
|
||||
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.RealNameBasicDataMenuId);
|
||||
string menuId = !string.IsNullOrEmpty(this.CurrUser.LoginProjectId) ? Const.RealNameBasicDataMenuId : Const.ServerRealNameBasicDataMenuId;
|
||||
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, menuId);
|
||||
if (buttonList.Count() > 0)
|
||||
{
|
||||
if (buttonList.Contains(BLL.Const.BtnSave))
|
||||
|
||||
Reference in New Issue
Block a user