diff --git a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp index ae7183090..de3a6d5f1 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp @@ -79,7 +79,7 @@ body {

-

in 0 | out 0

+

IN 0 | OUT 0

0 bps
diff --git a/src/main/webapp/WEB-INF/views/dashboard/trafficAppTrendList.jsp b/src/main/webapp/WEB-INF/views/dashboard/trafficAppTrendList.jsp index 1f8b906af..c05a490ba 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/trafficAppTrendList.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/trafficAppTrendList.jsp @@ -240,8 +240,14 @@ $(this).find("option").attr("selected",false); // $(this).find("option:first").attr("selected",true); }); - $(".Wdate").attr("value", ''); +// $(".Wdate").attr("value", ''); + var deftime=(new Date().getTime())-(1000 * 60 * 60); + var defbegin=dateFtt("yyyy-MM-dd hh:mm:ss",new Date(deftime)); // 默认一小时 + var defend=dateFtt("yyyy-MM-dd hh:mm:ss",new Date()); + $("#searchForm2")[0].reset(); + $("#beginDate").val(defbegin); + $("#endDate").val(defend); }); $(".searchQuota").on("click",function(){ $(".searchQuota").removeClass("active"); @@ -556,7 +562,6 @@ } } function realTimeTrendAjax(beginDate, endDate,appType,entranceId,isp){ - console.log(isp) var result={}; $.ajax({ url : "${ctx}/dashboard/traffic/ajaxAppTrend",