a9c3096d573c22bfbc7e00b8e837c3fba7bac340.svn-base 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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/DutyRecords.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. ]};
  21. /***************若做时间双选框,需把这部分加上,id名根据自己html改*********************/
  22. var dateSkin="blue";
  23. function initComplete(){
  24. //获取当前主题风格,用于设置日期控件的皮肤
  25. try {
  26. dateSkin=themeColor;
  27. }
  28. catch(e){}
  29. //自定义点击触发日期控件
  30. document.getElementById('beginTime').onfocus=function(){
  31. var endtimeTf=$dp.$('endTime');
  32. WdatePicker({
  33. skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endTime\')}'
  34. });
  35. };
  36. document.getElementById('endTime').onfocus=function(){
  37. //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
  38. WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'beginTime\')}'});
  39. };
  40. document.getElementById('beginTime1').onfocus=function(){
  41. var endtimeTf=$dp.$('endTime1');
  42. WdatePicker({
  43. skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endTime1\')}'
  44. });
  45. };
  46. document.getElementById('endTime1').onfocus=function(){
  47. //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
  48. WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'beginTime1\')}'});
  49. };
  50. }
  51. $(function(){
  52. //根据json生成综合查询筛选条件ul-li列表
  53. createConditionsDom(conditionData);
  54. });
  55. </script>
  56. </head>
  57. <body>
  58. <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0" >
  59. <fieldset>
  60. <form id="queryForm" method="post">
  61. <input id="hiddenText" type="text" style="display:none" />
  62. <div class="starSearch">
  63. <table style="width:100%;">
  64. <tr>
  65. <td width="80%">
  66. <input type="text" name="DUTY_RECORD_NAME_316" id="DUTY_RECORD_NAME_316" watermark="记录名称" width="300px"/>&nbsp;&nbsp;
  67. <a id="searchOne"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png" alt="" /></a>
  68. </td>
  69. <td width="20%" align="right"><a href="javascript:;"><span class="more_hide" id="more">综合查询</span></a></td>
  70. </tr>
  71. </table>
  72. </div>
  73. <div id="moreDiv" style="display: none;">
  74. <!-- 可选条件,该div作为容器,需保留 -->
  75. <div class="conditions" id="conditions">
  76. </div>
  77. </div>
  78. </form>
  79. </fieldset>
  80. </div>
  81. <div class="padding_right5">
  82. <div id="dataGrid" style="border: 1px #ccc solid"></div>
  83. </div>
  84. </body>
  85. </html>