优化业主端功能

This commit is contained in:
wuxw 2024-02-26 14:35:47 +08:00
parent 9f62a856ba
commit 257ba13a86
3 changed files with 6 additions and 4 deletions

View File

@ -74,7 +74,7 @@ export function listOwnerMachines(_objData){
data: _objData, //动态数据
success: function(res) {
if (res.statusCode == 200) {
let _machines = res.data.machines;
let _machines = res.data.data;
resolve(_machines);
return;
}

View File

@ -110,7 +110,7 @@ export default {
// 查询申请类型(空置房)
queryApplyRoomDiscountType: baseUrl + "app/applyRoomDiscount/queryApplyRoomDiscountType",
saveApplyRoomDiscount: baseUrl + "app/applyRoomDiscount/saveApplyRoomDiscount",
openDoor: baseUrl + "app/machine/openDoor",
openDoor: baseUrl + "app/iot.openAccessControlDoor",
getQrCode: baseUrl + "app/machine/getQRcode",
queryOwnerCars: baseUrl + "app/parkingSpaceApply.listParkingSpaceApply",
customCarInOut: baseUrl + "app/machine.customCarInOutCmd", //手工保存车牌号

View File

@ -78,7 +78,9 @@
.then((_owner) => {
let _data = {
memberId: _owner.memberId,
communityId: _owner.communityId
communityId: _owner.communityId,
page:1,
row:300
};
_that.communityName = _owner.communityName;
_that.communityId = _owner.communityId;
@ -106,7 +108,7 @@
communityId: this.communityId,
userRole: 'owner',
machineCode: _that.curMachine.machineCode,
userId: this.memberId
memberId: this.memberId
}).then((res) => {
wx.hideLoading();
let data = res.data;