e433d05d0c4efda89c0ca579dcdc0aae39212c92.svn-base 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. <!--框架必需start-->
  8. <%@include file="../../../../include1.jsp" %>
  9. <!--引用资源文件,JS CSS-->
  10. <script type="text/javascript" src="<%=path%>/scripts/jquery/plugins/jquery.extension.util.js"></script>
  11. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/common.js"></script>
  12. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/utils.js"></script>
  13. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/frameWork/frameWork.js"></script>
  14. <script type="text/javascript" src="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
  15. <script type="text/javascript" src="/nwyj/scripts/business/em/report/addDo.js"></script>
  16. <script type="text/javascript" src="Report_main.js"></script>
  17. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/user/LoginInfo.js"></script>
  18. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
  19. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/invoking/invoking.js"></script>
  20. <link href="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
  21. <style type="text/css">
  22. .itns{
  23. position: relative;
  24. top:2px;
  25. display: inline;
  26. }
  27. .itns1{
  28. display: inline;
  29. }
  30. body{
  31. margin:0px;
  32. padding:0px;
  33. }
  34. </style>
  35. <script type="text/javascript">
  36. var currDate = getNowFormatDate();
  37. currDate = currDate.substring(0,4);
  38. var conditionData ={"list":[
  39. {"name":"上报状态","className":"APPEAR_STAT","list":[
  40. {"key":"全部","value":"0000"},{"key":"未上报","value":"0"},{"key":"已上报","value":"1"},{"key":"已撤回","value":"2"}
  41. ]},
  42. {
  43. "name":"填报季度","className":"SEASON","list":[
  44. {"key":"全部","value":"0000"},{"key":"第一季度","value":"1"},{"key":"第二季度","value":"2"},{"key":"第三季度","value":"3"},{"key":"第四季度","value":"4"}
  45. ]},
  46. {
  47. "name":"填报年份","className":"YEAR","list":[
  48. {"key":"全部","value":"0000"},{"key":currDate-6,"value":currDate-6},{"key":currDate-5,"value":currDate-5},{"key":currDate-4,"value":currDate-4},{"key":currDate-3,"value":currDate-3},
  49. {"key":currDate-2,"value":currDate-2},{"key":currDate-1,"value":currDate-1},{"key":currDate,"value":currDate}
  50. ]}
  51. ]};
  52. var dateIconSkin="blue";
  53. $(function(){
  54. try {
  55. dateSkin=themeColor;
  56. }
  57. catch(e){}
  58. //自定义点击触发日期控件
  59. document.getElementById('beginTime').onfocus=function(){
  60. var endtimeTf=$dp.$('endTime');
  61. WdatePicker({
  62. skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endTime\')}'
  63. });
  64. }
  65. document.getElementById('endTime').onfocus=function(){
  66. //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
  67. WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'beginTime\')}'});
  68. }
  69. document.getElementById('sendTime').onfocus=function(){
  70. var endtimeTf=$dp.$('endSendTime');
  71. WdatePicker({
  72. skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endSendTime\')}'
  73. });
  74. }
  75. document.getElementById('endSendTime').onfocus=function(){
  76. //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
  77. WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'sendTime\')}'});
  78. }
  79. createConditionsDom(conditionData);
  80. //ul-li列表点击事件
  81. $(".item").unbind("click").bind("click",bindSelectOne);
  82. //输入框绑定事件
  83. $(".Textinput").bind("change",inputChange);
  84. //单个时间框绑定
  85. //$("#conOneId_cssrk3").bind("blur",inputChange);
  86. //双时间框绑定
  87. $("#endTime").bind("blur",function(){var $self = $(this);timeChange($self,"beginTime","endTime")});
  88. $("#endSendTime").bind("blur",function(){var $self = $(this);timeChange($self,"sendTime","endSendTime")});
  89. });
  90. </script>
  91. </head>
  92. <body >
  93. <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0">
  94. <fieldset>
  95. <form id="queryForm" method="post">
  96. <table style="width:100%;margin: 0 0 3px 0" >
  97. <tr>
  98. <td>
  99. <input id="query" name="query" type="text" style="width: 180px; height:28px;background-color: #FFFFFF;" onkeyup="check(event);" watermark="请输入报表名称" />
  100. <div id="quer">
  101. <!-- <input type="button" onclick="find();" value="查询" id="querys" /> -->
  102. <a id="querys" onclick="findMsg();"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png"/></a>
  103. </div>
  104. </td>
  105. <td width="20%" align="right"><a href="javascript:;"><span id="more" onclick="more()" class="more_hide">综合查询</span></a></td>
  106. </tr>
  107. </table>
  108. <div id="moreDiv" style="display: none;">
  109. <div class="conditions" id="conditions">
  110. <ul>
  111. <li class="condiTitle">填报人:</li>
  112. <li><input type="text" id="write" name="REPORTER" onkeyup="check(event);" class="Textinput"></input></li>
  113. </ul>
  114. <!-- <ul>
  115. <li class="condiTitle">预警编号:</li>
  116. <li><input type="text" id="report_id" name="REPORT_ID" onkeyup="check(event);" class="Textinput"/></li>
  117. </ul> -->
  118. <ul>
  119. <li class="condiTitle">填报时间:</li>
  120. <li>
  121. <input type="text" id="beginTime" name="REPORT_TIME" class="dateIcon beginTime" readOnly="readonly" onkeyup="check(event);" />
  122. ~
  123. <input type="text" id="endTime" class="dateIcon endTime" readOnly="readonly" name="REPORT_TIME" />
  124. </li>
  125. </ul>
  126. <ul>
  127. <li class="condiTitle">上报时间:</li>
  128. <li>
  129. <input type="text" id="sendTime" name="APPEAR_TIME" class="dateIcon beginTime" readOnly="readonly" onkeyup="check(event);" />
  130. ~
  131. <input type="text" id="endSendTime" class="dateIcon endTime" readOnly="readonly" name="APPEAR_TIME" />
  132. </li>
  133. </ul>
  134. </div>
  135. </div>
  136. </form>
  137. </fieldset>
  138. </div>
  139. <div class="padding_right5">
  140. <div id="maingrid"></div>
  141. </div>
  142. </body>
  143. </html>