|
@@ -1,15 +1,17 @@
|
|
<template>
|
|
<template>
|
|
<div class="surveillance-video-module">
|
|
<div class="surveillance-video-module">
|
|
<common-title title="机组运行监控"></common-title>
|
|
<common-title title="机组运行监控"></common-title>
|
|
- <div class="visualization-common-border">
|
|
|
|
- <div class="video-container">
|
|
|
|
|
|
+ <div class="visualization-common-border">
|
|
|
|
+ <iframe :src="iframeUrl" scrolling="no" frameborder="0" width="140%" height="110%" style="margin-left: -18%;margin-top: -1%;" />
|
|
|
|
+ <!-- <div class="video-container">
|
|
<div class="video-img"></div>
|
|
<div class="video-img"></div>
|
|
- </div>
|
|
|
|
|
|
+ </div> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
+import {getAction} from '@/api/manage'
|
|
import commonTitle from '../components/commonTitle.vue'
|
|
import commonTitle from '../components/commonTitle.vue'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
@@ -17,13 +19,23 @@ export default {
|
|
name: '',
|
|
name: '',
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
|
|
+ iframeUrl: ''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created () {
|
|
created () {
|
|
|
|
+ this.getUrl()
|
|
},
|
|
},
|
|
mounted () {
|
|
mounted () {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ // 获取iframe地址
|
|
|
|
+ getUrl(){
|
|
|
|
+ getAction('/datacoll/webaccess/getShiyiUrl').then(res=>{
|
|
|
|
+ if(res.success){
|
|
|
|
+ this.iframeUrl = res.result
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|