shuishen
2023-02-11 a36eeb6a93dd99032e10a59acc6843c8222df9e4
现有设备参数调整
2 files modified
14 ■■■■ changed files
src/views/home/components/rightContainer.vue 6 ●●●● patch | view | raw | blame | history
src/views/home/index.vue 8 ●●●● patch | view | raw | blame | history
src/views/home/components/rightContainer.vue
@@ -702,10 +702,10 @@
        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')
                }
            })
        },
src/views/home/index.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-11 16:14:00
 * @LastEditTime: 2023-02-11 16:52:33
 * @FilePath: \srs-police-affairs\src\views\home\index.vue
 * @Description: 小区-栋-层-房屋
 *
@@ -1584,9 +1584,9 @@
        async showequimentdetail (name, typeVale, type) {
            this.equimentTitle = name
            this.equimentCurrentSelect = {
                type: typeVale
            }
            this.equimentCurrentSelect = {}
            this.equimentCurrentSelect[type] = typeVale
            await this.getEquipmentPaging(this.equimentCurrentSelect)