| | |
| | | <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"> |
| | |
| | | |
| | | 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) |
| | | if (nowLoop === loop) { |
| | | clearInterval(timer) |
| | | this.getCenterTableDataSetInterval() |
| | | } |
| | | nowLoop++ |
| | | 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) |
| | | // }) |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | }, |
| | | |
| | |
| | | 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; |