调整一下
This commit is contained in:
@@ -159,26 +159,20 @@ export default {
|
|||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
let url = ''
|
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) {
|
if(this.tabIndex==0) {
|
||||||
url = `/app/appmasssendingtask/list`
|
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) {
|
} else if(this.tabIndex==1 || this.tabIndex==2) {
|
||||||
url = `/app/whchatmomentstask/list`
|
url = `/app/whchatmomentstask/list`
|
||||||
data = {
|
data = {
|
||||||
current: this.current,
|
...data,
|
||||||
taskTitle: this.taskTitle,
|
|
||||||
startTime: this.start,
|
|
||||||
endTime: this.end,
|
|
||||||
createUserId: this.createUserId,
|
|
||||||
status: this.status,
|
|
||||||
taskType: this.tabIndex == 0? '': this.tabIndex==1? 1:0
|
taskType: this.tabIndex == 0? '': this.tabIndex==1? 1:0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user