From 06ab8159c5309ea8fcefcf217045463572606780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Thu, 11 Jul 2024 14:49:48 +0800 Subject: [PATCH 1/2] =?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/components/Breadcrumb/index.vue | 8 ++++---- .../dayReportExportChart/productYield.vue | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index 736fc0a..f956099 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -35,12 +35,12 @@ export default { if (val == true) { let item = document.getElementsByClassName('el-breadcrumb__separator') // let item =document.getElementsByClassName('') - item[0].classList.add("changeColor") - item[1].classList.add("changeColor") + item[0].style.color = rgba(255, 255, 255, 0.45) + item[1].style.color = rgba(255, 255, 255, 0.45) } else { let item = document.getElementsByClassName('el-breadcrumb__separator') - item[0].classList.remove("changeColor") - item[1].classList.remove("changeColor") + item[0].style.color = '' + item[1].style.color = '' } }, $route(route) { diff --git a/src/views/produce/workOrder/dayReportComponents/dayReportExportChart/productYield.vue b/src/views/produce/workOrder/dayReportComponents/dayReportExportChart/productYield.vue index 1904367..dd6815c 100644 --- a/src/views/produce/workOrder/dayReportComponents/dayReportExportChart/productYield.vue +++ b/src/views/produce/workOrder/dayReportComponents/dayReportExportChart/productYield.vue @@ -1,7 +1,7 @@ @@ -67,12 +67,13 @@ export default { legend: { bottom: 0, left: 'center', - itemGap:40, + itemGap:60, }, series: [ { // name: 'Access From', type: 'pie', + center: ['50%', '45%'], radius: ['50%', '70%'], avoidLabelOverlap: false, data: this.pieList, From 82a7a2b8cd407325da998a8860b14e2e0f161566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98937886381=E2=80=99?= <‘937886381@qq.com’> Date: Thu, 11 Jul 2024 15:01:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Breadcrumb/index.vue | 4 ++-- src/views/report/productionSituationMW.vue | 2 +- src/views/report/productionSituationTablets.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index f956099..814e189 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -103,11 +103,11 @@ export default { color:rgba(0, 0, 0, 0.65) } - + --> diff --git a/src/views/report/productionSituationMW.vue b/src/views/report/productionSituationMW.vue index b6eb691..298e9fe 100644 --- a/src/views/report/productionSituationMW.vue +++ b/src/views/report/productionSituationMW.vue @@ -82,7 +82,7 @@ - + diff --git a/src/views/report/productionSituationTablets.vue b/src/views/report/productionSituationTablets.vue index af5bd70..e9e6cbf 100644 --- a/src/views/report/productionSituationTablets.vue +++ b/src/views/report/productionSituationTablets.vue @@ -83,7 +83,7 @@ - +