ChengDa_English/SGGL/FineUIPro.Web/HSSE/License/BreakGroundView.aspx

256 lines
16 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BreakGroundView.aspx.cs"
Inherits="FineUIPro.Web.HSSE.License.BreakGroundView" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title><asp:Literal runat="server" Text="<%$ Resources:Lan,BreakGroundView_title%>"/></title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.formtitle .f-field-body {
text-align: center;
margin: 10px 0;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" TitleAlign="Center"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" EnableTableStyle="true">
<Rows>
<f:FormRow>
<Items>
<f:Label ID="lbLicenseCode" runat="server" Label="<%$ Resources:Lan,ConstructSolution_ColumnID_ConstructSolutionCode_HeaderText%>" LabelWidth="140px">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="lbImageUrl" runat="server" Label="<%$ Resources:Lan,BreakGroundView_btnAttachUrl_Text%>" LabelWidth="140px" Text="<%$ Resources:Lan,BreakGroundView_lbImageUrl_Text%>">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtApplyUnit_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
<f:TextBox ID="txtApplyManName" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtApplyManName_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkLeader" runat="server" Label="<%$ Resources:Lan,BreakGroundView_txtWorkLeader_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
<f:TextBox ID="txtWatchMan" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtFireWatchManName_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtHasSpecialProgramme" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtHasSpecialProgramme_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
<f:TextBox ID="txtOtherAttach" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtOtherAttach_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtHasDrawing" runat="server" Label="<%$ Resources:Lan,BreakGroundView_txtHasDrawing_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
<f:TextBox ID="txtDrawingDes" runat="server" Label="<%$ Resources:Lan,BreakGroundView_txtDrawingDes_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkPalce" runat="server" Label="<%$ Resources:Lan,BreakGroundView_txtWorkPalce_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkDate" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtWorkDate_Label%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="<%$ Resources:Lan,TempElectricity_WorkMeasures_HeaderText%>" Readonly="true" LabelWidth="140px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="<%$ Resources:Lan,TempElectricityView_Grid1_Title%>" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="LicenseItemId" EnableColumnLines="true"
DataIDField="LicenseItemId" AllowSorting="true" SortField="SortIndex"
SortDirection="ASC" AllowPaging="false" >
<Columns>
<f:RenderField Width="90px" ColumnID="SortIndex" DataField="SortIndex" FieldType="Int"
HeaderText="<%$ Resources:Lan,ConstructSolution_tfNumber_HeaderText%>" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="200px" ColumnID="SafetyMeasures" DataField="SafetyMeasures" FieldType="String"
HeaderText="<%$ Resources:Lan,TempElectricityView_Grid1_SafetyMeasures_HeaderText%>" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="<%$ Resources:Lan,TempElectricityView_Grid1_ConfirmManName_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="<%$ Resources:Lan,ConstructSolution_ColumnID_FlowOperateName_HeaderText%>" HeaderTextAlign="Center" TextAlign="Center" >
</f:RenderField>
</Columns>
</f:Grid>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm1" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="<%$ Resources:Lan,TempElectricityView_txtForm1_Title%>">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion1" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink1" Text="<%$ Resources:Lan,ConstructSolution_WindowField_HeaderText%>" Target="_blank" NavigateUrl="#" OnClientClick="showAttr(1);return false;"
runat="server"></f:HyperLink>
<f:Label ID="txtName1" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtName4_Label%>" LabelWidth="60px">
</f:Label>
<f:Image ID="Image1" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime1" runat="server" Text="<%$ Resources:Lan,TempElectricityView_txtTime4_Text%>">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm2" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="<%$ Resources:Lan,TempElectricityView_txtForm2_Title%>">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion2" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink2" Text="<%$ Resources:Lan,ConstructSolution_WindowField_HeaderText%>" Target="_blank" NavigateUrl="#" OnClientClick="showAttr(2);return false;"
runat="server"></f:HyperLink>
<f:Label ID="txtName2" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtName4_Label%>" LabelWidth="60px">
</f:Label>
<f:Image ID="Image2" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime2" runat="server" Text="<%$ Resources:Lan,TempElectricityView_txtTime4_Text%>">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Form ID="txtForm3" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="<%$ Resources:Lan,TempElectricityView_txtForm3_Title%>">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion3" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items>
<f:HyperLink ID="HyperLink3" Text="<%$ Resources:Lan,ConstructSolution_WindowField_HeaderText%>" Target="_blank" NavigateUrl="#" OnClientClick="showAttr(3);return false;"
runat="server"></f:HyperLink>
<f:Label ID="txtName3" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtName4_Label%>" LabelWidth="60px">
</f:Label>
<f:Image ID="Image3" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime3" runat="server" Text="<%$ Resources:Lan,TempElectricityView_txtTime4_Text%>">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left" HideMode="Visibility"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="<%$ Resources:Lan,TempElectricityView_txtForm4_Title%>">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow >
<Items>
<f:HyperLink ID="HyperLink4" Text="<%$ Resources:Lan,ConstructSolution_WindowField_HeaderText%>" Target="_blank" NavigateUrl="#" OnClientClick="showAttr(4);return false;"
runat="server"></f:HyperLink>
<f:Label ID="txtName4" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtName4_Label%>" LabelWidth="60px">
</f:Label>
<f:Image ID="Image4" ImageUrl="~/res/images/Signature0.png" runat="server" ImageHeight="20px" ImageWidth="80px" >
</f:Image>
<f:Label ID="txtTime4" runat="server" Text="<%$ Resources:Lan,TempElectricityView_txtTime4_Text%>">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtCance_Label%>" Readonly="true" LabelWidth="90px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtClose" runat="server" Label="<%$ Resources:Lan,TempElectricityView_txtClose_Label%>" Readonly="true" LabelWidth="90px">
</f:TextBox>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:Label runat="server" ID="lbTemp">
</f:Label>
<f:Button ID="btnAttachUrl" Text="<%$ Resources:Lan,BreakGroundView_btnAttachUrl_Text%>" ToolTip="<%$ Resources:Lan,BreakGroundView_btnAttachUrl_ToolTip%>" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_Click" ValidateForms="SimpleForm1">
</f:Button>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="<%$ Resources:Lan,ReadWriteCard_btnClose_ToolTip%>" runat="server" Icon="SystemClose" MarginRight="10px">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
<f:Window ID="WindowAtt" Title="<%$ Resources:Lan,ConstructSolution_WindowField_HeaderText%>" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
</form>
</body>
</html>
<script >
function showAttr(index) {
switch (index) {
case 1: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId1%>"); return;
case 2: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId2%>"); return;
case 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId3%>"); return;
case 4: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>