还原视频监控。可重复
This commit is contained in:
parent
e782213397
commit
e9d0592dde
|
@ -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', () => {
|
||||||
|
|
|
@ -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')
|
||||||
|
|
|
@ -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('该实时监控已经加入视频列表了!')
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// 累计事件数量
|
// 累计事件数量
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue