活跃IP TOP10近一小时内最大值导出数据为空修复

This commit is contained in:
wangxin
2018-12-18 17:28:58 +06:00
parent 1cdaa9b19b
commit 14f4dd325c
3 changed files with 38 additions and 16 deletions

View File

@@ -61,7 +61,7 @@
<spring:message code="traffic_ipactive_hour_max"></spring:message>
</h3>
<div class="pull-right">
<button type="button" onClick="javascript:window.location='${ctx}/dashboard/export'" class="btn btn-default"><i class="fa fa-download"> <spring:message code="export"/></i></button>
<button type="button" onClick="return _export('${ctx}/dashboard/export');" class="btn btn-default"><i class="fa fa-download"> <spring:message code="export"/></i></button>
</div>
<br>
<br>
@@ -130,9 +130,6 @@ function searchList(){
}
}
function checkDate(start,end){
if(getDate(start)-getDate(end)>0){
alert("结束时间不能小于开始时间!");
@@ -147,7 +144,9 @@ function getDate(date){
}
return dateReturn;
}
function _export(url){
window.location=url+"?beginDate="+$("#beginDateh").val()+"&endDate="+$("#endDateh").val();
}