还原视频监控。可重复

This commit is contained in:
gaoyuanwei 2022-08-11 16:58:08 +08:00
parent e782213397
commit e9d0592dde
4 changed files with 4 additions and 24 deletions

View File

@ -506,12 +506,7 @@ export default {
bus.$off('openCurrentVideoSurveillance') bus.$off('openCurrentVideoSurveillance')
bus.$on('openCurrentVideoSurveillance', (channelCode) => { bus.$on('openCurrentVideoSurveillance', (channelCode) => {
this.openVideo = true this.openVideo = true
if (!this.channelCode.includes(channelCode)) { this.channelCode.unshift(channelCode)
console.log(this.channelCode, channelCode, '====>实时监控')
this.channelCode.unshift(channelCode)
} else {
this.$message.warning('该实时监控已经加入视频列表了!')
}
}) })
bus.$off('closeVideoDia') bus.$off('closeVideoDia')
bus.$on('closeVideoDia', () => { bus.$on('closeVideoDia', () => {

View File

@ -180,12 +180,7 @@ export default {
bus.$off('openCurrentVideoSurveillance') bus.$off('openCurrentVideoSurveillance')
bus.$on('openCurrentVideoSurveillance', (channelCode) => { bus.$on('openCurrentVideoSurveillance', (channelCode) => {
this.openVideo = true this.openVideo = true
if (!this.channelCode.includes(channelCode)) { this.channelCode.unshift(channelCode)
console.log(this.channelCode, channelCode, '====>实时监控')
this.channelCode.unshift(channelCode)
} else {
this.$message.warning('该实时监控已经加入视频列表了!')
}
}) })
bus.$off('roadCauseAnalysis') bus.$off('roadCauseAnalysis')

View File

@ -297,12 +297,7 @@ export default {
bus.$off('openCurrentVideoSurveillance') bus.$off('openCurrentVideoSurveillance')
bus.$on('openCurrentVideoSurveillance', (channelCode) => { bus.$on('openCurrentVideoSurveillance', (channelCode) => {
this.openVideo = true this.openVideo = true
if (!this.channelCode.includes(channelCode)) { this.channelCode.unshift(channelCode)
console.log(this.channelCode, channelCode, '====>实时监控')
this.channelCode.unshift(channelCode)
} else {
this.$message.warning('该实时监控已经加入视频列表了!')
}
}) })
// //

View File

@ -200,12 +200,7 @@ export default {
bus.$off('openCurrentVideoSurveillance') bus.$off('openCurrentVideoSurveillance')
bus.$on('openCurrentVideoSurveillance', channelCode => { bus.$on('openCurrentVideoSurveillance', channelCode => {
this.openVideo = true this.openVideo = true
if (!this.channelCode.includes(channelCode)) { this.channelCode.unshift(channelCode)
console.log(this.channelCode, channelCode, '====>实时监控')
this.channelCode.unshift(channelCode)
} else {
this.$message.warning('该实时监控已经加入视频列表了!')
}
}) })
}, },
methods: { methods: {