| | |
| | | </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 == '接警信息' }" |
| | |
| | | ]) |
| | | }, |
| | | |
| | | watch: { |
| | | detailsPopup: { |
| | | handler (newData, oldData) { |
| | | if (newData.showBox == false) { |
| | | this.currentBtn = '接警信息' |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | |
| | | mounted () { |
| | | |
| | | if (this.getWidth() > 7000) { |
| | |
| | | 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') |
| | |
| | | * @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: 小区-栋-层-房屋 |
| | | * |
| | |
| | | }, |
| | | |
| | | destroyed () { |
| | | this.$store.commit('SET_DETAILSPOPUP', { |
| | | showBox: false, |
| | | showBtn: false |
| | | }) |
| | | |
| | | this.$EventBus.$emit('mapRemoveLayer', { |
| | | layerName: 'polygonLayer', |
| | | type: 'VectorLayer' |
| | |
| | | * @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: 小区-栋-层-房屋 |
| | | * |
| | |
| | | // this.$EventBus.$emit('removeMxTileset', { |
| | | // titlesetName: 'sdTilesetLayer' |
| | | // }) |
| | | this.$store.commit('SET_DETAILSPOPUP', { |
| | | showBox: false, |
| | | showBtn: false |
| | | }) |
| | | |
| | | this.$parent.$parent.resize('0px') |
| | | this.$EventBus.$emit('mapClearLayer', { |