停车场控制台场内二维码出不来bug

Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
java110 2024-01-19 06:43:57 +00:00 committed by Gitee
parent f0477e1423
commit bedec46d92
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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('请求失败处理');
}
);
},
}