8c602c3fa9eb11344e0e328a17795fe3c03e9625.svn-base 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <%@page contentType="text/html" 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. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
  7. <title></title>
  8. <%@include file="../../../../include.jsp" %>
  9. <!--引用资源文件,JS CSS-->
  10. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  11. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  12. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  13. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/business/he/common/common.js"></script>
  15. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  16. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
  17. <link href="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.css" rel="stylesheet" type="text/css" />
  18. <script type="text/javascript" src="<%=path%>/scripts/business/em/response/emergencyResponse/WarningView.js"></script>
  19. <script type="text/javascript">
  20. var fd_id = "<%=request.getParameter("fd_id")%>";
  21. $(function(){
  22. //页面初始化
  23. $(function(){
  24. //查看表单
  25. if(fd_id.length>0){
  26. $(".titleShow").text("响应启动通知单");
  27. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  28. var params = {
  29. classid : '365',
  30. objectID : fd_id
  31. };
  32. getFileList(fd_id,0);
  33. $.request.query(url,params,function(data){
  34. // 加载数据,(div显示)
  35. $("#CURRENT_ER_LEVEL_365").html(data.CURRENT_ER_LEVEL_365_SHOW);//显示本次响应级别
  36. $("#PREV_ER_LEVEL_365").html(data.PREV_ER_LEVEL_365_SHOW);//显示上次响应级别
  37. $("#EARLY_WARNING_NAME_365").html(data.EARLY_WARNING_NAME_365);//响应名称
  38. $("#RELEASE_RELIEVE_DATE_365").html(data.RELEASE_RELIEVE_DATE_365);//发布时间
  39. $("#EARLY_WARNING_ID_365").html(data.EARLY_WARNING_ID_365);//响应编号
  40. $("#EARLY_WARNING_AREA_NAME_365").html(data.EARLY_WARNING_AREA_NAME_365);//响应范围
  41. $("#MEET_EMERGENCIES_PLAN_365_SHOW").html(data.MEET_EMERGENCIES_PLAN_365_SHOW);//应急预案
  42. $("#EW_SUMMARY_365").html(data.EW_SUMMARY_365);//响应概要
  43. $("#MEASURE_AND_REQUEST_365").html(data.MEASURE_AND_REQUEST_365);//预防措施及工作要求
  44. $("#REMARK_365").html(data.REMARK_365);//备注
  45. $("#RELEASE_UNIT_365").text(data.RELEASE_UNIT_365_SHOW);//发布单位
  46. $("#WRITER_365").text(data.WRITER_365);//填报人
  47. $("#PREV_EW_ID").text(data.PREV_EW_ID_365);//上次响应单号
  48. if(data.WETHER_EW_ADJUST_365 == 1){//是否响应调整 0非响应调整1、是响应(响应性质)
  49. $("#WETHER_EW_ADJUST").attr("checked","checked");
  50. }
  51. if(data.EARLY_WARNING_PROPERTY_365 == 49){//如果响应性质 == 49(49为初次发布,50为非初次发布,51为调账)
  52. $("#WARNING_PROPERTY").attr("checked","checked");
  53. };
  54. $('#showForm1').ajaxWrite({data:data});
  55. $("#showForm2").ajaxWrite({data:data});
  56. if(data.EARLY_WARNING_PROPERTY_365 == 51){//如果响应性质 == 51(49为初次发布,50为非初次发布,51为调账)
  57. $(".titleShow").text("响应解除通知单");
  58. $("#showForm2").show();
  59. $('#showForm1').hide();
  60. $("#EARLY_WARNING_NAME").html(data.EARLY_WARNING_NAME_365);//响应名称
  61. $("#EARLY_WARNING_ID").html(data.EARLY_WARNING_ID_365);//响应编号
  62. $("#RELEASE_RELIEVE_DATE").html(data.RELEASE_RELIEVE_DATE_365);//解除时间
  63. $("#EARLY_WARNING_AREA_NAME").html(data.EARLY_WARNING_AREA_NAME_365);//解除范围
  64. $("#EW_SUMMARY").html(data.EW_SUMMARY_365);//响应概要
  65. $("#MEASURE_AND_REQUEST").html(data.MEASURE_AND_REQUEST_365);//预防措施及工作要求
  66. $("#REMARK").html(data.REMARK_365);//备注
  67. };
  68. });
  69. }
  70. });
  71. });
  72. //加载表单1(非解除的)数据
  73. function showForm1(){};
  74. //加载表单2(解除的)数据
  75. function showForm2(){};
  76. </script>
  77. </head>
  78. <body style="height: 645px;">
  79. <div class="box1" id="formContent" style="overflow:auto;height:545px;border: 1px solid #E4E4E4;background: #F8F8F8;">
  80. <div style="height: 50px;background: #F8F8F8;" align="center"><font style="font-weight: bold;font-size: 20px;line-height: 45px;" class="titleShow"></font></div>
  81. <!-- <div align="center"><font style="font-weight: bold;font-size: 30px;line-height: 45px;" color="red" id="" class="titleShow"></font></div> -->
  82. <table style="width: 85%;padding-left: 10px;padding-right: 10px;">
  83. <tr>
  84. <td align="left"><div style="float:left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;发布单位:</div><div style="float:left" id="RELEASE_UNIT_365"></div><!-- <label id="unitId"></label> --></td>
  85. <td align="right">签发人:<label id="WRITER_365">&nbsp;</label>&nbsp;</td>
  86. </tr>
  87. </table>
  88. <!-- 非解除的详细信息 -->
  89. <form id="showForm1">
  90. <table class="tableStyle" style="width: 85%;" align="center">
  91. <tr>
  92. <td width="25%" align="right">响应名称:</td>
  93. <td width="85%" colspan="2"><div style="width: 97%" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365"></div></td>
  94. <!-- <td width="85%" colspan="2"><input type="text" readonly="readonly" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365" style="width: 97%;"/></td>文本框形式,但是是只读 -->
  95. <!-- <td width="85%" colspan="2"><input type="text" disabled="disabled" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365" style="width: 97%;"/></td> -->
  96. </tr>
  97. <tr>
  98. <td width="15%" align="right">发布时间:</td>
  99. <td width="85%" colspan="2"><div style="width: 97%" id="RELEASE_RELIEVE_DATE_365" name="RELEASE_RELIEVE_DATE_365"></div></td>
  100. <!-- <td width="85%" colspan="2"><input style="width: 97%" disabled="disabled" type="text" id="RELEASE_RELIEVE_DATE_365"name="RELEASE_RELIEVE_DATE_365" class="date validate[required]" dateFmt="yyyy-MM-dd HH:mm:ss"/></td> -->
  101. </tr>
  102. <tr>
  103. <td width="15%" align="right">响应编号:</td>
  104. <td width="85%" colspan="2"><div style="width: 97%" name="EARLY_WARNING_ID_365" id="EARLY_WARNING_ID_365"></div></td>
  105. </tr>
  106. <tr>
  107. <td width="15%" align="right">响应范围:</td>
  108. <td width="85%" colspan="2"><div style="width: 97%" id="EARLY_WARNING_AREA_NAME_365" name="EARLY_WARNING_AREA_NAME_365" readonly="readonly"></div></td>
  109. </tr>
  110. <!-- <tr>
  111. <td width="15%" align="right">响应范围:</td>
  112. <td width="85%" colspan="2"><div class="selectTree" disabled="disabled" id="EARLY_WARNING_AREA_ID_365" name="EARLY_WARNING_AREA_ID_365" multiMode="true" noGroup="true" selWidth="720"></div></td>
  113. </tr> -->
  114. <tr>
  115. <td align="right">响应性质:</td>
  116. <td ><input type="checkbox" id="WARNING_PROPERTY" disabled="disabled"/>初次发布</td>
  117. <td>响应调整:<input type="checkbox" disabled="disabled" id="WETHER_EW_ADJUST"/>响应调整<br/>上次响应单号:(<label id="PREV_EW_ID"></label>)</td>
  118. </tr>
  119. <tr>
  120. <td align="right">响应级别:</td>
  121. <td><div style="float:left"><label>&nbsp;本次:</label></div><div style="float:left"><div style="width: 100%" name="CURRENT_ER_LEVEL_365" id="CURRENT_ER_LEVEL_365"></div></div></td>
  122. <td><div style="float:left"><label>&nbsp;上次:</label></div><div style="float:left"><div style="width: 100%" id="PREV_ER_LEVEL_365" name="PREV_ER_LEVEL_365"></div></div></td>
  123. </tr>
  124. <tr>
  125. <td width="15%" align="right">应急预案:</td>
  126. <td width="85%" colspan="2"><div name="MEET_EMERGENCIES_PLAN_365_SHOW" id="MEET_EMERGENCIES_PLAN_365_SHOW" style="width: 97%"></div></td>
  127. <!-- <td width="85%" colspan="2"><select disabled="disabled" name="MEET_EMERGENCIES_PLAN_365" id="MEET_EMERGENCIES_PLAN_365" selAlign="" prompt="请选择" selWidth="720"></select></td> -->
  128. </tr>
  129. <tr>
  130. <td width="15%" align="right">响应概要:</td>
  131. <td width="85%" colspan="2"><div style="width: 97%" name="EW_SUMMARY_365" id="EW_SUMMARY_365"></div><br /></td>
  132. <!-- <td width="85%" colspan="2"><textarea disabled="disabled" style="width: 97%;height: 44px;" name="EW_SUMMARY_365" id="EW_SUMMARY_365"></textarea></td> -->
  133. </tr>
  134. <tr>
  135. <td width="15%" align="right">预防措施及<br>工作要求:</td>
  136. <td width="85%" colspan="2"><div style="width: 97%" name="MEASURE_AND_REQUEST_365" id="MEASURE_AND_REQUEST_365"></div></td>
  137. <!-- <td width="85%" colspan="2"><textarea disabled="disabled" style="width: 97%;height: 44px;" name="MEASURE_AND_REQUEST_365" id="MEASURE_AND_REQUEST_365"></textarea></td> -->
  138. </tr>
  139. <tr>
  140. <td width="15%" align="right">备注:</td>
  141. <td width="85%" colspan="2"><div name="REMARK_365" id="REMARK_365" style="width: 97%;"/></td>
  142. <!-- <td width="85%" colspan="2"><input type="text" disabled="disabled" name="REMARK_365" id="REMARK_365" style="width: 97%;"/></td> -->
  143. </tr>
  144. </table>
  145. </form>
  146. <!-- 解除的详细信息 -->
  147. <form id="showForm2" style="display: none;">
  148. <table class="tableStyle" width="85%" align="center">
  149. <tr>
  150. <td width="20%" align="right">响应名称:</td>
  151. <td width="80%"><div id="EARLY_WARNING_NAME" name="EARLY_WARNING_NAME_365" style="width:97%"></div></td>
  152. <!-- <td width="80%" colspan="2"><input type="text" disabled="disabled" name="EARLY_WARNING_NAME_365" style="width: 97%;"/></td> -->
  153. </tr>
  154. <tr>
  155. <td width="20%" align="right">响应编号:</td>
  156. <td width="80%"><div id="EARLY_WARNING_ID" name="EARLY_WARNING_ID_365" style="width:97%"></div></td>
  157. <!-- <td width="80%" colspan="2"><input type="text" disabled="disabled" name="EARLY_WARNING_ID_365" style="width: 97%;"/></td> -->
  158. </tr>
  159. <tr>
  160. <td width="20%" align="right">解除时间:</td>
  161. <td width="80%"><div id="RELEASE_RELIEVE_DATE" name="RELEASE_RELIEVE_DATE_365"style="width:97%"></div></td>
  162. <!-- <td width="80%"><input style="width: 97%" type="text" disabled="disabled" name="RELEASE_RELIEVE_DATE_365" dateFmt="yyyy-MM-dd HH:mm:ss"/></td> -->
  163. </tr>
  164. <tr>
  165. <td width="20%" align="right">解除范围:</td>
  166. <td width="80%"><div id="EARLY_WARNING_AREA_NAME" name="EARLY_WARNING_AREA_NAME_365"style="width:97%" readonly="readonly"></div></td>
  167. <!-- <td width="80%"><div class="selectTree" disabled="disabled" name="EARLY_WARNING_AREA_ID_365" multiMode="true" noGroup="true" selWidth="733"></div></td> -->
  168. </tr>
  169. <tr>
  170. <td width="20%" align="right">解除原因:</td>
  171. <td width="80%"><div id="EW_SUMMARY" name="EW_SUMMARY_365"style="width:97%"></div></td>
  172. <!-- <td width="80%"><textarea disabled="disabled" style="width: 97%;height: 44px;" name="EW_SUMMARY_365"></textarea></td> -->
  173. </tr>
  174. <tr>
  175. <td width="20%" align="right">工作要求:</td>
  176. <td width="80%"><div id="MEASURE_AND_REQUEST" name="MEASURE_AND_REQUEST_365"style="width:97%"></div></td>
  177. <!-- <td width="80%"><textarea disabled="disabled" style="width: 97%;height: 44px;" name="MEASURE_AND_REQUEST_365"></textarea></td> -->
  178. </tr>
  179. <tr>
  180. <td width="20%" align="right">备注:</td>
  181. <td width="80%"><div id="REMARK" name="REMARK_365"style="width:97%"></div></td>
  182. <!-- <td width="80%"><input type="text" disabled="disabled" name="REMARK_365" style="width: 97%;"/></td> -->
  183. </tr>
  184. </table>
  185. </form>
  186. <table style="width: 85%;" align="center" border="0">
  187. <tr><td colspan="3"><div id="maingrid"></div></td></tr>
  188. </table>
  189. <!-- <div id="maingrid"></div> -->
  190. </div>
  191. </body>
  192. </html>