From 7b4d8a5ee0cae50a5f473e3765ba84f28fe8ba4b Mon Sep 17 00:00:00 2001 From: zhangshuaibao <15731629597@163.com> Date: 星期一, 29 三月 2021 11:27:54 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/api/request.js | 24 +++++++++++++++++------- 1 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index cb1f881..c3ce5bf 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,11 +1,21 @@ import $http from '@utils/axios' +import Qs from 'qs' +// import axios from 'axios' -// // 鍥哄簾鎺ュ彛 -export const requestSolidWaste = (url) => { - return $http.get('./static/SolidWaste.json') +export const QueryStoragePlaceListByCompanyAndName = (data = {}) => { + return $http.post('/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), { + headers: { + 'Content-Type': 'application/json' + } + }) } - -// 搴熸按鎺ュ彛 -export const requestWasteWater = (url) => { - return $http.get('./static/WasteWater.json') +// export const FlueGas = (url) => { +// return $http.get('./static/airQuality.json') +// } +export function FlueGas (data = {}) { + return $http.post('EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', Qs.stringify(data), { + headers: { + 'Content-Type': 'application/json' + } + }) } -- Gitblit v1.8.0