2022-03-15 17:36:38 +08:00
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SpotCheckStatistics.aspx.cs" Inherits="FineUIPro.Web.CQMS.Check.SpotCheckStatistics" %>
|
|
|
|
|
|
|
|
<!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">
|
|
|
|
.labcenter {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.f-grid-row .f-grid-cell-inner {
|
|
|
|
white-space: normal;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.f-grid-row.red {
|
|
|
|
background-color: #FF7575;
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Yellow {
|
|
|
|
background-color: #FFFF93;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fontred {
|
|
|
|
color: #FF7575;
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
.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>
|
|
|
|
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:Grid ID="Grid1" ShowBorder="true" EnableAjax="false" ShowHeader="false" Title="<%$ Resources:Lan,SpotCheckStatistics_Title%>" EnableCollapse="true"
|
2022-03-15 17:36:38 +08:00
|
|
|
runat="server" BoxFlex="1" DataKeyNames="SpotCheckDetailId" AllowCellEditing="true"
|
|
|
|
ClicksToEdit="2" DataIDField="SpotCheckDetailId" AllowSorting="true" SortField="CreateDate"
|
|
|
|
SortDirection="DESC" EnableColumnLines="true" ForceFit="true"
|
|
|
|
AllowPaging="true" IsDatabasePaging="true" PageSize="10"
|
|
|
|
EnableRowDoubleClickEvent="true" AllowFilters="true" EnableTextSelection="True" OnRowCommand="Grid1_RowCommand" OnPageIndexChange="Grid1_PageIndexChange">
|
|
|
|
<Toolbars>
|
|
|
|
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:DropDownList ID="drpUnit" runat="server" Label="<%$ Resources:Lan,EditConstructSolutionFinal_drpUnit_Label%>" Width="350px" EnableEdit="true" LabelAlign="right" LabelWidth="110px">
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:DropDownList>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="<%$ Resources:Lan,ITPListProject_txtStartTime_Label%>" ID="txtStartTime" LabelAlign="right" LabelWidth="100px" Width="250px">
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:DatePicker>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="<%$ Resources:Lan,ITPListProject_txtEndTime_Label%>" ID="txtEndTime" LabelAlign="right" LabelWidth="110px" Width="250px">
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:DatePicker>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:DropDownList ID="drpControlPoint" runat="server" Label="<%$ Resources:Lan,InspectionNoticeEdit_Grid1_Class_HeaderText%>" EnableMultiSelect="true" LabelAlign="Right" EnableEdit="true" LabelWidth="110px">
|
2022-03-15 17:36:38 +08:00
|
|
|
<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>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="<%$ Resources:Lan,SpotCheckStatistics_Export_Button%>" Icon="TableGo"
|
2022-03-15 17:36:38 +08:00
|
|
|
AjaxLoadingType="Mask" ShowAjaxLoadingMaskText="true" AjaxLoadingMaskText="正在导出数据到服务器,请稍候"
|
|
|
|
EnableAjax="false" DisableControlBeforePostBack="false">
|
|
|
|
</f:Button>
|
|
|
|
</Items>
|
|
|
|
</f:Toolbar>
|
|
|
|
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:DropDownList ID="drpUnitWork" runat="server" Label="<%$ Resources:Lan,ITPListProjectEdit_drpUnitWork_Label%>" Width="350px" LabelAlign="Right" EnableEdit="true" LabelWidth="110px">
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:DropDownList>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:DropDownList ID="drpCNProfessional" runat="server" Label="<%$ Resources:Lan,ITPListProjectEdit_drpCNProfessional_Label%>" LabelAlign="Right" EnableEdit="true" LabelWidth="100px" Width="250px">
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:DropDownList>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:DropDownList ID="drpIsOK" runat="server" Label="<%$ Resources:Lan,SpotCheckStatistics_EntityInspectionResult_Label%>" EnableEdit="true" LabelAlign="right" LabelWidth="110px" Width="250px">
|
2022-03-15 17:36:38 +08:00
|
|
|
<f:ListItem Text="合格" Value="1" />
|
|
|
|
<f:ListItem Text="不合格" Value="0" />
|
|
|
|
</f:DropDownList>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:DropDownList ID="drpIsDataOK" runat="server" Label="<%$ Resources:Lan,SpotCheckStatistics_DocumentInspectionResult_Label%>" EnableEdit="true" LabelAlign="right" LabelWidth="110px">
|
2022-03-15 17:36:38 +08:00
|
|
|
<f:ListItem Text="合格" Value="1" />
|
|
|
|
<f:ListItem Text="不合格" Value="0" />
|
|
|
|
<f:ListItem Text="不需要" Value="2" />
|
|
|
|
</f:DropDownList>
|
|
|
|
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:Button ID="btnSearch" Icon="SystemSearch" ToolTip="<%$ Resources:Lan,ITPListProject_btnQuery_ToolTip%>"
|
2022-03-15 17:36:38 +08:00
|
|
|
EnablePostBack="true" runat="server" OnClick="btnSearch_Click">
|
|
|
|
</f:Button>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:Button ID="btnRset" ToolTip="<%$ Resources:Lan,ConstructSolutionFinal_btnRset_ToolTip%>" Icon="ArrowUndo" EnablePostBack="true" runat="server" OnClick="btnRset_Click">
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:Button>
|
|
|
|
|
|
|
|
</Items>
|
|
|
|
</f:Toolbar>
|
|
|
|
</Toolbars>
|
|
|
|
<Columns>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:TemplateField ColumnID="tfPageIndex" Width="55px" HeaderText="<%$ Resources:Lan,ShoBreakdownProject_Grid1_BreakdownCode_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
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="180px" ColumnID="UnitName" DataField="UnitName"
|
2025-02-22 14:06:48 +08:00
|
|
|
SortField="UnitName" FieldType="String" HeaderText="<%$ Resources:Lan,EditConstructSolutionFinal_drpUnit_Label%>" TextAlign="center"
|
2022-03-15 17:36:38 +08:00
|
|
|
HeaderTextAlign="Center">
|
|
|
|
</f:RenderField>
|
|
|
|
<f:RenderField Width="60px" ColumnID="ProfessionalName" DataField="ProfessionalName"
|
2025-02-22 14:06:48 +08:00
|
|
|
FieldType="String" HeaderText="<%$ Resources:Lan,ITPListProjectEdit_drpCNProfessional_Label%>" TextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
HeaderTextAlign="Center">
|
|
|
|
</f:RenderField>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:TemplateField ColumnID="ControlItemAndCycleId" Width="400px" HeaderText="<%$ Resources:Lan,SpotDataCheckView_SpotCheckItemName_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
>
|
|
|
|
<ItemTemplate>
|
|
|
|
<asp:Label ID="Label2" runat="server" Text='<%# ConvertDetailName(Eval("ControlItemAndCycleId")) %>'></asp:Label>
|
|
|
|
</ItemTemplate>
|
|
|
|
</f:TemplateField>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:TemplateField ColumnID="ControlPoint" Width="80px" HeaderText="<%$ Resources:Lan,SpotDataCheckView_ControlPointLevel_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
|
2022-03-15 17:36:38 +08:00
|
|
|
<ItemTemplate>
|
|
|
|
<asp:Label ID="Label5" runat="server" Text='<%# ConvertControlPoint(Eval("ControlItemAndCycleId")) %>'></asp:Label>
|
|
|
|
</ItemTemplate>
|
|
|
|
</f:TemplateField>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:TemplateField ColumnID="SpotCheckDate" Width="150px" HeaderText="<%$ Resources:Lan,SpotDataCheckView_InspectionTime_Label%>" HeaderTextAlign="Center" TextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
EnableLock="true" Locked="False">
|
|
|
|
<ItemTemplate>
|
|
|
|
<asp:Label ID="Label3" runat="server" Text='<%# ConvertSpotCheckDate(Eval("SpotCheckCode")) %>'></asp:Label>
|
|
|
|
</ItemTemplate>
|
|
|
|
</f:TemplateField>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:TemplateField ColumnID="IsOKStr" Width="90px" HeaderText="<%$ Resources:Lan,SpotCheckView_SpotCheckResult_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
|
2022-03-15 17:36:38 +08:00
|
|
|
<ItemTemplate>
|
|
|
|
<asp:Label ID="Label1" runat="server" Text='<%# ConvertIsOK(Eval("IsOK")) %>'></asp:Label>
|
|
|
|
</ItemTemplate>
|
|
|
|
</f:TemplateField>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:RenderField HeaderText="<%$ Resources:Lan,SpotCheckView_QualityDescription_HeaderText%>" ColumnID="RectifyDescription" DataField="RectifyDescription"
|
2022-03-15 17:36:38 +08:00
|
|
|
SortField="RectifyDescription" FieldType="String" HeaderTextAlign="Center" TextAlign="Center" Width="100px">
|
|
|
|
</f:RenderField>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:LinkButtonField Width="90px" HeaderText="<%$ Resources:Lan,SpotDataCheckView_CompletionDocument_HeaderText%>" ConfirmTarget="Top" CommandName="attchUrl"
|
|
|
|
TextAlign="Center" ToolTip="<%$ Resources:Lan,SpotDataCheckView_CompletionDocument_HeaderText%>" Text="<%$ Resources:Lan,SpotDataCheckView_CompletionDocument_HeaderText%>" />
|
|
|
|
<f:TemplateField ColumnID="IsDataOKStr" Width="100px" HeaderText="<%$ Resources:Lan,SpotDataCheckView_DocumentStatus_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
|
2022-03-15 17:36:38 +08:00
|
|
|
<ItemTemplate>
|
|
|
|
<asp:Label ID="Label4" runat="server" Text='<%# ConvertIsDataOK(Eval("IsDataOK")) %>'></asp:Label>
|
|
|
|
</ItemTemplate>
|
|
|
|
</f:TemplateField>
|
|
|
|
</Columns>
|
|
|
|
<%--<Listeners>
|
|
|
|
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
|
|
|
</Listeners>--%>
|
|
|
|
<PageItems>
|
|
|
|
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
|
|
|
</f:ToolbarSeparator>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:ToolbarText ID="ToolbarText1" runat="server" Text="<%$ Resources:Lan,ShoBreakdownProject_ddlPageSize_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:ListItem Text="10" Value="10" />
|
|
|
|
<f:ListItem Text="15" Value="15" />
|
|
|
|
<f:ListItem Text="20" Value="20" />
|
|
|
|
<f:ListItem Text="25" Value="25" />
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:ListItem Text="<%$ Resources:Lan,JointCheckFile_ddlPageSize_All%>" Value="100000" />
|
2022-03-15 17:36:38 +08:00
|
|
|
</f:DropDownList>
|
|
|
|
<f:ToolbarFill runat="server">
|
|
|
|
</f:ToolbarFill>
|
|
|
|
|
|
|
|
</PageItems>
|
|
|
|
</f:Grid>
|
|
|
|
</Items>
|
|
|
|
</f:Panel>
|
2025-02-22 14:06:48 +08:00
|
|
|
<f:Window ID="WindowAtt" Title="<%$ Resources:Lan,ITPListProjectEdit_WindowAtt_Title%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
2022-03-15 17:36:38 +08:00
|
|
|
Target="Self" EnableResize="false" runat="server" IsModal="true" Width="700px"
|
|
|
|
Height="500px">
|
|
|
|
</f:Window>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
|
|
</html>
|