protected void Page_Load(object sender, EventArgs e) { UserInfo info; HB_ShiCZTItem item; string str; bool flag; this.nUserId = FunUtil.GetCurrentUserID(this.Page); this.m_htCommonFill["m_strEditUrl"] = PageUtil.GetDoFormActionUrl(base.Request, "DianChang_ShiCZT_ZhuTZC", ""); this.m_htCommonFill["m_strSubmitUrl"] = PageUtil.GetDoFormActionUrl(base.Request, "DianChang_ShiCZT_ZhuTSubmit", ""); SkinUtil.AdhereEntryStyleSheet(this.Page, "bootstrap.min.css"); SkinUtil.AdhereEntryStyleSheet(this.Page, "fileinput.css"); info = UserInfo.Get(this.nUserId); if (((info == null) == 0) != null) { goto Label_009C; } goto Label_01BA; Label_009C: PageUtil.CommonFillHash(this.m_htCommonFill, 0, info, "_User", 0, 0, null); item = HB_ShiCZTItem.GetByUserId(this.nUserId); if ((item == null) != null) { goto Label_01BA; } PageUtil.CommonFillHash(this.m_htCommonFill, 0, item, "", 0, 0, null); str = this.ltTemplate.Text; if (string.IsNullOrEmpty(item.YingYZZ) != null) { goto Label_0137; } this.m_htCommonFill["lblimg_YingYZZ"] = string.Format(str, PageUtil.GetTypeFieldAttachLink(this.Page, item, "YingYZZ", 1), PageUtil.GetTypeFieldAttachLink(this.Page, item, "YingYZZ", 11)); Label_0137: if (string.IsNullOrEmpty(item.DianLYWXKZ) != null) { goto Label_0182; } this.m_htCommonFill["lblimg_DianLYWXKZ"] = string.Format(str, PageUtil.GetTypeFieldAttachLink(this.Page, item, "DianLYWXKZ", 1), PageUtil.GetTypeFieldAttachLink(this.Page, item, "DianLYWXKZ", 11)); Label_0182: if ((item.RecordStatus == 1) != null) { goto Label_01B9; } this.btnSumibt.Disabled = 1; this.btnSumibt.Attributes["title"] = "仅录入中记录需要提交审核,请先“修改主体信息”"; Label_01B9 :; Label_01BA : return; }
protected void Page_Load(object sender, EventArgs e) { UserInfo info; HB_ShiCZTItem item; string str; bool flag; this.nUserId = FunUtil.GetCurrentUserID(this.Page); this.m_htCommonFill["m_strViewUrl"] = PageUtil.GetDoFormActionUrl(base.Request, "DianChang_ShiCZT_ZhuTView", ""); SkinUtil.AdhereEntryStyleSheet(this.Page, "bootstrap.min.css"); SkinUtil.AdhereEntryStyleSheet(this.Page, "fileinput.css"); info = UserInfo.Get(this.nUserId); if (((info == null) == 0) != null) { goto Label_0076; } goto Label_0197; Label_0076: PageUtil.CommonFillHash(this.m_htCommonFill, 0, info, "_User", 0, 0, null); item = HB_ShiCZTItem.GetByUserId(this.nUserId); if ((item == null) != null) { goto Label_0197; } PageUtil.CommonFillHash(this.m_htCommonFill, 0, item, "", 0, 0, null); str = this.ltTemplate.Text; if (string.IsNullOrEmpty(item.YingYZZ) != null) { goto Label_012E; } this.m_htCommonFill["lblimg_YingYZZ"] = string.Format(str, "hidden_YingYZZ", PageUtil.GetTypeFieldAttachLink(this.Page, item, "YingYZZ", 1), PageUtil.GetTypeFieldAttachLink(this.Page, item, "YingYZZ", 11)); this.m_htCommonFill["hidden_YingYZZ"] = "exist"; Label_012E: if (string.IsNullOrEmpty(item.DianLYWXKZ) != null) { goto Label_0196; } this.m_htCommonFill["lblimg_DianLYWXKZ"] = string.Format(str, "hidden_DianLYWXKZ", PageUtil.GetTypeFieldAttachLink(this.Page, item, "DianLYWXKZ", 1), PageUtil.GetTypeFieldAttachLink(this.Page, item, "DianLYWXKZ", 11)); this.m_htCommonFill["hidden_DianLYWXKZ"] = "exist"; Label_0196 :; Label_0197 : return; }
protected void Page_Load(object sender, EventArgs e) { HB_ShiCZTItem item; UserInfo info; string str; bool flag; this.nUserId = FunUtil.GetCurrentUserID(this.Page); this.nId = Util.GetInt(base.Request, "id", -1); this.m_htCommonFill["m_strListUrl"] = PageUtil.GetDoFormActionUrl(base.Request, "DianChang_ShiCZT_ZhuTList", null); this.m_htCommonFill["m_strAddOn"] = string.Format("&id={0}&", (int)this.nId); SkinUtil.AdhereEntryStyleSheet(this.Page, "bootstrap.min.css"); SkinUtil.AdhereEntryStyleSheet(this.Page, "fileinput.css"); if ((base.IsPostBack == 0) != null) { goto Label_00A5; } goto Label_01BD; Label_00A5: item = HB_ShiCZTItem.Get(this.nId); info = UserInfo.Get(item.UserId); PageUtil.CommonFillHash(this.m_htCommonFill, 0, info, "_User", 0, 0, null); PageUtil.CommonFillHash(this.m_htCommonFill, 0, item, "", 0, 0, null); str = this.ltTemplate.Text; if (string.IsNullOrEmpty(item.YingYZZ) != null) { goto Label_0140; } this.m_htCommonFill["lblimg_YingYZZ"] = string.Format(str, PageUtil.GetTypeFieldAttachLink(this.Page, item, "YingYZZ", 1), PageUtil.GetTypeFieldAttachLink(this.Page, item, "YingYZZ", 11)); Label_0140: if (string.IsNullOrEmpty(item.DianLYWXKZ) != null) { goto Label_018B; } this.m_htCommonFill["lblimg_DianLYWXKZ"] = string.Format(str, PageUtil.GetTypeFieldAttachLink(this.Page, item, "DianLYWXKZ", 1), PageUtil.GetTypeFieldAttachLink(this.Page, item, "DianLYWXKZ", 11)); Label_018B: this.m_htCommonFill["txt_DiaoDGX_New"] = "省调直调电厂"; this.m_htCommonFill["txt_EnterDate_New"] = DateTimeUtil.DisplayDefaultDateTime(DateTime.Now, 0); Label_01BD: return; }