123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- <%@page contentType="text/html" pageEncoding="UTF-8"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>应急预警值班管理</title>
- <% String path = request.getContextPath(); %>
- <!--引入QUI框架js -->
- <%-- <%@include file="../../../../include1.jsp" %> --%>
- <!--框架必需start 扁平风格-->
- <link href="<%=path%>/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
- <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"/>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/jquery.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/language/cn.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/framework.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/main.js"></script>
- <!--框架必需end-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/text/vticker.js"></script>
- <!--自动提示框start-->
- <script type='text/javascript' src='<%=path%>/scripts/qui/libs/js/form/suggestion.js'></script>
- <!--自动提示框end-->
- <!--数据表格start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/table/quiGrid.js" ></script>
- <!--数据表格end-->
- <!--表单提交start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/form.js"></script>
- <!--表单提交end-->
- <!--表单验证start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/validation.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/validationRule.js"></script>
- <!--表单提交end-->
- <!-- 数字步进器start -->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/stepper.js"></script>
- <!-- 数字步进器end -->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/datePicker/WdatePicker.js"></script>
- <!--数据表格end-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/thirdparty/highcharts/js/highcharts.js"></script>
- <script src="<%=path%>/scripts/qui/libs/thirdparty/highcharts/js/highcharts-more.js"></script>
- <!--弹窗组件start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/messager.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/drag.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/dialog.js"></script>
- <!--弹窗组件end-->
- <!--布局组件start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/layout.js"></script>
- <!--布局组件start-->
- <!--基本选项卡start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/basicTab.js"></script>
- <!--基本选项卡end-->
- <!--动态选项卡start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/dynamicTab.js"></script>
- <!--动态选项卡end-->
- <!--树组件start-->
- <link rel="stylesheet" type="text/css" href="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.css" />
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/tree/ztree/ztree.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/selectTree.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/listerTree.js"></script>
- <!--树组件end-->
- <!--纵向抽屉容器start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/accordion.js"></script>
- <!--纵向抽屉容器end-->
- <!-- 双向选择器start -->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/lister.js"></script>
- <!--双向选择器end-->
- <!--上传附件start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/upload/fileUpload.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/form/upload/handlers.js"></script>
- <!-- 上传附件end -->
- <!--分隔条start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/nav/spliter.js"></script>
- <!--分隔条end-->
- <!--浮动面板start-->
- <script type="text/javascript" src="<%=path%>/scripts/qui/libs/js/popup/floatPanel.js"></script>
- <!--浮动面板end-->
- <!-- 扩展工具js -->
- <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/DateUtil.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/commom/common/common.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/tongyongqui.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/system/invoking/invoking.js"></script>
- <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
- <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
- <!-- 模版js和css start-->
- <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style1.css"
- rel="stylesheet" type="text/css" id="theme" themeColor="flatBlue"
- positionTarget="positionContent" selInputHeight="32"
- selButtonWidth="35" defaultSelWidth="200" fileBtnWidth="60"
- defaultFileInputWidth="200" defaultGridHeaderHeight="34"
- defaultGridRowHeight="38" defaultFontSize="12" defaultPageSelWidth="55"
- defaultFilterItemHeight="32" dialogWidthFix="0"
- defaultSelItemHeight="32" defaultFontFamily="宋体" />
- <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/nav/pageNumber.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/ECM_gridtemplate/changeFormat.js"></script>
- <link href="<%=path%>/scripts/ECM_gridtemplate/changeFormat.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/right/userClickNum.js"></script>
- <script type="text/javascript" src="resp_duty_list.js"></script>
- <script>
- var is_ok_release = true;
- var is_ok_sendup = true;
- var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getDeptids();
- var parentId = top.com.sinosoft.lz.system.user.LoginInfo.getParent_ids();
- var conditionData = {"list":[
- {"name":"发布状态","className":"RELEASE","list":[
- {"key":"全部","value":"0000"},{"key":"未发布","value":"0"},{"key":"已发布","value":"1"}
- ]}
- ]};
- function initComplete(){
- //获取当前主题风格,用于设置日期控件的皮肤
- try {
- dateSkin=themeColor;
- }
- catch(e){}
-
- //自定义点击触发日期控件
- document.getElementById('startTime').onfocus=function(){
- var endtimeTf=$dp.$('endTime');
- WdatePicker({
- skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endTime\')}'
- });
- };
- document.getElementById('endTime').onfocus=function(){
- //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
- WdatePicker({skin:dateSkin,minDate:'#F{$dp.$D(\'startTime\')}'});
- };
-
- }
- $(function(){
- //根据json生成更多筛选条件ul-li列表
- //createConditionsDom(conditionData);
- //ul-li列表点击事件
- $(".condiTitle").unbind("click",bindSelectOne);
- $(".item").unbind("click").bind("click",bindSelectOne);
- var deptUrl = $.pathname() + '/ws/dept/DeptService/getDepartTree';
- $.post(deptUrl,{id:parentId,name:''},function(data){
- $("#OPER_DEPT_335").data("data",data);
- $("#OPER_DEPT_335").render();
-
- }, "json");
- //根据json生成更多筛选条件ul-li列表
- getChildInfo(conditionData);//-----------------------------------------查询里面的单位
- //输入框绑定事件
- //$(".Textinput").bind("change",inputChange);
- function getChildInfo(conditionData){//-----------------------------------------查询里面的单位
- var url = $.pathname() + '/ws/PlanHuiZong/ContingencyPlanHuiZong/getChidInfo/';
- var params = {
- id : deptId,
- parentID:parentId
- };
- $.ajax({
- url : url,
- type : 'post',
- data : params,
- dataType : 'json',
- success : function(data){
- conditionData2 = JSON.stringify(data);
- conditionData2 = conditionData2.replace(/\\\"/g,"\"");
- conditionData2 = conditionData2.replace(/\"{/g,"{");
- conditionData2 = conditionData2.replace(/}\"/g,"}");
- var test = eval("("+conditionData2+")");
- if(conditionData2!='{"list":[{"name":"查询部门","className":"UNITS","list":[]}]}'){
- test.dept.list[0].name="填报部门";
- test.dept.list[0].className = "OPER_DEPT";
- test.dept.list[0].equalType = "equal";
- //test.dept.list[0].selectType = "selectOnly";
- test.dept.list[0].list.splice(0,1,{"key":"本部门","value":deptId});
- var parentName = test.parent.list[0].list[0].key;
- /* if(parentName!=""){
- test.dept.list[0].list.splice(1,0,{"key":parentName,"value":parentId});
- } */
- conditionData.list.push(test.dept.list[0]);
- }
- createConditionsDom(conditionData);
- },
- error : function(e){
- $.messager.alert('系统提示信息', '访问服务失败!', 'error');
- }
- });
- }
- });
-
- </script>
- </head>
- <body>
- <div class="box2" panelTitle="" id="searchPanel" statusType="none" style="margin:10px 0">
- <fieldset>
- <form id="queryUserForm" method="post">
- <input type="hidden" id="listId" name="listId" value="335"/>
- <table width='100%' border='0'>
- <tr>
- <td width="25%">
- <input type="text" id="NAME_335" name="NAME_335" maxlength="15" watermark="请输入名称">
- <a id="searchButt" onclick="searchHandler()"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
- </td>
- <td width="7%">
- <!-- <button type="button" onclick="searchHandler()" ><span class="icon_find">查询</span></button> -->
-
- </td>
- <td align="right" ><a href='#'><span id="more" onclick="more();" class="more_hide">综合查询</span></a></td>
- </tr>
- </table>
- <div id="moreDiv" style="display: none;">
- <!-- 可选条件,改div作为容器,需保留 -->
- <div class="conditions" id="conditions">
- <!-- <tr><td align="right">部门名称:</td>
- <td><div class="selectTree" id="DEPT_NAMES_335" name="DEPT_NAMES_335" selWidth="200" boxHeight="260"></div></td>
- <td align="right"> 填报部门:</td>
- <td><div class="selectTree" id="OPER_DEPT_335" name="OPER_DEPT_335" selWidth="200" boxHeight="260"></div></td></tr>
- <tr align="left"><td align="right"> 发布状态:</td>
- <td id="tem1"><select name="RELEASE_335" id="RELEASE_335" prompt="请选择" data='{"list":[{"value":"0","key":"未发布"},{"value":"1","key":"已发布"}]}'> </select></td></tr> -->
- <!-- <tr align="left"><td align="right">发布时间:</td>
- <td><input type="text" style="width:194px" id="beginTime" readOnly="readOnly"class="date" dateFmt="yyyy-MM-dd" onchange="checkdate(1)"/></td>
- <td> 到</td>
- <td><input type="text" style="width:194px" id="endTime" readOnly="readOnly" class="date" dateFmt="yyyy-MM-dd" onchange="checkdate(1)"/></td>
- </tr> -->
- <!-- <tr class="condiTitle">
- <td>上报时间:</td>
- <td><input type="text" style="width:194px" id="beginTime1" readOnly="readOnly" class="date" dateFmt="yyyy-MM-dd" onchange="checkdate(1)"/></td>
- <td> ~</td>
- <input readonly="readonly" type="text" class="date" name="ARRIVE_TIME" id="endTime"/>
- <td><input type="text" style="width:194px" id="endTime1" readOnly="readOnly" class="date" dateFmt="yyyy-MM-dd" onchange="checkdate(1)"/></td>
- </tr> -->
- <ul>
- <li class="condiTitle">填报时间:</li>
- <li><input readonly="readonly" type="text" class="dateIcon beginTime" name="OPER_TIME" id="startTime"/> ~
- <input readonly="readonly" type="text" class="dateIcon endTime" name="OPER_TIME" id="endTime"/>
- </li>
- </ul>
- </div>
- </div>
- </form>
- </fieldset>
- </div>
- <div id="content1"><div id="content"></div></div>
- </body>
- </html>
|