d706cb1df5714359b785d9535b6cc91d505cc8ac.svn-base 13 KB

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