169 lines
5.9 KiB
HTML
169 lines
5.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Load Form Data - jQuery EasyUI Demo</title>
|
|
<link rel="stylesheet" type="text/css" href="/static/safesite/themes/default/easyui.css">
|
|
<link rel="stylesheet" type="text/css" href="/static/safesite/themes/color.css">
|
|
<link rel="stylesheet" type="text/css" href="/static/safesite/themes/icon.css">
|
|
<script type="text/javascript" src="/static/safesite/jquery.min.js"></script>
|
|
<script type="text/javascript" src="/static/safesite/jquery.easyui.min.js"></script>
|
|
<script type="text/javascript" src="/static/safesite/locale/easyui-lang-zh_CN.js"></script>
|
|
<script type="text/javascript" src="/static/safesite/mystatic/loading.js"></script>
|
|
<script type="text/javascript" src="/static/safesite/mystatic/util.js"></script>
|
|
<style>
|
|
table
|
|
{
|
|
border-collapse: collapse;
|
|
margin: 0 auto;
|
|
text-align: left;
|
|
width:100%;
|
|
}
|
|
table td, table th
|
|
{
|
|
border: 1px solid #cad9ea;
|
|
color: #666;
|
|
height: 30px;
|
|
}
|
|
table thead th
|
|
{
|
|
background-color: #CCE8EB;
|
|
width: 100px;
|
|
}
|
|
table tr:nth-child(odd)
|
|
{
|
|
background: #fff;
|
|
}
|
|
table tr:nth-child(even)
|
|
{
|
|
background: #F5FAFA;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="easyui-layout">
|
|
<div data-options="region:'south'" style="width:100%;height:50px;text-align:center;padding:5px 0">
|
|
<a href="javascript:void(0)" iconCls="icon-cancel" class="easyui-linkbutton" onclick="closeForm()" style="width:auto">关闭</a>
|
|
</div>
|
|
<div data-options="region:'center'" style="width:100%;height:100%;padding:5px 15px;">
|
|
<h4>流程信息</h4>
|
|
<p><span id="1">-----待评估</span><span id="7">-----整改措施/方案待提交</span><span id="2">-----整改措施/方案待确认</span><span
|
|
id="3">-----待整改</span><span id="4">-----待审核</span><span id="5">-----待复查</span><span id="6">-----已归档</span></p>
|
|
<h4>隐患详情</h4>
|
|
<table class='detailtable'>
|
|
<tr>
|
|
<td style="width:50%">隐患等级:{{yhdj__dickeyname}}</td>
|
|
<td style="width:50%">隐患类型:{{yhlx__dicname}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>隐患类别:{{yhlb__dickeyname}}</td>
|
|
<td>检查类型:{{jclx__dickeyname}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>发现时间:{{fxsj|date:"Y-m-d H:i:s"}}</td>
|
|
<td>隐患地点:{{yhdd}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>发现部门:{{fxbm__partname}}</td>
|
|
<td>发现人:{{fxr__name}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>隐患评估:{{yhpg__dickeyname}}</td>
|
|
<td>填报时间:{{tbsj|date:"Y-m-d H:i:s"}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">隐患描述:{{yhms}}</td>
|
|
</tr>
|
|
</table>
|
|
<h4>整改详情</h4>
|
|
<table >
|
|
<tr>
|
|
<td style="width:50%">整改部门:{{zgbm__partname}}</td>
|
|
<td>整改人:{{zgr__name}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">整改期限:{{zgqx|date:"Y-m-d H:i:s"}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">隐患形成原因:{{yyfx}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">整改措施:{{zgcs}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">整改描述:{{zgms}}</td>
|
|
</tr>
|
|
</table>
|
|
<h4>流程详情</h4>
|
|
<table >
|
|
<thead>
|
|
<tr>
|
|
<th style="width:10%">
|
|
处理人
|
|
</th>
|
|
<th style="width:30%">
|
|
评估/审核意见
|
|
</th>
|
|
<th style="width:40%">
|
|
流程状态
|
|
</th>
|
|
<th style="width:20%">
|
|
时间
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
{% for i in lcxq %}
|
|
<tr>
|
|
<td >{{i.clr__name}}</td>
|
|
<td>{{i.opinion}}</td>
|
|
<td>{{i.action}}</td>
|
|
<td>{{i.accesssj|date:"Y-m-d H:i:s"}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
<h4>图片信息</h4>
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>隐患照片</th>
|
|
</tr>
|
|
</thead>
|
|
{% for i in yhtp %}
|
|
<tr>
|
|
<td ><img onclick='bigger(this)' class='tp' width="250" height="200" src='{{i}}' /></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</td>
|
|
<td><table>
|
|
<thead>
|
|
<tr>
|
|
<th>整改后照片</th>
|
|
</tr>
|
|
</thead>
|
|
{% for i in zghtp %}
|
|
<tr>
|
|
<td ><img onclick='bigger(this)' class='tp' width="250" height="200" src='{{i}}' /></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$(function(){
|
|
$("#"+{{yhzt}}).css({"color":"red","font-weight":"bold"});
|
|
$('.tp').each(function(){
|
|
$(this).attr('src','http://'+ window.location.host + '/'+$(this).attr('src'));
|
|
});
|
|
})
|
|
function closeForm() {
|
|
top.$("#dd").dialog("close");
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |