Browse Source

Merge branch 'develop' of http://39.106.31.193:9211/mengff/jihe-hs into develop

wangqin
hui 7 months ago
parent
commit
3505e82e16
  1. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js
  2. 14
      ruoyi-ui/src/views/JiHeExpressway/pages/control/qrCode/index.vue

6
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/RoadAndEvents/utils/httpList.js

@ -26,10 +26,10 @@ export async function getCameraStream(camId, media = 1) {
}, },
}); });
if (data.code == 200) { /*if (data.code == 200) {
data.data.liveUrl = data.data.liveUrl =
"https://10.0.111.11/camera?target=" + data.data.liveUrl.substring(7); "https://10.0.81.202/camera?target=" + data.data.liveUrl.substring(7);
} }*/
return data; return data;
} }

14
ruoyi-ui/src/views/JiHeExpressway/pages/control/qrCode/index.vue

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

Loading…
Cancel
Save