调整一下
This commit is contained in:
		| @@ -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 | ||||
|         } | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user