From cf3885ebe41f432073f4ef0ce06428c67e6ea6ed Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期一, 29 三月 2021 10:36:10 +0800 Subject: [PATCH] 弹出框修改 --- src/api/request.js | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index d623ca2..315f29b 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,9 +1,10 @@ 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('/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), { + headers: { + 'Content-Type': 'application/json' + } + }) } -- Gitblit v1.8.0