2022-03-15 17:36:38 +08:00
|
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConstructSolution.aspx.cs" Inherits="FineUIPro.Web.HSSE.Solution.ConstructSolution" ValidateRequest="false" %>
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head runat="server">
|
|
|
|
|
<title>编辑施工方案/审查</title>
|
|
|
|
|
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<form id="form1" runat="server">
|
|
|
|
|
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
|
|
|
|
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
|
|
|
|
|
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
|
|
|
|
|
<Items>
|
|
|
|
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="施工方案/审查" EnableCollapse="true"
|
|
|
|
|
runat="server" BoxFlex="1" EnableColumnLines="true" DataKeyNames="ConstructSolutionId"
|
|
|
|
|
DataIDField="ConstructSolutionId" AllowSorting="true" ForceFit="true"
|
|
|
|
|
SortField="ConstructSolutionCode" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
|
|
|
|
|
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
|
|
|
|
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True">
|
|
|
|
|
<Toolbars>
|
|
|
|
|
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
|
|
|
|
<Items>
|
2025-02-23 13:09:38 +08:00
|
|
|
|
<f:TextBox runat="server" Label="<%$ Resources:Lan,ConstructSolution_ColumnID_ConstructSolutionCode_HeaderText%>" ID="txtConstructSolutionCode" EmptyText="<%$ Resources:Lan,PersonUnitList_txtIdentityCard_EmptyText%>"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="100px"
|
|
|
|
|
LabelAlign="right">
|
|
|
|
|
</f:TextBox>
|
2025-02-23 13:09:38 +08:00
|
|
|
|
<f:DropDownList ID="drpUnitId" runat="server" Label="<%$ Resources:Lan,ConstructSolution_drpUnitId_Label%>" AutoPostBack="true" OnSelectedIndexChanged="TextBox_TextChanged" LabelWidth="70px" Width="250px">
|
2022-03-15 17:36:38 +08:00
|
|
|
|
</f:DropDownList>
|
2025-02-23 13:09:38 +08:00
|
|
|
|
<f:TextBox runat="server" Label="<%$ Resources:Lan,ConstructSolution_txtInvestigateType_Label%>" ID="txtInvestigateType" EmptyText="<%$ Resources:Lan,PersonUnitList_txtIdentityCard_EmptyText%>"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="80px"
|
|
|
|
|
LabelAlign="right">
|
|
|
|
|
</f:TextBox>
|
|
|
|
|
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
|
|
|
|
</f:ToolbarFill>
|
2025-02-23 13:09:38 +08:00
|
|
|
|
<f:Button ID="btnNew" ToolTip="<%$ Resources:Lan,ConstructSolution_btnNew_ToolTip%>" Icon="Add" EnablePostBack="false" Hidden="true"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
runat="server">
|
|
|
|
|
</f:Button>
|
2025-02-23 13:09:38 +08:00
|
|
|
|
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="<%$ Resources:Lan,ConstructSolution_btnOut_ToolTip%>" Icon="<%$ Resources:Lan,SubPayRegistration_btnOut_Icon%>"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
EnableAjax="false" DisableControlBeforePostBack="false">
|
|
|
|
|
</f:Button>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:Toolbar>
|
|
|
|
|
</Toolbars>
|
|
|
|
|
<Columns>
|
2025-02-23 13:09:38 +08:00
|
|
|
|
<f:TemplateField ColumnID="tfNumber" Width="55px" HeaderText="<%$ Resources:Lan,ConstructSolution_tfNumber_HeaderText%>" HeaderTextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
TextAlign="Center">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:Label ID="lblNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</f:TemplateField>
|
|
|
|
|
<f:RenderField Width="100px" ColumnID="ConstructSolutionCode" DataField="ConstructSolutionCode"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
SortField="ConstructSolutionCode" FieldType="String" HeaderText="<%$ Resources:Lan,ConstructSolution_ColumnID_ConstructSolutionCode_HeaderText%>" HeaderTextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
TextAlign="Left">
|
|
|
|
|
</f:RenderField>
|
|
|
|
|
<f:RenderField Width="75px" ColumnID="VersionNo" DataField="VersionNo"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
SortField="VersionNo" FieldType="String" HeaderText="<%$ Resources:Lan,ConstructSolution_ColumnID_VersionNo_HeaderText%>" HeaderTextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
TextAlign="Left">
|
|
|
|
|
</f:RenderField>
|
|
|
|
|
<f:RenderField Width="240px" ColumnID="UnitName" DataField="UnitName"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
SortField="UnitName" FieldType="String" HeaderText="<%$ Resources:Lan,ConstructSolution_ColumnID_UnitName_HeaderText%>" HeaderTextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
TextAlign="Left">
|
|
|
|
|
</f:RenderField>
|
|
|
|
|
<f:RenderField Width="150px" ColumnID="ConstructSolutionName" DataField="ConstructSolutionName"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
SortField="ConstructSolutionName" FieldType="String" HeaderText="<%$ Resources:Lan,ConstructSolution_ColumnID_ConstructSolutionName_HeaderText%>" HeaderTextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
TextAlign="Left">
|
|
|
|
|
</f:RenderField>
|
|
|
|
|
<f:RenderField Width="120px" ColumnID="SolutinType" DataField="SolutinType"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
SortField="SolutinType" FieldType="String" HeaderText="<%$ Resources:Lan,ConstructSolution_ColumnID_SolutinType_HeaderText%>" HeaderTextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
TextAlign="Left">
|
|
|
|
|
</f:RenderField>
|
|
|
|
|
<f:RenderField Width="100px" ColumnID="CompileManName" DataField="CompileManName"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
SortField="CompileManName" FieldType="String" HeaderText="<%$ Resources:Lan,ConstructSolution_ColumnID_CompileManName_HeaderText%>" HeaderTextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
TextAlign="Left">
|
|
|
|
|
</f:RenderField>
|
|
|
|
|
<f:RenderField Width="100px" ColumnID="CompileDate" DataField="CompileDate"
|
|
|
|
|
SortField="CompileDate" FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
HeaderText="<%$ Resources:Lan,ConstructSolution_ColumnID_CompileDate_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
|
2022-03-15 17:36:38 +08:00
|
|
|
|
</f:RenderField>
|
|
|
|
|
<f:RenderField Width="120px" ColumnID="FlowOperateName" DataField="FlowOperateName"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
SortField="FlowOperateName" FieldType="String" HeaderText="<%$ Resources:Lan,ConstructSolution_ColumnID_FlowOperateName_HeaderText%>" HeaderTextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
TextAlign="Left">
|
|
|
|
|
</f:RenderField>
|
2025-02-23 13:09:38 +08:00
|
|
|
|
<f:WindowField TextAlign="Left" Width="60px" WindowID="WindowAtt" HeaderText="<%$ Resources:Lan,ConstructSolution_WindowField_HeaderText%>" Text="<%$ Resources:Lan,LawRegulationList_Grid1_WindowField_Text%>" ToolTip="<%$ Resources:Lan,AttendMeetingEdit_WindowAtt_Title%>"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
DataIFrameUrlFields="ConstructSolutionId" DataIFrameUrlFormatString="../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/ConstructSolutionAttachUrl&menuId=9B42977B-FA0B-48EF-8616-D53FC14E5127"
|
|
|
|
|
HeaderTextAlign="Center" />
|
|
|
|
|
</Columns>
|
|
|
|
|
<Listeners>
|
|
|
|
|
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
|
|
|
|
</Listeners>
|
|
|
|
|
<PageItems>
|
|
|
|
|
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
|
|
|
|
</f:ToolbarSeparator>
|
2025-02-23 13:09:38 +08:00
|
|
|
|
<f:ToolbarText ID="ToolbarText1" runat="server" Text="<%$ Resources:Lan,ConstructSolution_ToolbarText1_Text%>">
|
2022-03-15 17:36:38 +08:00
|
|
|
|
</f:ToolbarText>
|
|
|
|
|
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
|
|
|
|
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
|
|
|
|
</f:DropDownList>
|
|
|
|
|
</PageItems>
|
|
|
|
|
</f:Grid>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:Panel>
|
|
|
|
|
<f:Window ID="Window1" Title="施工方案/审查" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
|
|
|
|
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="1024px" Height="700px">
|
|
|
|
|
</f:Window>
|
2025-02-23 13:09:38 +08:00
|
|
|
|
<f:Window ID="WindowAtt" Title="<%$ Resources:Lan,EnvironmentalRiskList_WindowAtt_Title%>" 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>
|
|
|
|
|
<f:Menu ID="Menu1" runat="server">
|
|
|
|
|
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" Icon="Pencil" EnablePostBack="true"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
Hidden="true" runat="server" Text="<%$ Resources:Lan,ConstructSolution_MenuButton_btnMenuEdit_Text%>" >
|
2022-03-15 17:36:38 +08:00
|
|
|
|
</f:MenuButton>
|
|
|
|
|
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
2025-02-23 13:09:38 +08:00
|
|
|
|
Hidden="true" Icon="Delete" ConfirmText="<%$ Resources:Lan,ConstructSolution_MenuButton_btnMenuDelete_ConfirmText%>" ConfirmTarget="Parent" runat="server" Text="<%$ Resources:Lan,ConstructSolution_MenuButton_btnMenuDelete_Text%>">
|
2022-03-15 17:36:38 +08:00
|
|
|
|
</f:MenuButton>
|
|
|
|
|
</f:Menu>
|
|
|
|
|
</form>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
var menuID = '<%= Menu1.ClientID %>';
|
|
|
|
|
// 返回false,来阻止浏览器右键菜单
|
|
|
|
|
function onRowContextMenu(event, rowId) {
|
|
|
|
|
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function reloadGrid() {
|
|
|
|
|
__doPostBack(null, 'reloadGrid');
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|