0ec4dc9a46a299372015189b7fab987812a4eeb0.svn-base 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <title>应急预警值班管理</title>
  7. <% String path = request.getContextPath(); %>
  8. <!--引入QUI框架js -->
  9. <%-- <%@include file="../../../../include1.jsp" %> --%>
  10. <!--框架必需start 扁平风格-->
  11. <link href="<%=path%>/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  12. <link href="<%=path%>/scripts/qui/system/layout_flat/skin/style.css" rel="stylesheet" type="text/css" id="skin" skinPath="/nwyj/scripts/qui/" scrollerY="false" scrollerX="false"/>
  13. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/jquery.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/language/cn.js"></script>
  15. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/framework.js"></script>
  16. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/main.js"></script>
  17. <!--框架必需end-->
  18. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/text/vticker.js"></script>
  19. <!--自动提示框start-->
  20. <script type='text/javascript' src='<%=path%>/scripts/qui/libs/js/form/suggestion.js'></script>
  21. <!--自动提示框end-->
  22. <!--数据表格start-->
  23. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/table/quiGrid.js" ></script>
  24. <!--数据表格end-->
  25. <!--表单提交start-->
  26. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/form.js"></script>
  27. <!--表单提交end-->
  28. <!--表单验证start-->
  29. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/validation.js"></script>
  30. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/validationRule.js"></script>
  31. <!--表单提交end-->
  32. <!-- 数字步进器start -->
  33. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/stepper.js"></script>
  34. <!-- 数字步进器end -->
  35. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/datePicker/WdatePicker.js"></script>
  36. <!--数据表格end-->
  37. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/thirdparty/highcharts/js/highcharts.js"></script>
  38. <script src="<%=path%>/scripts/qui/libs/thirdparty/highcharts/js/highcharts-more.js"></script>
  39. <!--弹窗组件start-->
  40. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/messager.js"></script>
  41. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/drag.js"></script>
  42. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/dialog.js"></script>
  43. <!--弹窗组件end-->
  44. <!--布局组件start-->
  45. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/layout.js"></script>
  46. <!--布局组件start-->
  47. <!--基本选项卡start-->
  48. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/basicTab.js"></script>
  49. <!--基本选项卡end-->
  50. <!--动态选项卡start-->
  51. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/dynamicTab.js"></script>
  52. <!--动态选项卡end-->
  53. <!--树组件start-->
  54. <link rel="stylesheet" type="text/css" href="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.css" />
  55. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
  56. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/selectTree.js"></script>
  57. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/listerTree.js"></script>
  58. <!--树组件end-->
  59. <!--纵向抽屉容器start-->
  60. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/accordion.js"></script>
  61. <!--纵向抽屉容器end-->
  62. <!-- 双向选择器start -->
  63. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/lister.js"></script>
  64. <!--双向选择器end-->
  65. <!--上传附件start-->
  66. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/upload/fileUpload.js"></script>
  67. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/upload/handlers.js"></script>
  68. <!-- 上传附件end -->
  69. <!--分隔条start-->
  70. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/spliter.js"></script>
  71. <!--分隔条end-->
  72. <!--浮动面板start-->
  73. <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/floatPanel.js"></script>
  74. <!--浮动面板end-->
  75. <!-- 扩展工具js -->
  76. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  77. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  78. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  79. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/DateUtil.js"></script>
  80. <script type="text/javascript" src="<%=path%>/scripts/commom/common/common.js"></script>
  81. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  82. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  83. <script type="text/javascript" src="/nwyj/scripts/tongyongqui.js"></script>
  84. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/system/invoking/invoking.js"></script>
  85. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  86. <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  87. <!-- 模版js和css start-->
  88. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css"
  89. rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
  90. positionTarget="positionContent" selInputHeight="32"
  91. selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
  92. defaultFileInputWidth="200" defaultGridHeaderHeight="34"
  93. defaultGridRowHeight="38" defaultFontSize="12" defaultPageSelWidth="55"
  94. defaultFilterItemHeight="32" dialogWidthFix="0"
  95. defaultSelItemHeight="32" defaultFontFamily="宋体" />
  96. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/pageNumber.js"></script>
  97. <script type="text/javascript" src="/nwyj/scripts/ECM_gridtemplate/changeFormat.js"></script>
  98. <link href="<%=path%>/scripts/ECM_gridtemplate/changeFormat.css" rel="stylesheet" type="text/css"/>
  99. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/right/userClickNum.js"></script>
  100. <script type="text/javascript" src="resp_duty_list.js"></script>
  101. <script>
  102. var is_ok_release = true;
  103. var is_ok_sendup = true;
  104. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
  105. var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
  106. var conditionData = {"list":[
  107. {"name":"发布状态","className":"RELEASE","list":[
  108. {"key":"全部","value":"0000"},{"key":"未发布","value":"0"},{"key":"已发布","value":"1"}
  109. ]}
  110. ]};
  111. function initComplete(){
  112. //获取当前主题风格,用于设置日期控件的皮肤
  113. try {
  114. dateSkin=themeColor;
  115. }
  116. catch(e){}
  117. //自定义点击触发日期控件
  118. document.getElementById('startTime').onfocus=function(){
  119. var endtimeTf=$dp.$('endTime');
  120. WdatePicker({
  121. skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endTime\')}'
  122. });
  123. };
  124. document.getElementById('endTime').onfocus=function(){
  125. //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
  126. WdatePicker({skin:dateSkin,minDate:'#F{$dp.$D(\'startTime\')}'});
  127. };
  128. }
  129. $(function(){
  130. //根据json生成更多筛选条件ul-li列表
  131. //createConditionsDom(conditionData);
  132. //ul-li列表点击事件
  133. $(".condiTitle").unbind("click",bindSelectOne);
  134. $(".item").unbind("click").bind("click",bindSelectOne);
  135. var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
  136. $.post(deptUrl,{id:parentId,name:''},function(data){
  137. $("#OPER_DEPT_335").data("data",data);
  138. $("#OPER_DEPT_335").render();
  139. }, "json");
  140. //根据json生成更多筛选条件ul-li列表
  141. getChildInfo(conditionData);//-----------------------------------------查询里面的单位
  142. //输入框绑定事件
  143. //$(".Textinput").bind("change",inputChange);
  144. function getChildInfo(conditionData){//-----------------------------------------查询里面的单位
  145. var url = $.pathname() + '/ws/PlanHuiZong/ContingencyPlanHuiZong/getChidInfo/';
  146. var params = {
  147. id : deptId,
  148. parentID:parentId
  149. };
  150. $.ajax({
  151. url : url,
  152. type : 'post',
  153. data : params,
  154. dataType : 'json',
  155. success : function(data){
  156. conditionData2 = JSON.stringify(data);
  157. conditionData2 = conditionData2.replace(/\\\"/g,"\"");
  158. conditionData2 = conditionData2.replace(/\"{/g,"{");
  159. conditionData2 = conditionData2.replace(/}\"/g,"}");
  160. var test = eval("("+conditionData2+")");
  161. if(conditionData2!='{"list":[{"name":"查询部门","className":"UNITS","list":[]}]}'){
  162. test.dept.list[0].name="填报部门";
  163. test.dept.list[0].className = "OPER_DEPT";
  164. test.dept.list[0].equalType = "equal";
  165. //test.dept.list[0].selectType = "selectOnly";
  166. test.dept.list[0].list.splice(0,1,{"key":"本部门","value":deptId});
  167. var parentName = test.parent.list[0].list[0].key;
  168. /* if(parentName!=""){
  169. test.dept.list[0].list.splice(1,0,{"key":parentName,"value":parentId});
  170. } */
  171. conditionData.list.push(test.dept.list[0]);
  172. }
  173. createConditionsDom(conditionData);
  174. },
  175. error : function(e){
  176. $.messager.alert('系统提示信息', '访问服务失败!', 'error');
  177. }
  178. });
  179. }
  180. });
  181. </script>
  182. </head>
  183. <body>
  184. <div class="box2" panelTitle="" id="searchPanel" statusType="none" style="margin:10px 0">
  185. <fieldset>
  186. <form id="queryUserForm" method="post">
  187. <input type="hidden" id="listId" name="listId" value="335"/>
  188. <table width='100%' border='0'>
  189. <tr>
  190. <td width="25%">
  191. <input type="text" id="NAME_335" name="NAME_335" maxlength="15" watermark="请输入名称">&nbsp;&nbsp;
  192. <a id="searchButt" onclick="searchHandler()"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
  193. </td>
  194. <td width="7%">
  195. <!-- <button type="button" onclick="searchHandler()" ><span class="icon_find">查询</span></button> -->
  196. </td>
  197. <td align="right" ><a href='#'><span id="more" onclick="more();" class="more_hide">综合查询</span></a></td>
  198. </tr>
  199. </table>
  200. <div id="moreDiv" style="display: none;">
  201. <!-- 可选条件,改div作为容器,需保留 -->
  202. <div class="conditions" id="conditions">
  203. <!-- <tr><td align="right">部门名称:</td>
  204. <td><div class="selectTree" id="DEPT_NAMES_335" name="DEPT_NAMES_335" selWidth="200" boxHeight="260"></div></td>
  205. <td align="right">&nbsp;&nbsp;填报部门:</td>
  206. <td><div class="selectTree" id="OPER_DEPT_335" name="OPER_DEPT_335" selWidth="200" boxHeight="260"></div></td></tr>
  207. <tr align="left"><td align="right">&nbsp;&nbsp;发布状态:</td>
  208. <td id="tem1"><select name="RELEASE_335" id="RELEASE_335" prompt="请选择" data='{"list":[{"value":"0","key":"未发布"},{"value":"1","key":"已发布"}]}'> </select></td></tr> -->
  209. <!-- <tr align="left"><td align="right">发布时间:</td>
  210. <td><input type="text" style="width:194px" id="beginTime" readOnly="readOnly"class="date" dateFmt="yyyy-MM-dd" onchange="checkdate(1)"/></td>
  211. <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;到</td>
  212. <td><input type="text" style="width:194px" id="endTime" readOnly="readOnly" class="date" dateFmt="yyyy-MM-dd" onchange="checkdate(1)"/></td>
  213. </tr> -->
  214. <!-- <tr class="condiTitle">
  215. <td>上报时间:</td>
  216. <td><input type="text" style="width:194px" id="beginTime1" readOnly="readOnly" class="date" dateFmt="yyyy-MM-dd" onchange="checkdate(1)"/></td>
  217. <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;~</td>
  218. <input readonly="readonly" type="text" class="date" name="ARRIVE_TIME" id="endTime"/>
  219. <td><input type="text" style="width:194px" id="endTime1" readOnly="readOnly" class="date" dateFmt="yyyy-MM-dd" onchange="checkdate(1)"/></td>
  220. </tr> -->
  221. <ul>
  222. <li class="condiTitle">填报时间:</li>
  223. <li><input readonly="readonly" type="text" class="dateIcon beginTime" name="OPER_TIME" id="startTime"/>&nbsp; ~ &nbsp;
  224. <input readonly="readonly" type="text" class="dateIcon endTime" name="OPER_TIME" id="endTime"/>
  225. </li>
  226. </ul>
  227. </div>
  228. </div>
  229. </form>
  230. </fieldset>
  231. </div>
  232. <div id="content1"><div id="content"></div></div>
  233. </body>
  234. </html>