3965c8906612569a17432910a19176700d0a5999.svn-base 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <%@page language="java" 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="../../../../../include1.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/freamwork/com/sinosoft/common/utils/Request.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/business/em/alert/report/reportInput/ReportInput.js"></script>
  15. <!-- 综合查询查询筛选过滤 js css -->
  16. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  17. <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  18. <!-- 综合查询查询筛选过滤 js css -->
  19. <script type="text/javascript">
  20. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
  21. var conditionData={"list":[
  22. {"name":"发布状态","className":"IS_RELEASE","list":[
  23. {"key":"全部","value":"0000"},{"key":"未发布","value":"0"},{"key":"已发布","value":"1"}
  24. ]},
  25. {"name":"上报状态","className":"OPR_STATE","list":[
  26. {"key":"全部","value":"0000"},{"key":"未上报","value":"0"},{"key":"已上报","value":"1"}
  27. ]}
  28. ]};
  29. function getChildInfo(conditionData){
  30. var url = $.pathname() + '/ws/PlanHuiZong/ContingencyPlanHuiZong/getChidInfo/';
  31. var params = {
  32. id : deptId,
  33. };
  34. $.ajax({
  35. url : url,
  36. type : 'post',
  37. data : params,
  38. dataType : 'json',
  39. async:false,
  40. success : function(data){
  41. conditionData2 = JSON.stringify(data);
  42. conditionData2 = conditionData2.replace(/\\\"/g,"\"");
  43. conditionData2 = conditionData2.replace(/\"{/g,"{");
  44. conditionData2 = conditionData2.replace(/}\"/g,"}");
  45. var test = eval("("+conditionData2+")");
  46. if(conditionData2!='{"list":[{"name":"查询单位","className":"UNITS","list":[]}]}'){
  47. test.dept.list[0].name="填报单位";
  48. test.dept.list[0].className = "INPUT_UNIT";
  49. test.dept.list[0].equalType = "equal";
  50. test.dept.list[0].list.splice(1,0,{"key":"本单位","value":deptId});
  51. conditionData.list.push(test.dept.list[0]);
  52. }
  53. createConditionsDom(conditionData);
  54. },
  55. error : function(e){
  56. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  57. }
  58. });
  59. }
  60. $(function(){
  61. getChildInfo(conditionData)
  62. //根据json生成综合查询筛选条件ul-li列表
  63. //createConditionsDom(dataJson);
  64. });
  65. </script>
  66. </head>
  67. <body>
  68. <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0" >
  69. <fieldset>
  70. <form id="queryForm" method="post">
  71. <input id="hiddenText" type="text" style="display:none" />
  72. <div class="starSearch">
  73. <table style="width:100%;">
  74. <tr>
  75. <td width="80%">
  76. <input type="text" name="REPORT_NAME_321" id="REPORT_NAME_321" watermark="报告名称" width="300px"/>&nbsp;&nbsp;
  77. <a id="searchOne"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
  78. </td>
  79. <td width="20%" align="right"><a href="javascript:;"><span class="more_hide" id="more">综合查询</span></a></td>
  80. </tr>
  81. </table>
  82. </div>
  83. <div id="moreDiv" style="display: none;">
  84. <!-- 可选条件,该div作为容器,需保留 -->
  85. <div class="conditions" id="conditions">
  86. </div>
  87. </div>
  88. </form>
  89. </fieldset>
  90. </div>
  91. <div class="padding_right5">
  92. <div id="dataGrid" style="border: 1px #ccc solid"></div>
  93. </div>
  94. </body>
  95. </html>