From 92c0c33fbda4e72dba24c7db89c4403492a828d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Wed, 26 Jun 2024 10:59:23 +0800 Subject: [PATCH 1/5] =?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/sub/chip/ChipRateItem.vue | 2 +- .../copilot/efficiency/options/chipOptions.js | 12 +- src/views/produce/data/index.vue | 10 +- .../report/components/produceLineBar.vue | 11 +- .../components/produceLineBarTarget.vue | 11 +- .../components/produceLineBarYearTarget.vue | 10 +- .../components/produceLineYieldBarTarget.vue | 14 +- src/views/report/comprehensiveData.vue | 12 +- src/views/report/produceConversion.vue | 64 ++-- src/views/report/productionSituationMW.vue | 168 ++++------ .../report/productionSituationTablets.vue | 290 +++++++++--------- src/views/report/productionYield.vue | 63 ++-- 12 files changed, 327 insertions(+), 340 deletions(-) diff --git a/src/views/copilot/efficiency/components/sub/chip/ChipRateItem.vue b/src/views/copilot/efficiency/components/sub/chip/ChipRateItem.vue index 8d90011..eea8a76 100644 --- a/src/views/copilot/efficiency/components/sub/chip/ChipRateItem.vue +++ b/src/views/copilot/efficiency/components/sub/chip/ChipRateItem.vue @@ -147,7 +147,7 @@ export default { 月: `${month}月良率`, 年: `${year}良率`, }[this.period]; - console.log(vt[1]); + console.log(vt[0]); const t = getOptions({ // single, color: this.color == 1 ? "#4CF0E8" : "#1065ff", diff --git a/src/views/copilot/efficiency/options/chipOptions.js b/src/views/copilot/efficiency/options/chipOptions.js index 3c50d1d..e9584b4 100644 --- a/src/views/copilot/efficiency/options/chipOptions.js +++ b/src/views/copilot/efficiency/options/chipOptions.js @@ -109,6 +109,9 @@ export default ({ { value: previousSum, name: preName, + tooltip: { + formatter: `${preName} : ${previousSum}` + }, selected: false, itemStyle: { borderJoin: "round", @@ -129,10 +132,11 @@ export default ({ }, }, { - value:previousSum == 0 - ? 1 - : 0, - name: "-", + value:previousSum === 0 ? 1 : 0, + name: preName, + tooltip: { + formatter: `${preName} : ${previousSum}` + }, itemStyle: { color: "transparent" }, label: { show: false }, }, diff --git a/src/views/produce/data/index.vue b/src/views/produce/data/index.vue index f3a6387..ae36f1a 100644 --- a/src/views/produce/data/index.vue +++ b/src/views/produce/data/index.vue @@ -1,8 +1,8 @@