diff --git a/src/apps/AppCooperationPropaganda/AppCooperationPropaganda.vue b/src/apps/AppCooperationPropaganda/AppCooperationPropaganda.vue index 0e301ed4..223f549b 100644 --- a/src/apps/AppCooperationPropaganda/AppCooperationPropaganda.vue +++ b/src/apps/AppCooperationPropaganda/AppCooperationPropaganda.vue @@ -159,26 +159,20 @@ export default { }, getList() { let url = '' - let data = {} + let data = { + current: this.current, + taskTitle: this.taskTitle, + startTime: this.start, + endTime: this.end, + createUserId: this.createUserId, + status: this.status, + } if(this.tabIndex==0) { url = `/app/appmasssendingtask/list` - data = { - current: this.current, - taskTitle: this.taskTitle, - startTime: this.start, - endTime: this.end, - createUserId: this.createUserId, - status: this.status, - } } else if(this.tabIndex==1 || this.tabIndex==2) { url = `/app/whchatmomentstask/list` data = { - current: this.current, - taskTitle: this.taskTitle, - startTime: this.start, - endTime: this.end, - createUserId: this.createUserId, - status: this.status, + ...data, taskType: this.tabIndex == 0? '': this.tabIndex==1? 1:0 } }