123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <%@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 xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title></title>
- <%@include file="../../../include1.jsp" %>
- <script type="text/javascript" src="<%=path%>/page/business/am/warningDuty/DutyPlan.js"></script>
- <!-- 综合查询查询筛选过滤 js css -->
- <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 -->
- <script type="text/javascript">
- var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
- var conditionData={"list":[
- {"name":"发布状态","className":"RELEASE_STATE","list":[
- {"key":"全部","value":"0000"},{"key":"未发布","value":"0"},{"key":"已发布","value":"1"}
- ]},
- {"name":"每天班次数(个)","className":"DUTY_NUM","list":[
- {"key":"全部","value":"0000"},{"key":"1","value":"1"},{"key":"2","value":"2"},{"key":"3","value":"3"},{"key":"4","value":"4"}
- ]}
- ]};
- /***************若做时间双选框,需把这部分加上,id名根据自己html改*********************/
- var dateSkin="blue";
- function initComplete(){
- //获取当前主题风格,用于设置日期控件的皮肤
- try {
- dateSkin=themeColor;
- }
- catch(e){}
-
- //自定义点击触发日期控件
- document.getElementById('start1').onfocus=function(){
- var endtimeTf=$dp.$('end1');
- WdatePicker({
- skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'end1\')}'
- });
- };
- document.getElementById('end1').onfocus=function(){
- //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
- WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'start1\')}'});
- };
-
- document.getElementById('start2').onfocus=function(){
- var endtimeTf=$dp.$('end2');
- WdatePicker({
- skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'end2\')}'
- });
- };
- document.getElementById('end2').onfocus=function(){
- //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
- WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'start2\')}'});
- };
- }
-
- $(function(){
- //根据json生成综合查询筛选条件ul-li列表
- createConditionsDom(conditionData);
- });
- </script>
- </head>
- <body>
- <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0" >
- <fieldset>
- <form id="queryForm" method="post">
- <input id="hiddenText" type="text" style="display:none" />
- <div class="starSearch">
- <table style="width:100%;">
- <tr>
- <td width="80%">
- <input type="text" name="PLAN_NAME_315" id="PLAN_NAME_315" watermark="值班任务名称" width="300px"/>
- <a id="searchOne"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
- </td>
- <td width="20%" align="right"><a href="javascript:;"><span class="more_hide" id="more">综合查询</span></a></td>
- </tr>
- </table>
- </div>
- <div id="moreDiv" style="display: none;">
- <!-- 可选条件,该div作为容器,需保留 -->
- <div class="conditions" id="conditions">
- <ul>
- <li class="condiTitle">开始日期:</li>
- <li><input readonly="readonly" type="text" class="dateIcon beginTime" name="START_DATE" id="start1" /> ~
- <input readonly="readonly" type="text" class="dateIcon endTime" name="START_DATE" id="end1"/></li></ul>
- <ul>
- <li class="condiTitle">结束日期:</li>
- <li><input readonly="readonly" type="text" class="dateIcon beginTime" name="END_DATE" id="start2" /> ~
- <input readonly="readonly" type="text" class="dateIcon endTime" name="END_DATE" id="end2"/></li></ul>
- </div>
- </div>
- </form>
- </fieldset>
- </div>
- <div class="padding_right5">
- <div id="dataGrid" style="border: 1px #ccc solid"></div>
- </div>
- </body>
- </html>
|