Files
SGGL_HBAZ/SGGL/FineUIPro.Web/HSSE/HazardousMG/SafetyPatrolEdit.aspx
T

171 lines
7.9 KiB
Plaintext
Raw Normal View History

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SafetyPatrolEdit.aspx.cs" Inherits="FineUIPro.Web.HSSE.HazardousMG.SafetyPatrolEdit" %>
<!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">
.patrol-table {
width: 100%;
border-collapse: collapse;
border: 1px solid #000;
}
.patrol-table td {
border: 1px solid #000;
padding: 6px 8px;
vertical-align: middle;
}
.ptitle {
text-align: center;
font-size: 16px;
font-weight: bold;
padding: 10px;
}
.phead {
background-color: #f2f2f2;
text-align: center;
font-weight: bold;
}
.plabel {
white-space: nowrap;
}
.pcell {
vertical-align: top;
}
.cfooter {
text-align: center;
}
/* 让 TextArea 撑满所在单元格(FineUIPro 核心类为 .f-textbox,无 .f-textarea */
.patrol-table td.fillcell,
.patrol-table td.fillcell > * {
width: 100% !important;
box-sizing: border-box;
}
.patrol-table td.fillcell textarea {
width: 100% !important;
box-sizing: border-box;
}
/* 标签与输入框整组水平、垂直居中(其它、签收人、监督巡视人员) */
.pair-center {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
white-space: nowrap;
}
/* 保证组内输入框不被压缩到下一行 */
.pair-center > * {
flex-shrink: 0;
}
#ContentPanel1_txtProblems,#ContentPanel1_txtHandleRequire,#ContentPanel1_txtRectifyReview,#ContentPanel1_txtRemarks{
height: 100%;
width: 100%;
}
.textareaClass {
height: 100%;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="ContentPanel1" runat="server" />
<f:ContentPanel ID="ContentPanel1" ShowBorder="false" ShowHeader="false" BodyPadding="10px"
AutoScroll="true" runat="server">
<div id="patrolContent">
<table class="patrol-table">
<tr>
<td colspan="2" class="ptitle">附件9 &nbsp;&nbsp;(危大工程类别)监督记录表</td>
</tr>
<tr>
<td>
<f:Form ID="FormHazard" ShowBorder="false" ShowHeader="false" BodyPadding="0" LabelAlign="Right" runat="server">
<Rows>
<f:FormRow>
<Items>
<f:DropDownList ID="ddlHazardProject" runat="server" Label="监督巡视部位" LabelWidth="110px" LabelAlign="Right" Required="true" Width="220px"></f:DropDownList>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</td>
<td>
<f:Form ID="FormDate" ShowBorder="false" ShowHeader="false" BodyPadding="0" LabelAlign="Right" runat="server">
<Rows>
<f:FormRow>
<Items>
<f:DatePicker ID="dpPatrolDate" runat="server" Label="巡检日期" LabelWidth="80px" LabelAlign="Right" Width="140px" DateFormatString="yyyy-MM-dd"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCode" runat="server" Label="编码" LabelWidth="80px" LabelAlign="Right" Width="140px" Readonly="true"></f:TextBox>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</td>
</tr>
<tr>
<td class="phead">监督巡视内容</td>
<td class="phead">发现问题</td>
</tr>
<tr>
<td class="pcell" style="height: 150px;">
<div>1、施工条件保持情况</div>
<div>2、按方案施工情况,实体与方案参数的对比</div>
<div>3、现场安全防护状况</div>
<div>4、作业人员持证上岗情况</div>
<div class="pair-center">其它:<f:TextBox ID="txtContentOther" runat="server" Width="195px"></f:TextBox></div>
</td>
<td class="pcell fillcell">
<f:TextArea ID="txtProblems" runat="server" CssStyle="height:100%;" ></f:TextArea>
</td>
</tr>
<tr>
<td class="plabel">处理要求:</td>
<td class="plabel"><div class="pair-center">签收人:<f:DropDownList ID="ddlReceiver" runat="server" Width="180px"></f:DropDownList></div></td>
</tr>
<tr>
<td colspan="2" class="pcell fillcell">
<f:TextArea ID="txtHandleRequire" runat="server" Height="90px"></f:TextArea>
</td>
</tr>
<tr>
<td colspan="2" class="plabel">整改后复查情况:</td>
</tr>
<tr>
<td colspan="2" class="pcell fillcell">
<f:TextArea ID="txtRectifyReview" runat="server" Height="90px"></f:TextArea>
</td>
</tr>
<tr>
<td colspan="2" class="plabel">备注:</td>
</tr>
<tr>
<td colspan="2" class="pcell fillcell">
<f:TextArea ID="txtRemarks" runat="server" Height="70px"></f:TextArea>
</td>
</tr>
<tr>
<td colspan="2" class="cfooter"><div class="pair-center">监督巡视人员:<f:DropDownList ID="ddlPatrolMan" runat="server" Width="200px"></f:DropDownList></div></td>
</tr>
</table>
</div>
<div style="text-align:center; margin-top:10px;">
<f:Button ID="btnAttach" Icon="TableCell" EnablePostBack="true" Text="上传巡视图片" runat="server" OnClick="btnAttach_Click"></f:Button>
<f:Button ID="btnAttachRectify" Icon="TableCell" EnablePostBack="true" Text="上传整改图片" runat="server" OnClick="btnAttachRectify_Click"></f:Button>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" ToolTip="保存" OnClick="btnSave_Click"></f:Button>
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" runat="server" Icon="SystemClose" OnClientClick="F.activeWindow.hide();"></f:Button>
</div>
</f:ContentPanel>
<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>