update 生产监控实时数据
This commit is contained in:
		@@ -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: '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'
 | 
			
		||||
          //   })
 | 
			
		||||
          // })
 | 
			
		||||
          this.transformData()
 | 
			
		||||
        } else {
 | 
			
		||||
          this.dataList.splice(0)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user