1.report前端分页

2.report的时间搜索框显示默认时间(当日)
This commit is contained in:
chenjinsong
2018-07-11 13:50:24 +08:00
parent 37b358eecb
commit e989f78fe6
7 changed files with 163 additions and 14 deletions

View File

@@ -1,9 +1,7 @@
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<script type="text/javascript">
$(function(){
});
</script>
<%@ include file="/WEB-INF/include/form/pageGroup.jsp"%>
<%-- <script src="${ctxStatic }/pages/scripts/pageGroup.js" type="text/javascript"></script> --%>
<table id="tagTable" class="table table-striped table-bordered table-condensed text-nowrap">
<thead>
<tr>
@@ -29,4 +27,4 @@ $(function(){
</c:forEach>
</tbody>
</table>
<div class="page">${page}</div>
<div class="page"></div>

View File

@@ -109,7 +109,8 @@ var ajaxReport=function(url,target){
$.ajax({
type:'post',
async:false,
url:'${ctx}'+url,///report/ajaxNtcTagReport
cache:false,
url:'${ctx}'+url+"?random="+Math.random,///report/ajaxNtcTagReport
data:{
"action":$('[name="action"]').val(),
"reportType":$('[name="reportType"]').val(),
@@ -118,10 +119,11 @@ var ajaxReport=function(url,target){
dataType:"html",
success:function(data){
$(target).html(data);//#label
pagination();
closeTip();
}
});
}
});
};
</script>
</head>
<body>

View File

@@ -1,9 +1,7 @@
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<script type="text/javascript">
$(function(){
});
</script>
<%@ include file="/WEB-INF/include/form/pageGroup.jsp"%>
<%-- <script src="${ctxStatic }/pages/scripts/pageGroup.js" type="text/javascript"></script> --%>
<table id="contentTable1" class="table table-striped table-bordered table-condensed text-nowrap">
<thead>
<tr>
@@ -25,7 +23,7 @@ $(function(){
<td>${cloumn}</td>
</c:forEach>
</tr>
</c:forEach>
</c:forEach>
</tbody>
</table>
<div class="page">${page}</div>
<div class="page"></div>