From 4bf067bcf0b5e430c0de591644c559c79beaf2d1 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Sun, 9 Dec 2018 19:21:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=81=E9=87=8F=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E4=B8=BB=E9=A2=98=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E8=AE=BE=E5=AE=9A=E5=9B=BE=E5=8D=95=E4=BD=8D=E4=B8=BA?= =?UTF-8?q?G=E4=BF=9D=E7=95=995=E4=BD=8D=E5=B0=8F=E6=95=B0=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0app,=E5=8D=8F=E8=AE=AE=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/dashboard/dashBoardIndex.jsp | 8 +- .../views/dashboard/trafficAppTypeList.jsp | 74 ++++++++++++++++++- .../dashboard/trafficProtocolTypeList.jsp | 63 +++++++++++++++- .../webapp/static/pages/scripts/echart.js | 49 ++++++------ 4 files changed, 162 insertions(+), 32 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp index 97000d781..afa91f820 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp @@ -41,7 +41,7 @@

-

In 0 | Out 0

+

c2s 0 | s2c 0

0 bps
@@ -398,7 +398,7 @@ $(document).ready(function(){ ipActiveList();//活跃IP portActiveList();//活跃端口 appTypeList();//应用类型 - systemList();//操作系统列表 +// systemList();//操作系统列表 websiteList();//http网站列表 topicAndDomainList();//主题网站域名 @@ -751,7 +751,7 @@ function osClick(osType,obj){ dataType:"json", cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时 success:function (rs) { - echart_5(rs.reverse()); + echart_5(rs); closeTip(); }, @@ -772,7 +772,7 @@ function bsClick(bsType,obj){ dataType:"json", cache:false,async:true,timeout:10000,//超时时间设置,查询接口时间过长超时 success:function (rs) { - echart_2(rs.reverse()); + echart_2(rs); closeTip(); }, diff --git a/src/main/webapp/WEB-INF/views/dashboard/trafficAppTypeList.jsp b/src/main/webapp/WEB-INF/views/dashboard/trafficAppTypeList.jsp index 4d4a30d30..f002494c9 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/trafficAppTypeList.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/trafficAppTypeList.jsp @@ -11,6 +11,14 @@ +