派生自 wuyushui/SewerAndRainNetwork

src/components/LayerController/logic/WasteWater.js
@@ -8,7 +8,7 @@
const AnimalService = require('../service/AnimalService').default
const mapApi = require('../../../api/mapApi').default
// 弹窗数据引进
const WasteWaterIndex = require('@components/BaseNav/WasteWater/WasteWaterIndex').default
const WasteWaterIndex = require('@components/base-page/WasteWater/WasteWaterIndex').default
const NormalImg = '/assets/images/map/wastewater/fs_bright_green.png' // 正常
const OffImg = '/assets/images/map/wastewater/fs_gray.png' // 停运
@@ -27,7 +27,21 @@
      L: L,
      layer: layer
    })
    const res = await mapApi.getWasteWater()
    const param = {
      companyId: 3900100145, // 企业编码
      id: '',
      monType: 1, // 废水
      userCode: 'wenchun.deng', // 用户名称
      monDuration: '',
      epName: '',
      secdDeptId: '',
      contrLevel: '',
      dataStatus: '',
      dataFlag: '',
      runStatus: '',
      emissTypeId: ''
    }
    const res = await mapApi.getWasteWater(param)
    const data = res.Result.DataInfo || {}
    for (let i = 0; i < data.length; i++) {
      // 经纬度 位置
@@ -41,7 +55,7 @@
        totransferData: data[i],
        icon: L.icon({
          iconUrl: iconUrl,
          iconSize: [35, 35],
          iconSize: [30, 30],
          iconAnchor: [15, 15]
        })
      })
@@ -65,7 +79,9 @@
        parent: this, // 父组件
        data: { // 传递的参数
          // info: this.info
          storagePlaceId: res
          storagePlaceId: res,
          OnlineMonEmissPointId: e.layer.options.totransferData.OnlineMonEmissPointId,
          LabMonPointId: res.LabMonPointId
        }
      },
      title: '天津石化' + title // 标题