d48254aa0976b37cccf990895d771f79f5024d50.svn-base 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>应急预案详情</title>
  7. <!--框架必需start-->
  8. <%@include file="../../../include1.jsp" %>
  9. <!--框架必需end-->
  10. <link rel="stylesheet" type="text/css" href="<%=path%>/scripts/webUploader/css/webuploader.css" />
  11. <script type="text/javascript" src="<%=path%>/scripts/webUploader/webuploader.js"></script>
  12. <style type="text/css">
  13. .title_class {
  14. font-size: 22px;
  15. color: blue;
  16. }
  17. .tool_class {
  18. display: inline-block;
  19. float: right;
  20. }
  21. ._title{
  22. display: block;
  23. position: absolute;
  24. font-size: 22px;
  25. font-width:bold;
  26. }
  27. </style>
  28. <script type="text/javascript" >
  29. $(function(){
  30. var fd_id = (window.location.href).split('?')[1];
  31. var PLAN_BIAOZHI="";
  32. //getFileList(fd_id,0);
  33. $('#fileDiv').newAsyncFileUpload("",fd_id,0);
  34. //查询信息
  35. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  36. var params = {
  37. classid : '214',
  38. objectID : fd_id
  39. };
  40. $.ajax({
  41. url : url,
  42. type : 'post',
  43. timeout : 60000,
  44. data : params,
  45. dataType : 'json',
  46. success : function(data){
  47. var share = data.PLAN_SHARE_214;
  48. if(share=="1"){
  49. $("#submit").hide();
  50. $("#submit1").show();
  51. }else{
  52. $("#submit1").hide();
  53. $("#submit").show();
  54. }
  55. PLAN_BIAOZHI=data.PLAN_BIAOZHI_214;
  56. var units = data.UNITS_214_SHOW;
  57. $("#UNITS1_214_SHOW").html(units);
  58. var is_units = data.INS_UNITS_214_SHOW;
  59. $("#INS_UNITS1_214_SHOW").html(is_units);
  60. var type = data.PLAN_REFINE_CATEGORY_214;
  61. var temp = new Array();
  62. temp = type.split(",");
  63. var CATEGORY = "";
  64. for(var i=0;i<type.length;i++){
  65. if(temp[i]=="4"){
  66. CATEGORY +="人身事故" + ";";
  67. }
  68. if(temp[i]=="5"){
  69. CATEGORY +="大面积停电事件" + ";";
  70. }
  71. if(temp[i]=="6"){
  72. CATEGORY +="设备事故" + ";";
  73. }
  74. if(temp[i]=="7"){
  75. CATEGORY +="电厂大坝厂房事故" + ";";
  76. }
  77. if(temp[i]=="8"){
  78. CATEGORY +="环境污染" + ";";
  79. }
  80. if(temp[i]=="9"){
  81. CATEGORY +="防风防汛" + ";";
  82. }
  83. if(temp[i]=="10"){
  84. CATEGORY +="地震灾害" + ";";
  85. }
  86. if(temp[i]=="11"){
  87. CATEGORY +="低温雨雪冰冻灾害" + ";";
  88. }
  89. if(temp[i]=="12"){
  90. CATEGORY +="电力供应及客户服务" + ";";
  91. }
  92. if(temp[i]=="13"){
  93. CATEGORY +="生产场所防恐怖袭击" + ";";
  94. }
  95. if(temp[i]=="14"){
  96. CATEGORY +="突发性群体事件" + ";";
  97. }
  98. if(temp[i]=="15"){
  99. CATEGORY +="突发新闻事件 " + ";";
  100. }
  101. if(temp[i]=="16"){
  102. CATEGORY +="涉外突发事件" + ";";
  103. }
  104. if(temp[i]=="17"){
  105. CATEGORY +="网络与信息安全" + ";";
  106. }
  107. if(temp[i]=="18"){
  108. CATEGORY +="突发公共卫生";
  109. }
  110. }
  111. for(var i in data){
  112. $('#'+i).html(data[i]);
  113. }
  114. $("#PLAN_REFINE_CATEGORY_214").html(CATEGORY);
  115. // getVersion(fd_id,PLAN_BIAOZHI,data.UPDATEDATE_214);
  116. },
  117. error : function(e){
  118. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  119. }
  120. });
  121. });
  122. function goBack() {
  123. /* var url = "/nwyj/page/business/am/public"+"ContingencyPlan.jsp";
  124. window.parent.document.getElementById("frmright").setAttribute("src", ""+encodeURI(url)); */
  125. window.history.back();
  126. }
  127. </script>
  128. </head>
  129. <body>
  130. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
  131. <div style="height: 50px;background: #F8F8F8;" align="center"><a href="javascript:;"><img id="back" align="left" alt="返回" title="返回" src="/nwyj/images/temp/back.png" onclick="goBack()"></img></a><font style="font-weight: bold;font-size: 20px;line-height: 45px;">预案详细信息</font></div>
  132. <br /><br />
  133. <fieldset style="border-color:#999999;" >
  134. <legend>基本信息:</legend>
  135. <table width="100%" class="tableStyle" id="fillForm">
  136. <tr>
  137. <td align="right" width="15%">预案类型:</td>
  138. <td width="35%"><div id="PLAN_TYPE_214_SHOW" name="PLAN_TYPE_214_SHOW" readOnly="true"/></td>
  139. <td align="right" width="15%">突发事件类型:</td>
  140. <td width="35%"><div id="BYSUNESS_TYPE_214_SHOW" name="BYSUNESS_TYPE_214_SHOW" readOnly="true"/></td>
  141. </tr>
  142. <tr>
  143. <td align="right">发布单位:</td>
  144. <td><div id="UNITS1_214_SHOW" name="UNITS1_214_SHOW" /></td>
  145. <td align="right">包含的突发事件:</td>
  146. <td><div id="PLAN_REFINE_CATEGORY_214" name="PLAN_REFINE_CATEGORY_214" /></td>
  147. </tr>
  148. <tr>
  149. <td align="right">责任部门:</td>
  150. <td><div id="INS_UNITS1_214_SHOW" name="INS_UNITS1_214_SHOW" readOnly="true"/></td>
  151. <td align="right">预案名称:</td>
  152. <td><div id="PLAN_NAME_214" name="PLAN_NAME_214" readOnly="true"/></td>
  153. </tr>
  154. <tr>
  155. <td align="right">预案编码:</td>
  156. <td><div id="PLAN_NO_214" name="PLAN_NO_214" readOnly="true"/></td>
  157. <td align="right">颁布日期:</td>
  158. <td><div id="TAKE_DATE_214" name="TAKE_DATE_214" readOnly="true"/></td>
  159. </tr>
  160. <tr>
  161. <td align="right">实施日期:</td>
  162. <td><div id="ISSUE_DATE_214" name="ISSUE_DATE_214" readOnly="true"/></td>
  163. <td align="right">简要说明:</td>
  164. <td><div id="SYFW_214" name="SYFW_214" readOnly="true"/></td>
  165. </tr>
  166. <!-- <tr>
  167. <td align="right" width="10%">关联的专项预案:</td>
  168. <td colspan="3"><div id="COLUMN_1_214" name="COLUMN_1_214" readOnly="true"/></td>
  169. </tr> -->
  170. <!-- <tr>
  171. <td colspan="4" align="center">
  172. <input type="button" value=" 关 闭 " onclick="window.history.back()"/>
  173. </td>
  174. </tr> -->
  175. </table>
  176. </fieldset>
  177. <fieldset style="border-color:#999999;" >
  178. <legend>附件信息:</legend>
  179. <table align="center" class="tableStyle" style="width: 100%;margin:auto">
  180. <tr>
  181. <td width="15%" align="right">上传附件:</td>
  182. <td width="85%" colspan="3"><div id="fileDiv" name="fileDiv"></div></td>
  183. </tr>
  184. </table>
  185. </fieldset>
  186. <!--
  187. <fieldset style="border-color:#999999;" >
  188. <legend>附件信息:</legend>
  189. <div id="maingrid"></div>
  190. </fieldset> -->
  191. <fieldset style="border-color:#999999;" >
  192. <legend>录入人信息:</legend>
  193. <table width="100%" class="tableStyle" id="fillForm1">
  194. <tr>
  195. <td align="right" width="15%">录入人:</td>
  196. <td width="35%"><div id="ENTERING_214_SHOW" name="ENTERING_214_SHOW" readOnly="true"/></td>
  197. <td align="right" width="15%">录入人联系方式:</td>
  198. <td width="35%"><div id="ENTERING_TEL_214" name="ENTERING_TEL_214" readOnly="true"/></td>
  199. </tr>
  200. <tr>
  201. <td align="right">单位:</td>
  202. <td><div id="UNITS_214_SHOW" name="UNITS_214_SHOW" readOnly="true"/></td>
  203. <td align="right">部门:</td>
  204. <td><div id="INS_UNITS_214_SHOW" name="INS_UNITS_214_SHOW" readOnly="true"/></td>
  205. </tr>
  206. <tr>
  207. <td align="right">录入时间:</td>
  208. <td colspan="3"><div id="UPDATEDATE_214" name="UPDATEDATE_214" readOnly="true"/></td>
  209. </tr>
  210. </table>
  211. </fieldset>
  212. </div>
  213. </body>
  214. </html>