mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
停车场控制台场内二维码出不来bug
Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
parent
f0477e1423
commit
bedec46d92
@ -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('请求失败处理');
|
||||
}
|
||||
);
|
||||
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user