mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化业主端功能
This commit is contained in:
parent
9f62a856ba
commit
257ba13a86
@ -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;
|
||||
}
|
||||
|
||||
@ -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", //手工保存车牌号
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user