| | |
| | | * @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: 辖区管理 |
| | | * |
| | |
| | | |
| | | 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) |
| | | } |
| | | |
| | | }) |