CNCEC_SUBQHSE_WUHUAN/SGGL/FineUIPro.Web/HSSE/License/ElectricityView.aspx

250 lines
13 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="ElectricityView.aspx.cs" Inherits="FineUIPro.Web.HSSE.License.ElectricityView" %>
<!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>
<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="编号" LabelWidth="140px">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:Label ID="lbImageUrl" runat="server" Label="临时用电需附简图" LabelWidth="140px" Text="见附件。">
</f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtApplyUnit" runat="server" Label="申请单位" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtWorkAreaName" runat="server" Label="单位工程" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkPalce" runat="server" Label="作业地点" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtReason" runat="server" Label="用电作业原因" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkLeaderName" runat="server" Label="安装人" Readonly="true" LabelWidth="120px">
</f:TextBox>
<f:TextBox ID="txtFireWatchManName" runat="server" Label="监护人" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtWorkDate" runat="server" Label="作业起止时间" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>
<%-- <f:FormRow>
<Items>
<f:TextBox ID="txtWorkMeasures" runat="server" Label="作业内容、机具及安全措施" Readonly="true" LabelWidth="120px">
</f:TextBox>
</Items>
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" 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="序号" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="200px" ColumnID="SafetyMeasures" DataField="SafetyMeasures" FieldType="String"
HeaderText="检查单" HeaderTextAlign="Center" TextAlign="Left" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField Width="100px" ColumnID="ConfirmManName" DataField="ConfirmManName" FieldType="String"
HeaderText="确认人" HeaderTextAlign="Center" TextAlign="Left" >
</f:RenderField>
<f:RenderField Width="100px" ColumnID="NoUsedName" DataField="NoUsedName" FieldType="String"
HeaderText="是否合格" HeaderTextAlign="Center" TextAlign="Left" >
</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="分包商施工经理意见:">
<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="HyperLink2" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(1);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName1" runat="server" 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="年月日时分">
</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="分包商HSE经理意见">
<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="HyperLink1" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(2);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName2" runat="server" 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="年月日时分">
</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="五环施工经理意见:">
<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="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(3);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName3" runat="server" 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="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
<f:Form ID="txtForm4" ShowBorder="true" ShowHeader="true" AutoScroll="true" TitleAlign="Left"
BodyPadding="5px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right" Title="五环HSE经理意见">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtOpinion4" runat="server" Readonly="true" Height="50px">
</f:TextArea>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="15% 30% 20% 35%">
<Items >
<f:HyperLink ID="HyperLink4" Text="附件" Target="_blank" NavigateUrl="#" Width="30px" OnClientClick="showAttr(4);return false;"
runat="server">
</f:HyperLink>
<f:Label ID="txtName4" runat="server" 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="年月日时分">
</f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCance" runat="server" Label="取消" Readonly="true" LabelWidth="90px">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtClose" runat="server" 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="临时用电作业需附简图" 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="关闭" runat="server" Icon="SystemClose" MarginRight="10px">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
<f:Window ID="WindowAtt" Title="附件" 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 3: F.ui.WindowAtt.show("./AttachFile/webuploader.aspx?type=1&toKeyId=<%=FlowOperateId4%>"); return;
}
}
</script>