shuishen
2023-02-14 1024683e6e7ecc082d16373529f2411b0366c624
现有设备-警情mappopup
4 files modified
27 ■■■■ changed files
src/components/map/components/mapPopup.vue 12 ●●●●● patch | view | raw | blame | history
src/views/home/components/rightContainer.vue 2 ●●● patch | view | raw | blame | history
src/views/home/index.vue 7 ●●●● patch | view | raw | blame | history
src/views/house/index.vue 6 ●●●● patch | view | raw | blame | history
src/components/map/components/mapPopup.vue
@@ -20,7 +20,7 @@
                                    </div>
                                    <div class="close" @click="closePopup" title="关闭"></div>
                                </div>
                                <div class="change-btn" v-show="showBtn">
                                <div class="change-btn" v-show="detailsPopup.showBtn">
                                    <div
                                        @click="currentBtn = '接警信息'"
                                        :class="{ on: currentBtn == '接警信息' }"
@@ -153,6 +153,16 @@
        ])
    },
    watch: {
        detailsPopup: {
            handler (newData, oldData) {
                if (newData.showBox == false) {
                    this.currentBtn = '接警信息'
                }
            }
        }
    },
    mounted () {
        if (this.getWidth() > 7000) {
src/views/home/components/rightContainer.vue
@@ -702,7 +702,7 @@
        clickEquimentChart () {
            equipmentmyChart.on('click', params => {
                // 设备类型,摄像头弹窗显示,其他弹窗显示,【记录仪列显示,警车列显示,手台列显示】,遍历数组
                if (params.data.equimentType) {
                if ('equimentType' in params.data) {
                    this.$emit('showequimentdetail', params.data.name, params.data.equimentType, 'type')
                } else {
                    this.$emit('showequimentdetail', params.data.name, params.data.online, '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-13 09:58:57
 * @LastEditTime: 2023-02-14 10:29:23
 * @FilePath: \srs-police-affairs\src\views\home\index.vue
 * @Description: 小区-栋-层-房屋
 *
@@ -1959,6 +1959,11 @@
    },
    destroyed () {
        this.$store.commit('SET_DETAILSPOPUP', {
            showBox: false,
            showBtn: false
        })
        this.$EventBus.$emit('mapRemoveLayer', {
            layerName: 'polygonLayer',
            type: 'VectorLayer'
src/views/house/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-10 16:12:13
 * @LastEditTime: 2023-02-14 10:29:36
 * @FilePath: \srs-police-affairs\src\views\house\index.vue
 * @Description: 小区-栋-层-房屋
 * 
@@ -1534,6 +1534,10 @@
        // this.$EventBus.$emit('removeMxTileset', {
        //     titlesetName: 'sdTilesetLayer'
        // })
        this.$store.commit('SET_DETAILSPOPUP', {
            showBox: false,
            showBtn: false
        })
        this.$parent.$parent.resize('0px')
        this.$EventBus.$emit('mapClearLayer', {