20230329新增企业级数据穿透展示页面
This commit is contained in:
@@ -80,7 +80,10 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
{
|
||||
btnClose.OnClientClick = ActiveWindow.GetHideReference();
|
||||
////权限按钮方法
|
||||
this.GetButtonPower();
|
||||
if (Request.Params["type"] != "-1")
|
||||
{
|
||||
this.GetButtonPower();
|
||||
}
|
||||
this.ProjectId = Request.Params["ProjectId"];
|
||||
this.UnitId = Request.Params["UnitId"];
|
||||
this.PersonId = Request.Params["PersonId"];
|
||||
@@ -92,10 +95,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
if (person != null)
|
||||
{
|
||||
this.ProjectId = person.ProjectId;
|
||||
if (this.ProjectId != this.CurrUser.LoginProjectId)
|
||||
{
|
||||
this.InitDropDownList();
|
||||
}
|
||||
this.InitDropDownList();
|
||||
if (!string.IsNullOrEmpty(person.Sex))
|
||||
{
|
||||
this.rblSex.SelectedValue = person.Sex;
|
||||
@@ -258,7 +258,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
/// </summary>
|
||||
private void InitDropDownList()
|
||||
{
|
||||
gvWorkArea.DataSource = BLL.UnitWorkService.GetUnitWorkLists(this.CurrUser.LoginProjectId);
|
||||
gvWorkArea.DataSource = BLL.UnitWorkService.GetUnitWorkLists(this.ProjectId);
|
||||
gvWorkArea.DataBind();//单位工程
|
||||
WorkPostService.InitWorkPostDropDownList(this.drpPost, true);
|
||||
PositionService.InitPositionDropDownList(this.drpPosition, true);
|
||||
|
||||
Reference in New Issue
Block a user