From b5db7d99041a1ea1dbd01c8c5d8f55eb36f7c71e Mon Sep 17 00:00:00 2001 From: seatonwan9 <seatonwan9@163.com> Date: 星期日, 30 五月 2021 15:45:25 +0800 Subject: [PATCH] 废水和废气查询修改 --- src/components/LayerController/logic/WasteGas.js | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/components/LayerController/logic/WasteGas.js b/src/components/LayerController/logic/WasteGas.js index b591f19..8a2fa53 100644 --- a/src/components/LayerController/logic/WasteGas.js +++ b/src/components/LayerController/logic/WasteGas.js @@ -26,10 +26,22 @@ L: L, layer: layer }) - const res = await mapApi.getWasteGas() - // console.log(res) + const param = { + companyId: 3900100145, // 浼佷笟缂栫爜 + id: '', + monType: 2, // 搴熸皵 + userCode: 'wenchun.deng', // 鐢ㄦ埛鍚嶇О + monDuration: '', + epName: '', + secdDeptId: '', + contrLevel: '', + dataStatus: '', + dataFlag: '', + runStatus: '', + emissTypeId: '' + } + const res = await mapApi.getWasteGas(param) const data = res.Result.DataInfo || {} - // console.log(data) for (let i = 0; i < data.length; i++) { // 缁忕含搴� 浣嶇疆 const positionX = data[i].Latitude -- Gitblit v1.8.0