From 4ced59c6d6cd4f8bf1c9a8ce7e7c9930f00c7b09 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Mon, 17 Apr 2023 14:20:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=85=E5=8A=9E=E3=80=81=E5=B7=B2=E5=8A=9E?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=8F=91=E8=B5=B7=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- anrui-system-ui/src/views/flow/doneList.vue | 32 ++++++++++----------- anrui-system-ui/src/views/flow/todoList.vue | 8 ++++-- 2 files changed, 22 insertions(+), 18 deletions(-) diff --git a/anrui-system-ui/src/views/flow/doneList.vue b/anrui-system-ui/src/views/flow/doneList.vue index d35f02ec09..73fbceee2d 100644 --- a/anrui-system-ui/src/views/flow/doneList.vue +++ b/anrui-system-ui/src/views/flow/doneList.vue @@ -12,6 +12,9 @@ + + + @@ -23,7 +26,7 @@
已办任务列表
- +
@@ -81,7 +84,7 @@
- +
{ + getList(this.listQuery).then((rep) => { this.listLoading = false - this.list = rep.data.records - this.total = rep.data.total + if (rep.success) { + this.list = rep.data.records + this.listQuery.total = rep.data.total + } else { + this.list = [] + this.listQuery.total = 0 + } }) }, handleFilter() { - this.listQuery.pageNumber = 1 + this.listQuery.current = 1 this.getList() }, handleSelectionChange() { diff --git a/anrui-system-ui/src/views/flow/todoList.vue b/anrui-system-ui/src/views/flow/todoList.vue index ebf37a9975..2c5cd31c36 100644 --- a/anrui-system-ui/src/views/flow/todoList.vue +++ b/anrui-system-ui/src/views/flow/todoList.vue @@ -12,6 +12,9 @@ + + + @@ -195,7 +198,8 @@ export default { proDefName: '', startDate: '', endDate: '', - userSid: '' + userSid: '', + startUserName: '' } } } @@ -511,7 +515,7 @@ export default { }) }, handleFilter() { - this.listQuery.pageNumber = 1 + this.listQuery.current = 1 this.getList() }, handleSelectionChange() {