This commit is contained in:
2021-06-18 20:37:07 +08:00
parent e7cb804684
commit 65a719e331
32 changed files with 1093 additions and 128 deletions
@@ -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))