123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- <%@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>
- <!--框架必需start-->
- <%@include file="../../../../include1.jsp" %>
- <!--引用资源文件,JS CSS-->
- <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/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="<%=path%>/scripts/freamwork/com/sinosoft/common/utils/Request.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/business/em/report/addDo.js"></script>
- <script type="text/javascript" src="Report_main.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/user/LoginInfo.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.js"></script>
- <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/invoking/invoking.js"></script>
- <link href="/nwyj/scripts/freamwork/com/sinosoft/common/searchUtil.css" rel="stylesheet" type="text/css"/>
-
-
-
- <style type="text/css">
- .itns{
- position: relative;
- top:2px;
- display: inline;
- }
- .itns1{
- display: inline;
- }
- body{
- margin:0px;
- padding:0px;
- }
- </style>
- <script type="text/javascript">
- var currDate = getNowFormatDate();
- currDate = currDate.substring(0,4);
- var conditionData ={"list":[
- {"name":"上报状态","className":"APPEAR_STAT","list":[
- {"key":"全部","value":"0000"},{"key":"未上报","value":"0"},{"key":"已上报","value":"1"},{"key":"已撤回","value":"2"}
-
- ]},
- {
- "name":"填报季度","className":"SEASON","list":[
- {"key":"全部","value":"0000"},{"key":"第一季度","value":"1"},{"key":"第二季度","value":"2"},{"key":"第三季度","value":"3"},{"key":"第四季度","value":"4"}
- ]},
- {
- "name":"填报年份","className":"YEAR","list":[
- {"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},
- {"key":currDate-2,"value":currDate-2},{"key":currDate-1,"value":currDate-1},{"key":currDate,"value":currDate}
- ]}
- ]};
-
- var dateIconSkin="blue";
- $(function(){
- try {
- dateSkin=themeColor;
- }
- catch(e){}
-
- //自定义点击触发日期控件
- document.getElementById('beginTime').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,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'beginTime\')}'});
- }
-
-
-
- document.getElementById('sendTime').onfocus=function(){
- var endtimeTf=$dp.$('endSendTime');
- WdatePicker({
- skin:dateSkin,onpicked:function(){endtimeTf.focus();},maxDate:'#F{$dp.$D(\'endSendTime\')}'
- });
- }
- document.getElementById('endSendTime').onfocus=function(){
- //这里设置了最大日期为当前日期,如果不需要则把maxDate:'%y-%M-%d'去掉
- WdatePicker({skin:dateSkin,maxDate:'%y-%M-%d',minDate:'#F{$dp.$D(\'sendTime\')}'});
- }
-
-
- createConditionsDom(conditionData);
- //ul-li列表点击事件
- $(".item").unbind("click").bind("click",bindSelectOne);
- //输入框绑定事件
- $(".Textinput").bind("change",inputChange);
- //单个时间框绑定
- //$("#conOneId_cssrk3").bind("blur",inputChange);
- //双时间框绑定
- $("#endTime").bind("blur",function(){var $self = $(this);timeChange($self,"beginTime","endTime")});
- $("#endSendTime").bind("blur",function(){var $self = $(this);timeChange($self,"sendTime","endSendTime")});
- });
-
- </script>
- </head>
- <body >
- <div class="box2" id="searchPanel" statusType="none" style="margin: 10px 0">
- <fieldset>
- <form id="queryForm" method="post">
- <table style="width:100%;margin: 0 0 3px 0" >
- <tr>
- <td>
- <input id="query" name="query" type="text" style="width: 180px; height:28px;background-color: #FFFFFF;" onkeyup="check(event);" watermark="请输入报表名称" />
- <div id="quer">
- <!-- <input type="button" onclick="find();" value="查询" id="querys" /> -->
- <a id="querys" onclick="findMsg();"><img src="/nwyj/scripts/qui/libs/icons/toolbar_icons/search_tem.png"/></a>
- </div>
- </td>
- <td width="20%" align="right"><a href="javascript:;"><span id="more" onclick="more()" class="more_hide">综合查询</span></a></td>
- </tr>
- </table>
-
- <div id="moreDiv" style="display: none;">
- <div class="conditions" id="conditions">
- <ul>
- <li class="condiTitle">填报人:</li>
- <li><input type="text" id="write" name="REPORTER" onkeyup="check(event);" class="Textinput"></input></li>
- </ul>
- <!-- <ul>
- <li class="condiTitle">预警编号:</li>
- <li><input type="text" id="report_id" name="REPORT_ID" onkeyup="check(event);" class="Textinput"/></li>
- </ul> -->
- <ul>
- <li class="condiTitle">填报时间:</li>
- <li>
- <input type="text" id="beginTime" name="REPORT_TIME" class="dateIcon beginTime" readOnly="readonly" onkeyup="check(event);" />
- ~
- <input type="text" id="endTime" class="dateIcon endTime" readOnly="readonly" name="REPORT_TIME" />
- </li>
- </ul>
- <ul>
- <li class="condiTitle">上报时间:</li>
- <li>
- <input type="text" id="sendTime" name="APPEAR_TIME" class="dateIcon beginTime" readOnly="readonly" onkeyup="check(event);" />
- ~
- <input type="text" id="endSendTime" class="dateIcon endTime" readOnly="readonly" name="APPEAR_TIME" />
- </li>
- </ul>
-
- </div>
- </div>
- </form>
- </fieldset>
- </div>
- <div class="padding_right5">
- <div id="maingrid"></div>
- </div>
- </body>
- </html>
|