1
shuishen
2023-02-16 2c978233d2934e6372c4188ffb701ed7cb7315ba
1
1 files modified
13 ■■■■■ changed files
src/views/video/region.vue 13 ●●●●● patch | view | raw | blame | history
src/views/video/region.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:17
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-16 16:26:16
 * @LastEditTime: 2023-02-16 16:46:57
 * @FilePath: \srs-police-affairs\src\views\video\region.vue
 * @Description: 辖区管理
 * 
@@ -681,16 +681,19 @@
                    this.monitorOption.push({ value: index, label: item.name, item })
                    console.log(index < 8, index)
                    if (index < 8) {
                        this.isShowVideo[`video${index + 1}`] = true
                        this.monitor[`type${index + 1}`] = item.name
                        const ind = index + 1
                        this.isShowVideo[`video${ind}`] = true
                        this.monitor[`type${ind}`] = item.name
                        this.getDevices(item.channelId).then(res => {
                            this.playVideoList(`flvPlayer${index + 1}`, `${res}`, `videoElement${index + 1}`)
                            this.playVideoList(`flvPlayer${ind}`, `${res}`, `videoElement${ind}`)
                        })
                        console.log(ind, 959)
                    }
                })