loulijun2021
2023-08-30 31ce9a56c95000f1567cda9f5821aadb5d1e4fd0
src/views/kb/cjsc.vue
@@ -3,9 +3,9 @@
    <div class="kb_dashboard">
      <!--    星空背景-->
<!--      <div ref="starsRef" class="stars">-->
<!--        <div v-for="(item, index) in starsCount" :key="index" class="star"/>-->
<!--      </div>-->
      <!--      <div ref="starsRef" class="stars">-->
      <!--        <div v-for="(item, index) in starsCount" :key="index" class="star"/>-->
      <!--      </div>-->
      <div class="kb_header">
        <div class="flex_c_c kb_header_text">
@@ -318,26 +318,27 @@
      WkshpContentData().then(res => {
        this.tableDataCenterTopTemp = res.data
        this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)
        // this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)
        this.tableDataCenterTop = this.tableDataCenterTopTemp
        const loop = Math.floor(this.tableDataCenterTopTemp.length / scale)// 需要循环的次数
        let nowLoop = 0// 当前循环的次数
        const timer = setInterval(() => {
          startValue = startValue + scale
          this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)
          nowLoop++
          if (nowLoop === loop) {
            clearInterval(timer)
            this.getCenterTableDataSetInterval()
          }
          this.$nextTick(() => {
            this.tableDataCenterTop.forEach(i => {
              loadEcharts('progress' + i.RowNum, progress(i.good_qty, i.plan_qty))
            })
          })
        }, 1000 * 10)
        // const loop = Math.floor(this.tableDataCenterTopTemp.length / scale)// 需要循环的次数
        // let nowLoop = 0// 当前循环的次数
        //
        // const timer = setInterval(() => {
        //   startValue = startValue + scale
        //   this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)
        //   nowLoop++
        //   if (nowLoop === loop) {
        //     clearInterval(timer)
        //     this.getCenterTableDataSetInterval()
        //   }
        //
        //   this.$nextTick(() => {
        //     this.tableDataCenterTop.forEach(i => {
        //       loadEcharts('progress' + i.RowNum, progress(i.good_qty, i.plan_qty))
        //     })
        //   })
        // }, 1000 * 10)
        this.$nextTick(() => {
          this.tableDataCenterTop.forEach(i => {
@@ -345,7 +346,6 @@
          })
        })
      })
      // WkshpContentData().then(res => {
      //   this.tableDataCenterTop = res.data
@@ -373,15 +373,6 @@
      //       })
      //   }, this.tableDataCenterTop.length <= 20 ? 1000 * 15 : 10)
      // })
    },
@@ -569,14 +560,15 @@
  color: $main_color;
}
::v-deep .el-table__body-wrapper{
::v-deep .el-table__body-wrapper {
  overflow: hidden !important;
}
::v-deep .el-table th.gutter{
::v-deep .el-table th.gutter {
  display: none;
  width:0
  width: 0
}
//::v-deep .el-table colgroup col[name='gutter']{
//  display: none;
//  width: 0;