From 8a8900af882b67119d179c506d96cfcbcce7d1dd Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期一, 29 三月 2021 10:18:05 +0800
Subject: [PATCH] 废气点加载
---
src/api/request.js | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/api/request.js b/src/api/request.js
index 315f29b..d623ca2 100644
--- a/src/api/request.js
+++ b/src/api/request.js
@@ -1,10 +1,9 @@
import $http from '@utils/axios'
-import Qs from 'qs'
-export const QueryStoragePlaceListByCompanyAndName = (data = {}) => {
- return $http.post('/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), {
- headers: {
- 'Content-Type': 'application/json'
- }
- })
+// // 鍥哄簾鎺ュ彛
+// export const requestSolidWaste = (url, data = {}) => {
+// return $http.post('./static/SolidWaste.json', data)
+// }
+export const requestSolidWaste = (url) => {
+ return $http.get('./static/SolidWaste.json')
}
--
Gitblit v1.8.0