| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-02-17 15:44:25 |
| | | * @LastEditTime: 2023-02-17 16:43:28 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | policeStaionID: '', |
| | | |
| | | // 现有地搜索条件-小区名称 |
| | | landSearchAoiName: '' |
| | | landSearchAoiName: '', |
| | | |
| | | destroyFlag: true |
| | | } |
| | | }, |
| | | |
| | |
| | | // 加载首页下拉列表数据 |
| | | getPoliceStationTree (type, id = '') { |
| | | getPoliceStationTree(type, id).then(res => { |
| | | if (this.destroyFlag == false) return |
| | | if (type == 1) { |
| | | |
| | | this.policeStationOptions = res.data.data |
| | |
| | | |
| | | if (res.data.data.list.length > 0) { |
| | | this.equimentTableData = res.data.data.list |
| | | console.log(this.equimentTableData[0], 22323) |
| | | |
| | | this.equimentPagingTotal = res.data.data.total |
| | | } else { |
| | |
| | | showBtn: false |
| | | }) |
| | | |
| | | global.viewer.dataSources.removeAll() |
| | | |
| | | this.$EventBus.$emit('mapRemoveLayer', { |
| | | layerName: 'polygonLayer', |
| | | type: 'VectorLayer' |
| | | }) |
| | | |
| | | this.$EventBus.$emit('mapRemoveLayer', { |
| | | layerName: 'carLayers', |
| | | type: 'VectorLayer' |
| | |
| | | layerName: 'activityLayers', |
| | | type: 'ClusterLayer' |
| | | }) |
| | | |
| | | if (cylinderLayer != null) { |
| | | cylinderLayer.clear() |
| | | cylinderLayer.remove() |