20240606 修改组织机构图
This commit is contained in:
@@ -24,6 +24,14 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
||||
string projectId = this.CurrUser.LoginProjectId;
|
||||
string unitId = this.CurrUser.UnitId;
|
||||
|
||||
if (this.CurrUser.UserId == BLL.Const.hfnbdId)
|
||||
{
|
||||
unitId = BLL.Const.UnitId_CWCEC;
|
||||
}
|
||||
|
||||
this.divSubOrganizational.Visible = false;
|
||||
this.divOrganizational.Visible = true;
|
||||
|
||||
this.ContentPanel1.Title = "项目名称:" + BLL.ProjectService.GetProjectNameByProjectId(projectId);
|
||||
|
||||
var unit = (from x in Funs.DB.Project_ProjectUnit
|
||||
@@ -305,7 +313,7 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
||||
name4 = name4.Substring(0, name4.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label8.Text = "施工经理:" + name4;
|
||||
this.Label18.Text = "施工经理:" + name4;
|
||||
|
||||
string name5 = string.Empty;
|
||||
var qa = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "质量经理");
|
||||
@@ -320,7 +328,7 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
||||
name5 = name5.Substring(0, name5.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label9.Text = "质量经理:" + name5;
|
||||
this.Label19.Text = "质量经理:" + name5;
|
||||
|
||||
string name6 = string.Empty;
|
||||
var hseManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE经理");
|
||||
@@ -465,6 +473,11 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
||||
|
||||
var pModel = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == projectId);
|
||||
|
||||
if(this.CurrUser.UserId==BLL.Const.hfnbdId)
|
||||
{
|
||||
unitId = BLL.Const.UnitId_CWCEC;
|
||||
}
|
||||
|
||||
var unit = (from x in Funs.DB.Project_ProjectUnit
|
||||
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == projectId
|
||||
|
||||
Reference in New Issue
Block a user