|
@@ -989,7 +989,8 @@
|
|
|
queryTermination: this.tabValue == '10' ? 1 : 0,
|
|
queryTermination: this.tabValue == '10' ? 1 : 0,
|
|
|
pageNum: page,
|
|
pageNum: page,
|
|
|
size: limit,
|
|
size: limit,
|
|
|
- ...this.sort
|
|
|
|
|
|
|
+ ...this.sort,
|
|
|
|
|
+ statusList: this.way == 'todo' ? [4, 5, 7] : [6, 10]
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
// 只有 tabValue == 1 才可能需要 workCenterIds 字段,可根据业务决定是否添加
|
|
// 只有 tabValue == 1 才可能需要 workCenterIds 字段,可根据业务决定是否添加
|
|
@@ -999,7 +1000,7 @@
|
|
|
|
|
|
|
|
const URL = this.tabValue == 1 ? getMyPage : getPage;
|
|
const URL = this.tabValue == 1 ? getMyPage : getPage;
|
|
|
|
|
|
|
|
- let res = await URL({ ...params, statusList });
|
|
|
|
|
|
|
+ let res = await URL({ ...params });
|
|
|
|
|
|
|
|
this.loadTaskNames(res.list);
|
|
this.loadTaskNames(res.list);
|
|
|
|
|
|
|
@@ -1231,9 +1232,9 @@
|
|
|
/* 刷新表格 */
|
|
/* 刷新表格 */
|
|
|
reload(where = {}) {
|
|
reload(where = {}) {
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
- where.statusList = (
|
|
|
|
|
- where.status || this.statusOpt[this.activeName][0].value
|
|
|
|
|
- ).split(',');
|
|
|
|
|
|
|
+ // where.statusList = (
|
|
|
|
|
+ // where.status || this.statusOpt[this.activeName][0].value
|
|
|
|
|
+ // ).split(',');
|
|
|
this.$refs.table.reload({ page: 1, where });
|
|
this.$refs.table.reload({ page: 1, where });
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|