|
@@ -258,14 +258,14 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
async remoteMethod_data(query) { // 远程搜索任务
|
|
async remoteMethod_data(query) { // 远程搜索任务
|
|
- const res = await taskList({ name: query })
|
|
|
|
|
|
+ const res = await taskList({ id: query })
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
this.tasksDetailList = [...this.tasksDetailList, ...res.data]
|
|
this.tasksDetailList = [...this.tasksDetailList, ...res.data]
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|
|
async remoteMethod(query) { // 远程搜索任务
|
|
async remoteMethod(query) { // 远程搜索任务
|
|
- const res = await taskList({ name: query })
|
|
|
|
|
|
+ const res = await taskList({ id: query })
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
this.tasksOptions = res.data
|
|
this.tasksOptions = res.data
|
|
}
|
|
}
|