提交代码
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user