From 99b4d1539059e11826f98fccd746644637a157fc Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期一, 29 三月 2021 10:35:59 +0800
Subject: [PATCH] 废气点加载
---
src/api/request.js | 32 ++++++++++++++++++++++++++------
1 files changed, 26 insertions(+), 6 deletions(-)
diff --git a/src/api/request.js b/src/api/request.js
index d623ca2..a27be63 100644
--- a/src/api/request.js
+++ b/src/api/request.js
@@ -1,9 +1,29 @@
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 = (url) => {
+ return $http.get('./static/airQuality.json')
+}
+// export function FlueGas () {
+// return axios.post('http://10.246.162.140:8080/EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', {
+// companyId: 3900100145,
+// id: '',
+// monType: 2,
+// userCode: 'wenchun.deng',
+// monDuration: '',
+// epName: '',
+// secdDeptId: '',
+// contrLevel: '',
+// dataStatus: '',
+// dataFlag: '',
+// runStatus: '',
+// emissTypeId: ''
+// })
+// }
--
Gitblit v1.8.0