main
赵培友 3 years ago
parent 2e198ba184
commit ad001b4747
  1. 3
      src/views/plugin/workflow/process/todo.vue
  2. 9
      src/views/wel/index.vue

@ -152,7 +152,6 @@ export default {
data() { data() {
return { return {
searchForm: {}, searchForm: {},
conpanyList: [{ label: "运维公司", value: 1 }],
option: tableOption, option: tableOption,
page: { page: {
currentPage: 1, currentPage: 1,
@ -208,10 +207,12 @@ export default {
this.searchForm.startTime = this.searchForm.timeArr[0]; this.searchForm.startTime = this.searchForm.timeArr[0];
this.searchForm.endTime = this.searchForm.timeArr[1]; this.searchForm.endTime = this.searchForm.timeArr[1];
} }
let isBecomeDue = this.$route.query.id === 1?1:0
getList({ getList({
current: currentPage, current: currentPage,
size: pageSize, size: pageSize,
...this.searchForm, ...this.searchForm,
isBecomeDue
}).then((res) => { }).then((res) => {
const { total, records } = res.data.data; const { total, records } = res.data.data;
this.page.total = total; this.page.total = total;

@ -89,7 +89,7 @@ export default {
id: 1, id: 1,
title: "到期提醒", title: "到期提醒",
num: "", num: "",
link: "/plugin/workflow/process/workorder", link: "/plugin/workflow/process/todo",
}, },
{ {
id: 2, id: 2,
@ -523,7 +523,12 @@ export default {
}, },
goRouter(item) { goRouter(item) {
if ([1, 2].includes(item.id)) { if ([1, 2].includes(item.id)) {
this.$router.push(item.link); this.$router.push({
path: item.link,
query:{
id: item.id
}
});
} }
}, },
}, },

Loading…
Cancel
Save