From f305077e82b1eb1edc45da2d206e976fdb89f66b Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期二, 30 三月 2021 17:04:55 +0800
Subject: [PATCH] 新的图层控制逻辑

---
 src/api/request.js |   27 +++++++++++++++++++++------
 1 files changed, 21 insertions(+), 6 deletions(-)

diff --git a/src/api/request.js b/src/api/request.js
index d623ca2..38364ca 100644
--- a/src/api/request.js
+++ b/src/api/request.js
@@ -1,9 +1,24 @@
 import $http from '@utils/axios'
+import Qs from 'qs'
 
-// // 鍥哄簾鎺ュ彛
-// export const requestSolidWaste = (url, data = {}) => {
-//   return $http.post('./static/SolidWaste.json', data)
-// }
-export const requestSolidWaste = (url) => {
-  return $http.get('./static/SolidWaste.json')
+export const QueryStoragePlaceListByCompanyAndName = (data = {}) => {
+  return $http.post('/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), {
+    headers: {
+      'Content-Type': 'application/json'
+    }
+  })
+}
+export const FlueGas = (data = {}) => {
+  return $http.post('/EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', Qs.stringify(data), {
+    headers: {
+      'Content-Type': 'application/json'
+    }
+  })
+}
+export function requestWasteWater (data = {}) {
+  return $http.post('EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', Qs.stringify(data), {
+    headers: {
+      'Content-Type': 'application/json'
+    }
+  })
 }

--
Gitblit v1.8.0