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: [ {