From a96e7a6704cb34ece8835066ff9f069014062e3d Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期二, 30 三月 2021 21:32:36 +0800
Subject: [PATCH] 文件合并方法
---
src/api/request.js | 37 ++++++++++++++++++++-----------------
1 files changed, 20 insertions(+), 17 deletions(-)
diff --git a/src/api/request.js b/src/api/request.js
index a27be63..bceceb3 100644
--- a/src/api/request.js
+++ b/src/api/request.js
@@ -8,22 +8,25 @@
}
})
}
-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: ''
+// export const QueryStoragePlaceListByCompanyAndName = (data = {}) => {
+// return $http.get('http://xearth.cn:3000/wasteSolid/getSolidWaste', 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