Commit f33ab31b authored by 张伯涛's avatar 张伯涛

大屏模块bug修改

parent d0036932
......@@ -493,7 +493,7 @@ import AMapLoader from "@amap/amap-jsapi-loader";
<div class="videoInfo" v-show="videoOpen">
<div class="alarmInfo_header">
<div class="alarmInfo_title">换热站监控</div>
<div class="alarmInfo_close" @click="handleVideoClose">X</div>
<div v-if="showVideoClose === true" class="alarmInfo_close" @click="handleVideoClose">X</div>
</div>
<div v-if="videoAllLoading" class="videoLoading-overlayAll">
<div class="videoLoading-spinner"></div>
......@@ -592,6 +592,7 @@ export default defineComponent({
return {
videoLoading: false,
videoAllLoading: false,
showVideoClose: false,
videoNum: 0,
queryParams: '',
divWidth: '',
......@@ -3026,8 +3027,8 @@ export default defineComponent({
this.videoLoading = false
},
handleInitSuccessAll() {
console.log('value2222222222222', this.videoOpen)
this.videoAllLoading = false
this.showVideoClose = true
},
getGYTransferVideo2() {
this.videoNum = 0
......@@ -3081,6 +3082,7 @@ export default defineComponent({
},
// 关闭更多视频弹窗
handleVideoClose() {
this.showVideoClose = false
this.queryParamsAll = ''
this.stopParamsAll += 1
this.videoOpen = false
......@@ -3088,6 +3090,7 @@ export default defineComponent({
videoList.push(this.VideoInfo.playVideoList[this.videoNum])
this.getDivWidth()
this.queryParams = JSON.stringify(videoList)
this.videoLoading = true
},
// 下一个视频
nextVideo() {
......@@ -3100,6 +3103,7 @@ export default defineComponent({
const videoList = []
videoList.push(this.VideoInfo.playVideoList[this.videoNum])
this.queryParams = JSON.stringify(videoList)
this.videoLoading = true
},
// 上一个视频
PreviousVideo() {
......@@ -3112,6 +3116,7 @@ export default defineComponent({
const videoList = []
videoList.push(this.VideoInfo.playVideoList[this.videoNum])
this.queryParams = JSON.stringify(videoList)
this.videoLoading = true
},
// 获取港益换热站实时能耗数据
handleGetGYTransferRealData() {
......
......@@ -75,6 +75,7 @@ onActivated(()=>{
// showPlay();
})
onDeactivated(() => {
console.log('跳跳跳')
hidePlay();
})
......@@ -106,7 +107,7 @@ const pProps = defineProps({
required: true,
},
stopParams: {
type: String,
type: Number,
required: true,
}
});
......
......@@ -98,7 +98,7 @@ const pProps = defineProps({
required: true,
},
stopParams: {
type: String,
type: Number,
required: true,
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment