From 9d0f25c1fbbab74ee9d94a48817a4546f6edf176 Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期一, 29 三月 2021 16:06:44 +0800 Subject: [PATCH] 弹出框所有内容修改 --- src/api/request.js | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index d623ca2..445b185 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,9 +1,17 @@ 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' + } + }) +} +export const FlueGas = (data = {}) => { + return $http.post('/EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', Qs.stringify(data), { + headers: { + 'Content-Type': 'application/json' + } + }) } -- Gitblit v1.8.0