a683c50ca0d6ff56d5ede0d128ffc45a22715570.svn-base 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>发送</title>
  6. <!--框架必需start-->
  7. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  8. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  9. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  10. <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  11. <link rel="stylesheet" type="text/css" id="skin" prePath="/nwyj/scripts/qui/"/>
  12. <link rel="stylesheet" type="text/css" id="customSkin"/>
  13. <!--框架必需end-->
  14. <!--框架必需end-->
  15. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/form.js"></script>
  16. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/validation.js"></script>
  17. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/validationRule.js"></script>
  18. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
  19. <!--弹窗组件start-->
  20. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/drag.js"></script>
  21. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/dialog.js"></script>
  22. <!--弹窗组件end-->
  23. <!--弹出式提示框start-->
  24. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/popup/messager.js"></script>
  25. <!--弹出式提示框end-->
  26. <!-- 日期选择框start -->
  27. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/form/datePicker/WdatePicker.js"></script>
  28. <!-- 日期选择框end -->
  29. <!-- 引用基础样式 -->
  30. <script type="text/javascript" src="/nwyj/scripts/business/block/fill-content.js"></script>
  31. <!--数据表格start-->
  32. <script src="/nwyj/scripts/qui/libs/js/table/quiGrid.js" type="text/javascript"></script>
  33. <!--数据表格end-->
  34. <!-- 扩展工具js -->
  35. <script type="text/javascript" src="/nwyj/scripts/jquery/plugins/jquery.extension.util.js"></script>
  36. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/common.js"></script>
  37. <!-- <script type="text/javascript" src="/nwyj/scripts/business/em/alert/notice/manage_info.js"></script>
  38. -->
  39. <script type="text/javascript">
  40. //返回主页面
  41. function goBack() {
  42. //获取iframe中的元素值
  43. var iframe =parent.document.getElementsByName("frmright")[0];
  44. iframe.src = "/nwyj/page/business/em/response/notice/eme_response.jsp";
  45. }
  46. //发布按钮点击事件
  47. function issue(){
  48. /* var myDate=new Date() ;
  49. //alert(myDate);
  50. window.location.href="/nwyj/page/business/em/alert/notice/manage.html";*/
  51. }
  52. $(function(){
  53. //
  54. if((window.location.href).indexOf('?')>-1){
  55. var fd_id = (window.location.href).split('?')[1];//获取记录id
  56. var url = $.pathname() + "/ws/crud/CRUDService/getDataById/";
  57. var params = {
  58. classid : '331',
  59. objectID : fd_id
  60. };
  61. $.ajax({
  62. url : url,
  63. type : 'post',
  64. timeout : 15000,
  65. data : params,
  66. dataType : 'json',
  67. success : function(data){
  68. for(var i in data){
  69. $('#'+i).html(data[i]);
  70. }
  71. level();
  72. },
  73. error : function(e){
  74. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  75. }
  76. });
  77. }
  78. });
  79. //两个响应级别的复选框的方法
  80. function level(){
  81. //响应性质
  82. if($("#temp1").val() == "初次发布"){
  83. $("#EARLY_WARNING_PROPERTY_331").attr('checked','checked');
  84. }
  85. //是否响应调整
  86. if($("#temp2").val() == "是"){
  87. $("#WETHER_EW_ADJUST_331").attr('checked','checked');
  88. }
  89. }
  90. </script>
  91. </head>
  92. <body style="height: 545px;">
  93. <div class="box1" id="formContent" style="overflow:visible;height:545px;border: 1px solid #E4E4E4;background: #F8F8F8;">
  94. <!-- 左上角的返回按钮 -->
  95. <div style="height: 50px;background: #F8F8F8;" align="center"><img align="left" alt="返回" src="../../../../../images/temp/back.png" onclick="goBack();"></img>
  96. <!-- 与左上角的返回按钮统一水平线的字 -->
  97. <label style="font-size:25px;">响应通知单发布</label></div>
  98. <div class="box1" id="formContent" whiteBg="true">
  99. <form id="fillForm" method="post">
  100. <!-- 左上角灰色字 上报,发布,取消按钮 -->
  101. <div style="float:left ;color:#0099CC">&nbsp;&nbsp;&nbsp;&nbsp;响应通知单信息</div><div style="float:right"><input value="取消" type="button" onclick="goBack()"/>&nbsp;&nbsp;&nbsp;&nbsp;</div>
  102. <div style="float:right"><input value="发布" type="button" onclick="issue()"/>&nbsp;&nbsp;&nbsp;&nbsp;</div><br/>
  103. <!-- 大红字 -->
  104. <div align="center" style="color:red;font-size:35px">响应启动通知单</div><br/>
  105. <!-- table上面的”发布单位“和”签发人“ -->
  106. <div style="float:left;display:none">&nbsp;&nbsp;&nbsp;&nbsp;发布单位:<input id="XY_RELEASE_UNIT_331" name="XY_RELEASE_UNIT_331" type="text"/></div><div style="float:right;display:none">签发人:<input id="XY_SIGNER_331" name="XY_SIGNER_331" type="text"/>&nbsp;&nbsp;&nbsp;&nbsp;</div>
  107. <input type="hidden" id="temp1" name="EARLY_WARNING_PROPERTY_331"/>
  108. <input type="hidden" id="temp2" name="WETHER_EW_ADJUST_331"/>
  109. <input type="hidden" id="EARLY_WARNING_AREA_OBJ_331" name="EARLY_WARNING_AREA_OBJ_331"/>
  110. <table class="tableStyle" style="width: 85%;" align="center">
  111. <div style="float:left;display:none">&nbsp;&nbsp;&nbsp;&nbsp;发布单位:</div><div style="float:left;display:none" id="XY_RELEASE_UNIT_331"></div>
  112. <div id="XY_SIGNER_331" style="float:right;display:none">&nbsp;&nbsp;&nbsp;&nbsp;</div><div style="float:right;display:none">签发人:</div>
  113. <tr><td width="15%" align="center">响应名称</td><td width="85%" colspan="2"><div id="XY_NAME_331"></div></td></tr>
  114. <tr><td align="center">发布时间</td><td colspan="2"><div id="XY_RELEASE_TIME_331" ></div></td></tr>
  115. <tr><td align="center">响应编号</td><td colspan="2"><div id="XY_ID_331"></div></td></tr>
  116. <tr><td align="center">响应范围</td><td colspan="2"><div id="XY_AREA"></div></td></tr>
  117. <tr><td align="center">响应性质</td>
  118. <td width="40%"><div id="XY_NATURE_331"></div></td>
  119. <td width="45%"><div id="XY_ADJUST_TYPE_331" style="float:left"></div><div style="float:left">响应调整</div><br/><div style="float:left">上次响应单号:</div><div style="float:left" id="PREV_EW_ID_331"/><div style="float:left"></div></td></tr>
  120. <tr><td align="center">响应级别</td><td width="40%"><div style="float:left">本次:</div><div style="float:left" id="XY_CURRENT_LEVEL_331"></div></td><td width="45%"><div style="float:left">上次:</div><div style="float:left" id="XY_BEFORE_LEVEL_331"></div></td></tr>
  121. <tr><td align="center">响应概要</td><td colspan="2"><div id="XY_EVENT_SUMMARY_331"></div></td></tr>
  122. <tr><td align="center">预防措施<br/>工作要求</td><td colspan="2"><div id="XY_MEASURE_REQUIRE_331"></div></td></tr>
  123. <tr><td align="center">备注</td><td colspan="2"><div id="XY_COMMENT_331"></div></td></tr>
  124. </table>
  125. </form>
  126. </div>
  127. </div>
  128. </body>
  129. </html>