dfd51a977be8a98226d32e88de11556195680b57.svn-base 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. <script type="text/javascript">
  39. //返回主页面
  40. function goBack() {
  41. //获取iframe中的元素值
  42. var iframe =parent.document.getElementsByName("frmright")[0];
  43. iframe.src = "/nwyj/page/business/em/response/notice/eme_response.jsp";
  44. }
  45. //撤回按钮点击事件
  46. function recall(){
  47. }
  48. //加载信息
  49. $(function(){
  50. //
  51. if((window.location.href).indexOf('?')>-1){
  52. var fd_id = (window.location.href).split('?')[1];//获取记录id
  53. $('#fileListLegend').css("display","block");
  54. $('#fileList').css("display","block");
  55. var url = $.pathname() + "/ws/crud/CRUDService/getDataById/";
  56. var params = {
  57. classid : '331',
  58. objectID : fd_id
  59. };
  60. $.ajax({
  61. url : url,
  62. type : 'post',
  63. timeout : 15000,
  64. data : params,
  65. dataType : 'json',
  66. success : function(data){
  67. $('#fillForm').ajaxWrite({data:data});
  68. $('#fillForm input[name="classid"]').val('331');
  69. $('#fillForm input[name="EARLY_WARNING_PROPERTY_331"]').val(data.EARLY_WARNING_PROPERTY_331);
  70. for(var i in data){
  71. $('#'+i).html(data[i]);
  72. }
  73. level();
  74. },
  75. error : function(e){
  76. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  77. }
  78. });
  79. }
  80. });
  81. //两个响应级别的复选框获取值的方法
  82. function level(){
  83. //响应性质
  84. if($("#temp1").val() == "初次发布"){
  85. $("#EARLY_WARNING_PROPERTY_331").attr('checked','checked');
  86. $("#EARLY_WARNING_PROPERTY_331").attr("disabled",true);//初次发布禁用
  87. $("#WETHER_EW_ADJUST_331").attr("disabled",true);//是否响应禁用
  88. $("#last1").attr("disabled",true);//上次响应单号禁用
  89. $("#PREV_EW_LEVEL_331").attr("disabled",true);//上次级别禁用
  90. $("#PREV_EW_LEVEL_331").render();
  91. }
  92. //是否响应调整
  93. if($("#temp2").val() == "是"){
  94. $("#WETHER_EW_ADJUST_331").attr('checked','checked');
  95. $("#EARLY_WARNING_PROPERTY_331").attr("disabled",true);//是否响应调整禁用
  96. $("#EARLY_WARNING_PROPERTY_331").attr("disabled",true);//初次响应禁用
  97. }
  98. }
  99. </script>
  100. </head>
  101. <body style="height: 545px;">
  102. <div class="box1" id="formContent" style="overflow:visible;height:545px;border: 1px solid #E4E4E4;background: #F8F8F8;">
  103. <!-- 左上角的返回按钮 -->
  104. <div style="height: 50px;background: #F8F8F8;" align="center"><img align="left" alt="返回" src="../../../../../images/temp/back.png" onclick="goBack();"></img>
  105. <!-- 与左上角的返回按钮统一水平线的字 -->
  106. <label style="font-size:25px;">响应通知单撤回</label></div>
  107. <div class="box1" id="formContent" whiteBg="true">
  108. <form id="fillForm" method="post">
  109. <!-- 左上角灰色字 撤回,取消按钮 -->
  110. <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><div style="float:right"><input value="撤回" type="button" onclick="recall()"/>&nbsp;&nbsp;&nbsp;&nbsp;</div><br/>
  111. <!-- 大红字 -->
  112. <div align="center" style="color:red;font-size:35px">响应启动通知单</div><br/>
  113. <!-- table上面的”发布单位“和”签发人“ -->
  114. <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>
  115. <input type="hidden" id="temp1" name="EARLY_WARNING_PROPERTY_331"/>
  116. <input type="hidden" id="temp2" name="WETHER_EW_ADJUST_331"/>
  117. <input type="hidden" id="EARLY_WARNING_AREA_OBJ_331" name="EARLY_WARNING_AREA_OBJ_331"/>
  118. <table class="tableStyle" style="width: 85%;" align="center">
  119. <div style="float:left;display:none">&nbsp;&nbsp;&nbsp;&nbsp;发布单位:</div><div style="float:left;display:none" id="XY_RELEASE_UNIT_331"></div>
  120. <div id="XY_SIGNER_331" style="float:right;display:none">&nbsp;&nbsp;&nbsp;&nbsp;</div><div style="float:right;display:none">签发人:</div>
  121. <tr><td width="15%" align="center">响应名称</td><td width="85%" colspan="2"><div id="XY_NAME_331"></div></td></tr>
  122. <tr><td align="center">发布时间</td><td colspan="2"><div id="XY_RELEASE_TIME_331" ></div></td></tr>
  123. <tr><td align="center">响应编号</td><td colspan="2"><div id="XY_ID_331"></div></td></tr>
  124. <tr><td align="center">响应范围</td><td colspan="2"><div id="XY_AREA"></div></td></tr>
  125. <tr><td align="center">响应性质</td>
  126. <td width="40%"><div id="XY_NATURE_331"></div></td>
  127. <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>
  128. <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>
  129. <tr><td align="center">响应概要</td><td colspan="2"><div id="XY_EVENT_SUMMARY_331"></div></td></tr>
  130. <tr><td align="center">预防措施<br/>工作要求</td><td colspan="2"><div id="XY_MEASURE_REQUIRE_331"></div></td></tr>
  131. <tr><td align="center">备注</td><td colspan="2"><div id="XY_COMMENT_331"></div></td></tr>
  132. </table>
  133. </form>
  134. </div>
  135. </div>
  136. </body>
  137. </html>