From 3072da92f3c3f08b2ee0ca03ee4e74b12f545b0e Mon Sep 17 00:00:00 2001 From: yangdelong <828900aaa> Date: 星期三, 26 五月 2021 21:31:55 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/api/request.js | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index c1016cf..acdca70 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,15 +1,23 @@ import $http from '@utils/axios' -// import axios from 'axios' -// // 鍥哄簾鎺ュ彛 -// export const requestSolidWaste = (url, data = {}) => { -// return $http.post('./static/SolidWaste.json', data) -// } -// export const requestSolidWaste = (url) => { -// return $http.get('./static/SolidWaste.json') import Qs from 'qs' 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 = (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