| | |
| | | <template> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <iframe |
| | | id="supervisoryMap" |
| | | ref="supervisoryMap" |
| | | :src="baseUrl" |
| | | frameborder="0" |
| | | width="100%" |
| | | height="100%" |
| | | ></iframe> |
| | | </el-col> |
| | | <iframe |
| | | id="supervisoryMap" |
| | | ref="supervisoryMap" |
| | | :src="baseUrl" |
| | | frameborder="0" |
| | | width="100%" |
| | | height="100%" |
| | | ></iframe> |
| | | </el-row> |
| | | </template> |
| | | |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | baseUrl: "", |
| | | baseUrl: "", |
| | | }; |
| | | }, |
| | | created() { |
| | | this.baseUrl = `/map/index.html?openid=SupervisoryMap`; |
| | | }, |
| | | mounted() { |
| | | |
| | | // this.$refs.supervisoryMap.onload = () => { |
| | | // window.frames[0].init("AlertSecurity", { |
| | | // x: this.form.jd, |