db74e94b0bb213deabbc62fec63e870501074318.svn-base 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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 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. <script type="text/javascript" src="<%=path%>/page/business/am/warningDuty/DutyPlan.js"></script>
  9. <!-- 综合查询查询筛选过滤 js css -->
  10. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/system/invoking/invoking.js"></script>
  11. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  12. <link href="<%=path%>/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  13. <!-- 综合查询查询筛选过滤 js css -->
  14. <script type="text/javascript">
  15. var deptId = top.com.sinosoft.lz.system.user.LoginInfo.getCorp_ids();
  16. var conditionData={"list":[
  17. {"name":"发布状态","className":"RELEASE_STATE","list":[
  18. {"key":"全部","value":"0000"},{"key":"未发布","value":"0"},{"key":"已发布","value":"1"}
  19. ]},
  20. {"name":"每天班次数(个)","className":"DUTY_NUM","list":[
  21. {"key":"全部","value":"0000"},{"key":"1","value":"1"},{"key":"2","value":"2"},{"key":"3","value":"3"},{"key":"4","value":"4"}
  22. ]}
  23. ]};
  24. /***************若做时间双选框,需把这部分加上,id名根据自己html改*********************/
  25. var dateSkin="blue";
  26. function initComplete(){
  27. //获取当前主题风格,用于设置日期控件的皮肤
  28. try {
  29. dateSkin=themeColor;
  30. }
  31. catch(e){}
  32. //自定义点击触发日期控件
  33. document.getElementById('start1').onfocus=function(){
  34. var endtimeTf=$dp.$('end1');
  35. WdatePicker({
  36. skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'end1\')}'
  37. });
  38. };
  39. document.getElementById('end1').onfocus=function(){
  40. //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
  41. WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'start1\')}'});
  42. };
  43. document.getElementById('start2').onfocus=function(){
  44. var endtimeTf=$dp.$('end2');
  45. WdatePicker({
  46. skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'end2\')}'
  47. });
  48. };
  49. document.getElementById('end2').onfocus=function(){
  50. //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
  51. WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'start2\')}'});
  52. };
  53. }
  54. $(function(){
  55. //根据json生成综合查询筛选条件ul-li列表
  56. createConditionsDom(conditionData);
  57. });
  58. </script>
  59. </head>
  60. <body>
  61. <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0" >
  62. <fieldset>
  63. <form id="queryForm" method="post">
  64. <input id="hiddenText" type="text" style="display:none" />
  65. <div class="starSearch">
  66. <table style="width:100%;">
  67. <tr>
  68. <td width="80%">
  69. <input type="text" name="PLAN_NAME_315" id="PLAN_NAME_315" watermark="值班任务名称" width="300px"/>&nbsp;&nbsp;
  70. <a id="searchOne"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
  71. </td>
  72. <td width="20%" align="right"><a href="javascript:;"><span class="more_hide" id="more">综合查询</span></a></td>
  73. </tr>
  74. </table>
  75. </div>
  76. <div id="moreDiv" style="display: none;">
  77. <!-- 可选条件,该div作为容器,需保留 -->
  78. <div class="conditions" id="conditions">
  79. <ul>
  80. <li class="condiTitle">开始日期:</li>
  81. <li><input readonly="readonly" type="text" class="dateIcon beginTime" name="START_DATE" id="start1" />&nbsp; ~ &nbsp;
  82. <input readonly="readonly" type="text" class="dateIcon endTime" name="START_DATE" id="end1"/></li></ul>
  83. <ul>
  84. <li class="condiTitle">结束日期:</li>
  85. <li><input readonly="readonly" type="text" class="dateIcon beginTime" name="END_DATE" id="start2" />&nbsp; ~ &nbsp;
  86. <input readonly="readonly" type="text" class="dateIcon endTime" name="END_DATE" id="end2"/></li></ul>
  87. </div>
  88. </div>
  89. </form>
  90. </fieldset>
  91. </div>
  92. <div class="padding_right5">
  93. <div id="dataGrid" style="border: 1px #ccc solid"></div>
  94. </div>
  95. </body>
  96. </html>