From f9604db1b790f624fae4eaf40e4855eae4870f80 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Tue, 23 Apr 2024 16:58:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/LineChartshadow.vue | 2 +- src/views/dashboard/PieChart3.vue | 2 +- src/views/dashboard/crossBarChart.vue | 1 + src/views/quality/checkTypeProject/index.vue | 4 ++++ src/views/technology/proroute/index.vue | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/dashboard/LineChartshadow.vue b/src/views/dashboard/LineChartshadow.vue index 2b1d27a..c3b70fa 100644 --- a/src/views/dashboard/LineChartshadow.vue +++ b/src/views/dashboard/LineChartshadow.vue @@ -127,7 +127,7 @@ export default { yAxis: [ { type: "value", - name: "数量", + name: "数量(箱)", min: 0, max: max + 100, axisLabel: { diff --git a/src/views/dashboard/PieChart3.vue b/src/views/dashboard/PieChart3.vue index 1ed3b36..f68bbc8 100644 --- a/src/views/dashboard/PieChart3.vue +++ b/src/views/dashboard/PieChart3.vue @@ -130,7 +130,7 @@ export default { normal: { show: false, position: "center", - formatter: "{text|{b}}\n{c} ({d}%)", + formatter: "{text|{b}}\n{c} 箱({d}%)", rich: { text: { color: "#666", diff --git a/src/views/dashboard/crossBarChart.vue b/src/views/dashboard/crossBarChart.vue index e4b0af3..655124f 100644 --- a/src/views/dashboard/crossBarChart.vue +++ b/src/views/dashboard/crossBarChart.vue @@ -100,6 +100,7 @@ export default { }, // backgroundColor: "#031d33", xAxis: { + name:'箱', show: true, type: "value", // data:xData diff --git a/src/views/quality/checkTypeProject/index.vue b/src/views/quality/checkTypeProject/index.vue index f0ec419..3676f4a 100644 --- a/src/views/quality/checkTypeProject/index.vue +++ b/src/views/quality/checkTypeProject/index.vue @@ -220,6 +220,10 @@ + + + +