ChengDa_English/SGGL/FineUIPro.Web/CQMS/WBS/ControlItemAndCycleSearch.aspx

139 lines
10 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ControlItemAndCycleSearch.aspx.cs" Inherits="FineUIPro.Web.CQMS.WBS.ControlItemAndCycleSearch" %>
<!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>
<style type="text/css">
.f-grid-row .f-grid-cell-inner {
white-space: normal;
word-break: break-all;
}
.f-grid-colheader-text {
white-space: normal;
word-break: break-all;
}
</style>
</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" EnableAjax="false" ShowHeader="false" Title="项目施工WBS查询" EnableCollapse="true" runat="server"
BoxFlex="1" DataKeyNames="ControlItemAndCycleId" DataIDField="ControlItemAndCycleId" AllowSorting="true" SortField="ControlItemAndCycleCode"
SortDirection="DESC" EnableColumnLines="true" AllowPaging="true" IsDatabasePaging="true" PageSize="10" ForceFit="true"
EnableRowDoubleClickEvent="true" AllowFilters="true" EnableTextSelection="True" OnPageIndexChange="Grid1_PageIndexChange">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:DropDownList ID="drpUnitWork" runat="server" Label="<%$ Resources:Lan,ITPListProjectEdit_drpUnitWork_Label%>" LabelAlign="Right" EnableEdit="true" LabelWidth="140px">
</f:DropDownList>
<f:TextBox runat="server" ID="txtControlItemContent" Label="<%$ Resources:Lan,ShowWBS_WorkPackage_HeaderText%>" LabelWidth="70px" LabelAlign="Right"></f:TextBox>
<f:DropDownList ID="drpControlPoint" runat="server" Label="<%$ Resources:Lan,InspectionNoticeEdit_Grid1_Class_HeaderText%>" EnableMultiSelect="true" LabelAlign="Right" EnableEdit="true" LabelWidth="110px">
<f:ListItem Text="A" Value="A" />
<f:ListItem Text="AR" Value="AR" />
<f:ListItem Text="B" Value="B" />
<f:ListItem Text="BR" Value="BR" />
<f:ListItem Text="C" Value="C" />
<f:ListItem Text="CR" Value="CR" />
</f:DropDownList>
<f:ToolbarFill runat="server"></f:ToolbarFill>
</Items>
</f:Toolbar>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:TextBox runat="server" ID="txtControlItemDef" Label="<%$ Resources:Lan,ShowWBS_ControlPointDescription_HeaderText%>" LabelAlign="Right" LabelWidth="140px" Width="400px"></f:TextBox>
<f:TextBox runat="server" ID="txtForms" Label="资料表格" LabelAlign="Right"></f:TextBox>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnSearch" Icon="SystemSearch" ToolTip="<%$ Resources:Lan,ITPListProject_btnQuery_ToolTip%>"
EnablePostBack="true" runat="server" OnClick="btnSearch_Click">
</f:Button>
<f:Button ID="btnRset" ToolTip="<%$ Resources:Lan,ConstructSolutionFinal_btnRset_ToolTip%>" Icon="ArrowUndo" EnablePostBack="true" runat="server" OnClick="btnRset_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:TemplateField ColumnID="tfPageIndex" Width="55px" HeaderText="<%$ Resources:Lan,ShoBreakdownProject_Grid1_BreakdownCode_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField Width="120px" ColumnID="UnitWorkName" DataField="UnitWorkName" FieldType="String"
HeaderText="<%$ Resources:Lan,ITPListProjectEdit_drpUnitWork_Label%>" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ControlItemContent" DataField="ControlItemContent" FieldType="String"
HeaderText="<%$ Resources:Lan,ShowWBS_WorkPackage_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="85px" ColumnID="ControlPoint" DataField="ControlPoint" FieldType="String"
HeaderText="<%$ Resources:Lan,InspectionNoticeEdit_Grid1_Class_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField Width="80px" ColumnID="Weights" DataField="Weights" FieldType="String"
HeaderText="<%$ Resources:Lan,ShowWBS_Weight_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
</f:RenderField>
<f:RenderField HeaderText="<%$ Resources:Lan,ShowWBS_ControlPointDescription_HeaderText%>" ColumnID="ControlItemDef" DataField="ControlItemDef" SortField="ControlItemDef"
HeaderTextAlign="Center" TextAlign="Center" Width="300px" FieldType="String">
</f:RenderField>
<f:TemplateField ColumnID="HGFormsJZ" Width="160px" HeaderText="对应的建筑资料表格" HeaderTextAlign="Center" TextAlign="Left">
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# ConvertText(Eval("HGFormsJZ")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:TemplateField ColumnID="HGFormsAZ" Width="160px" HeaderText="<%$ Resources:Lan,ShowWBS_ChemicalEngineeringForms_HeaderText%>" HeaderTextAlign="Center" TextAlign="Left">
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# ConvertText(Eval("HGFormsAZ")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:TemplateField ColumnID="SHForms" Width="160px" HeaderText="<%$ Resources:Lan,ShowWBS_PetrochemicalEngineeringForms_HeaderText%>" HeaderTextAlign="Center" TextAlign="Left">
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# ConvertText(Eval("SHForms")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:TemplateField ColumnID="Standard" Width="170px" HeaderText="<%$ Resources:Lan,ShowWBS_QualityAcceptanceStandard_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# ConvertText(Eval("Standard")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField HeaderText="<%$ Resources:Lan,ShowWBS_ClauseNumber_HeaderText%>" ColumnID="ClauseNo" DataField="ClauseNo" SortField="ClauseNo" Hidden="true"
HeaderTextAlign="Center" TextAlign="Center" Width="100px" FieldType="String">
</f:RenderField>
<f:RenderField HeaderText="<%$ Resources:Lan,CheckManStatistics_CheckNum_HeaderText%>" ColumnID="CheckNum" DataField="CheckNum"
SortField="CheckNum" HeaderTextAlign="Center" TextAlign="Center" Width="60px"
FieldType="String">
</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="<%$ Resources:Lan,ShoBreakdownProject_ddlPageSize_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:ListItem Text="<%$ Resources:Lan,JointCheckFile_ddlPageSize_All%>" Value="100000" />
</f:DropDownList>
<f:ToolbarFill runat="server">
</f:ToolbarFill>
</PageItems>
</f:Grid>
</Items>
</f:Panel>
</form>
</body>
</html>