| | |
| | | }, |
| | | |
| | | rowClick (row) { |
| | | if (row.x == '' || row.y == '') { |
| | | this.$message({ |
| | | message: '暂无位置信息', |
| | | type: 'warning' |
| | | }) |
| | | |
| | | return |
| | | } |
| | | this.$store.commit('SET_MAPSEARCHPOPUP', true) |
| | | |
| | | this.$store.commit('SET_MAPSEARCHPOPUPDATA', { |
| | | name: row.realName |
| | | this.$EventBus.$emit('toPosition', { |
| | | siteJd: row.x, |
| | | siteWd: row.y, |
| | | siteGd: 200 |
| | | }) |
| | | |
| | | this.$store.commit('SET_ARCHITECTUREPOPUP', true) |
| | | |
| | | this.$store.commit('SET_ARCHITECTUREDATAPOPUP', { ...row, curDataTitle: '重点人员' }) |
| | | |
| | | // eslint-disable-next-line no-redeclare |
| | | var popup = new global.DC.DivForms(global.viewer, { |
| | | domId: 'mapSearchPopup', |
| | | domId: 'architectureDivElementDom', |
| | | position: [ |
| | | global.DC.Transform.transformWGS84ToCartesian( |
| | | new global.DC.Position( |
| | |
| | | ) |
| | | ) |
| | | ] |
| | | }) |
| | | |
| | | this.$EventBus.$emit('toPosition', { |
| | | layerName: 'carLayers', |
| | | siteJd: row.x, |
| | | siteWd: row.y, |
| | | siteGd: 200 |
| | | }) |
| | | |
| | | this.keyPersonVisible = false |
| | |
| | | }, |
| | | |
| | | destroyed () { |
| | | this.$store.commit('SET_MAPSEARCHPOPUP', false) |
| | | this.$store.commit('SET_ARCHITECTUREPOPUP', false) |
| | | }, |
| | | } |
| | | </script> |