派生自 wuyushui/SewerAndRainNetwork

QibolinCzp
2021-05-14 8fce60dd7fe71c2f1e7a0d59512bec38d09851ee
src/components/panel/topicSearch/EnterpriseEmergency/ResourcesQuery.vue
@@ -55,11 +55,10 @@
<script>
import WfsHelper from '@components/helpers/WfsHelper'
import AjaxUtils from '@utils/AjaxUtils'
// import { LayerEmergency } from '../../../../../conf/LayerEmergency'
import { LayerEmergencySource } from '../../../../conf/layers/LayerEmergencySource'
import { LayerSurroundings } from '../../../../conf/layers/LayerSurroundings'
import AnimalService from '../../../../components/LayerController/service/AnimalService'
import { pulseEffect } from '../../../../utils/utils'
export default {
  name: 'ResourcesQuery',
@@ -130,13 +129,11 @@
        this.list = res.features
      }
    },
    // 查询定位功能
    handleLocation (val, index) {
      this.activeNum = index
      window.map.setView([val.properties.y, val.properties.x], 16)
      this.animalService = new AnimalService({
        L: window.L,
        layer: window.layer
      })
      pulseEffect([val.properties.y, val.properties.x])
    }
  }
}