From a3223dc244e83553db25026315987d58aef10301 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期四, 01 四月 2021 10:52:39 +0800 Subject: [PATCH] 添加企业 hover 污染物产生统计弹框展现 --- src/api/mapApi.js | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/api/mapApi.js b/src/api/mapApi.js index e7ebbc3..cebf2b3 100644 --- a/src/api/mapApi.js +++ b/src/api/mapApi.js @@ -2,13 +2,29 @@ // import * as Service from './services' // const $HOST = 'http://10.238.221.113' // 娴嬭瘯鐜IP锛歨ttp://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) + }, + getWasteWater (data) { + return axios.get(mapUrl.getWasteWater, data) + }, + getSolidWasteBaseInfo (data) { + return axios.get(mapUrl.getSolidWasteBaseInfo, data) + }, + GetWasteGas (data) { + return axios.get(mapUrl.GetWasteGas, data) + }, + getCompany (data) { + return axios.get(mapUrl.getCompany, data) + } } - -export default new MapAPI() -- Gitblit v1.8.0