修改看板

yangwl
夜笙歌 2 months ago
parent 16506089fa
commit 8bf5077ba0

@ -102,7 +102,7 @@ export default {
equipmentCode:this.equipmentCode equipmentCode:this.equipmentCode
}).then((e) => { }).then((e) => {
console.log(e) console.log(e)
this.list = e.data.splist this.list = e.data.rightlist
this.$refs.chart1.setData({ this.$refs.chart1.setData({
tooltip: { tooltip: {
trigger: "axis", trigger: "axis",
@ -130,7 +130,7 @@ export default {
}, },
xAxis: { xAxis: {
type: "category", type: "category",
data: e.data.cxlist.map(v=>v.workorder_code), data: e.data.leftList.map(v=>v.workorder_code),
axisLine: { axisLine: {
show: true, show: true,
@ -195,7 +195,7 @@ export default {
]), ]),
}, },
}, },
data: e.data.cxlist.map(v=>v.plan_number), data: e.data.leftList.map(v=>v.plan_number),
}, },
{ {
name: "完成数量", name: "完成数量",
@ -220,7 +220,7 @@ export default {
]), ]),
}, },
}, },
data: e.data.cxlist.map(v=>v.completed_count), data: e.data.leftList.map(v=>v.completed_count),
}, },
], ],
}) })

Loading…
Cancel
Save