20240606 修改组织机构图

This commit is contained in:
2024-06-06 15:48:52 +08:00
parent 0c28c16c1d
commit 35c2b0350e
16 changed files with 465 additions and 525 deletions
@@ -19,6 +19,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
GetButtonPower();
BLL.UnitService.InitUnitByProjectIdUnitTypeDropDownList(drpUnit, this.CurrUser.LoginProjectId, BLL.Const.ProjectUnitType_2, true);//施工分包商
BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessionalId, true);//专业
UserService.InitUserProjectIdUnitTypeDropDownList(this.drpAcceptanceCheckMan, this.CurrUser.LoginProjectId, string.Empty, false);
this.hdInspectionNoticeId.Text = Request.Params["inspectionId"];
if (!string.IsNullOrEmpty(this.hdInspectionNoticeId.Text))
@@ -35,7 +36,11 @@ namespace FineUIPro.Web.CQMS.ProcessControl
this.drpCNProfessionalId.SelectedValue = inspectionManagement.CNProfessionalId;
}
this.txtAcceptanceSite.Text = inspectionManagement.AcceptanceSite;
this.txtAcceptanceCheckMan.Text = inspectionManagement.AcceptanceCheckMan;
//this.txtAcceptanceCheckMan.Text = ConvertCheckMan(inspectionManagement.AcceptanceCheckMan);
if (!string.IsNullOrEmpty(inspectionManagement.AcceptanceCheckMan))
{
this.drpAcceptanceCheckMan.SelectedValueArray = inspectionManagement.AcceptanceCheckMan.Split(',');
}
this.txtNoticeCode.Text = inspectionManagement.NoticeCode;
this.hdParentDivisionProjectId.Text = inspectionManagement.ParentDivisionProjectId;
if (inspectionManagement.IsOnceQualified.HasValue)
@@ -100,18 +105,29 @@ namespace FineUIPro.Web.CQMS.ProcessControl
}
inspectionManagement.AcceptanceSite = this.txtAcceptanceSite.Text.Trim();
inspectionManagement.AcceptanceCheckMan = this.txtAcceptanceCheckMan.Text.Trim();
//检查人
string CheckManIds = string.Empty;
foreach (var item in this.drpAcceptanceCheckMan.SelectedValueArray)
{
CheckManIds += item + ",";
}
if (!string.IsNullOrEmpty(CheckManIds))
{
CheckManIds = CheckManIds.Substring(0, CheckManIds.LastIndexOf(","));
}
inspectionManagement.AcceptanceCheckMan = CheckManIds;
//inspectionManagement.AcceptanceCheckMan = this.txtAcceptanceCheckMan.Text.Trim();
if (!string.IsNullOrEmpty(this.rblIsOnceQualified.SelectedValue))
{
if (this.rblIsOnceQualified.SelectedValue == "True")
{
inspectionManagement.IsOnceQualified = true;
}
else
if (this.rblIsOnceQualified.SelectedValue == "False")
{
inspectionManagement.IsOnceQualified = false;
inspectionManagement.UnqualifiedReason = this.txtUnqualifiedReason.Text.Trim();
}
else
{
inspectionManagement.IsOnceQualified = true;
}
}
inspectionManagement.InspectionCode = this.txtInspectionCode.Text.Trim();
inspectionManagement.InspectionDate = Funs.GetNewDateTime(this.txtInspectionDate.Text.Trim());