合并最新
This commit is contained in:
@@ -83,10 +83,18 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
|
||||
this.txtRectificationTime.Text = string.Format("{0:yyyy-MM-dd HH:mm:ss}", registration.RectificationTime);
|
||||
this.txtStates.Text = registration.StatesStr;
|
||||
this.ImageUrl = registration.ImageUrl;
|
||||
this.txtRiskLevel.Text = registration.Risk_Level;
|
||||
this.txtRequirements.Text = registration.Requirements;
|
||||
this.RectificationImageUrl = registration.RectificationImageUrl;
|
||||
this.divImageUrl.InnerHtml = BLL.UploadAttachmentService.ShowAttachment("../../", this.ImageUrl);
|
||||
this.divRectificationImageUrl.InnerHtml = BLL.UploadAttachmentService.ShowAttachment("../../", this.RectificationImageUrl);
|
||||
if (!string.IsNullOrEmpty(registration.CheckCycle))
|
||||
{
|
||||
this.ckType.SelectedValue = registration.CheckCycle ?? "D";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(registration.Risk_Level))
|
||||
{
|
||||
this.dpRiskLevel.SelectedValue = registration.Risk_Level ?? "1";
|
||||
}
|
||||
//var punishRecords = (from x in Funs.DB.View_Common_PunishRecord
|
||||
// where x.HazardRegisterId == this.HazardRegisterId
|
||||
// orderby x.PunishDate descending
|
||||
|
||||
Reference in New Issue
Block a user