Basf_TCC7/HJGL/FineUIPro.Web/PublicInfo/ProcessControl/StatisticsByUnit.aspx

114 lines
6.3 KiB
Plaintext
Raw Normal View History

2024-05-08 10:02:08 +08:00
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StatisticsByUnit.aspx.cs"
Inherits="FineUIPro.Web.PublicInfo.ProcessControl.StatisticsByUnit" %>
<!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" />
<style type="text/css">
.f-grid-colheader-Major .f-grid-colheader-text
{
white-space: normal;
word-break: break-all;
}
.fontStyle
{
font-weight: bold;
}
</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" ShowHeader="false" Title="<%$ Resources:Lan,StatisticsByUnit %>"
EnableCollapse="true" runat="server" BoxFlex="1" EnableColumnLines="true" DataKeyNames="UnitId"
AllowCellEditing="true" ClicksToEdit="2" DataIDField="UnitId" AllowSorting="true"
SortField="Party" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
EnableTextSelection="True">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:DatePicker ID="txtStartDate" runat="server" Label="<%$ Resources:Lan,ReportDuration %>"
Width="260px" LabelWidth="125px" LabelAlign="Right">
</f:DatePicker>
<f:Label ID="lblTo" runat="server" Text="~">
</f:Label>
<f:DatePicker ID="txtEndDate" runat="server" Width="120px">
</f:DatePicker>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="BtnAnalyse" Text="<%$ Resources:Lan,Statistics %>" Icon="ChartPie"
runat="server" OnClick="BtnAnalyse_Click">
</f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="<%$ Resources:Lan,Export %>"
Icon="TableGo" EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Columns>
<f:BoundField Width="100px" DataField="Party" HeaderText="施焊单位 Party" HeaderTextAlign="Center"
ExpandUnusedSpace="true" />
<f:GroupField HeaderText="本期焊接质量状态 Welding Quality in Report Period" TextAlign="Center">
<Columns>
<f:GroupField HeaderText="拍片焊口数" TextAlign="Center">
<Columns>
<f:BoundField Width="160px" DataField="TestedWelds" HeaderText="Tested Welds" HeaderTextAlign="Center" />
</Columns>
</f:GroupField>
<f:GroupField HeaderText="不合格焊口数" TextAlign="Center">
<Columns>
<f:BoundField Width="160px" DataField="RejectedWelds" HeaderText="Rejected Welds"
HeaderTextAlign="Center" />
</Columns>
</f:GroupField>
<f:GroupField HeaderText="不合格率" TextAlign="Center">
<Columns>
<f:BoundField Width="160px" DataField="RejectedRate" HeaderText="Rejected Rate" HeaderTextAlign="Center" />
</Columns>
</f:GroupField>
</Columns>
</f:GroupField>
<f:GroupField HeaderText="累计焊接返修率 Accumulated Rejection Rate" TextAlign="Center">
<Columns>
<f:GroupField ColumnID="GFStartDate" HeaderText="截止()" TextAlign="Center">
<Columns>
<f:BoundField ColumnID="BStartDate" Width="170px" DataField="StartDateRejectedRate"
HeaderText="To End of()" HeaderTextAlign="Center" />
</Columns>
</f:GroupField>
<f:GroupField ColumnID="GFEndDate" HeaderText="截止()" TextAlign="Center">
<Columns>
<f:BoundField ColumnID="BEndDate" Width="170px" DataField="EndDateRejectedRate" HeaderText="To End of()"
HeaderTextAlign="Center" />
</Columns>
</f:GroupField>
</Columns>
</f:GroupField>
</Columns>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="<%$ Resources:Lan,NumberOfRecordsPerPage %>">
</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>
</form>
</body>
</html>