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 },