BUG 27621

This commit is contained in:
aixianling
2022-02-23 15:16:23 +08:00
parent 92ffbc1231
commit 8ab0d46eaf
46 changed files with 1057 additions and 1000 deletions

View File

@@ -1,7 +1,8 @@
<template>
<section class="monitorDetail">
<div class="videoBox">
<iframe ref="monitorIns" :style="style" :src="monitor.url" allow="autoplay *; microphone *; fullscreen *" allowfullscreen allowtransparency allowusermedia frameBorder="no" />
<iframe ref="monitorIns" :style="style" :src="monitor.url" allow="autoplay *; microphone *; fullscreen *"
allowfullscreen allowtransparency allowusermedia frameBorder="no"/>
</div>
</section>
</template>
@@ -9,6 +10,7 @@
<script>
export default {
name: 'monitorDetail',
appName: "监控详情",
data() {
return {
style: {},
@@ -28,15 +30,15 @@ export default {
methods: {
getDetail(deviceId) {
deviceId &&
this.$instance
.post('/app/appzyvideoequipment/getWebSdkUrl', null, {
params: { deviceId },
})
.then((res) => {
if (res?.data) {
this.monitor = JSON.parse(res.data)
}
})
this.$instance
.post('/app/appzyvideoequipment/getWebSdkUrl', null, {
params: {deviceId},
})
.then((res) => {
if (res?.data) {
this.monitor = JSON.parse(res.data)
}
})
},
detectOrient() {