| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- <html xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>私塾家</title>
- <script th:include="sys/common/metaCSS" th:remove="tag"></script>
- <script th:include="sys/common/metaJS" th:remove="tag"></script>
- <script src="sys/js/My97DatePicker/WdatePicker.js" th:src="@{/static/sys/js/My97DatePicker/WdatePicker.js}"></script>
- </head>
- <style>
- .tablelink{margin-right:10px;}
- .stylecss{
- color: red;
- }
- .select_width{
- width: 220px;
- }
- .date_width{
- width: 150px;
- }
-
- .tablelist th,td{
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
-
- .tablelist td a{
- text-decoration: underline;
- }
-
- </style>
- <body>
- <div class="place">
- <span>位置:</span>
- <ul class="placeul">
- <li><a href="#">系统数据分析</a></li>
- <li><a href="#">家长端数据分析</a></li>
- </ul>
- </div>
- <div class="rightinfo">
- <form id="seachform" th:action="@{/sys/analysis/parent.html}" method="post">
- <input type="hidden" name="pageSize" id="pageSize" value="10" />
- <ul class="seachform">
- <li>
- <label>开始日期</label>
- <input type="text" id="date" name="date" class="form-control scinput" autocomplete="off" th:value="${search.date}" onclick="WdatePicker({dateFmt: 'yyyy-MM-dd',maxDate:'%y-%M-{%d-1}'})">
- </li>
- <li>
- <label>结束日期</label>
- <input type="text" id="date2" name="date2" class="form-control scinput" autocomplete="off" th:value="${search.date}" onclick="WdatePicker({dateFmt: 'yyyy-MM-dd',maxDate:'%y-%M-{%d-1}'})">
- </li>
- <li>
- <label>商户名称</label>
- <input name="unitName" type="text" class="scinput" th:value="${search.unitName}" />
- </li>
- <li>
- <input type="button" class="scbtn" value="查询" />
- <input type="button" id="button" class="scbtn" value="导出" />
- </li>
- </ul>
- </form>
- <table class="tablelist">
- <thead>
- <tr>
- <th >商户名称 </th>
- <th >机构名称 </th>
- <th >作业任务</th>
- <th >错题本</th>
- <th >成长报告 </th>
- <th >成长报告·周报</th>
- <th >成长报告·月报</th>
- <th >成长报告·学期</th>
- <th >定制练习</th>
- </tr>
- </thead>
- <tbody>
- <tr th:each="item:${list}" >
- <td th:title="${item.unit_name}" th:text="${item.unit_name}"></td>
- <td th:text="${item.league_name}"></td>
- <td >
- <a th:href="@{/sys/analysis/parent/info/12.html(libId=${item.get('lib_id')},date=${search.get('date')},date2=${search.get('date2')},title='作业任务')}">
- [[${item.get('count_0')}]]
- </a>
- </td>
- <td >
- <a th:href="@{/sys/analysis/parent/info/13.html(libId=${item.get('lib_id')},date=${search.get('date')},date2=${search.get('date2')},title='错题本')}">
- [[${item.get('count_1')}]]
- </a>
- </td>
- <td >
- <a th:href="@{/sys/analysis/parent/info/14.html(libId=${item.get('lib_id')},date=${search.get('date')},date2=${search.get('date2')},title='成长报告')}">
- [[${item.get('count_2')}]]
- </a>
- </td>
- <td >
- <a th:href="@{/sys/analysis/parent/info/15.html(libId=${item.get('lib_id')},date=${search.get('date')},date2=${search.get('date2')},title='成长报告·周报')}">
- [[${item.get('count_3')}]]
- </a>
- </td>
- <td >
- <a th:href="@{/sys/analysis/parent/info/16.html(libId=${item.get('lib_id')},date=${search.get('date')},date2=${search.get('date2')},title='成长报告·月报')}">
- [[${item.get('count_4')}]]
- </a>
- </td>
- <td >
- <a th:href="@{/sys/analysis/parent/info/17.html(libId=${item.get('lib_id')},date=${search.get('date')},date2=${search.get('date2')},title='成长报告·学期')}">
- [[${item.get('count_5')}]]
- </a>
- </td>
- <td >
- <a th:href="@{/sys/analysis/parent/info/18.html(libId=${item.get('lib_id')},date=${search.get('date')},date2=${search.get('date2')},title='定制练习')}">
- [[${item.get('count_6')}]]
- </a>
- </td>
- </tr>
- </tbody>
- </table>
- <!-- 分页 -->
- <div class="pagin">
- <div class="message">共<i class="blue">[[${page.rowCnt}]]</i>条记录,当前显示第 <i class="blue">[[${page.pageNo }]] </i>页</div>
- <div th:utext='${listNavigatHtml}' th:remove="tag" ></div>
- </div>
- </div>
- </body>
- <script type="text/javascript">
- $(function () {
- $("#button").on('click',function(){
- document.getElementById("seachform").action = "[[${sysUrl}]]/sys/analysis/parent/export.html";
- $("#seachform").submit();
- window.setTimeout(function(){
- document.getElementById("seachform").action = "[[${sysUrl}]]/sys/analysis/parent.html";
- },3000);
- });
- })
- </script>
- </html>
|