HJGL_DS/HJGL_DS/FineUIPro.Web/JGZL/InsulationAcceptanceRecord....

179 lines
13 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InsulationAcceptanceRecord.aspx.cs" Inherits="FineUIPro.Web.JGZL.InsulationAcceptanceRecord" %>
<!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="Panel1" runat="server" />
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
<Items>
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
EnableCollapse="true" Width="220px" Title="隔热工程质量验收记录" ShowBorder="true" Layout="VBox"
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelAlign="Right" AutoPostBack="true" EnableEdit="true"
OnSelectedIndexChanged="drpProjectId_SelectedIndexChanged" LabelWidth="50px">
</f:DropDownList>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Tree ID="tvControlItem" ShowHeader="false" Title="隔热工程质量验收记录" OnNodeCommand="tvControlItem_NodeCommand"
runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true"
AutoLeafIdentification="true" EnableSingleExpand="true" EnableTextSelection="true">
</f:Tree>
</Items>
</f:Panel>
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="隔热工程质量验收记录"
TitleToolTip="隔热工程质量验收记录" AutoScroll="true">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<%--<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>--%>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnPrint" Text="隔热工程质量验收记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false" Hidden="true">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtHeatInsulationArea" runat="server" Label="隔热部位" LabelAlign="Right" MaxLength="500" Height="60px"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtInsulationStructure" runat="server" Label="隔热结构" LabelAlign="Right" MaxLength="500" Height="60px"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtAcceptanceConclusion" runat="server" Label="验收结论" LabelAlign="Right" MaxLength="500" Height="60px"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="检查项目与要求" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="InsulationAcceptanceRecordItemId" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="InsulationAcceptanceRecordItemId" AllowSorting="true"
SortField="CheckCode" SortDirection="ASC"
EnableTextSelection="True" AutoScroll="true">
<Columns>
<f:RenderField HeaderText="序号" ColumnID="CheckCode" DataField="CheckCode" SortField="CheckCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px" Hidden="true">
<Editor>
<f:TextBox ID="txtCheckCode" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="检查项目与要求" ColumnID="CheckItem" DataField="CheckItem" SortField="CheckItem"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px" ExpandUnusedSpace="true">
<Editor>
<f:TextBox ID="txtCheckItem" runat="server"></f:TextBox>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="检查结果" ColumnID="CheckResult" DataField="CheckResult" SortField="CheckResult"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px">
<Editor>
<f:DropDownList ID="drpCheckResult" runat="server">
<f:ListItem Value="合格" Text="合格" Selected="true" />
<f:ListItem Value="不合格" Text="不合格" />
<f:ListItem Value="/" Text="/" />
</f:DropDownList>
</Editor>
</f:RenderField>
<f:RenderField HeaderText="主键" ColumnID="InsulationAcceptanceRecordItemId" DataField="InsulationAcceptanceRecordItemId" SortField="InsulationAcceptanceRecordItemId"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="140px" Hidden="true">
</f:RenderField>
</Columns>
</f:Grid>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<%--<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="隔热工程质量验收记录" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="InsulationAcceptanceRecordId" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="InsulationAcceptanceRecordId" AllowSorting="true"
SortField="CompileDate" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableTextSelection="True" AutoScroll="true" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
<Columns>
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
TextAlign="Center" />
<f:RenderField HeaderText="隔热部位" ColumnID="HeatInsulationArea" DataField="HeatInsulationArea" SortField="HeatInsulationArea"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField HeaderText="隔热结构" ColumnID="InsulationStructure" DataField="InsulationStructure" SortField="InsulationStructure"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField HeaderText="时间" ColumnID="CompileDate" DataField="CompileDate" SortField="CompileDate"
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderTextAlign="Center" TextAlign="Left" Width="180px" >
</f:RenderField>
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
</Listeners>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
<f:ListItem Text="10" Value="10" />
<f:ListItem Text="15" Value="15" />
<f:ListItem Text="20" Value="20" />
<f:ListItem Text="25" Value="25" />
</f:DropDownList>
</PageItems>
</f:Grid>--%>
</Items>
</f:Panel>
</Items>
</f:Panel>
<%--<f:Window ID="Window1" Title="隔热工程质量验收记录" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
Width="1100px" Height="620px">
</f:Window>--%>
<f:Window ID="WindowPrint" Title="打印隔热工程质量验收记录" Hidden="true" EnableIFrame="true" EnableMaximize="false"
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
Height="600px">
</f:Window>
<%--<f:Menu ID="Menu1" runat="server">
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
runat="server" Text="编辑" Icon="TableEdit">
</f:MenuButton>
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
ConfirmText="删除选中行?" ConfirmTarget="Top" runat="server" Text="删除" Icon="Delete">
</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;
}
</script>--%>
</body>
</html>