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() {
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;

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

Loading…
Cancel
Save