From b11303b7b3e84c736aa768a712bd027e3198730b Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Wed, 9 Oct 2024 15:12:52 +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/fileprovide/filenum/filenum.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/fileprovide/filenum/filenum.html b/ruoyi-admin/src/main/resources/templates/system/fileprovide/filenum/filenum.html index 918bb25..ec11d6b 100644 --- a/ruoyi-admin/src/main/resources/templates/system/fileprovide/filenum/filenum.html +++ b/ruoyi-admin/src/main/resources/templates/system/fileprovide/filenum/filenum.html @@ -26,9 +26,11 @@
+

自行制作

+

上级下发

@@ -193,21 +195,25 @@ if (response.data.code == web_status.SUCCESS){ myChart.setOption({ title: { - text: '载体类型统计' + text: '载体数量' }, tooltip: {}, legend: { - data:['载体类型'] + data:['数量'] }, xAxis: { data: response.data.data.xAxisData, + axisLabel: { + rotate: 45, // 旋转标签的角度 + margin: 10, // 标签与坐标轴的间距 + }, }, yAxis: { }, series: [ { - name: '载体类型', + name: '数量', type: 'bar', data: response.data.data.yAxisData, itemStyle: { @@ -224,13 +230,13 @@ if (response.data.code == web_status.SUCCESS){ rightMain.setOption({ title: { - text: '载体密级统计' + text: '载体数量' }, tooltip: {}, legend: { orient: 'vertical', x: 'right', - data: ['秘密', '机密', '绝密'] + data: response.data.data, }, series: [ {