20230329新增企业级数据穿透展示页面

This commit is contained in:
2023-03-29 14:32:57 +08:00
parent efac95deb3
commit f915051120
115 changed files with 23820 additions and 7 deletions
@@ -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);