From 78b643de0b8690d566146858cd781be98d01777d Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期一, 29 三月 2021 10:00:50 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/api/request.js | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index d623ca2..c1016cf 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,9 +1,17 @@ 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') +// 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), { + headers: { + 'Content-Type': 'application/json' + } + }) } -- Gitblit v1.8.0