loulijun2021
2023-03-01 9219fc482b055ef695d0b1377ee96d0c4d065a16
src/views/kb/cjsc.vue
@@ -370,7 +370,7 @@
      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)
@@ -393,7 +393,7 @@
      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)
@@ -416,7 +416,7 @@
      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)// 需要循环的次数
@@ -438,7 +438,7 @@
      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)// 需要循环的次数