结束任务并清除地面航线和目标区域
This commit is contained in:
parent
418b81fa54
commit
29238b0d75
@ -1112,11 +1112,13 @@ export default {
|
||||
})
|
||||
taskListResource = data
|
||||
this.taskList.data = list
|
||||
if (this.taskList.data.length) {
|
||||
this.taskList.data[0].check = true
|
||||
if (this.menusChose === '1') {
|
||||
this.addUavToScene(data[0])
|
||||
this.addTaskPlanArea(data[0].pointList, data[0].id, data[0].name)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.$message.error(res.data.message)
|
||||
}
|
||||
@ -1556,6 +1558,7 @@ export default {
|
||||
info.status = 2
|
||||
this.getTaskList()
|
||||
this.$message.success('任务已结束!')
|
||||
this.removeTaskTarget(info.id)
|
||||
} else {
|
||||
this.$message.error(res.data.message)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user