Files
ChengDa_English/SGGL/FineUIPro.Web/PZHGL/InformationProject/ConstructionPlanEdit.aspx
T

148 lines
10 KiB
Plaintext
Raw Normal View History

2022-03-15 17:36:38 +08:00
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConstructionPlanEdit.aspx.cs" Inherits="FineUIPro.Web.PZHGL.InformationProject.ConstructionPlanEdit" ValidateRequest="false" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel2" Title="<%$ Resources:Lan,ConstructionPlan_WindowTitle%>" ShowBorder="true"
2022-03-15 17:36:38 +08:00
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
runat="server">
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtCode" runat="server" Required="true" ShowRedStar="true" Label="<%$ Resources:Lan,ConstructionReportView_FileCode%>" LabelAlign="Right"
2022-03-15 17:36:38 +08:00
MaxLength="50">
</f:TextBox>
<f:DatePicker ID="txtCompileDate" runat="server" Label="<%$ Resources:Lan,ConstructionReportView_CompileDate%>" LabelAlign="Right"
2022-03-15 17:36:38 +08:00
EnableEdit="true">
</f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:HtmlEditor runat="server" Label="<%$ Resources:Lan,ConstructionReportView_Content%>" ID="txtContent" ShowLabel="false"
2022-03-15 17:36:38 +08:00
Editor="UMEditor" BasePath="~/res/umeditor/" ToolbarSet="Full" Height="300" LabelAlign="Right">
</f:HtmlEditor>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow ID="next">
<Items>
<f:ContentPanel ID="ContentPanel5" Title="<%$ Resources:Lan,ConstructionPlanEdit_ApprovalProcess%>" runat="server" ShowHeader="true" EnableCollapse="true"
2022-03-15 17:36:38 +08:00
BodyPadding="0px">
<f:Form ID="Form5" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:RadioButtonList runat="server" ID="rblIsAgree" Label="<%$ Resources:Lan,WorkHandoverEdit_IsAgree%>"
2022-03-15 17:36:38 +08:00
OnSelectedIndexChanged="rblIsAgree_SelectedIndexChanged" ShowRedStar="true" AutoPostBack="true">
<f:RadioItem Text="<%$ Resources:Lan,WorkHandoverEdit_Agree%>" Value="true" Selected="true" />
<f:RadioItem Text="<%$ Resources:Lan,WorkHandoverEdit_Disagree%>" Value="false" />
2022-03-15 17:36:38 +08:00
</f:RadioButtonList>
<f:Label runat="server" CssStyle="display:none"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="drpHandleType"
Readonly="true" runat="server" Label="<%$ Resources:Lan,WorkHandoverEdit_HandleType%>"
2022-03-15 17:36:38 +08:00
LabelAlign="Right" >
</f:DropDownList>
<f:DropDownList ID="drpHandleMan" runat="server" Label="<%$ Resources:Lan,WorkHandoverView_ApproveMan%>" Required="true" LabelAlign="Right" EnableEdit="true">
2022-03-15 17:36:38 +08:00
</f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow ID="HideOptions" runat="server" CssStyle="padding-top:2px">
<Items>
<f:TextArea ID="txtOpinions" runat="server" Label="<%$ Resources:Lan,WorkHandoverEdit_MyOpinions%>" MaxLength="3000">
2022-03-15 17:36:38 +08:00
</f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow ID="plApprove2">
<Items>
<f:ContentPanel Title="<%$ Resources:Lan,ConstructionPlanView_ApprovalList%>" ShowBorder="true"
2022-03-15 17:36:38 +08:00
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
runat="server">
<f:Grid ID="Grid1" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="false"
DataKeyNames="ConstructionPlanApproveId" EnableColumnLines="true" ForceFit="true">
<Columns>
<f:RowNumberField Width="20px" />
<f:TemplateField ColumnID="State" Width="250px" HeaderText="<%$ Resources:Lan,WorkHandoverView_ApproveType%>" HeaderTextAlign="Center" TextAlign="Center"
2022-03-15 17:36:38 +08:00
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# BLL.ConstructionPlanService.ConvertState(Eval("ApproveType")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:BoundField Width="180px" DataField="ApproveMan" HeaderTextAlign="Center" HeaderText="<%$ Resources:Lan,WorkHandoverView_ApproveMan%>" TextAlign="Center" />
<f:BoundField Width="200px" DataField="ApproveDate" HeaderTextAlign="Center" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd}" HeaderText="<%$ Resources:Lan,WorkHandoverView_ApproveDate%>" />
<f:BoundField Width="180px" DataField="ApproveIdea" HeaderTextAlign="Center" TextAlign="Center" HeaderText="<%$ Resources:Lan,WorkHandoverView_ApproveIdea%>" />
2022-03-15 17:36:38 +08:00
</Columns>
</f:Grid>
</f:ContentPanel>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Button ID="imgBtnFile" Text="<%$ Resources:Lan,ProjectMapEdit_AttachButton%>" ToolTip="<%$ Resources:Lan,ProjectMapView_AttachTooltip%>" Icon="TableCell" runat="server"
2022-03-15 17:36:38 +08:00
OnClick="imgBtnFile_Click" ValidateForms="SimpleForm1" MarginLeft="5px">
</f:Button>
<f:Button runat="server" ID="btnDownLoad" Icon="ArrowDown" Text="<%$ Resources:Lan,ConstructionReportEdit_DownloadTemplate%>" ToolTip="<%$ Resources:Lan,ConstructionReportEdit_DownloadTemplate%>">
2022-03-15 17:36:38 +08:00
<Listeners>
<f:Listener Event="click" Handler="ButtonClick" />
</Listeners>
</f:Button>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:HiddenField ID="HFConstructionPlanId" runat="server"></f:HiddenField>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="<%$ Resources:Lan,XmsgGlgdEdit_Save%>" OnClick="btnSave_Click">
2022-03-15 17:36:38 +08:00
</f:Button>
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" ToolTip="<%$ Resources:Lan,WorkHandoverEdit_Submit%>" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1">
2022-03-15 17:36:38 +08:00
</f:Button>
<%-- <f:Button ID="btnClose" EnablePostBack="false" ToolTip="<%$ Resources:Lan,XmsgGlgdEdit_Close%>" OnClick="btnClose_Click" runat="server" Icon="SystemClose">
2022-03-15 17:36:38 +08:00
</f:Button>--%>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
</form>
<f:Window ID="WindowAtt" Title="<%$ Resources:Lan,XmsgGlgdEdit_WindowTitle%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
2022-03-15 17:36:38 +08:00
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
<script type="text/javascript">
function ButtonClick(event) {
// 第一个参数 false 用来指定当前不是AJAX请求
__doPostBack(false, '', 'ButtonClick');
}
</script>
</body>
</html>