| | |
| | | clickEquimentChart () { |
| | | equipmentmyChart.on('click', params => { |
| | | // 设备类型,摄像头弹窗显示,其他弹窗显示,【记录仪列显示,警车列显示,手台列显示】,遍历数组 |
| | | if (params.equimentType) { |
| | | this.$emit('showequimentdetail', params.name, params.equimentType, 'type') |
| | | if (params.data.equimentType) { |
| | | this.$emit('showequimentdetail', params.data.name, params.data.equimentType, 'type') |
| | | } else { |
| | | this.$emit('showequimentdetail', params.name, params.equimentType, 'online') |
| | | this.$emit('showequimentdetail', params.data.name, params.data.equimentType, 'online') |
| | | } |
| | | }) |
| | | }, |
| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-02-11 16:14:00 |
| | | * @LastEditTime: 2023-02-11 16:52:33 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | async showequimentdetail (name, typeVale, type) { |
| | | this.equimentTitle = name |
| | | |
| | | this.equimentCurrentSelect = { |
| | | type: typeVale |
| | | } |
| | | this.equimentCurrentSelect = {} |
| | | |
| | | this.equimentCurrentSelect[type] = typeVale |
| | | |
| | | await this.getEquipmentPaging(this.equimentCurrentSelect) |
| | | |