From 8aa3edd56c279100c9053576f3e90fa55459fe77 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Mon, 16 Jan 2023 16:15:55 +0800
Subject: [PATCH] 修改

---
 src/views/supervisoryConsole/map.vue |   33 ++++++++++++++++++++++++++++-----
 1 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/src/views/supervisoryConsole/map.vue b/src/views/supervisoryConsole/map.vue
index 82e1c4e..a1bf3ab 100644
--- a/src/views/supervisoryConsole/map.vue
+++ b/src/views/supervisoryConsole/map.vue
@@ -1,13 +1,36 @@
 <template>
-  <iframe src="" frameborder="0"></iframe>
+  <el-row>
+    <iframe
+      id="supervisoryMap"
+      ref="supervisoryMap"
+      :src="baseUrl"
+      frameborder="0"
+      width="100%"
+      height="100%"
+    ></iframe>
+  </el-row>
 </template>
 
 <script>
 export default {
-
-}
+  data() {
+    return {
+      baseUrl: "",
+    };
+  },
+  created() {
+    this.baseUrl = `/map/index.html?openid=SupervisoryMap`;
+  },
+  mounted() {
+    // this.$refs.supervisoryMap.onload = () => {
+    //   window.frames[1].init("AlertSecurity", {
+    //     x: this.form.jd,
+    //     y: this.form.wd,
+    //   });
+    // };
+  },
+};
 </script>
 
 <style>
-
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3