From dd8aebad69a2311e5f526a0c6bbce956dea77861 Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期三, 31 三月 2021 11:20:42 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop
---
src/api/request.js | 33 ++++++++++++++++++++++++++++-----
1 files changed, 28 insertions(+), 5 deletions(-)
diff --git a/src/api/request.js b/src/api/request.js
index d623ca2..bceceb3 100644
--- a/src/api/request.js
+++ b/src/api/request.js
@@ -1,9 +1,32 @@
import $http from '@utils/axios'
+import Qs from 'qs'
-// // 鍥哄簾鎺ュ彛
-// export const requestSolidWaste = (url, data = {}) => {
-// return $http.post('./static/SolidWaste.json', data)
+export const QueryStoragePlaceListByCompanyAndName = (data = {}) => {
+ return $http.post('/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), {
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+}
+// export const QueryStoragePlaceListByCompanyAndName = (data = {}) => {
+// return $http.get('http://xearth.cn:3000/wasteSolid/getSolidWaste', Qs.stringify(data), {
+// headers: {
+// 'Content-Type': 'application/json'
+// }
+// })
// }
-export const requestSolidWaste = (url) => {
- return $http.get('./static/SolidWaste.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