From 82732610befafe88ae9512c9ac37e6a4bcf291c7 Mon Sep 17 00:00:00 2001 From: XingChuan <m17600301067@163.com> Date: 星期日, 30 五月 2021 22:59:44 +0800 Subject: [PATCH] 废气小时数据、日数据、人工数据接口替换;增加点位id、检测项id查询;无数据提示;UI优化。 --- src/api/request.js | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index af919c9..0ac2c24 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,21 +1,21 @@ import $http from '@utils/axios' import Qs from 'qs' -// import axios from 'axios' export const QueryStoragePlaceListByCompanyAndName = (data = {}) => { - return $http.post('/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), { + return $http.post('http://10.246.162.140:8080/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), { headers: { 'Content-Type': 'application/json' } }) } -export function FlueGas (data = {}) { - return $http.post('EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', Qs.stringify(data), { +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: { @@ -23,3 +23,6 @@ } }) } +export function reportLocationSearch (data = {}) { + return $http.get('http://10.246.133.164//api/search?', data) +} -- Gitblit v1.8.0