@@ -267,11 +270,11 @@
}
}
var myChart = echarts.init(document.getElementById('leftMain'));
- axios.post(prefix + '/countInfo').then(response => {
+ axios.post(prefix + '/countMessageMonth').then(response => {
if (response.data.code == web_status.SUCCESS){
myChart.setOption({
title: {
- text: '信息设备种类统计'
+ text: '涉密信息设备统计'
},
tooltip: {},
legend: {
@@ -299,6 +302,39 @@
});
}
})
+ var centerMain = echarts.init(document.getElementById('centerMain'));
+ axios.post(prefix + '/countSecretsMonth').then(response => {
+ if (response.data.code == web_status.SUCCESS){
+ centerMain.setOption({
+ title: {
+ text: '涉密设备统计'
+ },
+ tooltip: {},
+ legend: {
+ data:['数量']
+ },
+ xAxis: {
+ data: response.data.data.xAxisData,
+ axisLabel: {
+ rotate: 45, // 旋转标签的角度
+ margin: 10, // 标签与坐标轴的间距
+ },
+ },
+ yAxis: {
+ },
+ series: [
+ {
+ name: '数量',
+ type: 'bar',
+ data: response.data.data.yAxisData,
+ itemStyle: {
+ color: '#c3ea51'
+ }
+ }
+ ]
+ });
+ }
+ })
var rightMain = echarts.init(document.getElementById('rightMain'));
axios.post(prefix + '/countBF').then(response => {
if (response.data.code == web_status.SUCCESS){
From cf80fe2eec5adc59731d81358554c60662af76ca Mon Sep 17 00:00:00 2001
From: dshclm <3321914460@qq.com>
Date: Wed, 9 Oct 2024 08:53:02 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E6=B6=89=E5=AF=86=E4=BC=9A=E8=AE=AE?=
=?UTF-8?q?=E7=BB=9F=E8=AE=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../tdmeeting/meetingnum/meetingnum.html | 251 +++++++++++++++++-
1 file changed, 245 insertions(+), 6 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/templates/system/tdmeeting/meetingnum/meetingnum.html b/ruoyi-admin/src/main/resources/templates/system/tdmeeting/meetingnum/meetingnum.html
index c4ec13a..78abe86 100644
--- a/ruoyi-admin/src/main/resources/templates/system/tdmeeting/meetingnum/meetingnum.html
+++ b/ruoyi-admin/src/main/resources/templates/system/tdmeeting/meetingnum/meetingnum.html
@@ -1,10 +1,249 @@
-
+
-
-
Title
+
+
-
-1
+
+
+
+
+
+
+
-
\ No newline at end of file
+