Commit 45687750 authored by jingnan's avatar jingnan 👀

看板功能开发

parent cc81047a
......@@ -2589,6 +2589,7 @@ export default {
const data = res.items.sort((a, b) => {
return Number(a.positionNumber - b.positionNumber)
})
outsourOption.angleAxis.data = data.map((p) => p.positionNumber + '站位')
outsourOption.series[1].data = data.map((p) => p.countFit)
outsourOption.series[0].data = data.map((p) => p.countNotFit)
}
......@@ -2630,6 +2631,7 @@ export default {
const data = res.items.sort((a, b) => {
return Number(a.positionNumber - b.positionNumber)
})
sparepartsrOption.angleAxis.data = data.map((p) => p.positionNumber + '站位')
sparepartsrOption.series[1].data = data.map((p) => p.countFit)
sparepartsrOption.series[0].data = data.map(
(p) => p.countNotFit
......@@ -2673,6 +2675,7 @@ export default {
const data = res.items.sort((a, b) => {
return Number(a.positionNumber - b.positionNumber)
})
standardOption.yAxis.data = data.map((p) => p.positionNumber + '站位')
standardOption.series[1].data = data.map((p) => p.countFit)
standardOption.series[0].data = data.map((p) => p.countNotFit)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment