Browse Source

提交修改部分功能

zk 1 year ago
parent
commit
c6eb7169fc
2 changed files with 21 additions and 3 deletions
  1. 15 0
      src/utils/UIInteractions.js
  2. 6 3
      src/views/home/Header.vue

+ 15 - 0
src/utils/UIInteractions.js

@@ -389,8 +389,23 @@ export function ueCallCloseMi () {    //更改米深
     "ActionName":"close_mi"
   })
 }
+export function ueCallShowAllMi () {
+  callUIInteractionFormat({
+    "ActionName":"showAll_mi"
+  })
+}
 
+export function ueCallCloseWarningReturn () {
+  callUIInteractionFormat({
+    "ActionName":"close_warning_return"
+  })
+}
 
+export function ueCallShowWarningReturn () {
+  callUIInteractionFormat({
+    "ActionName":"show_warning_return"
+  })
+}
 
 export function ueCallFlyToHD() {    // 定位到航道视角
   callUIInteractionFormat({

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

@@ -53,9 +53,9 @@ export default {
   import bus from '@/utils/bus'
   import { GetWeather } from '@/apis/other'
   import {
-    ueCallBoatRealtime, ueCallClearBoatTime, ueCallfullExtent,ueCallCloseMi,
-    ueCallOpenVideoFusion, ueCallCloseVideoFusion, ueCallShowHangdaoLine, ueCallCloseHangdaoLine,
-    ueCallOpenRlt, ueCallCloseRlt, ueCallFlyToHD, ueCallFlyToSP, ueCallFlyToZrcb, ueCallGetNowTime
+    ueCallBoatRealtime, ueCallClearBoatTime, ueCallfullExtent,ueCallCloseMi,ueCallShowWarningReturn,
+    ueCallOpenVideoFusion, ueCallCloseVideoFusion, ueCallShowHangdaoLine, ueCallCloseHangdaoLine,ueCallCloseWarningReturn,
+    ueCallOpenRlt, ueCallCloseRlt, ueCallFlyToHD, ueCallFlyToSP, ueCallFlyToZrcb, ueCallShowAllMi,ueCallGetNowTime
   } from '@/utils/UIInteractions'
   import WaterLevel from './cpns/WaterLevel.vue'
   import MiForChange from './cpns/MiForChange.vue'
@@ -100,6 +100,7 @@ export default {
           }, 1000);
           break
         case 1:
+          ueCallCloseWarningReturn()
           waterDeepShow.value = true
           break
         case 2:
@@ -122,6 +123,7 @@ export default {
           if (clickWeeather.value) {
             miForChangeShow.value = true
             subList[index].status = true
+            ueCallShowAllMi()
           }else {
             subList[index].status = false
           }
@@ -136,6 +138,7 @@ export default {
           ueCallCloseHangdaoLine()
           break
         case 1:
+          ueCallShowWarningReturn()
           waterDeepShow.value = false
           break
         case 2: