From ae3da7e6c7e6916052e3de4f3fab0cfb73bf80c3 Mon Sep 17 00:00:00 2001
From: wangqi <magical1908@outlook.com>
Date: 星期三, 07 四月 2021 10:08:04 +0800
Subject: [PATCH] 天地图修改为一排
---
src/api/request.js | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/api/request.js b/src/api/request.js
index c3ce5bf..acdca70 100644
--- a/src/api/request.js
+++ b/src/api/request.js
@@ -1,18 +1,22 @@
import $http from '@utils/axios'
import Qs from 'qs'
-// import axios from 'axios'
export const QueryStoragePlaceListByCompanyAndName = (data = {}) => {
- return $http.post('/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), {
+ return $http.post('http://10.246.162.140:8080/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 (data = {}) {
+export const FlueGas = (data = {}) => {
+ return $http.post('http://10.246.162.140:8080/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