添加图表

master
夜笙歌 3 months ago
parent da14637f0d
commit 03cd1f2572

@ -333,7 +333,11 @@ export default {
type: 'category',
data: response.data.map(val => val.QUALITY_DEFECT_NAME),
axisTick: {
alignWithLabel: true
alignWithLabel: true,
},
axisLabel:{
interval: 0
}
}
],
@ -355,7 +359,8 @@ export default {
formatter: (e) => {
if (e.data === 0) {
return ''
}else{}
} else {
}
return e.data
},
textStyle: {
@ -380,7 +385,7 @@ export default {
]),
},
},
data: response.data.map(val=>val.SEQ),
data: response.data.map(val => val.DEFECT_NUMBER),
}
]
})

Loading…
Cancel
Save