提交代码

This commit is contained in:
2025-02-18 15:12:04 +08:00
parent d8cd15555d
commit 1697e69054
12 changed files with 277 additions and 86 deletions
@@ -106,6 +106,14 @@ namespace FineUIPro.Web.HSSE.Hazard
{
this.txtConstructionContent.Text = HttpUtility.HtmlDecode(constructionRisk.ConstructionContent);
}
if (constructionRisk.IsLarge == true)
{
this.cbIsLarge.Checked = true;
}
if (constructionRisk.IsSuperLarge == true)
{
this.cbIsSuperLarge.Checked = true;
}
this.hdConstructionContentId.Text = constructionRisk.ConstructionContentId;
if (!string.IsNullOrEmpty(constructionRisk.RiskLevel))
{
@@ -149,11 +157,10 @@ namespace FineUIPro.Web.HSSE.Hazard
///区域下拉框
BLL.MainItemService.InitMainItemDownList(this.drpWorkArea, this.ProjectId, true);
drpRefLicense.DataValueField = "LicenseTypeName";
drpRefLicense.DataTextField = "LicenseTypeName";
drpRefLicense.DataSource = (from x in Funs.DB.Base_LicenseType orderby x.LicenseTypeCode select x).ToList();
drpRefLicense.DataValueField = "Value";
drpRefLicense.DataTextField = "Text";
drpRefLicense.DataSource = BLL.ConstructionRiskListService.RefLicenseList();
drpRefLicense.DataBind();
Funs.FineUIPleaseSelect(this.drpRefLicense);
this.drpRiskLevel.DataTextField = "Text";
this.drpRiskLevel.DataValueField = "Value";
this.drpRiskLevel.DataSource = BLL.ConstructionRiskListService.RiskLevelList();