From edb143b5bd676a943b278d18e5a3b4fcb88cbeb4 Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Wed, 9 Oct 2024 14:26:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/network/networknum/networknum.html | 37 ++++++++++++++++++- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/network/networknum/networknum.html b/ruoyi-admin/src/main/resources/templates/system/network/networknum/networknum.html index e04813c..d5307c5 100644 --- a/ruoyi-admin/src/main/resources/templates/system/network/networknum/networknum.html +++ b/ruoyi-admin/src/main/resources/templates/system/network/networknum/networknum.html @@ -24,11 +24,14 @@
+
+
+
-
+
-
+
@@ -263,6 +266,36 @@ }); } }) + var centerMain = echarts.init(document.getElementById('centerMain')); + axios.post(prefix + '/countNetMonth').then(response => { + if (response.data.code == web_status.SUCCESS){ + centerMain.setOption({ + title: { + text: '涉密网络统计' + }, + tooltip: {}, + legend: { + data:['涉密网络'], + }, + xAxis: { + data: response.data.data.xAxisData + }, + yAxis: { + + }, + series: [ + { + name: '涉密网络', + type: 'bar', + data: response.data.data.yAxisData, + itemStyle: { + color: '#ea9373' + } + } + ] + }); + } + })