From 7f79481a350e1aeb08faf204aa84b5469dc9fad3 Mon Sep 17 00:00:00 2001 From: lb Date: Fri, 25 Nov 2022 13:11:36 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=B4=A8=E9=87=8F=EF=BC=8C=E4=BA=A7?= =?UTF-8?q?=E7=BA=BF=E7=BC=BA=E9=99=B7=E5=88=86=E6=9E=90=E5=B1=85=E4=B8=AD?= =?UTF-8?q?=E4=B8=80=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/QualityManager/HomePage.vue | 2 +- .../components/charts/PlFaultAnalysisPieChart.vue | 8 ++++---- src/views/QualityManager/mockData.js | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/QualityManager/HomePage.vue b/src/views/QualityManager/HomePage.vue index c14f912..5bb4dc3 100644 --- a/src/views/QualityManager/HomePage.vue +++ b/src/views/QualityManager/HomePage.vue @@ -176,7 +176,7 @@
{{ unit }} diff --git a/src/views/QualityManager/components/charts/PlFaultAnalysisPieChart.vue b/src/views/QualityManager/components/charts/PlFaultAnalysisPieChart.vue index 52304ef..0c83c3c 100644 --- a/src/views/QualityManager/components/charts/PlFaultAnalysisPieChart.vue +++ b/src/views/QualityManager/components/charts/PlFaultAnalysisPieChart.vue @@ -113,7 +113,7 @@ export default { title: { textAlign: 'center', textVerticalAlign: 'middle', - left: '69%', + left: '65%', top: '46%', text: '', textStyle: { @@ -213,7 +213,7 @@ export default { { name: 'PieForm', type: 'pie', - center: ['70%', '56%'], + center: ['66%', '56%'], radius: ['45%', '65%'], avoidLabelOverlap: true, label: { @@ -309,7 +309,7 @@ export default { const fs13 = this.calcFontsize(13 /** px*/) const fs18 = this.calcFontsize(18 /** px*/) const fs20 = this.calcFontsize(20 /** px*/) - const legendTextFixWidth = this.calcFontsize(56 /** px*/) + const legendTextFixWidth = this.calcFontsize(48 /** px*/) const legnedTop = this.calcFontsize(64 /** px*/) const legendTopRate = this.calcFontsize(30 /** % */) @@ -324,7 +324,7 @@ export default { // this.configs.legend.top = legendTopRate + '%' this.configs.legend.top = legnedTop - this.configs.legend.left = 0 + '%' + this.configs.legend.left = 3 + '%' this.configs.legend.itemGap = fs8 this.configs.legend.itemWidth = fs8 diff --git a/src/views/QualityManager/mockData.js b/src/views/QualityManager/mockData.js index ea4da53..a385127 100644 --- a/src/views/QualityManager/mockData.js +++ b/src/views/QualityManager/mockData.js @@ -27,7 +27,7 @@ const PriorityComponent = { } }, mounted() { - console.log(this.injectData.priority) + // console.log(this.injectData.priority) }, methods: {}, render: function (h) { @@ -35,7 +35,7 @@ const PriorityComponent = { } } -console.log('is component?', PriorityComponent) +// console.log('is component?', PriorityComponent) export const qualityTableProps = [ { label: '工序名称', prop: 'wsName', align: 'center', 'min-width': 55 },