From 05465c28cbee4b450d5af4b9b2bf1f6ed1cdd342 Mon Sep 17 00:00:00 2001
From: leave <>
Date: Wed, 28 Oct 2020 11:26:51 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E5=8A=9E=E4=BA=8B=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/kpi/workbench/todo/index.vue | 36 +++++++++++++++-----------
1 file changed, 21 insertions(+), 15 deletions(-)
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 @@
-
-
+
+
+
+
+
+
- {{scope.row.dateTime}}
+ {{scope.row.time}}
@@ -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;