diff --git a/src/views/kpi/workbench/todo/index.vue b/src/views/kpi/workbench/todo/index.vue index 4b45ccc..e0529a6 100644 --- a/src/views/kpi/workbench/todo/index.vue +++ b/src/views/kpi/workbench/todo/index.vue @@ -16,23 +16,27 @@
- - + + + + @@ -76,18 +80,14 @@ export default { totalPage: 1 }, // 待处理 - waitTableList: [ - { imgStr: '', name: '咔咔咔咔咔咔扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩', dateTime: '2020-22-22 02:22:22' }, - { imgStr: '', name: '咔咔咔咔咔咔扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩', dateTime: '2020-22-22 02:22:22' }, - { imgStr: '', name: '咔咔咔咔咔咔扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩扩', dateTime: '2020-22-22 02:22:22' } - ], + waitTableList: [], // 已处理 pageWaitInfo: {}, processedTableList: [], pageProcessedInfo: { currPage: 1, pageSize: 20, - status: 0, + status: 1, totalCount: 1, totalPage: 1 } @@ -108,7 +108,7 @@ export default { this.pageSelectedInfo.currPage = res.data.currPage this.pageSelectedInfo.totalCount = res.data.totalCount this.pageSelectedInfo.totalPage = res.data.totalPage - if (this.activeIndex === 0) { + if (this.activeIndex === '0') { // 待处理事项 this.waitCount = res.data.totalCount } @@ -146,9 +146,10 @@ export default { handleCurrentChange (val) { // 页面变更 this.pageSelectedInfo.currPage = val + this.handleGetList() }, handleRowClick (row) { - this.$router.push({ name: 'assessment-stepList', query: { id: row.id } }) + this.$router.push({ name: 'assessment-stepList', query: { id: row.recordId } }) } }, watch: {} @@ -181,6 +182,11 @@ export default { // padding-left: 20px; padding: 20px; flex: 1; + &-avatar { + width: 34px; + height: 34px; + border-radius: 17px; + } .el-pagination { text-align: right; margin-top: 20px;