列表
This commit is contained in:
@@ -159,21 +159,30 @@ export default {
|
||||
},
|
||||
getList() {
|
||||
let url = ''
|
||||
let data = {}
|
||||
if(this.tabIndex==0) {
|
||||
url = `/app/appmasssendingtask/list`
|
||||
} else if(this.tabIndex==1 || this.tabIndex==2) {
|
||||
url = `/app/whchatmomentstask/list`
|
||||
}
|
||||
this.$http.post(url, null, {
|
||||
params: {
|
||||
data = {
|
||||
current: this.current,
|
||||
taskTitle: this.taskTitle,
|
||||
startTime: this.start,
|
||||
endTime: this.end,
|
||||
createUserId: this.createUserId,
|
||||
status: this.status
|
||||
status: this.status,
|
||||
}
|
||||
}).then(res=> {
|
||||
} 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,
|
||||
taskType: this.tabIndex == 0? '': this.tabIndex==1? 1:0
|
||||
}
|
||||
}
|
||||
this.$http.post(url,null, {params:{...data}}).then(res=> {
|
||||
if(res?.data) {
|
||||
this.list = this.current == 1? res.data.records : [...this.list,...res.data.records]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user