|
|
@ -1,13 +1,13 @@ |
|
|
|
<template> |
|
|
|
<div class='comp_box'> |
|
|
|
<iframe class="iframe" |
|
|
|
src="https://10.0.111.11:83/alarm-ui/single?u=pDo/guSkRP8=&p=u4johJJOFTyugiay04vYxQ==&t=za4NgrFfeTdF76uSUrhJuA==&route=/warning/QRCode" |
|
|
|
frameborder="0"></iframe> |
|
|
|
<iframe class="iframe" :src="alarmUrl" frameborder="0"></iframe> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
|
|
import { getConfigKey } from "@/api/system/config.js"; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'InDevelopment', |
|
|
|
components: { |
|
|
@ -16,9 +16,17 @@ export default { |
|
|
|
text:{ |
|
|
|
type:String, |
|
|
|
default:"暂无数据" |
|
|
|
}, |
|
|
|
alarmUrl:{ |
|
|
|
type:String, |
|
|
|
default:"", |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
getConfigKey("dc.alarmUrl").then((res) => { |
|
|
|
this.alarmUrl = res.msg |
|
|
|
this.$cache.local.set("manageStation", res.msg); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|