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

大屏模块bug修改

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