From 63ad2c3598400370dd7da5534659fd7e768a0a4a Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 16 May 2022 17:29:46 +0800
Subject: [PATCH] 地址替换

---
 src/views/dataL/dataL.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/dataL/dataL.vue b/src/views/dataL/dataL.vue
index f771894..320abc6 100644
--- a/src/views/dataL/dataL.vue
+++ b/src/views/dataL/dataL.vue
@@ -969,7 +969,7 @@
       this.eventDetails = useD;
     },
     getdata() {
-      // const url = `/api/blade-jfpts/equipment/equipment/pageDept?deviceName=${this.myDeviceNumber}&current=1&size=10&pid=`
+      // const url = `/api/equipment/equipment/pageDept?deviceName=${this.myDeviceNumber}&current=1&size=10&pid=`
       // axios.get(url)
       var that = this;
       var data = {
@@ -1161,7 +1161,7 @@
       this.startEcharts01();
     },
     getMap() {
-      window.frames[1].init("DetailMap", {
+      window.frames[0].init("DetailMap", {
         x: this.a.jd,
         y: this.a.wd,
       });
@@ -1192,7 +1192,7 @@
       if (manufacturer == "HK"){
         axios
           .get(
-            `/api/blade-jfpts/equipment/equipment/selectEquimentPlayInfo?number=${deviceNumber}&bmp=m3u8&manufacturer=${manufacturer}`
+            `/api/equipment/equipment/selectEquimentPlayInfo?number=${deviceNumber}&bmp=m3u8&manufacturer=${manufacturer}`
           )
           .then((result) => {
             that.videoSource = result.data.data.address;
@@ -1314,15 +1314,15 @@
     // this.doEvents();
     // var timel = setTimeout(() => {
     this.$refs.detailMap.onload = () => {
-      // window.frames[1].init("DetailMap", {
+      // window.frames[0].init("DetailMap", {
       //   x: this.a.jd,
       //   y: this.a.wd,
       // });
-      if (window.frames[1].init) {
+      if (window.frames[0].init) {
         this.getMap();
       } else {
         // this.re();
-        console.log(`没有找到到window.frames[1].init`);
+        console.log(`没有找到到window.frames[0].init`);
       }
     };
   },

--
Gitblit v1.9.3