update 生产监控实时数据

Esse commit está contido em:
lb 2022-11-24 15:33:08 +08:00
commit e756b39e6c

Ver arquivo

@ -147,21 +147,22 @@ export default {
fetchList('order').then(response => {
if (response.data) {
this.dataList = response.data
this.dataList.push({
orderName: '22订单',
productName: 'xxx光伏玻璃2.0B',
productSize: '2*1128*2272',
productionLine: 'C线 D线 A线',
det: Array(3).fill({
inputNum: '-259730',
outputNum: '-772443',
passRate: 100,
recordTime: '2022-09-06T14:00:00',
scrapNum: '0',
sumInputNum: '259730',
sumOutputNum: '772443'
})
})
// 11-mes:
// this.dataList.push({
// orderName: '22',
// productName: 'xxx2.0B',
// productSize: '2*1128*2272',
// productionLine: 'C线 D线 A线',
// det: Array(3).fill({
// inputNum: '-259730',
// outputNum: '-772443',
// passRate: 100,
// recordTime: '2022-09-06T14:00:00',
// scrapNum: '0',
// sumInputNum: '259730',
// sumOutputNum: '772443'
// })
// })
this.transformData()
} else {
this.dataList.splice(0)