From bee302b08eeff45fca2eca9b5ecbe19bddeeea91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Wed, 17 Jan 2024 15:30:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/OperationalOverview/coldBoard.vue | 4 +- .../components/baseContainer/index.vue | 13 +- .../components/coldDoubleYChart.vue | 292 ++++++++++++++++++ .../components/doubleYChart .vue | 14 +- .../components/linearBarChart.vue | 1 + .../components/pileBarChart.vue | 13 +- .../OperationalOverview/processingBoard.vue | 4 +- 7 files changed, 324 insertions(+), 17 deletions(-) create mode 100644 src/views/OperationalOverview/components/coldDoubleYChart.vue diff --git a/src/views/OperationalOverview/coldBoard.vue b/src/views/OperationalOverview/coldBoard.vue index 847f9f77..430b57df 100644 --- a/src/views/OperationalOverview/coldBoard.vue +++ b/src/views/OperationalOverview/coldBoard.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-07-19 15:18:30 * @LastEditors: zhp - * @LastEditTime: 2024-01-15 16:03:39 + * @LastEditTime: 2024-01-17 14:00:15 * @Description: -->
-
+
{{ title }} - - +
+ + + + diff --git a/src/views/OperationalOverview/components/doubleYChart .vue b/src/views/OperationalOverview/components/doubleYChart .vue index 7dc389b7..2d43f501 100644 --- a/src/views/OperationalOverview/components/doubleYChart .vue +++ b/src/views/OperationalOverview/components/doubleYChart .vue @@ -1,13 +1,13 @@ @@ -152,11 +152,12 @@ export default { left: "3%", right: "5%", bottom: "3%", - width: 'auto', - height: "auto", containLabel: true }, legend: { + itemWidth: 10, + itemHeight: 10, + right: '20px', data: ['产线产量', '产线良品率'], textStyle: { fontSize: 12 * this.beilv, @@ -282,3 +283,8 @@ export default { } } + diff --git a/src/views/OperationalOverview/components/linearBarChart.vue b/src/views/OperationalOverview/components/linearBarChart.vue index 2ddb9ea3..3ad80f95 100644 --- a/src/views/OperationalOverview/components/linearBarChart.vue +++ b/src/views/OperationalOverview/components/linearBarChart.vue @@ -173,3 +173,4 @@ export default { } } + diff --git a/src/views/OperationalOverview/components/pileBarChart.vue b/src/views/OperationalOverview/components/pileBarChart.vue index 8aa32129..ecd50270 100644 --- a/src/views/OperationalOverview/components/pileBarChart.vue +++ b/src/views/OperationalOverview/components/pileBarChart.vue @@ -1,13 +1,13 @@ @@ -133,14 +133,17 @@ export default { // } this.chart.setOption({ legend: { + // top: '2.5%', + // right: '20px', textStyle: { color: '#ffffff' } }, grid: { + top:'80', left: '3%', right: '4%', - bottom: '3%', + // bottom: '3%', width: 'auto', height: 'auto', containLabel: true @@ -213,3 +216,7 @@ export default { } } + diff --git a/src/views/OperationalOverview/processingBoard.vue b/src/views/OperationalOverview/processingBoard.vue index 57280233..6adc59b0 100644 --- a/src/views/OperationalOverview/processingBoard.vue +++ b/src/views/OperationalOverview/processingBoard.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2021-07-19 15:18:30 * @LastEditors: zhp - * @LastEditTime: 2024-01-12 16:38:55 + * @LastEditTime: 2024-01-17 13:52:44 * @Description: -->