aa14ad40daba67458f72721760935d86346e0ac1.svn-base 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. <!--数据表格end-->
  9. <style>
  10. .stepContainer{
  11. padding:5px 0 5px 0px;
  12. }
  13. .stepTable{
  14. border:0;
  15. margin:0 auto!important;
  16. }
  17. .stepTable td{
  18. border:0;
  19. }
  20. .setp_icon{
  21. width:100px;
  22. text-align:center;
  23. }
  24. .setp_arrow{
  25. width:100px;
  26. text-align:center;
  27. }
  28. .setp_text{
  29. text-align:center;
  30. font-size:14px;
  31. font-weight:bold;
  32. }
  33. </style>
  34. <!--引用资源文件,JS CSS-->
  35. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  36. <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  37. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  38. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  39. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  40. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  41. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  42. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/system/invoking/invoking.js"></script>
  43. <script type="text/javascript" src="<%=path%>/scripts/business/em/alert/warning/WarningHistory.js"></script>
  44. <script type="text/javascript">
  45. //部门id--预警范围用到
  46. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
  47. //父部门id
  48. var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
  49. //预警范围下拉框的初始化
  50. var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
  51. //复选框全选
  52. $(function(){
  53. //var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
  54. //预警级别--常量表获取
  55. $('#CURRENT_EW_LEVEL_365').initCanstSelect('BM_WarningState');
  56. //预警性质--常量表获取
  57. $('#EARLY_WARNING_PROPERTY_365').initCanstSelect('BM_PROPERTY');
  58. //预警范围,发布单位下拉框
  59. var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
  60. var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
  61. $.post(deptUrl,{id:parentId,name:''},function(data){
  62. $("#EARLY_WARNING_AREA_ID_365").data("data",data);
  63. $("#EARLY_WARNING_AREA_ID_365").render();
  64. $("#RELEASE_UNIT_365").data("data",data);
  65. $("#RELEASE_UNIT_365").render();
  66. }, "json");
  67. //发布状态复选框全选方法
  68. /* $("#checkAll").click(function(){
  69. $("input[name='CHECK_STATUS_365']").attr("checked",this.checked);
  70. });
  71. var $CHECK_STATUS = $("input[name='CHECK_STATUS_365']");
  72. $CHECK_STATUS.click(function(){
  73. $("#checkAll").attr("checked",$CHECK_STATUS.length == $("input[name='CHECK_STATUS_365']:checked").length ? true : false);
  74. }); */
  75. });
  76. $(function(){
  77. //根据json生成更多筛选条件ul-li列表
  78. createConditionsDom(conditionData);
  79. //ul-li列表点击事件
  80. //$(".condiTitle").unbind("click",bindSelectOne);
  81. $(".item").unbind("click").bind("click",bindSelectOne);
  82. //输入框绑定事件
  83. $(".Textinput").bind("change",inputChange);
  84. });
  85. var conditionData = {"list":[
  86. {"name":"预警级别","className":"CURRENT_EW_LEVEL","list":[
  87. {"key":"全部","value":"0000"},{"key":"红色预警","value":"35"},{"key":"橙色预警","value":"36"},{"key":"黄色预警","value":"37"},{"key":"蓝色预警","value":"38"}
  88. ]},
  89. {"name":"预警性质","className":"EARLY_WARNING_PROPERTY","list":[
  90. {"key":"全部","value":"0000"},{"key":"初次发布","value":"49"},{"key":"调整","value":"50"},{"key":"解除","value":"51"}
  91. ]}
  92. ]};
  93. </script>
  94. </head>
  95. <body >
  96. <div class="box2" panelTitle="" id="searchPanel" statusType="none" style="margin:10px 0">
  97. <fieldset>
  98. <form id="queryForm" method="post">
  99. <table id="table" style="width:100%;">
  100. <tr>
  101. <td width="80%">
  102. <input class="validate[length[0,16]]" type="text" name="EARLY_WARNING_NAME_365" id="EARLY_WARNING_NAME_365" watermark=" 预 警 名 称" clearable="true" width="300px"/>&nbsp;&nbsp;
  103. <!-- <button id='searchButt' type="button"><span class="icon_find">查询</span></button> -->
  104. <a id="searchButt"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
  105. </td>
  106. <td width="20%" align="right"><a href="javascript:;"><span id="more" class="more_hide">综合查询&nbsp;</span></a></td><!-- <span id="more" class="icon_more">&nbsp;</span> -->
  107. </tr>
  108. </table>
  109. <div id="moreDiv" style="display: none;">
  110. <!-- 可选条件,改div作为容器,需保留 -->
  111. <div class="conditions" id="conditions">
  112. <ul>
  113. <li class="condiTitle">预警编号:</li>
  114. <li><input type="text" class="Textinput" id="EARLY_WARNING_ID_365" name="EARLY_WARNING_ID"/></li>
  115. </ul>
  116. <ul>
  117. <li class="condiTitle">发布时间:</li>
  118. <li><input readonly="readonly" type="text" class="date" name="RELEASE_RELIEVE_DATE" id="START_RELEASE_RELIEVE_DATE_365"/>&nbsp; ~ &nbsp;
  119. <input readonly="readonly" type="text" class="date" name="RELEASE_RELIEVE_DATE" id="END_RELEASE_RELIEVE_DATE_365"/></li>
  120. </ul>
  121. <!-- <tr><td>预警编号:</td>
  122. <td><input id="EARLY_WARNING_ID_365" name="EARLY_WARNING_ID_365" style="width:194px" type="text"/></td></tr>
  123. <tr><td>预警级别:</td>
  124. <td><select id="CURRENT_EW_LEVEL_365" name="CURRENT_EW_LEVEL_365" prompt="请选择"></select></td></tr>
  125. <tr><td>预警性质:</td>
  126. <td><select id="EARLY_WARNING_PROPERTY_365" name="EARLY_WARNING_PROPERTY_365" prompt="请选择" ></select></td></tr>
  127. <tr><td>预警范围XXXXXXX:</td>
  128. <td><div class="selectTree" id="EARLY_WARNING_AREA_ID_365" name="EARLY_WARNING_AREA_ID_365" multiMode="true" noGroup="true"></div></td></tr>
  129. <tr><td>发布单位XXXXXXX:</td>
  130. <td><div class="selectTree" id="RELEASE_UNIT_365" name="RELEASE_UNIT_365" multiMode="true" noGroup="true"></div></td></tr>
  131. <tr><td align="right">发布时间:</td>
  132. <td><input id="START_RELEASE_RELIEVE_DATE_365" name="RELEASE_RELIEVE_DATE_365" style="width:194px" type="text" class="date"/></td>
  133. <td>到</td>
  134. <td><input id="END_RELEASE_RELIEVE_DATE_365" name="RELEASE_RELIEVE_DATE_365" style="width:194px" type="text" class="date"/>
  135. </td></tr> -->
  136. </div>
  137. </div>
  138. </form>
  139. </fieldset>
  140. </div>
  141. <div class="padding_right5">
  142. <div id="dataGrid"></div>
  143. </div>
  144. </body>
  145. </html>