危大工程附件必传调整
This commit is contained in:
parent
f867e15978
commit
9df2becf42
|
@ -64,7 +64,7 @@
|
||||||
<Items>
|
<Items>
|
||||||
<f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
|
<f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="Column" CssClass="" runat="server">
|
||||||
<Items>
|
<Items>
|
||||||
<f:Label ID="Label1" runat="server" Label="附件1-论证后的方案"
|
<f:Label ID="Label1" runat="server" Label="附件1-专项方案"
|
||||||
LabelAlign="Right" LabelWidth="180px">
|
LabelAlign="Right" LabelWidth="180px">
|
||||||
</f:Label>
|
</f:Label>
|
||||||
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttachUrl_Click">
|
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="附件" runat="server" OnClick="btnAttachUrl_Click">
|
||||||
|
|
|
@ -135,10 +135,12 @@ namespace FineUIPro.Web.HSSE.Solution
|
||||||
//判断附件是否必传
|
//判断附件是否必传
|
||||||
if (!returnFj(this.HazardId + "_1"))
|
if (!returnFj(this.HazardId + "_1"))
|
||||||
{
|
{
|
||||||
Alert.ShowInTop("请上传附件1-论证后的方案", MessageBoxIcon.Warning);
|
Alert.ShowInTop("请上传附件1-专项方案", MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Convert.ToBoolean(this.rblIsArgument.SelectedValue) && Convert.ToBoolean(this.rblIsSuperLargerHazard.SelectedValue))
|
||||||
|
{
|
||||||
if (!returnFj(this.HazardId + "_2"))
|
if (!returnFj(this.HazardId + "_2"))
|
||||||
{
|
{
|
||||||
Alert.ShowInTop("请上传附件2-专家论证报告", MessageBoxIcon.Warning);
|
Alert.ShowInTop("请上传附件2-专家论证报告", MessageBoxIcon.Warning);
|
||||||
|
@ -156,6 +158,7 @@ namespace FineUIPro.Web.HSSE.Solution
|
||||||
Alert.ShowInTop("请上传附件4-论证会会议照片", MessageBoxIcon.Warning);
|
Alert.ShowInTop("请上传附件4-论证会会议照片", MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!returnFj(this.HazardId + "_5"))
|
if (!returnFj(this.HazardId + "_5"))
|
||||||
{
|
{
|
||||||
|
@ -293,7 +296,8 @@ namespace FineUIPro.Web.HSSE.Solution
|
||||||
this.HazardId + "_6", BLL.Const.MajorPlanApprovalMenuId)));
|
this.HazardId + "_6", BLL.Const.MajorPlanApprovalMenuId)));
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool returnFj(string id) {
|
private bool returnFj(string id)
|
||||||
|
{
|
||||||
bool isT = true;
|
bool isT = true;
|
||||||
var model = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == id);
|
var model = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == id);
|
||||||
if (model == null)
|
if (model == null)
|
||||||
|
|
|
@ -125,7 +125,7 @@
|
||||||
</f:Panel>
|
</f:Panel>
|
||||||
<f:Window ID="Window1" Title="编辑危险性较大的工程清单" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
<f:Window ID="Window1" Title="编辑危险性较大的工程清单" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||||
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
|
||||||
Width="1000px" Height="500px">
|
Width="1000px" Height="600px">
|
||||||
</f:Window>
|
</f:Window>
|
||||||
<f:Menu ID="Menu1" runat="server">
|
<f:Menu ID="Menu1" runat="server">
|
||||||
<Items>
|
<Items>
|
||||||
|
|
Loading…
Reference in New Issue