From bedec46d92fa217d70a1dd0a85e66abaacff31c6 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Fri, 19 Jan 2024 06:43:57 +0000 Subject: [PATCH] =?UTF-8?q?=E5=81=9C=E8=BD=A6=E5=9C=BA=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8F=B0=E5=9C=BA=E5=86=85=E4=BA=8C=E7=BB=B4=E7=A0=81=E5=87=BA?= =?UTF-8?q?=E4=B8=8D=E6=9D=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: java110 <928255095@qq.com> --- .../parkingAreaTotalControlFee.js | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/public/components/property/parkingAreaTotalControlFee/parkingAreaTotalControlFee.js b/public/components/property/parkingAreaTotalControlFee/parkingAreaTotalControlFee.js index 0bc19512c..7a13c9d2d 100644 --- a/public/components/property/parkingAreaTotalControlFee/parkingAreaTotalControlFee.js +++ b/public/components/property/parkingAreaTotalControlFee/parkingAreaTotalControlFee.js @@ -109,9 +109,29 @@ } }, _showInParkingAreaQrCode: function() { - vc.emit('barrierGateQrCode', 'openQrCodeModal', { - boxId: $that.parkingAreaTotalControlFeeInfo.boxId - }) + let _param = { + params:{ + page:1, + row:1, + paId:$that.parkingAreaTotalControlFeeInfo.boxId, + communityId:vc.getCurrentCommunity().communityId + } + } + vc.http.apiGet('/parkingBox.listParkingBox', + _param, + function (json, res) { + let _json = JSON.parse(json); + if(_json.total>0){ + vc.emit('barrierGateQrCode', 'openQrCodeModal', { + boxId: _json.data[0].boxId + }) + } + }, + function (errInfo, error) { + console.log('请求失败处理'); + } + ); + }, }