123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- <%@page language="java" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>应急演练</title>
- <!--框架必需start-->
- <%@include file="../../../include.jsp" %>
- <!--框架必需end-->
- <script type="text/javascript" >
- $(function(){
- //修改表单信息,获取记录
- if((window.location.href).indexOf('?')>-1){
- var fd_id = (window.location.href).split('?')[1];
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '299',
- objectID : fd_id
- };
- $('#fileDiv').newAsyncFileUpload("",fd_id,0);
- $.ajax({
- url : url,
- type : 'post',
- timeout : 60000,
- data : params,
- dataType : 'json',
- success : function(data){
- //取完成情况的字段,控制计划提醒时间是否需要显示 IMPLEMENT_STAT
- var isComplete = data.IMPLEMENT_STAT_299;
- if(isComplete=="1"){
- $("#table").hide();
- }else{
- $("#table").show();
- }
-
- var userID = data.PLAN_MAKER_299;
- for(var i in data){
- $('#'+i).html(data[i]);
- }
- //录入人信息
- getUserInfo(userID)
- },
- error : function(e){
- top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
-
- function getUserInfo(userID){
- var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
- var params = {
- classid : '880',
- objectID : userID
- };
-
- $.ajax({
- url : url,
- type : 'post',
- timeout : 60000,
- data : params,
- dataType : 'json',
- success : function(data){
- var DRILL_LINKMAN =data.REAL_NAME_880;
- var MOBILE = data.MOBILE_880; //手机
- var COMPANY_ID = data.COMPANY_ID_880_SHOW;//所属单位
- var ORG_ID = data.ORG_ID_880_SHOW;//所属部门
-
- var userName = data.REAL_NAME_880;
- $("#DRILL_LINKMAN").html(DRILL_LINKMAN);
- $("#MOBILE").html(MOBILE);
- $("#COMPANY_ID").html(COMPANY_ID);
- $("#ORG_ID").html(ORG_ID);
-
- },
- error : function(e){
- top.Dialog.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
- });
- //修改计划提前提醒的时间
- function noticeTimeServer(){
- var fd_id = (window.location.href).split('?')[1];
- var noticeTime = $("#1111").val();
- top.Dialog.confirm("确定要提前"+noticeTime+"天提醒吗'?|确定", function() {
- // 确定
- $.post($.pathname() +"/ws/DrillCount/DrillCountService/noticeTimeServer/", {
- //当前单位id
- days : noticeTime,
- fd_id : fd_id,
- }, function(result) {
- if (result.Msg.sucsess == true) {
- top.Dialog.alert("演练计划提前提醒配置成功!");
- } else {
- top.Dialog.alert("上报失败!");
- }
- }, "json");
-
- });
- }
- </script>
- <style type="text/css">
- .title_class {
- font-size: 22px;
- color: blue;
- }
- .tool_class {
- display: inline-block;
- float: right;
-
- }
- .db_class {
- margin: 0 auto;
- }
- </style>
- </head>
-
- <body>
- <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
-
- <div style="height: 50px;background: #F8F8F8;" align="center"><a href="javascript:;"><img id="back" title="返回" align="left" alt="返回" src="/nwyj/images/temp/back.png" onclick="window.history.back()"></img></a><font style="font-weight: bold;font-size: 20px;line-height: 45px;">应急演练信息</font></div>
- <br />
- <!-- <div style="float:right">
- <table id="table" align="right">
- <tr>
- <td align="right"><span class="star" align="right"></span>计划提前提醒时间:</td>
- <td><select id="1111" name="1111" selWidth="250" onchange="getSelectValue()" data='{"list":[{"value":"30","key":"提前一个月提醒"},{"value":"15","key":"提前半个月提醒"},{"value":"7","key":"提前一周提醒"},{"value":"3","key":"提前三天提醒"}]}'></select></td>
- <td><input value="确定" type="button" onclick="noticeTimeServer()"/></td>
- </tr>
- </table>
- </div> -->
- <br />
-
- <fieldset style="border-color:#999999;" >
- <legend>基本信息:</legend>
- <table class="tableStyle" width="100%">
- <tr>
- <td width="15%" align="right">名称:</td>
- <td width="35%"><div id="DRILL_NAME_299" name="DRILL_NAME_299" /></td>
- <td width="15%" align="right">是否计划:</td>
- <td width="35%"><div id="IS_PLAN_299_SHOW" name="IS_PLAN_299_SHOW" /></td>
- </tr>
- <tr>
- <td align="right">主办单位:</td>
- <td><div id="SPONSOR_COMP_299_SHOW" name="SPONSOR_COMP_299_SHOW" ></div></td>
- <td align="right">承办单位:</td>
- <td><div id="UPDERTAKE_COMP_299_SHOW" name="UPDERTAKE_COMP_299_SHOW" ></div></td>
- </tr>
- <tr>
- <td align="right">实施状态:</td>
- <td><div id="IMPLEMENT_STAT_299_SHOW" name="IMPLEMENT_STAT_299_SHOW" ></div></td>
- <td align="right">演练类别:</td>
- <td><div id="DRILL_TYPE_299_SHOW" name="DRILL_TYPE_299_SHOW" ></div></td>
- </tr>
- <tr>
- <td align="right">细化类别:</td>
- <td><div id="DRILL_REFINE_CATEGORY_299_SHOW" name="DRILL_REFINE_CATEGORY_299_SHOW" ></div></td>
- <td align="right">演练形式:</td>
- <td><div id="DRILL_FORM_299_SHOW" name="DRILL_FORM_299_SHOW" ></div></td>
- </tr>
- <tr>
- <td align="right">填报时间:</td>
- <td><div id="REPORT_DATE_299" name="REPORT_DATE_299"/></td>
- <td align="right">计划时间:</td>
- <td><div id="PLAN_TIME_299" name="PLAN_TIME_299"/></td>
- </tr>
- <tr>
- <td align="right">演练联系人:</td>
- <td><div id="DRILL_LINKMAN_299" name="DRILL_LINKMAN_299"/></td>
- <!-- <td align="right">计划提前提醒时间:</td>
- <td><select id="1111" name="1111" selWidth="250" onchange="getSelectValue()" data='{"list":[{"value":"30","key":"提前一个月提醒"},{"value":"15","key":"提前半个月提醒"},{"value":"7","key":"提前一周提醒"},{"value":"3","key":"提前三天提醒"}]}'></select> <input value="确定" type="button" onclick="noticeTimeServer()"/></td> -->
- <td align="right">联系人手机:</td>
- <td><div id="LINKMENCALL_299" name="LINKMENCALL_299"/></td>
- </tr>
- </table>
- </fieldset>
-
-
-
- <fieldset style="border-color:#999999;" >
- <legend>完成情况:</legend>
- <table class="tableStyle" width="100%">
- <tr>
- <td width="15%" align="right">领导(人数):</td>
- <td width="35%"><div id="DRILL_LEADER_299" name="DRILL_LEADER_299"/></td>
- <td width="15%" align="right">安全监察人员(人数):</td>
- <td width="35%"><div id="DRILL_CONTROLER_299" name="DRILL_CONTROLER_299"/></td>
- </tr>
- <tr>
- <td align="right">生产管理人员(人数):</td>
- <td><div id="DRILL_PRODUCTION_MANAGEMENT_299" name="DRILL_PRODUCTION_MANAGEMENT_299"/></td>
- <td align="right">应急抢修人员(人数):</td>
- <td><div id="DRILL_EMERGENCY_REPAIR_299" name="DRILL_EMERGENCY_REPAIR_299"/></td>
- </tr>
- <tr>
- <td align="right">投入(万元):</td>
- <td><div id="DRILL_INPUT_299" name="DRILL_INPUT_299"/></td>
- <td align="right">完成时间:</td>
- <td><div id="DOWN_TIME_299" name="DOWN_TIME_299" /></td>
- </tr>
-
- <tr>
- <td align="right">演练简况:</td>
- <td colspan="3"><div id="DRILL_BRIEF_299" name="DRILL_BRIEF_299"></div></td>
- </tr>
- </table>
- </fieldset>
-
-
- <!-- <table style="width: 100%;" align="center" border="0">
- <tr><td colspan="3"><div id="maingrid"></div></td></tr>
- </table> -->
-
-
- <fieldset id="file" style="border-color:#999999;" >
- <legend>附件信息:</legend>
- <table class="tableStyle" width="100%">
- <tr>
- <td width="15%" align="right">相关资料:</td>
- <!-- <td colspan="3"><div id="fileDiv" /></td> -->
- <td width="85%"><div id="fileDiv" name="fileDiv"></div></td>
- </tr>
- </table>
- </fieldset>
-
- <fieldset id="manInfo" style="border-color:#999999;" >
- <legend>录入人信息:</legend>
- <table class="tableStyle" width="100%">
- <tr>
- <td align="right" width="15%">单位:</td>
- <td width="35%"><div id="COMPANY_ID" name="COMPANY_ID_880" readOnly="true"/></td>
- <td align="right" width="15%">部门:</td>
- <td width="35%"><div id="ORG_ID" name="ORG_ID_880" readOnly="true"/></td>
- </tr>
- <tr>
- <td align="right">录入人:</td>
- <td><div id="DRILL_LINKMAN" name="DRILL_LINKMAN_299_SHOW" readOnly="true"/></td>
- <td align="right">录入人联系方式:</td>
- <td><div id="MOBILE" name="MOBILE_880" readOnly="true"/></td>
- </tr>
- <tr>
- <td align="right">录入时间:</td>
- <td><div id="UPDATEDATE_299" name="UPDATEDATE_299" readOnly="true"/></td>
- <td align="right"></td>
- <td></td>
- </tr>
- </table>
- </fieldset>
-
- </div>
- </body>
- </html>
|