派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-04-02 b6c363cdc1ea55dbfc1dfdb6a7c27c8fc51fa0e2
src/api/mapApi.js
@@ -2,13 +2,39 @@
// import * as Service from './services'
// const $HOST = 'http://10.238.221.113'
// 测试环境IP:http://10.238.221.113
import axios from '@utils/axios'
import * as mapUrl from './mapUrl'
/**
 * 该方法配置
 */
class MapAPI{
export default {
  getUser (data) {
    return axios.get(mapUrl.GetUser, data)
  },
  // 固废点
  getSolidWaste (data) {
    return axios.get(mapUrl.getSolidWaste, data)
  },
  // 固废点基本信息
  getSolidWasteBaseInfo (data) {
    return axios.get(mapUrl.getSolidWasteBaseInfo, data)
  },
  // 固废详细信息
  getSolidWasteDetail (data) {
    return axios.get(mapUrl.getSolidWasteDetail, data)
  },
  // 固废 数据搜索 暂时
  getSolidWasteSurveyDetail (data) {
    return axios.get(mapUrl.getSolidWasteSurveyDetail, data)
  },
  getWasteGas (data) {
    return axios.get(mapUrl.getWasteGas, data)
  },
  getWasteWater (data) {
    return axios.get(mapUrl.getWasteWater, data)
  },
  getCompany (data) {
    return axios.get(mapUrl.getCompany, data)
  }
}
export default new MapAPI()