提交代码

This commit is contained in:
2024-11-27 15:21:14 +08:00
parent ef607782ee
commit 22809fa59f
23 changed files with 757 additions and 70 deletions
@@ -115,6 +115,8 @@ namespace FineUIPro.Web.HSSE.Hazard
{
this.drpLicenseDes.SelectedValueArray = constructionRisk.LicenseDes.Split(',');
}
this.txtMainUnitDutyPerson.Text = BLL.Person_PersonsService.GetPersonsNameById(constructionRisk.MainUnitDutyPerson);
this.txtMainUnitCheckPerson.Text = BLL.Person_PersonsService.getPersonsNamesPersonIds(constructionRisk.MainUnitCheckPerson);
this.hdCoordinate.Text = constructionRisk.Coordinate;
constructionRiskControls = (from x in Funs.DB.HSSE_ConstructionRiskControl where x.ConstructionRiskId == this.ConstructionRiskId orderby x.ShowIndex select x).ToList();
gvApprove.DataSource = BLL.ConstructionRiskApproveService.getListData(this.ConstructionRiskId);
@@ -157,6 +159,10 @@ namespace FineUIPro.Web.HSSE.Hazard
this.drpRiskLevel.DataSource = BLL.ConstructionRiskListService.RiskLevelList();
this.drpRiskLevel.DataBind();
Funs.FineUIPleaseSelect(this.drpRiskLevel);
this.drpLicenseDes.DataTextField = "Text";
this.drpLicenseDes.DataValueField = "Value";
this.drpLicenseDes.DataSource = BLL.ConstructionRiskListService.LicenseDesList();
this.drpLicenseDes.DataBind();
Funs.FineUIPleaseSelect(this.drpLicenseDes);
UnitService.InitUnitByProjectIdUnitTypeDropDownList(this.drpUnit, this.ProjectId, Const.ProjectUnitType_2, false);
}