From 090ea2c7d46a7082e978e6c0134d3fbeafaa34a0 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 16 四月 2025 16:44:20 +0800
Subject: [PATCH] 提交

---
 admin/src/views/index.vue |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/admin/src/views/index.vue b/admin/src/views/index.vue
index 0de3d22..623c258 100644
--- a/admin/src/views/index.vue
+++ b/admin/src/views/index.vue
@@ -1,5 +1,6 @@
 <template>
   <div class="main_home">
+    <!-- <div style="position: fixed;z-index: 99999"><video  style="height: 100px;width: 500px" src="rtsp://10.50.250.253:554/openUrl/K2y2vE4" controls></video></div> -->
     <div class="home_header">
       <div class="mb10 fs17">涓嬪崍濂斤紝{{ userInfo.realname }}</div>
       <div class="fs13">
@@ -239,7 +240,8 @@
         { name: '璁垮鎶ュ', path: '', url: require('@/assets/icons/home_func1.png'), path: '/business/reportRecord' },
         { name: '闅愭偅闅忔墜鎷�', path: '', url: require('@/assets/icons/home_func2.png'), path: '/operation/danger/record' },
         { name: '棰勭害浼氳瀹�', path: '', url: require('@/assets/icons/home_func3.png'), path: '/meeting/bookings' },
-        { name: '鑰冨嫟宸ヤ綔鍙�', path: '', url: require('@/assets/icons/home_func4.png') }
+        { name: '鑰冨嫟宸ヤ綔鍙�', path: '', url: require('@/assets/icons/home_func4.png') },
+        { name: '椋熷爞娑堣垂鍏ュ彛', path: '', url: require('@/assets/icons/8.png') }
       ],
       isShowDetail: false,
       isShowReport: false,
@@ -272,7 +274,10 @@
         if (res == undefined || res == null) {
           return
         }
-        const myWindow = window.open(res)
+        console.log('鍗曠偣鐧诲綍鍦板潃------', res)
+
+        const myWindow = top.window.open(res)
+        console.log('myWindow---', myWindow)
         setTimeout(() => {
           const params = {
             componentId: 'dfe',
@@ -329,9 +334,11 @@
             },
             msgType: 'tlnc'
           }
+          const argus = JSON.parse(row.param5)
+          console.log('row.param5 Obj---', argus)
           // const argus = JSON.stringify(params)
           myWindow.postMessage('{"method":"goToApp","argument":' + row.param5 + '}', '*')
-        }, 3000)
+        }, 8000)
       })
     },
     SubSuccess (str) {
@@ -344,6 +351,11 @@
           window.open(res, '_blank')
         })
       }
+      if (item.name == '椋熷爞娑堣垂鍏ュ彛') {
+        getAppHeaderNav(6).then(res => {
+          window.open(res, '_blank')
+        })
+      }
       this.$router.push(item.path)
     },
     updateDate () {

--
Gitblit v1.9.3