From ad9c4fbf43e6b58e0019e04878ad0935ae811b8d Mon Sep 17 00:00:00 2001 From: 陈泽平 <chenzeping> Date: 星期一, 31 五月 2021 10:28:20 +0800 Subject: [PATCH] 企业应急-事件上报布局问题修改 --- src/api/request.js | 31 +++++++++++++++++++++++++------ 1 files changed, 25 insertions(+), 6 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index d623ca2..0ac2c24 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,9 +1,28 @@ 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('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' + } + }) +} +export function reportLocationSearch (data = {}) { + return $http.get('http://10.246.133.164//api/search?', data) } -- Gitblit v1.8.0