147 lines
6.7 KiB
Plaintext
147 lines
6.7 KiB
Plaintext
|
|
<%@ page language="java" pageEncoding="UTF-8" %>
|
|||
|
|
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
|
|||
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
|||
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
|
|||
|
|
<%@ page import="com.sipai.entity.base.ServerObject" %>
|
|||
|
|
<%@ taglib uri="http://www.springsecurity.org/jsp" prefix="security" %>
|
|||
|
|
<html>
|
|||
|
|
|
|||
|
|
<head>
|
|||
|
|
<title></title>
|
|||
|
|
<!-- 引用页头及CSS页-->
|
|||
|
|
<jsp:include page="/jsp/inc.jsp"></jsp:include>
|
|||
|
|
<meta http-equiv="pragma" content="no-cache">
|
|||
|
|
<meta http-equiv="cache-control" content="no-cache">
|
|||
|
|
<meta http-equiv="expires" content="0">
|
|||
|
|
<style type="text/css">
|
|||
|
|
.table > tbody > tr > td {
|
|||
|
|
vertical-align: middle;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@media ( min-width: 992px) {
|
|||
|
|
.btn:not(.md-skip):not(.bs-select-all):not(.bs-deselect-all) {
|
|||
|
|
padding: 7px 4px;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
</style>
|
|||
|
|
<script type="text/javascript">
|
|||
|
|
function toURLOnline(url) {
|
|||
|
|
// goToMenuLocation(url);
|
|||
|
|
window.location.href = ext.contextPath + "/" + url;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
//演练方法
|
|||
|
|
function dodrill(id, firstId, secondId) {
|
|||
|
|
/*var url = '<%=request.getContextPath()%>/command/emergencyConfigure/dodrill4NS.do?id=' + id + "&firstId=" + firstId + "&secondId=" + secondId + "&bizid=" + unitId;
|
|||
|
|
if (confirm("确定启动该预案的演练吗?如已启动将进入上次演练过程中。")) {
|
|||
|
|
window.open(url);
|
|||
|
|
}*/
|
|||
|
|
var url = '<%=request.getContextPath()%>/command/emergencyConfigure/dodrill4NS.do?id=' + id + "&firstId=" + firstId + "&secondId=" + secondId + "&bizid=" + unitId;
|
|||
|
|
layer.msg('即将进入应急预案演练!', {
|
|||
|
|
icon: 1,
|
|||
|
|
time: 1500 //1.5秒关闭(如果不配置,默认是3秒)
|
|||
|
|
}, function(){
|
|||
|
|
window.open(url);
|
|||
|
|
});
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
//文档
|
|||
|
|
function dodoc(id) {
|
|||
|
|
alert('暂未关联文档');
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
//视频
|
|||
|
|
function buttonvideo(videopath) {
|
|||
|
|
if (videopath == '1') {
|
|||
|
|
alert('该应急预案未配置视频,请先配置!');
|
|||
|
|
} else {
|
|||
|
|
window.open('EmergencyConfigure.do?method=showvideo&videopath=' + videopath, window, 'width=' + (window.screen.availWidth - 0) + ',height=' + (window.screen.availHeight - 0) + ',top=0,left=0,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,status=no', true);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
var addFun = function () {
|
|||
|
|
$.post(ext.contextPath + '/command/emergencyRecords/add.do', {}, function (data) {
|
|||
|
|
$("#subDiv").html(data);
|
|||
|
|
openModal('subModal');
|
|||
|
|
});
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
</script>
|
|||
|
|
</head>
|
|||
|
|
<body onload="initMenu()" class="hold-transition ${cu.themeclass} sidebar-mini">
|
|||
|
|
<div class="wrapper">
|
|||
|
|
<!-- 引用top -->
|
|||
|
|
<%-- <jsp:include page="/jsp/top.jsp"></jsp:include> --%>
|
|||
|
|
<!-- 菜单栏 -->
|
|||
|
|
<%-- <jsp:include page="/jsp/left.jsp"></jsp:include> --%>
|
|||
|
|
<!-- <div id="subDiv"></div> -->
|
|||
|
|
<div class="content-wrapper">
|
|||
|
|
<section class="content-header">
|
|||
|
|
<h4 style="margin:0;" id="head_title"></h4>
|
|||
|
|
<ol class="breadcrumb">
|
|||
|
|
<li><a id='head_firstlevel' href="#"><i class="fa fa-dashboard"></i> </a></li>
|
|||
|
|
</ol>
|
|||
|
|
</section>
|
|||
|
|
<section class="content container-fluid">
|
|||
|
|
|
|||
|
|
<form id="ListForm" action="EmergencyConfigure.do?method=doshowlist"
|
|||
|
|
method="post">
|
|||
|
|
<input type="hidden" name="sort" value="${pageinfo.sort}">
|
|||
|
|
<input type="hidden" name="dirt" value="${pageinfo.dirt}">
|
|||
|
|
<input type="hidden" name="pageNum" value="${pageinfo.pageNum}">
|
|||
|
|
<input type="hidden" name="id" value="" ;>
|
|||
|
|
</form>
|
|||
|
|
<div class="panel panel-default">
|
|||
|
|
<div class="panel-body" style="padding:0;">
|
|||
|
|
<table class="table table-striped" style="margin-bottom:0px;">
|
|||
|
|
<thead>
|
|||
|
|
<tr>
|
|||
|
|
<th style="width:4%;text-align:center;">序号</th>
|
|||
|
|
<th style="width:16%;text-align:center;">厂区</th>
|
|||
|
|
<th style="width:25%;text-align:center;">类型</th>
|
|||
|
|
<th style="width:25%;text-align:center;">名称</th>
|
|||
|
|
<th style="width:10%;text-align:center;">级别</th>
|
|||
|
|
<th style="width:10%;text-align:center;">总负责人</th>
|
|||
|
|
<%--<th style="width:26%;text-align:center;">总体介绍</th>--%>
|
|||
|
|
<%--<th style="width:15%;text-align:center;">启动条件</th>--%>
|
|||
|
|
<%--<th style="width:8%;text-align:center;">来源</th>--%>
|
|||
|
|
<%--<th style="width:10%;text-align:center;">资料</th>--%>
|
|||
|
|
<th style="width:5%;text-align:center;">操作</th>
|
|||
|
|
</tr>
|
|||
|
|
</thead>
|
|||
|
|
<c:set var="rowcount" value="${1}"/>
|
|||
|
|
<c:forEach var="current" items="${jsonArray}">
|
|||
|
|
<tr onmouseover="this.className='trmsover';"
|
|||
|
|
onmouseout="this.className='';"
|
|||
|
|
id="<c:out value="${current.id}" />" name="orderlist">
|
|||
|
|
<td align="center">${rowcount}</td>
|
|||
|
|
<td align="center">${current.bizname}</td>
|
|||
|
|
<td align="center">${current.firstname}</td>
|
|||
|
|
<td align="center">${current.name}</td>
|
|||
|
|
<td align="center">${current.grade}</td>
|
|||
|
|
<td align="center">${current._firstPerson}</td>
|
|||
|
|
<td valign="middle" align="center">
|
|||
|
|
<a class="btn btn-block" href="#"
|
|||
|
|
onclick="javascript:dodrill('${current.id}','${current.firstId}','${current.secondId}');"
|
|||
|
|
style="color:#ffffff;font-size:14px;background-color:#F5A623;" role="button">演练
|
|||
|
|
</a>
|
|||
|
|
</td>
|
|||
|
|
</tr>
|
|||
|
|
<c:set var="rowcount" value="${rowcount+1}"/>
|
|||
|
|
</c:forEach>
|
|||
|
|
</table>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
</section>
|
|||
|
|
</div>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
</body>
|
|||
|
|
|
|||
|
|
</html>
|
|||
|
|
<c:if test="${not empty msg}">
|
|||
|
|
<script type="text/javascript">
|
|||
|
|
alert("${msg}");
|
|||
|
|
</script>
|
|||
|
|
</c:if>
|