派生自 wuyushui/SewerAndRainNetwork

QibolinCzp
2021-05-14 2775d5f5cee087361e9e85e10ff55665e5ed0839
src/components/panel/topicSearch/EnterpriseEmergency/ResourcesQuery.vue
File was renamed from src/components/panel/topicSearch/SewersSelect/EnterpriseEmergency/ResourcesQuery.vue
@@ -57,8 +57,9 @@
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',
@@ -66,7 +67,7 @@
    return {
      form: {
        eventName: '',
        pipelineType: '应急资源',
        pipelineType: LayerEmergencySource.name,
        dataType: '',
        keyword: '',
        eventNameList: [
@@ -107,7 +108,7 @@
      }
    },
    handleDataType (val) {
      console.log(val)
      // console.log(val)
      this.list = []
    },
    async handleSearch () {
@@ -131,7 +132,11 @@
    },
    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
      })
    }
  }
}