update 质量,产线缺陷分析居中一点

This commit is contained in:
lb 2022-11-25 13:11:36 +08:00
parent 7c2aadc19a
commit 7f79481a35
3 changed files with 7 additions and 7 deletions

View File

@ -176,7 +176,7 @@
</techy-analysis-header> </techy-analysis-header>
<div style="position: absolute; top: 0; left:0; width: 100%; height: 100%;"> <div style="position: absolute; top: 0; left:0; width: 100%; height: 100%;">
<span <span
style="display: inline-block; font-size: calc(10px * var(--beilv)); color: #fffc; position: absolute; top: calc(48px * var(--beilv)); left: calc(16px * var(--beilv));" style="display: inline-block; font-size: calc(10px * var(--beilv)); color: #fffc; position: absolute; top: calc(48px * var(--beilv)); left: calc(28px * var(--beilv));"
> >
<!--单位千片和单位片 --> <!--单位千片和单位片 -->
{{ unit }} {{ unit }}

View File

@ -113,7 +113,7 @@ export default {
title: { title: {
textAlign: 'center', textAlign: 'center',
textVerticalAlign: 'middle', textVerticalAlign: 'middle',
left: '69%', left: '65%',
top: '46%', top: '46%',
text: '', text: '',
textStyle: { textStyle: {
@ -213,7 +213,7 @@ export default {
{ {
name: 'PieForm', name: 'PieForm',
type: 'pie', type: 'pie',
center: ['70%', '56%'], center: ['66%', '56%'],
radius: ['45%', '65%'], radius: ['45%', '65%'],
avoidLabelOverlap: true, avoidLabelOverlap: true,
label: { label: {
@ -309,7 +309,7 @@ export default {
const fs13 = this.calcFontsize(13 /** px*/) const fs13 = this.calcFontsize(13 /** px*/)
const fs18 = this.calcFontsize(18 /** px*/) const fs18 = this.calcFontsize(18 /** px*/)
const fs20 = this.calcFontsize(20 /** 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 legnedTop = this.calcFontsize(64 /** px*/)
const legendTopRate = this.calcFontsize(30 /** % */) const legendTopRate = this.calcFontsize(30 /** % */)
@ -324,7 +324,7 @@ export default {
// this.configs.legend.top = legendTopRate + '%' // this.configs.legend.top = legendTopRate + '%'
this.configs.legend.top = legnedTop this.configs.legend.top = legnedTop
this.configs.legend.left = 0 + '%' this.configs.legend.left = 3 + '%'
this.configs.legend.itemGap = fs8 this.configs.legend.itemGap = fs8
this.configs.legend.itemWidth = fs8 this.configs.legend.itemWidth = fs8

View File

@ -27,7 +27,7 @@ const PriorityComponent = {
} }
}, },
mounted() { mounted() {
console.log(this.injectData.priority) // console.log(this.injectData.priority)
}, },
methods: {}, methods: {},
render: function (h) { render: function (h) {
@ -35,7 +35,7 @@ const PriorityComponent = {
} }
} }
console.log('is component?', PriorityComponent) // console.log('is component?', PriorityComponent)
export const qualityTableProps = [ export const qualityTableProps = [
{ label: '工序名称', prop: 'wsName', align: 'center', 'min-width': 55 }, { label: '工序名称', prop: 'wsName', align: 'center', 'min-width': 55 },