派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-19 6d45b149ba4164dd87152180ff8e4c365484a5b3
src/components/panel/topicSearch/EnterpriseEmergency/ResourcesQuery.vue
@@ -61,8 +61,7 @@
import { LayerSurroundings } from '../../../../conf/layers/LayerSurroundings'
// 引入的方法
import { pulseEffect } from '../../../../utils/utils'
// import { locate } from '../../../helpers/LocateHelper'
// import { fitBounds, highlight, locate, openPropsPopup } from '../../../helpers/LocateHelper'
import { loadPointWfs, pointZoom } from '../../../helpers/LocateHelper'
export default {
  name: 'ResourcesQuery',
@@ -153,11 +152,11 @@
      this.activeNum = index
      const positionArea = [val.properties.y, val.properties.x]
      window.map.setView(positionArea, 17)
      pointZoom(positionArea, this.form.dataType.icon)
      // 图片
      loadPointWfs(positionArea)
      // 弹窗
      pulseEffect(positionArea)
      // const config = this.form.dataType
      // locate(val, config)
      // fitBounds(val, this.form.dataType.code)
      // highlight(val, this.form.dataType)
    }
  }
}