派生自 wuyushui/SewerAndRainNetwork

chenzeping
2021-04-19 142720dc771df774b5531c0a2a3c448e214ecda6
src/components/LayerController/logic/WasteGas.js
@@ -59,11 +59,13 @@
  this.clickListener = async (e) => {
    // console.log(e)
    this.animalService.pulseEffect(e.latlng)
    // const dataValue = {
    //   StoragePlaceId: e.layer.options.test.StoragePlaceId
    // }
    const dataValue = {
      StoragePlaceId: e.layer.options.test.StoragePlaceId
    }
    // console.log(e.layer.options.test.EpsGisMonPointId)
    const title = e.layer.options.test.Name
    const res = e.layer.options.test
    console.log(res)
    // const GasOnlinedata = {
    //   onLineMonEmissPointId: '23',
    //   monItemId: '28,31',
@@ -81,8 +83,8 @@
    // console.log(ManualData)
    // const Mondata = await mapApi.getWasteGasMonData(GasOnlinedata)
    // // console.log(Mondata)
    // const result = await mapApi.getWasteGasDetails(dataValue)
    // // console.log(result.Result.DataInfo)
    const result = await mapApi.getWasteGasDetails(dataValue)
    console.log(result.Result.DataInfo)
    // const PublicBounced = window.Vue.extend(publicBounced)
    // const instance = new PublicBounced()
    // // console.log(e.layer.options.test)
@@ -94,7 +96,7 @@
        content: WasteGasIndex, // 组件
        parent: this, // 父组件
        data: { // 传递的参数
          storagePlaceId: e.layer.options.test.StoragePlaceId
          storagePlaceId: res
        }
      },
      title: title // 标题