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 + } + }); } }, },