任务切换和停止,清楚影相贴图
This commit is contained in:
parent
50a860fdf7
commit
3f47e7097e
@ -1587,7 +1587,15 @@ export default {
|
||||
// info.status = 2
|
||||
this.getTaskList()
|
||||
this.$message.success('任务已结束!')
|
||||
this.detailUav.id = ''
|
||||
this.detailUav.visible = false
|
||||
this.removeTaskTarget(info.id)
|
||||
let entitys = [...viewer.entities.values]
|
||||
entitys.forEach(item => {
|
||||
if (item.id.includes(info.id)) {
|
||||
viewer.entities.remove(item)
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$message.error(res.data.message)
|
||||
}
|
||||
@ -3019,6 +3027,8 @@ export default {
|
||||
// taskListResource[findIndex].statusName = this.jobStatus[data.jobStatus + '']
|
||||
taskListResource.splice(findIndex, 1)
|
||||
this.getTaskList()
|
||||
console.log(data, 77777777777777);
|
||||
|
||||
this.removeTaskTarget(data.jobId)
|
||||
}
|
||||
if (data.jobStatus === 1 && this.detailUav.id === data.jobId) {
|
||||
@ -3082,6 +3092,12 @@ export default {
|
||||
//#endregion
|
||||
// 打开状态和波形信息展示
|
||||
openSarStatusDetail(data) {
|
||||
let entitys = [...viewer.entities.values]
|
||||
entitys.forEach(item => {
|
||||
if (item.id.includes(this.detailUav.id)) {
|
||||
viewer.entities.remove(item)
|
||||
}
|
||||
})
|
||||
this.detailUav.chart.data[0].data = []
|
||||
this.detailUav.chart.data[1].data = []
|
||||
this.detailUav.chart.data[2].data = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user