From eebbc840b49f3c14ced71dbb49e7e9fe6110315d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 07 Apr 2021 17:37:22 +0800
Subject: [PATCH] 监控台模块下3个模式得相关修改
---
src/views/supervisoryConsole/map.vue | 32 +++++++++++++++++++++++++++++---
1 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/src/views/supervisoryConsole/map.vue b/src/views/supervisoryConsole/map.vue
index 82e1c4e..7e9b272 100644
--- a/src/views/supervisoryConsole/map.vue
+++ b/src/views/supervisoryConsole/map.vue
@@ -1,13 +1,39 @@
<template>
- <iframe src="" frameborder="0"></iframe>
+ <el-row>
+ <el-col :span="24">
+ <iframe
+ id="supervisoryMap"
+ ref="supervisoryMap"
+ :src="baseUrl"
+ frameborder="0"
+ width="100%"
+ height="100%"
+ ></iframe>
+ </el-col>
+ </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