超过一定规模的危大施工方案增加字段,去除总结

This commit is contained in:
2024-04-08 09:18:38 +08:00
parent 9544361049
commit cd3a4ac71a
12 changed files with 5731 additions and 165 deletions
@@ -71,9 +71,9 @@
<f:RenderField ColumnID="ApprovalMan" DataField="ApprovalMan" FieldType="String" HeaderText="批准人" TextAlign="Center"
HeaderTextAlign="Center" Width="120px">
</f:RenderField>
<f:RenderField ColumnID="ImplementationDeviation" DataField="ImplementationDeviation" FieldType="String" HeaderText="施工总结" TextAlign="Center"
<%-- <f:RenderField ColumnID="ImplementationDeviation" DataField="ImplementationDeviation" FieldType="String" HeaderText="施工总结" TextAlign="Center"
HeaderTextAlign="Center" Width="220px">
</f:RenderField>
</f:RenderField>--%>
<f:TemplateField ColumnID="AttachFile" Width="150px" HeaderText="附件" HeaderTextAlign="Center" TextAlign="Left" >
<ItemTemplate>
<asp:LinkButton ID="lbtnFileUrl" runat="server" CssClass="ItemLink"
@@ -48,7 +48,13 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtImplementationDeviation" runat="server" Label="施工总结" MaxLength="500" LabelWidth="130px" LabelAlign="right"></f:TextArea>
<%--<f:TextArea ID="txtImplementationDeviation" runat="server" Label="施工总结" MaxLength="500" LabelWidth="130px" LabelAlign="right"></f:TextArea>--%>
<f:RadioButtonList runat="server" ID="rblIsReview" Label="是否通过专家评审" ShowRedStar="true" LabelAlign="Right" LabelWidth="130px">
<f:RadioItem Text="是" Value="true" Selected="true" />
<f:RadioItem Text="否" Value="false" />
</f:RadioButtonList>
<f:Label Hidden="true" runat="server"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
@@ -64,8 +64,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive
}
this.txtAuditMan.Text = majorPlanApproval.AuditMan;
this.txtApprovalMan.Text = majorPlanApproval.ApprovalMan;
this.txtImplementationDeviation.Text = majorPlanApproval.ImplementationDeviation;
//this.txtImplementationDeviation.Text = majorPlanApproval.ImplementationDeviation;
this.txtExpertReviewMan.Text = majorPlanApproval.ExpertReviewMan;
this.rblIsReview.SelectedValue = majorPlanApproval.IsReview.HasValue && majorPlanApproval.IsReview == true ? "true" : "false";
}
else
{
@@ -108,7 +110,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive
}
majorPlanApproval.AuditMan = this.txtAuditMan.Text.Trim();
majorPlanApproval.ApprovalMan = this.txtApprovalMan.Text.Trim();
majorPlanApproval.ImplementationDeviation = this.txtImplementationDeviation.Text.Trim();
//majorPlanApproval.ImplementationDeviation = this.txtImplementationDeviation.Text.Trim();
string ids = string.Empty;
var lists = this.drpUnitWorkIds.SelectedValueArray;
foreach (var item in lists)
@@ -120,6 +122,16 @@ namespace FineUIPro.Web.CQMS.Comprehensive
ids = ids.Substring(0, ids.LastIndexOf(","));
}
majorPlanApproval.UnitWorkId = ids;
if (this.rblIsReview.SelectedValue == "true")
{
majorPlanApproval.IsReview = true;
}
else
{
majorPlanApproval.IsReview = false;
}
if (string.IsNullOrEmpty(this.MajorPlanApprovalId))
{
if (!string.IsNullOrEmpty(this.hdAttachUrl.Text))
@@ -132,13 +132,13 @@ namespace FineUIPro.Web.CQMS.Comprehensive
protected global::FineUIPro.TextBox txtExpertReviewMan;
/// <summary>
/// txtImplementationDeviation 控件。
/// rblIsReview 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtImplementationDeviation;
protected global::FineUIPro.RadioButtonList rblIsReview;
/// <summary>
/// Panel2 控件。