From ba2aa7b1b8e03e45ac071141ba30b453591148f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Fri, 22 Mar 2024 16:45:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/linearBarChart.vue | 23 ++++++++++--------- .../OperationalOverview/processingBoard.vue | 2 +- .../base/qualityScrapLog/add-or-updata.vue | 4 ++-- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/views/OperationalOverview/components/linearBarChart.vue b/src/views/OperationalOverview/components/linearBarChart.vue index f166f979..abcd3892 100644 --- a/src/views/OperationalOverview/components/linearBarChart.vue +++ b/src/views/OperationalOverview/components/linearBarChart.vue @@ -1,6 +1,6 @@ @@ -19,7 +19,7 @@ export default { }, className: { type: String, - default: 'chart' + default: 'enChart' }, width: { type: String, @@ -84,7 +84,7 @@ export default { }, methods: { initChart(nameList, dataList) { - console.log('1111', dataList); + // console.log('1111', dataList); // console.log(1) this.chart = echarts.init(document.getElementById(this.id)) // if (dataList.length !== 0) { @@ -123,13 +123,7 @@ export default { type: 'shadow' // 默认为直线,可选为:'line' | 'shadow' } }, - grid: { - top: 30, - left: '2%', - right: '2%', - bottom: '3%', - containLabel: true - }, + grid: { top: 90, right: 60, bottom: 20, left: 90 }, // legend: { // itemWidth: 10, // itemHeight: 10, @@ -205,4 +199,11 @@ export default { } } - + diff --git a/src/views/OperationalOverview/processingBoard.vue b/src/views/OperationalOverview/processingBoard.vue index dcf702b4..22366bf1 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-03-21 16:07:39 + * @LastEditTime: 2024-03-22 16:40:46 * @Description: -->