调整一下

This commit is contained in:
shijingjing
2022-09-13 18:19:44 +08:00
parent a3cf3fd57a
commit 91622d8b70

View File

@@ -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
}
}