1
guanqb
2023-04-07 948eb4c8f06efce2ce50981ccfb7868758d32395
1
1 files modified
15 ■■■■■ changed files
src/views/home/index.vue 15 ●●●●● patch | view | raw | blame | history
src/views/home/index.vue
@@ -572,7 +572,7 @@
            this.selectAllClass = true
            this.policeStaionID = this.userInfo.dept_id
        }
        this.$store.commit('SET_ISSHOWHOMECONTENT', true)
        this.getPoliceStationTree(1)
        // setTimeout(() => {
@@ -1911,12 +1911,10 @@
        showlanddetail (name, type, id) {
            this.$refs.landDetailsBox.showlanddetail(name, type, id)
        }
    },
    destroyed () {
        this.$store.commit('SET_MAPSEARCHPOPUP', false)
        // 首页显示隐藏页面进入跳转逻辑
        showHomeContentBtnStyle () {
        if (!this.$store.state.popupParams.isShowHomeContent) {
            this.$store.commit('SET_ISSHOWHOMECONTENT', true)
            if (document.querySelector('.dc-container .dc-zoom-controller').classList.contains('homebottom')) return
@@ -1925,6 +1923,13 @@
            document.querySelector('.over-look-btn').classList.add('homebottom')
            document.querySelector('.image-switch-icon-btn').classList.add('iconbottom')
        }
        },
    },
    destroyed () {
        this.$store.commit('SET_MAPSEARCHPOPUP', false)
        this.showHomeContentBtnStyle()
        loading && loading.close()