From 8a54c046d97a2ffe56c16e33bf94b945685e4b25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Wed, 3 Apr 2024 17:20:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/OperationalOverview/coldBoard.vue | 4 ++-- .../OperationalOverview/components/doubleYChart .vue | 4 ++-- src/views/OperationalOverview/processingBoard.vue | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/OperationalOverview/coldBoard.vue b/src/views/OperationalOverview/coldBoard.vue index 09374785..550cc449 100644 --- a/src/views/OperationalOverview/coldBoard.vue +++ b/src/views/OperationalOverview/coldBoard.vue @@ -1,7 +1,7 @@ @@ -651,7 +651,7 @@ export default { wasteList.push(ele.wastArea) nameWasteList.push('缺陷面积:' + this.NumFormat(ele.wastArea) + '㎡') sumAreaList.push(ele.sumArea) - yieldList.push(parseFloat((ele.yield * 100).toFixed(2))) + yieldList.push(parseFloat((ele.yield * 100).toFixed(0))) }) this.$nextTick(() => { this.$refs.firstPileChart.initChart(nameList, [topNameList[0]], [nameWasteList[0]], [productList[0]], [wasteList[0]]) diff --git a/src/views/OperationalOverview/components/doubleYChart .vue b/src/views/OperationalOverview/components/doubleYChart .vue index 9c46b271..70a842dd 100644 --- a/src/views/OperationalOverview/components/doubleYChart .vue +++ b/src/views/OperationalOverview/components/doubleYChart .vue @@ -1,7 +1,7 @@ @@ -227,7 +227,7 @@ export default { nameTextStyle: {// y轴上方单位的颜色 color: 'rgba(255,255,255,0.5)', // 坐标值得具体的颜色 align: "left", - padding: [0, 0, 0, 8] + padding: [0, 0, 0, 2] }, position: 'right', alignTicks: true, diff --git a/src/views/OperationalOverview/processingBoard.vue b/src/views/OperationalOverview/processingBoard.vue index e8e114e5..ac7251a3 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-04-03 15:59:25 + * @LastEditTime: 2024-04-03 17:14:03 * @Description: -->