From 32c49e86a7876f9252b0a88a0685c203830476f1 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期五, 28 五月 2021 16:40:23 +0800
Subject: [PATCH] 企业应急-事件上报-搜索定位

---
 src/api/request.js |   37 ++++++++++++++++++-------------------
 1 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/src/api/request.js b/src/api/request.js
index a27be63..0ac2c24 100644
--- a/src/api/request.js
+++ b/src/api/request.js
@@ -2,28 +2,27 @@
 import Qs from 'qs'
 
 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 const FlueGas = (url) => {
-  return $http.get('./static/airQuality.json')
+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 FlueGas () {
-//   return axios.post('http://10.246.162.140:8080/EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', {
-//     companyId: 3900100145,
-//     id: '',
-//     monType: 2,
-//     userCode: 'wenchun.deng',
-//     monDuration: '',
-//     epName: '',
-//     secdDeptId: '',
-//     contrLevel: '',
-//     dataStatus: '',
-//     dataFlag: '',
-//     runStatus: '',
-//     emissTypeId: ''
-//   })
-// }
+
+export function requestWasteWater (data = {}) {
+  return $http.post('EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', Qs.stringify(data), {
+    headers: {
+      'Content-Type': 'application/json'
+    }
+  })
+}
+export function reportLocationSearch (data = {}) {
+  return $http.get('http://10.246.133.164//api/search?', data)
+}

--
Gitblit v1.8.0