2022-03-15 17:36:38 +08:00
|
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SpotCheckView.aspx.cs" Inherits="FineUIPro.Web.CQMS.Check.SpotCheckView" %>
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head runat="server">
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<title><asp:Literal runat="server" Text="<%$ Resources:Lan,SpotDataCheckView_Title%>"/></title>
|
2022-03-15 17:36:38 +08:00
|
|
|
|
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
|
|
|
|
<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;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<form id="form1" runat="server">
|
|
|
|
|
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
|
|
|
|
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
|
|
|
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
|
|
|
|
<Rows>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:ContentPanel ID="ContentPanel2" Title="<%$ Resources:Lan,SpotDataCheck_Title%>" ShowBorder="true"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
|
|
|
|
|
runat="server">
|
|
|
|
|
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
|
|
|
|
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
|
|
|
|
<Rows>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtProjectName" runat="server" Readonly="true" LabelWidth="120px" Label="<%$ Resources:Lan,EditConstructSolution_txtProjectName_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
MaxLength="50">
|
|
|
|
|
</f:TextBox>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtDocCode" runat="server" Required="true" LabelWidth="120px" ShowRedStar="true" Readonly="true" Label="<%$ Resources:Lan,EditConstructSolutionFinal_txtCode_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
MaxLength="50">
|
|
|
|
|
</f:TextBox>
|
|
|
|
|
<f:HiddenField ID="hdSpotCheckCode" runat="server"></f:HiddenField>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtUnit" ShowRedStar="true" runat="server" LabelWidth="120px" Readonly="true" Label="<%$ Resources:Lan,EditConstructSolutionFinal_drpUnit_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
>
|
|
|
|
|
</f:TextBox>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtCNProfessional" ShowRedStar="true" LabelWidth="120px" runat="server" Readonly="true" Label="<%$ Resources:Lan,ITPListProjectEdit_drpCNProfessional_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
>
|
|
|
|
|
</f:TextBox>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtControlPointType" runat="server" LabelWidth="120px" Readonly="true" Required="true" ShowRedStar="true" Label="<%$ Resources:Lan,SpotDataCheckView_ControlPointLevel_HeaderText%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
MaxLength="100">
|
|
|
|
|
</f:TextBox>
|
|
|
|
|
<f:Label runat="server" ID="lb1"></f:Label>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:Label runat="server" Label="<%$ Resources:Lan,SpotDataCheckView_ParticipatingInspectors_Label%>" LabelWidth="120px"></f:Label>
|
2022-03-15 17:36:38 +08:00
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtJointCheckMans" runat="server" LabelWidth="120px" Readonly="true" Label="<%$ Resources:Lan,SpotDataCheckView_TotalContractor_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
>
|
|
|
|
|
</f:TextBox>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtJointCheckMans2" runat="server" Readonly="true" Label="<%$ Resources:Lan,SpotDataCheckView_SupervisionUnit_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
>
|
|
|
|
|
</f:TextBox>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtJointCheckMans3" runat="server" Readonly="true" Label="<%$ Resources:Lan,SpotDataCheckView_ConstructionUnit2_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
>
|
|
|
|
|
</f:TextBox>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtCheckDateType" runat="server" LabelWidth="120px" Readonly="true" Required="true" ShowRedStar="true" Label="<%$ Resources:Lan,SpotDataCheckView_InspectionTimeMethod_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
MaxLength="100">
|
|
|
|
|
</f:TextBox>
|
|
|
|
|
<f:Label runat="server" ></f:Label>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtSpotCheckDate" runat="server" LabelWidth="120px" Readonly="true" Required="true" ShowRedStar="true" Label="<%$ Resources:Lan,SpotDataCheckView_InspectionTime_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
MaxLength="100">
|
|
|
|
|
</f:TextBox>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtSpotCheckDate2" Hidden="true" runat="server" LabelWidth="120px" Readonly="true" Required="true" ShowRedStar="true" Label="<%$ Resources:Lan,DesignChangeOrder_EndTime_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
MaxLength="100">
|
|
|
|
|
</f:TextBox>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TextBox ID="txtCheckArea" runat="server" LabelWidth="120px" Readonly="true" Required="true" ShowRedStar="true" Label="<%$ Resources:Lan,SpotDataCheckView_InspectionLocation_Label%>" LabelAlign="Right"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
MaxLength="100">
|
|
|
|
|
</f:TextBox>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<%--<f:Button ID="imgBtnFile" Text="<%$ Resources:Lan,SpotDataCheckView_SelfInspectionRecord_Button%>" ToolTip="<%$ Resources:Lan,TechnicalContactView_Attachment_ToolTip%>" Icon="TableCell" runat="server"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
OnClick="imgBtnFile_Click">
|
|
|
|
|
</f:Button>--%>
|
|
|
|
|
<f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
|
|
|
|
|
<Items>
|
|
|
|
|
<f:Label runat="server" Text="自检记录:" CssStyle="padding-left:35px" Width="120px" CssClass="marginr" ShowLabel="false"></f:Label>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:Button ID="imgBtnFile" Text="<%$ Resources:Lan,SpotDataCheckView_SelfInspectionRecord_Button%>" ToolTip="<%$ Resources:Lan,TechnicalContactView_Attachment_ToolTip%>" Icon="TableCell" runat="server"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
OnClick="imgBtnFile_Click">
|
|
|
|
|
</f:Button>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:Panel>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
|
|
|
|
|
</Rows>
|
|
|
|
|
</f:Form>
|
|
|
|
|
</f:ContentPanel>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow>
|
|
|
|
|
<Items>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="true" Title="<%$ Resources:Lan,InspectionNoticeEdit_Grid1_Title%>" EnableCollapse="false" runat="server"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
BoxFlex="1" DataKeyNames="SpotCheckDetailId,ControlItemAndCycleId" AllowCellEditing="true" EnableColumnLines="true"
|
|
|
|
|
ClicksToEdit="1" DataIDField="SpotCheckDetailId" AllowSorting="true" ForceFit="true" SortField="CreateDate"
|
|
|
|
|
EnableTextSelection="True" OnRowCommand="Grid1_RowCommand" >
|
|
|
|
|
<Columns>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:RowNumberField Width="40px" HeaderText="<%$ Resources:Lan,ShoBreakdownProject_Grid1_BreakdownCode_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center" />
|
|
|
|
|
<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="Label1" runat="server" Text='<%# ConvertDetailName(Eval("ControlItemAndCycleId")) %>'></asp:Label>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</f:TemplateField>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TemplateField ColumnID="ControlPoint" Width="100px" HeaderText="<%$ Resources:Lan,SpotDataCheckView_ControlPointLevel_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
|
2022-03-15 17:36:38 +08:00
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:Label ID="Label4" runat="server" Text='<%# ConvertControlPoint(Eval("ControlItemAndCycleId")) %>'></asp:Label>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</f:TemplateField>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:TemplateField ColumnID="IsOKStr" Width="100px" HeaderText="<%$ Resources:Lan,SpotCheckView_SpotCheckResult_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center">
|
2022-03-15 17:36:38 +08:00
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:Label ID="Label2" 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"
|
|
|
|
|
>
|
|
|
|
|
</f:RenderField>
|
|
|
|
|
</Columns>
|
|
|
|
|
</f:Grid>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
<f:FormRow ID="plApprove2">
|
|
|
|
|
<Items>
|
|
|
|
|
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:ContentPanel Title="<%$ Resources:Lan,SpotCheckView_ApprovalList_Title%>" ShowBorder="true"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
|
|
|
|
|
runat="server">
|
|
|
|
|
<f:Grid ID="gvApprove" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="false"
|
|
|
|
|
DataKeyNames="CheckControlApproveId" EnableColumnLines="true" ForceFit="true">
|
|
|
|
|
<Columns>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:RowNumberField Width="40px" HeaderText="<%$ Resources:Lan,ShoBreakdownProject_Grid1_BreakdownCode_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center" />
|
|
|
|
|
<f:TemplateField ColumnID="State" Width="250px" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveType_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
EnableLock="true" Locked="False">
|
|
|
|
|
<ItemTemplate>
|
|
|
|
|
<asp:Label ID="lbtype" runat="server" Text='<%# ConvertState(Eval("ApproveType")) %>'></asp:Label>
|
|
|
|
|
</ItemTemplate>
|
|
|
|
|
</f:TemplateField>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:BoundField Width="180px" DataField="ApproveMan" HeaderTextAlign="Center" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveMan_HeaderText%>" TextAlign="Center" />
|
|
|
|
|
<f:BoundField Width="200px" DataField="ApproveDate" HeaderTextAlign="Center" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd}" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveDate_HeaderText%>" />
|
|
|
|
|
<f:BoundField Width="180px" DataField="ApproveIdea" HeaderTextAlign="Center" TextAlign="Center" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveIdea_HeaderText%>" />
|
2022-03-15 17:36:38 +08:00
|
|
|
|
|
|
|
|
|
</Columns>
|
|
|
|
|
</f:Grid>
|
|
|
|
|
</f:ContentPanel>
|
|
|
|
|
</Items>
|
|
|
|
|
</f:FormRow>
|
|
|
|
|
</Rows>
|
|
|
|
|
</f:Form>
|
2025-02-22 14:06:48 +08:00
|
|
|
|
<f:Window ID="Window1" Title="<%$ Resources:Lan,SpotDataCheckView_WindowTitle_EditDetail%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
2022-03-15 17:36:38 +08:00
|
|
|
|
Target="Parent" EnableResize="false" runat="server" IsModal="true"
|
|
|
|
|
Width="1100px" Height="520px">
|
|
|
|
|
</f:Window>
|
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="Parent" EnableResize="false" OnClose="WindowAtt_Close" runat="server" IsModal="true" Width="700px"
|
|
|
|
|
Height="500px">
|
|
|
|
|
</f:Window>
|
|
|
|
|
<f:Menu ID="Menu1" runat="server">
|
|
|
|
|
<f:MenuButton ID="btnMenuDelete" EnablePostBack="true"
|
2025-02-22 14:06:48 +08:00
|
|
|
|
Icon="Delete" ConfirmText="<%$ Resources:Lan,ITPListProject_btnMenuDel_ConfirmText%>" ConfirmTarget="Parent" runat="server" Text="<%$ Resources:Lan,ITPListProject_btnMenuDel_Text%>">
|
2022-03-15 17:36:38 +08:00
|
|
|
|
</f:MenuButton>
|
|
|
|
|
</f:Menu>
|
|
|
|
|
</form>
|
|
|
|
|
<script>
|
|
|
|
|
var menuID = '<%= Menu1.ClientID %>';
|
|
|
|
|
|
|
|
|
|
// 返回false,来阻止浏览器右键菜单
|
|
|
|
|
function onRowContextMenu(event, rowId) {
|
|
|
|
|
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|