ChengDa_English/SGGL/FineUIPro.Web/CQMS/Check/CheckListView.aspx

234 lines
14 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="CheckListView.aspx.cs" Inherits="FineUIPro.Web.CQMS.Check.CheckListView" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><asp:Literal runat="server" Text="<%$ Resources:Lan,CheckListView_PageTitle%>"/></title>
<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;
}
.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" Enabled="true" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel2" Title="<%$ Resources:Lan,JointCheckView_MainContractorContent_Header%>" ShowBorder="true"
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>
<f:TextBox ID="txtProjectName" runat="server" Readonly="true" Label="<%$ Resources:Lan,EditConstructSolution_txtProjectName_Label%>" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:TextBox ID="txtDocCode" runat="server" Required="true" Readonly="true" ShowRedStar="true" Label="<%$ Resources:Lan,EditConstructSolutionFinal_txtCode_Label%>" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="drpUnit" runat="server" Readonly="true" Label="<%$ Resources:Lan,EditConstructSolutionFinal_drpUnit_Label%>" MaxLength="50">
</f:TextBox>
<f:TextBox ID="drpUnitWork" runat="server" Readonly="true" Label="<%$ Resources:Lan,ITPListProjectEdit_drpUnitWork_Label%>" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="drpCNProfessional" runat="server" Readonly="true" Label="<%$ Resources:Lan,ITPListProjectEdit_drpCNProfessional_Label%>" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:TextBox ID="drpQuestionType" runat="server" Readonly="true" Label="<%$ Resources:Lan,SpecialCheckList_ProblemCategory_HeaderText%>" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCheckSite" Readonly="true" ShowRedStar="true" runat="server" Label="<%$ Resources:Lan,SpecialCheckList_Area_HeaderText%>" Required="true" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:TextBox ID="txtCheckDate" Readonly="true" ShowRedStar="true" runat="server" Label="<%$ Resources:Lan,CheckListView_txtCheckDate_Label%>" Required="true" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="drpProposeUnit" runat="server" Readonly="true" Label="<%$ Resources:Lan,WorkContactFile_ProposeUnit_HeaderText%>" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
<f:TextBox ID="txtLimitDate" runat="server" Readonly="true" Label="<%$ Resources:Lan,CheckListView_txtLimitDate_Label%>" LabelAlign="Right"
MaxLength="50">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtQuestionDef" ShowRedStar="true" Required="true" Readonly="true" runat="server" Label="<%$ Resources:Lan,WeekReportPrint_gvConstructionProblems_Header3%>" MaxLength="3000">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtRectifyOpinion" runat="server" Label="<%$ Resources:Lan,SpecialCheckList_RectificationOpinion_HeaderText%>" Readonly="true" MaxLength="3000">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Panel ID="Panel1" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<f:Label runat="server" Text="问题图片:" CssStyle="padding-left:25px" Width="110px" CssClass="marginr" ShowLabel="false"></f:Label>
<f:Button ID="imgBtnFile" Text="<%$ Resources:Lan,JointCheckView_QuestionImage_Header%>" ToolTip="<%$ Resources:Lan,TechnicalContactView_Attachment_ToolTip%>" Icon="TableCell" runat="server"
OnClick="imgBtnFile_Click">
</f:Button>
</Items>
</f:Panel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:ContentPanel ID="ContentPanel3" Title="<%$ Resources:Lan,JointCheckView_SubcontractorContent_Header%>" ShowBorder="true"
BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
runat="server">
<f:Form ID="For" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtHandleWay" ShowRedStar="true" Readonly="true" Required="true" runat="server" Label="<%$ Resources:Lan,JointCheckView_HandleWay_Header%>" MaxLength="3000">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DatePicker ID="txtRectifyDate" ShowRedStar="true" Readonly="true" Required="true" runat="server" Label="<%$ Resources:Lan,JointCheckView_LimitDate_Header%>" LabelAlign="Right"
EnableEdit="true">
</f:DatePicker>
<f:Label runat="server" Hidden="true"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Panel ID="Panel2" ShowHeader="false" ShowBorder="false" Layout="Column" runat="server">
<Items>
<f:Label ID="lblAttach" CssStyle="padding-left:23px" Width="100px" runat="server" CssClass="marginr" ShowLabel="false"
Text="整改图片:">
</f:Label>
<f:Button ID="btnAttach" Text="<%$ Resources:Lan,CheckListView_btnAttach_Text%>" ToolTip="<%$ Resources:Lan,TechnicalContactView_Attachment_ToolTip%>" Icon="TableCell" runat="server" OnClick="btnAttach_Click">
</f:Button>
</Items>
</f:Panel>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow ID="plApprove">
<Items>
<f:ContentPanel Title="<%$ Resources:Lan,CheckListView_plApprove_Title%>" ShowBorder="true"
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>
<f:RowNumberField Width="20px" />
<f:TemplateField ColumnID="State" Width="250px" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveType_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="lbtype" runat="server" Text='<%# ConvertState(Eval("ApproveType")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:BoundField Width="180px" DataField="ApproveMan" HeaderTextAlign="Center" TextAlign="Center" HeaderText="<%$ Resources:Lan,EditConstructSolution_gvApprove_ApproveMan_HeaderText%>" />
<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%>" />
</Columns>
</f:Grid>
</f:ContentPanel>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Window ID="Window1" Title="<%$ Resources:Lan,SpotDataCheckView_WindowTitle_EditDetail%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true"
Width="1100px" Height="520px">
</f:Window>
<f:Window ID="WindowAtt" Title="<%$ Resources:Lan,ITPListProjectEdit_WindowAtt_Title%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
<f:Menu ID="Menu1" runat="server">
<f:MenuButton ID="btnMenuEdit" EnablePostBack="true"
Icon="Pencil" runat="server" Text="<%$ Resources:Lan,ProjectControlPoint_Window3_Title%>">
</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;
}
function onGridDataLoad(event) {
this.mergeColumns(['CheckItemType']);
}
</script>
</body>
</html>