注释流量统计详情界面定时刷新任务,防止跟查询条件不一致,界面统一标题下加一条横线
This commit is contained in:
@@ -98,9 +98,9 @@
|
||||
$("#searchForm")[0].reset();
|
||||
});
|
||||
|
||||
setInterval(function(){
|
||||
actionTransAjax($("#searchAction").val(),starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
},500000);// 五分钟调用一次
|
||||
// setInterval(function(){
|
||||
// actionTransAjax($("#searchAction").val(),starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
// },500000);// 五分钟调用一次
|
||||
});
|
||||
function searchList() {
|
||||
// loading();
|
||||
@@ -113,22 +113,8 @@
|
||||
}
|
||||
}
|
||||
// 局点信息
|
||||
function showActionTransChart(rs) {
|
||||
var data = new Array();
|
||||
var xData = new Array();
|
||||
xData = rs.statTime;
|
||||
var series = new Array();
|
||||
|
||||
var total = 0;
|
||||
$(rs.sum).each(function(i,d) {
|
||||
total+=d
|
||||
})
|
||||
function showActionTransChart(xData,series) {
|
||||
|
||||
$("#total").val(JSON.stringify(total));
|
||||
series.push({
|
||||
name: 'sum',
|
||||
data: rs.sum
|
||||
});
|
||||
var chart = Highcharts.chart('chart',
|
||||
{
|
||||
chart : {
|
||||
@@ -211,10 +197,25 @@
|
||||
url : "${ctx}/dashboard/traffic/ajaxNtcTotalReportDetail?searchAction="+searchAction+"&beginDate="+beginDate+"&endDate="+endDate,
|
||||
type : "get",
|
||||
dataType : "json",
|
||||
cache : false,
|
||||
async : false,
|
||||
success : function(rs) {
|
||||
showActionTransChart(rs);
|
||||
var data = new Array();
|
||||
var xData = new Array();
|
||||
var series = new Array();
|
||||
var total = 0;
|
||||
if(rs!=null){
|
||||
$(rs.sum).each(function(i,d) {
|
||||
total+=d
|
||||
})
|
||||
xData = rs.statTime;
|
||||
data =rs.sum;
|
||||
}
|
||||
$("#total").val(JSON.stringify(total));
|
||||
series.push({
|
||||
name: 'sum',
|
||||
data: data
|
||||
});
|
||||
showActionTransChart(xData,series);
|
||||
closeTip();
|
||||
},
|
||||
error : function(data, textStatus, errorThrown) {
|
||||
@@ -273,8 +274,6 @@
|
||||
});
|
||||
};
|
||||
}(Highcharts));
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -17,6 +17,7 @@
|
||||
<h3 class="page-title">
|
||||
<spring:message code="${searchAction}"></spring:message>
|
||||
</h3>
|
||||
<h5 class="page-header"></h5>
|
||||
<div class="row" >
|
||||
<form:form id="searchForm" method="get" class="form-search">
|
||||
<!-- 搜索内容与操作按钮栏 -->
|
||||
@@ -80,9 +81,9 @@ $(document).ready(function(){
|
||||
$("#searchForm")[0].reset();
|
||||
});
|
||||
|
||||
setInterval(function(){
|
||||
actionTransAjax($("#searchAction").val(),starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
},500000);// 五分钟调用一次
|
||||
// setInterval(function(){
|
||||
// actionTransAjax($("#searchAction").val(),starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
// },500000);// 五分钟调用一次
|
||||
});
|
||||
function searchList(){
|
||||
loading();
|
||||
|
||||
@@ -132,9 +132,9 @@ $(document).ready(function(){
|
||||
$(".Wdate").attr("value",'');
|
||||
$("#searchForm")[0].reset();
|
||||
});
|
||||
setInterval(function(){
|
||||
ajaxAppList(starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
},500000);// 五分钟调用一次
|
||||
// setInterval(function(){
|
||||
// ajaxAppList(starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
// },500000);// 五分钟调用一次
|
||||
});
|
||||
function searchList(){
|
||||
loading();
|
||||
|
||||
@@ -99,9 +99,9 @@ $(document).ready(function(){
|
||||
changeBandwidth($("#unitType").val(),$("#beginDate").val(),$("#endDate").val());
|
||||
});
|
||||
|
||||
setInterval(function(){
|
||||
changeBandwidth($("#unitType").val(),$("#beginDate").val(),new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
},500000);// 五分钟调用一次
|
||||
// setInterval(function(){
|
||||
// changeBandwidth($("#unitType").val(),$("#beginDate").val(),new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
// },500000);// 五分钟调用一次
|
||||
|
||||
//筛选功能初始化
|
||||
$("#resetBtn").on("click",function(){
|
||||
|
||||
@@ -110,9 +110,9 @@ $(document).ready(function(){
|
||||
$("#searchForm")[0].reset();
|
||||
});
|
||||
|
||||
setInterval(function(){
|
||||
ajaxProtocolList(starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
},500000);// 五分钟调用一次
|
||||
// setInterval(function(){
|
||||
// ajaxProtocolList(starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
// },500000);// 五分钟调用一次
|
||||
});
|
||||
function searchList(){
|
||||
var start=$("#beginDate").val();
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<h3 class="page-title">
|
||||
<spring:message code="traffic_ipactive_hour_trend"></spring:message>
|
||||
</h3>
|
||||
<h5 class="page-header"></h5>
|
||||
<div class="row" >
|
||||
<form:form id="searchForm" action="${ctx}/traffic/ipActiveList" method="get" class="form-search">
|
||||
<input id="beginDateh" type="hidden" value="${beginDate}"/>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
<h3 class="page-title">
|
||||
<spring:message code="active_port"></spring:message>
|
||||
</h3>
|
||||
<h5 class="page-header"></h5>
|
||||
<div class="row" >
|
||||
<form:form id="searchForm" action="${ctx}/dashboard/portActiveList" method="get" class="form-search">
|
||||
<input id="beginDateh" type="hidden" value="${beginDate}"/>
|
||||
|
||||
@@ -123,9 +123,9 @@ $(document).ready(function(){
|
||||
$("#searchForm")[0].reset();
|
||||
});
|
||||
|
||||
setInterval(function(){
|
||||
ajaxProtocolList(starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
},500000);// 五分钟调用一次
|
||||
// setInterval(function(){
|
||||
// ajaxProtocolList(starth,new Date().Format("yyyy-MM-dd HH:mm:00"));
|
||||
// },500000);// 五分钟调用一次
|
||||
});
|
||||
function searchList(){
|
||||
loading();
|
||||
|
||||
@@ -186,10 +186,10 @@
|
||||
});
|
||||
ajaxWebTypeList(starth, endh);
|
||||
|
||||
setInterval(function() {
|
||||
ajaxWebTypeList(starth, new Date()
|
||||
.Format("yyyy-MM-dd HH:mm:00"));
|
||||
}, 500000);// 五分钟调用一次
|
||||
// setInterval(function() {
|
||||
// ajaxWebTypeList(starth, new Date()
|
||||
// .Format("yyyy-MM-dd HH:mm:00"));
|
||||
// }, 500000);// 五分钟调用一次
|
||||
});
|
||||
function searchList() {
|
||||
var start = $("#beginDate").val();
|
||||
|
||||
Reference in New Issue
Block a user