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' + } + } + ] + }); + } + })