File was renamed from src/components/panel/topicSearch/SewersSelect/EnterpriseEmergency/ResourcesQuery.vue |
| | |
| | | import AjaxUtils from '@utils/AjaxUtils' |
| | | |
| | | // import { LayerEmergency } from '../../../../../conf/LayerEmergency' |
| | | import { LayerEmergencySource } from '../../../../../conf/layers/LayerEmergencySource' |
| | | import { LayerSurroundings } from '../../../../../conf/layers/LayerSurroundings' |
| | | import { LayerEmergencySource } from '../../../../conf/layers/LayerEmergencySource' |
| | | import { LayerSurroundings } from '../../../../conf/layers/LayerSurroundings' |
| | | import AnimalService from '../../../../components/LayerController/service/AnimalService' |
| | | |
| | | export default { |
| | | name: 'ResourcesQuery', |
| | |
| | | return { |
| | | form: { |
| | | eventName: '', |
| | | pipelineType: '应急资源', |
| | | pipelineType: LayerEmergencySource.name, |
| | | dataType: '', |
| | | keyword: '', |
| | | eventNameList: [ |
| | |
| | | } |
| | | }, |
| | | handleDataType (val) { |
| | | console.log(val) |
| | | // console.log(val) |
| | | this.list = [] |
| | | }, |
| | | async handleSearch () { |
| | |
| | | }, |
| | | handleLocation (val, index) { |
| | | this.activeNum = index |
| | | window.map.flyTo([val.properties.y, val.properties.x], 15) |
| | | window.map.setView([val.properties.y, val.properties.x], 16) |
| | | this.animalService = new AnimalService({ |
| | | L: window.L, |
| | | layer: window.layer |
| | | }) |
| | | } |
| | | } |
| | | } |