| | |
| | | let startValue = 0 // 初始值 |
| | | const scale = 10// 刻度 |
| | | |
| | | WkshpLineData({ LineCode: 'DEV01' }).then(res => { |
| | | WkshpLineData({ LineCode: '001' }).then(res => { |
| | | this.tableDataLeftTopTemp = res.data |
| | | this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale) |
| | | |
| | |
| | | let startValue = 0 // 初始值 |
| | | const scale = 10// 刻度 |
| | | |
| | | WkshpLineData({ LineCode: 'DEV02' }).then(res => { |
| | | WkshpLineData({ LineCode: '002' }).then(res => { |
| | | this.tableDataLeftBottomTemp = res.data |
| | | this.tableDataLeftBottom = this.tableDataLeftBottomTemp.slice(startValue, startValue + scale) |
| | | |
| | |
| | | let startValue = 0 // 初始值 |
| | | const scale = 10// 刻度 |
| | | |
| | | WkshpLineData({ LineCode: 'DEV03' }).then(res => { |
| | | WkshpLineData({ LineCode: '003' }).then(res => { |
| | | this.tableDataRightTop = this.tableDataRightTopTemp.slice(startValue, startValue + scale) |
| | | |
| | | const loop = Math.floor(this.tableDataRightTopTemp.length / scale)// 需要循环的次数 |
| | |
| | | let startValue = 0 // 初始值 |
| | | const scale = 10// 刻度 |
| | | |
| | | WkshpLineData({ LineCode: 'DEV04' }).then(res => { |
| | | WkshpLineData({ LineCode: '004' }).then(res => { |
| | | this.tableDataRightBottom = this.tableDataRightBottomTemp.slice(startValue, startValue + scale) |
| | | |
| | | const loop = Math.floor(this.tableDataRightBottomTemp.length / scale)// 需要循环的次数 |