From ad001b4747b9972aa15a5d3140f5476a9d9f1c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=9F=B9=E5=8F=8B?= <17852335869@163.com> Date: Tue, 7 Mar 2023 20:34:12 +0800 Subject: [PATCH] =?UTF-8?q?1=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/plugin/workflow/process/todo.vue | 3 ++- src/views/wel/index.vue | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/plugin/workflow/process/todo.vue b/src/views/plugin/workflow/process/todo.vue index 650a9d1..debde78 100644 --- a/src/views/plugin/workflow/process/todo.vue +++ b/src/views/plugin/workflow/process/todo.vue @@ -152,7 +152,6 @@ export default { data() { return { searchForm: {}, - conpanyList: [{ label: "运维公司", value: 1 }], option: tableOption, page: { currentPage: 1, @@ -208,10 +207,12 @@ export default { this.searchForm.startTime = this.searchForm.timeArr[0]; this.searchForm.endTime = this.searchForm.timeArr[1]; } + let isBecomeDue = this.$route.query.id === 1?1:0 getList({ current: currentPage, size: pageSize, ...this.searchForm, + isBecomeDue }).then((res) => { const { total, records } = res.data.data; this.page.total = total; diff --git a/src/views/wel/index.vue b/src/views/wel/index.vue index 4c9144b..de0edeb 100644 --- a/src/views/wel/index.vue +++ b/src/views/wel/index.vue @@ -89,7 +89,7 @@ export default { id: 1, title: "到期提醒", num: "", - link: "/plugin/workflow/process/workorder", + link: "/plugin/workflow/process/todo", }, { id: 2, @@ -523,7 +523,12 @@ export default { }, goRouter(item) { if ([1, 2].includes(item.id)) { - this.$router.push(item.link); + this.$router.push({ + path: item.link, + query:{ + id: item.id + } + }); } }, },