update 生产监控实时数据

This commit is contained in:
lb 2022-11-24 15:33:08 +08:00
父節點 123cdd59a5
當前提交 e756b39e6c

查看文件

@ -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)