From a6048b79d0ef62cdfda64698a5c54656288c504d Mon Sep 17 00:00:00 2001 From: "WORK\\64751" <64751245@qq.com> Date: Thu, 4 Sep 2025 14:39:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/carbin/components/flying.vue | 2 +- src/views/carbin/index.vue | 9 +++++++++ src/views/carbin/toolComp/screen.vue | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/views/carbin/components/flying.vue b/src/views/carbin/components/flying.vue index aa669e5..ec41bde 100644 --- a/src/views/carbin/components/flying.vue +++ b/src/views/carbin/components/flying.vue @@ -174,7 +174,7 @@ const setCurrentData = (data) => { //飞行中 littleViewMode.value = 1 littleViewModeName.value = '舱外画面' - small_area_showType.value = 'video_in' + small_area_showType.value = 'video_out' //不允许再修改了 isModifedSmallScreen.value = true } diff --git a/src/views/carbin/index.vue b/src/views/carbin/index.vue index 5694205..01cfd06 100644 --- a/src/views/carbin/index.vue +++ b/src/views/carbin/index.vue @@ -111,6 +111,10 @@ const queryAirLine_AirPort = async () => { if (res[0].value.code == 0) { //机场 currentAirPortInfo.value = res[0].value.data[0] + if (!currentAirPortInfo.value.online) { + //强制退出 + window.close() + } airPortSocketStore.ceurrentAirPortData = currentAirPortInfo.value airPortName.value = currentAirPortInfo.value.name @@ -191,7 +195,12 @@ const queryAirPort = async () => { let res = await queryAirportApi(params) if (res.code == 0) { currentAirPortInfo.value = res.data[0] + if (!currentAirPortInfo.value.online) { + //强制退出 + window.close() + } airPortSocketStore.ceurrentAirPortData = currentAirPortInfo.value + // console.log(currentAirPortInfo.value) // currentAirPortInfo.value.status = 2 diff --git a/src/views/carbin/toolComp/screen.vue b/src/views/carbin/toolComp/screen.vue index ad52b08..2df4dd7 100644 --- a/src/views/carbin/toolComp/screen.vue +++ b/src/views/carbin/toolComp/screen.vue @@ -85,7 +85,7 @@ watch( v-if="showType == 'map'" id="virturalDrive_iframe_full" ref="virturalDrive_iframe" - src="http://192.168.50.101:9009/examples/handler/VirturalDrive.html" + src="https://gisdata.t-aaron.com/virturalDrive/test/VirturalDrive.html" class="w-full h-full" @load="iframeLoaded" >