From f9201f16652d1e58d649afaf0c5d025031c52c3f Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期三, 31 三月 2021 11:16:25 +0800 Subject: [PATCH] 更改文件地址/及方法 --- src/api/request.js | 29 ++++++++++++++++++++++------- 1 files changed, 22 insertions(+), 7 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index c1016cf..bceceb3 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,11 +1,4 @@ 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 = {}) => { @@ -15,3 +8,25 @@ } }) } +// 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