update 生产监控实时数据

This commit is contained in:
lb 2022-11-24 15:33:08 +08:00
parent 123cdd59a5
commit e756b39e6c

View File

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