From 585a6ce9c53b26c89b4e5311760c236fc04c740c Mon Sep 17 00:00:00 2001 From: wxs <211789910@qq.com> Date: Thu, 5 Feb 2026 13:38:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E4=BB=BB=E5=8A=A1=E5=81=9C?= =?UTF-8?q?=E6=AD=A2=E5=92=8C=E5=88=87=E6=8D=A2=E6=97=B6=E8=B4=B4=E5=9B=BE?= =?UTF-8?q?=E5=92=8C=E8=AF=A6=E6=83=85=E9=9D=A2=E6=9D=BF=E4=B8=8D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/components/twin-situation/index.js | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js index f951862..c8f3acf 100644 --- a/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js +++ b/frontend/Skyeye-sys-ui/src/views/home/components/twin-situation/index.js @@ -3022,21 +3022,26 @@ export default { // 从执行中变为执行完毕 if (this.taskList.data[findIndex].status === 1 && data.jobStatus === 2) { // 移除任务相关信息 - // console.log('任务变更', this.jobStatus, this.jobStatus[data.jobStatus + '']) - // this.taskList.data[findIndex].statusName = this.jobStatus[data.jobStatus + ''] - // taskListResource[findIndex].statusName = this.jobStatus[data.jobStatus + ''] taskListResource.splice(findIndex, 1) this.getTaskList() - console.log(data, 77777777777777); - this.removeTaskTarget(data.jobId) + this.detailUav.chart.data[0].data = [] + this.detailUav.chart.data[1].data = [] + this.detailUav.chart.data[2].data = [] + this.detailUav.chart.data[3].data = [] + this.detailUav.id = '' + this.detailUav.visible = false + let entitys = [...viewer.entities.values] + entitys.forEach(item => { + if (item.id.includes(data.jobId)) { + viewer.entities.remove(item) + } + }) } if (data.jobStatus === 1 && this.detailUav.id === data.jobId) { this.updateUavInfo(data.sarStatus) } this.taskList.data[findIndex].status = data.jobStatus - taskListResource[findIndex].status = data.jobStatus - console.log('整体状态变更1', findIndex, this.taskList.data[findIndex]) } },