From 1da76d05ebba28eeebef8af3832680143d5699c5 Mon Sep 17 00:00:00 2001 From: seatonwan9 <seatonwan9@163.com> Date: 星期一, 31 五月 2021 17:12:37 +0800 Subject: [PATCH] 查询条件补充,治理设施优化 --- 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