e46f33c973a61728a4d43c1ba517323cefb937d1.svn-base 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. <!--树组件与弹窗组件(这里引入只为“非iframe弹窗(复杂内容)”示例需要) -->
  9. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/drag.js"></script>
  10. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/dialog.js"></script>
  11. <!--树组件与弹窗组件(这里引入只为“非iframe弹窗(复杂内容)”示例需要) -->
  12. <!--引用资源文件,JS CSS-->
  13. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  15. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  16. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  17. <script type="text/javascript" src="<%=path%>/scripts/business/he/common/common.js"></script>
  18. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  19. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
  20. <link href="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.css" rel="stylesheet" type="text/css" />
  21. <script type="text/javascript" src="<%=path%>/scripts/business/em/alert/warning/ReleaseWarning.js"></script>
  22. <script type="text/javascript">
  23. var fd_id = "<%=request.getParameter("fd_id")%>";
  24. //页面初始化
  25. $(function(){
  26. //部门id
  27. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
  28. //查看表单
  29. if(fd_id.length>0){
  30. $(".titleShow").text("发送预警发布通知单");
  31. $("#BUSINESS_ID_378").val(fd_id);
  32. $("#PERSON_ID_378").initDeptPersonSelect(deptId); //下一节点处理人
  33. $("#selectBtn").bind("click",function(){
  34. var ifmHeight = $(top.document.body).find("#frmright").height();
  35. top.Dialog.open({URL:'/nwyj/page/business/em/alert/warning/WarningaddUnit.jsp?ifmHeight='+ifmHeight,Title:'组织人员',Width:400,Height:300});
  36. })
  37. var url = $.pathname() + '/ws/crud/CRUDService/getDataById/';
  38. var params = {
  39. classid : '365',
  40. objectID : fd_id
  41. };
  42. $.request.query(url,params,function(data){
  43. // 加载数据,(div显示)
  44. $("#CURRENT_EW_LEVEL_365").html(data.CURRENT_EW_LEVEL_365_SHOW);//显示本次预警级别
  45. $("#PREV_EW_LEVEL_365").html(data.PREV_EW_LEVEL_365_SHOW);//显示上次预警级别
  46. $("#EARLY_WARNING_NAME_365").html(data.EARLY_WARNING_NAME_365);//预警名称
  47. $("#RELEASE_RELIEVE_DATE_365").html(data.RELEASE_RELIEVE_DATE_365);//发布时间
  48. $("#EARLY_WARNING_ID_365").html(data.EARLY_WARNING_ID_365);//预警编号
  49. $("#EARLY_WARNING_AREA_NAME_365").html(data.EARLY_WARNING_AREA_NAME_365);//预警范围
  50. $("#MEET_EMERGENCIES_PLAN_365_SHOW").html(data.MEET_EMERGENCIES_PLAN_365_SHOW);//应急预案
  51. $("#EW_SUMMARY_365").html(data.EW_SUMMARY_365);//预警概要
  52. $("#MEASURE_AND_REQUEST_365").html(data.MEASURE_AND_REQUEST_365);//预防措施及工作要求
  53. $("#REMARK_365").html(data.REMARK_365);//备注
  54. $("#RELEASE_UNIT_365").text(data.RELEASE_UNIT_365_SHOW);//发布单位
  55. //$("#WRITER_365").text(data.WRITER_365);//填报人
  56. $("#tianBao").html(data.WRITER_365);
  57. $("#tianBaoDate").html(data.WRITE_TIME_365);
  58. $("#PREV_EW_ID").text(data.PREV_EW_ID_365);//上次预警单号
  59. if(data.WETHER_EW_ADJUST_365 == 1){//是否预警调整 0非预警调整1、是预警(预警性质)
  60. $("#WETHER_EW_ADJUST").attr("checked","checked");
  61. }
  62. if(data.EARLY_WARNING_PROPERTY_365 == 49){//如果预警性质 == 49(49为初次发布,50为非初次发布,51为调账)
  63. $("#WARNING_PROPERTY").attr("checked","checked");
  64. };
  65. $('#showForm').ajaxWrite({data:data});
  66. });
  67. }
  68. });
  69. </script>
  70. </head>
  71. <body>
  72. <div class="box1" id="formContent" style="border: 1px solid #E4E4E4;background: #F8F8F8;">
  73. <div style="height: 50px;background: #F8F8F8;" align="center"><a href="Warning.jsp"><img class="back" 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>
  74. <div align="center"><font style="font-weight: bold;font-size: 30px;line-height: 45px;" color="red" id="">预警发布通知单</font></div>
  75. <table style="width: 85%;padding-left: 10px;padding-right: 10px;">
  76. <tr>
  77. <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>
  78. <td align="right"><!-- 签发人:<label id="WRITER_365">&nbsp;</label>&nbsp; --></td>
  79. </tr>
  80. </table>
  81. <!-- 非解除的详细信息 -->
  82. <form id="showForm">
  83. <table class="tableStyle" style="width: 85%;" align="center">
  84. <tr>
  85. <td width="25%" align="right">预警名称:</td>
  86. <td width="85%" colspan="2"><div style="width: 97%" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365"></div></td>
  87. </tr>
  88. <tr>
  89. <td width="15%" align="right">发布时间:</td>
  90. <td width="85%" colspan="2"><div style="width: 97%" id="RELEASE_RELIEVE_DATE_365" name="RELEASE_RELIEVE_DATE_365"></div></td>
  91. <!-- <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> -->
  92. </tr>
  93. <tr>
  94. <td width="15%" align="right">预警编号:</td>
  95. <td width="85%" colspan="2"><div style="width: 97%" name="EARLY_WARNING_ID_365" id="EARLY_WARNING_ID_365"></div></td>
  96. </tr>
  97. <tr>
  98. <td width="15%" align="right">预警范围:</td>
  99. <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>
  100. </tr>
  101. <!-- <tr>
  102. <td width="15%" align="right">预警范围:</td>
  103. <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>
  104. </tr> -->
  105. <tr>
  106. <td align="right">预警性质:</td>
  107. <td ><input type="checkbox" id="WARNING_PROPERTY" disabled="disabled"/>初次发布</td>
  108. <td>预警调整:<input type="checkbox" disabled="disabled" id="WETHER_EW_ADJUST"/>预警调整<br/>上次预警单号:(<label id="PREV_EW_ID"></label>)</td>
  109. </tr>
  110. <tr>
  111. <td align="right">预警级别:</td>
  112. <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>
  113. <!-- <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> -->
  114. <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>
  115. <!-- <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> -->
  116. </tr>
  117. <tr>
  118. <td width="15%" align="right">应急预案:</td>
  119. <td width="85%" colspan="2"><div name="MEET_EMERGENCIES_PLAN_365_SHOW" id="MEET_EMERGENCIES_PLAN_365_SHOW" style="width: 97%"></div></td>
  120. <!-- <td width="85%" colspan="2"><select disabled="disabled" name="MEET_EMERGENCIES_PLAN_365" id="MEET_EMERGENCIES_PLAN_365" selAlign="" prompt="请选择" selWidth="720"></select></td> -->
  121. </tr>
  122. <tr>
  123. <td width="15%" align="right">预警概要:</td>
  124. <td width="85%" colspan="2"><div style="width: 97%" name="EW_SUMMARY_365" id="EW_SUMMARY_365"></div><br /></td>
  125. <!-- <td width="85%" colspan="2"><textarea disabled="disabled" style="width: 97%;height: 44px;" name="EW_SUMMARY_365" id="EW_SUMMARY_365"></textarea></td> -->
  126. </tr>
  127. <tr>
  128. <td width="15%" align="right">预防措施及<br>工作要求:</td>
  129. <td width="85%" colspan="2"><div style="width: 97%" name="MEASURE_AND_REQUEST_365" id="MEASURE_AND_REQUEST_365"></div></td>
  130. <!-- <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> -->
  131. </tr>
  132. <tr>
  133. <td width="15%" align="right">备注:</td>
  134. <td width="85%" colspan="2"><div name="REMARK_365" id="REMARK_365" style="width: 97%;"/></td>
  135. </tr>
  136. </table>
  137. <table class="tableStyle" width="85%" style="width: 85%;" align="center">
  138. <tr>
  139. <td width="25%" align="right">填报人:</td>
  140. <td width="25%"><div id="tianBao"></di></td>
  141. <td width="25%" align="right">填报时间:</td>
  142. <td width="25%"><di id="tianBaoDate"></di></td>
  143. </tr>
  144. </table>
  145. </form>
  146. &nbsp;
  147. <form id="editForm">
  148. <input type="hidden" name="classid" value="378"/>
  149. <input type="hidden" name="PERSON_ID_378" id="PERSON_ID_378"/>
  150. <input type="hidden" name="BUSINESS_ID_378" id="BUSINESS_ID_378" />
  151. <input type="hidden" name="STATUES_378" id="STATUES_378" value="1" />
  152. <input type="hidden" name="DISPOSE_378" id="DISPOSE_378" value="0" />
  153. <table class="tableStyle" style="width: 85%;" align="center">
  154. <tr>
  155. <td colspan="2" width="100%" align="center"><input type="button" value="发布" id="save"/>&nbsp;&nbsp;<input type="button" value="返回" id="back" /></td>
  156. </tr>
  157. </table>
  158. </form>
  159. </div>
  160. </body>
  161. </html>