From 0f7c0e33ac6110e7ccbd93c133ea5516f96b4df8 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 08 Apr 2021 10:24:58 +0800
Subject: [PATCH] 4.8
---
src/views/supervisoryConsole/map.vue | 31 +++++++++++++++++++++++++++----
1 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/src/views/supervisoryConsole/map.vue b/src/views/supervisoryConsole/map.vue
index 82e1c4e..0063206 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[0].init("AlertSecurity", {
+ // x: this.form.jd,
+ // y: this.form.wd,
+ // });
+ // };
+ },
+};
</script>
<style>
-
</style>
\ No newline at end of file
--
Gitblit v1.9.3