集团三库
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using BLL;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
@@ -87,6 +88,14 @@ namespace FineUIPro.Web.HSSE.Solution
|
||||
this.txtDescriptions.Text = largerHazard.Descriptions;
|
||||
this.txtRemark.Text = HttpUtility.HtmlDecode(largerHazard.Remark);
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(largerHazard.UnitId))
|
||||
{
|
||||
this.txtUnitName.Text = UnitService.getUnitNamesUnitIds(largerHazard.UnitId);
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(largerHazard.StandbyPersonnelId))
|
||||
{
|
||||
this.txtStandbyPersonnel.Text = PersonService.GetPersonNameById(largerHazard.StandbyPersonnelId);
|
||||
}
|
||||
|
||||
this.AttachUrl1.InnerHtml = BLL.UploadAttachmentService.ShowAttachment("../../", getUrl(this.HazardId + "_1"));
|
||||
this.AttachUrl2.InnerHtml = BLL.UploadAttachmentService.ShowAttachment("../../", getUrl(this.HazardId + "_2"));
|
||||
|
||||
Reference in New Issue
Block a user