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/components/LayerController/logic/WasteWater.js | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/components/LayerController/logic/WasteWater.js b/src/components/LayerController/logic/WasteWater.js
index 29658e1..c8b0ff8 100644
--- a/src/components/LayerController/logic/WasteWater.js
+++ b/src/components/LayerController/logic/WasteWater.js
@@ -27,11 +27,11 @@
L: L,
layer: layer
})
- const res = await mapApi.getWasteWater({
- companyId: 3900100145, // 浼佷笟鍚嶇О
+ const param = {
+ companyId: 3900100145, // 浼佷笟缂栫爜
id: '',
- monType: 1, // 鍊间负1鏌ヨ搴熸按
- userCode: 'wenchun.deng', // 瑙掕壊鍚嶇О
+ monType: 1, // 搴熸按
+ userCode: 'wenchun.deng', // 鐢ㄦ埛鍚嶇О
monDuration: '',
epName: '',
secdDeptId: '',
@@ -40,7 +40,8 @@
dataFlag: '',
runStatus: '',
emissTypeId: ''
- })
+ }
+ const res = await mapApi.getWasteWater(param)
const data = res.Result.DataInfo || {}
for (let i = 0; i < data.length; i++) {
// 缁忕含搴� 浣嶇疆
@@ -54,7 +55,7 @@
totransferData: data[i],
icon: L.icon({
iconUrl: iconUrl,
- iconSize: [35, 35],
+ iconSize: [30, 30],
iconAnchor: [15, 15]
})
})
@@ -78,7 +79,9 @@
parent: this, // 鐖剁粍浠�
data: { // 浼犻�掔殑鍙傛暟
// info: this.info
- storagePlaceId: res
+ storagePlaceId: res,
+ OnlineMonEmissPointId: e.layer.options.totransferData.OnlineMonEmissPointId,
+ LabMonPointId: res.LabMonPointId
}
},
title: '澶╂触鐭冲寲' + title // 鏍囬
--
Gitblit v1.8.0