Browse Source

增加清除断面线功能并修改展示时间

zk 1 year ago
parent
commit
59215fb29c
3 changed files with 9 additions and 2 deletions
  1. 5 0
      src/utils/UIInteractions.js
  2. 3 1
      src/views/home/Header.vue
  3. 1 1
      src/views/home/cpns/UnderWater.vue

+ 5 - 0
src/utils/UIInteractions.js

@@ -384,6 +384,11 @@ export function ueCallChangeMi (consmi) {    //更改米深
 
   })
 }
+export function ueCallCloseMi () {    //更改米深
+  callUIInteractionFormat({
+    "ActionName":"close_mi"
+  })
+}
 
 
 

+ 3 - 1
src/views/home/Header.vue

@@ -53,7 +53,7 @@ export default {
   import bus from '@/utils/bus'
   import { GetWeather } from '@/apis/other'
   import {
-    ueCallBoatRealtime, ueCallClearBoatTime, ueCallfullExtent,
+    ueCallBoatRealtime, ueCallClearBoatTime, ueCallfullExtent,ueCallCloseMi,
     ueCallOpenVideoFusion, ueCallCloseVideoFusion, ueCallShowHangdaoLine, ueCallCloseHangdaoLine,
     ueCallOpenRlt, ueCallCloseRlt, ueCallFlyToHD, ueCallFlyToSP, ueCallFlyToZrcb, ueCallGetNowTime
   } from '@/utils/UIInteractions'
@@ -148,10 +148,12 @@ export default {
           clickWeeather.value=false
           miForChangeShow.value = false
           subList[index+1].status = false
+          ueCallCloseMi()
           bus.emit('toggle_sxdx', false)
           break
         case 5:
           miForChangeShow.value = false
+          ueCallCloseMi()
           break
         case 6:
           ueCallfullExtent()

+ 1 - 1
src/views/home/cpns/UnderWater.vue

@@ -51,7 +51,7 @@ onMounted(() => {
   initSxdxData()
   ueCallFlyToSXDX()
   setTimeout(() => {
-    ueCallChangeTime(18)
+    ueCallChangeTime(12)
     ueCallCloseWater()
     ueCallChangeShuishen('2023.1', currentType.value)
   }, 2000);