| | |
| | | |
| | | 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 => { |
| | |
| | | }) |
| | | }) |
| | | }) |
| | | |
| | | |
| | | // WkshpContentData().then(res => { |
| | | // this.tableDataCenterTop = res.data |
| | |
| | | // }) |
| | | // }, this.tableDataCenterTop.length <= 20 ? 1000 * 15 : 10) |
| | | // }) |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | }, |
| | | |
| | |
| | | display: none; |
| | | width:0 |
| | | } |
| | | |
| | | //::v-deep .el-table colgroup col[name='gutter']{ |
| | | // display: none; |
| | | // width: 0; |