shuishen
2023-02-09 7373c0dc27affd74f9e985ba8b0472bb5358d161
首页相关更改
5 files modified
46 ■■■■■ changed files
src/views/home/components/bottomContainer.vue 7 ●●●● patch | view | raw | blame | history
src/views/home/components/leftContainer.vue 13 ●●●● patch | view | raw | blame | history
src/views/home/components/rightContainer.vue 6 ●●●● patch | view | raw | blame | history
src/views/home/index.vue 14 ●●●●● patch | view | raw | blame | history
src/views/layout/index.vue 6 ●●●● patch | view | raw | blame | history
src/views/home/components/bottomContainer.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2023-01-13 15:52:59
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-07 11:27:50
 * @LastEditTime: 2023-02-09 10:23:14
 * @FilePath: \srs-police-affairs\src\views\home\components\bottomContainer.vue
 * @Description: 
 * 
@@ -640,6 +640,11 @@
    destroyed () {
        window.removeEventListener('resize', this.setTableHeight)
        if (alarmTiming != null) {
            clearInterval(alarmTiming)
            alarmTiming = null
        }
    }
}
</script>
src/views/home/components/leftContainer.vue
@@ -297,6 +297,8 @@
            if (id != '') {
                this.showBack = false
                this.isAllPoliceStation = false
                this.tabTypeThree = 0
            } else {
                this.showBack = true
                this.isAllPoliceStation = true
@@ -815,6 +817,8 @@
            let personInfo = await this.getPersonInfo()
            keyPersonmyChart.setOption(this.initkeyPersonOption(personInfo))
            this.clickkeyPersonChart()
        },
        /**
         * @description: 调用接口获取重点人员数据
@@ -870,7 +874,7 @@
                                msg = params.value + '人'
                            }
                            msg = `${params.marker} ${params.name}<strong style="margin-left:10px">${msg}</strong>'`
                            msg = `${params.marker} ${params.name}<strong style="margin-left:10px">${msg}</strong>`
                            return msg
                        }
                    },
@@ -1012,8 +1016,6 @@
         * @return {*}
         */
        clickLandChart () {
            landMyChart.off('click')
            landMyChart.on('click', params => {
                if (this.tabTypeThree == 0) {
                    this.$emit('showlanddetail', params.name, 2, params.data.id)
@@ -1079,6 +1081,11 @@
        this.disposeEchart()
        this.disposeHouseEchart()
        this.disposeLandEchart()
        if (leftTiming != null) {
            clearInterval(leftTiming)
            leftTiming = null
        }
    }
}
</script>
src/views/home/components/rightContainer.vue
@@ -676,7 +676,11 @@
            eventchangemychart.dispose()
            eventchangemychart = null
        }
        clearInterval(timer)
        if (rightTiming != null) {
            clearInterval(rightTiming)
            rightTiming = null
        }
    }
}
</script>
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-08 17:15:57
 * @LastEditTime: 2023-02-09 10:07:57
 * @FilePath: \srs-police-affairs\src\views\home\index.vue
 * @Description: 小区-栋-层-房屋
 *
@@ -559,7 +559,7 @@
            callPhone: '',
            landPage: {
                total: 0,
                pageSize: 0,
                pageSize: 10,
                currentPage: 1
            },
            peoplePoliceName: '',
@@ -1451,7 +1451,8 @@
            this.landTitle = name
            this.landType = type
            this.landDetailId = id
            this.getLandDetail(type, id)
            this.landPage.currentPage = 1
            this.getLandDetail(type, id, this.landPage.currentPage)
        },
        // 获取设备分页数据
@@ -1674,7 +1675,7 @@
            this.policeName = ''
            this.callPhone = ''
            this.landPage.currentPage = 1
            this.getLandDetail(this.landType, this.landDetailId)
            this.getLandDetail(this.landType, this.landDetailId, this.landPage.currentPage)
        },
        searchLandDetail () {
@@ -1682,10 +1683,11 @@
            this.getLandDetail(this.landType, this.landDetailId, this.landPage.currentPage, this.policeName, this.callPhone)
        },
        getLandDetail (type, policeStationId, current, policeName, phone) {
        getLandDetail (type, policeStationId, current, policeName = '', phone = '') {
            this.landDetailArr = []
            this.landPage.total = 0
            getLandDetail(type, policeStationId, current, policeName, phone).then(res => {
                this.landDetailArr = res.data.data.records
                this.landPage.pageSize = res.data.data.size
                this.landPage.total = res.data.data.total
            })
        },
src/views/layout/index.vue
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2022-08-18 16:18:24
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2023-02-08 09:49:16
 * @LastEditTime: 2023-02-09 10:25:32
 * @FilePath: \srs-police-affairs\src\views\layout\index.vue
 * @Description: 
 * 
@@ -142,8 +142,8 @@
                    menuName: '运维管理',
                    openExternal: true,
                    // 内网
                    path: 'http://10.141.11.11:8081/#/security/security'
                    // path: 'http://192.168.43.201:1888/#/security/security'
                    // path: 'http://10.141.11.11:8081/#/security/security'
                    path: 'http://192.168.0.109:1888/#/security/security'
                }
            ],