mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-23 21:36:39 +08:00
优化代码
This commit is contained in:
parent
a40e795448
commit
1d562e3161
@ -63,7 +63,7 @@ import { getCommunityId } from '../../api/community/community.js';
|
||||
},
|
||||
methods: {
|
||||
_loadMachines: function(_paNum) {
|
||||
this.paNumd = _paNum;
|
||||
this.paNum = _paNum;
|
||||
let _that = this;
|
||||
getIotOpenApi(this, {
|
||||
page: 1,
|
||||
@ -168,7 +168,7 @@ import { getCommunityId } from '../../api/community/community.js';
|
||||
this.cancel();
|
||||
uni.navigateTo({
|
||||
url: '/pages/car/carInParkingArea?machineId=' + _curMachine.machineId +
|
||||
'&machineCode=' + _curMachine.machineCode + 'paNumd=' + _that.paNumd + "&boxId=" +
|
||||
'&machineCode=' + _curMachine.machineCode + 'paNum=' + _that.paNum + "&boxId=" +
|
||||
_curMachine.boxId
|
||||
})
|
||||
},
|
||||
@ -185,7 +185,7 @@ import { getCommunityId } from '../../api/community/community.js';
|
||||
this.cancel();
|
||||
uni.navigateTo({
|
||||
url: '/pages/car/carOutParkingArea?machineId=' + _curMachine.machineId +
|
||||
"&machineCode=" + _curMachine.machineCode + "paNumd=" + this.paNumd + "&boxId=" +
|
||||
"&machineCode=" + _curMachine.machineCode + "paNum=" + this.paNum + "&boxId=" +
|
||||
_curMachine.boxId
|
||||
})
|
||||
}
|
||||
|
||||
@ -25,6 +25,7 @@
|
||||
return {
|
||||
machineId:'',
|
||||
paId:'',
|
||||
paNum:'',
|
||||
boxId:'',
|
||||
machineCode:'',
|
||||
carNum:'',
|
||||
@ -36,6 +37,7 @@
|
||||
this.machineCode = options.machineCode;
|
||||
this.machineId = options.machineId;
|
||||
this.paId = options.paId;
|
||||
this.paNum = options.paNum;
|
||||
this.boxId = options.boxId;
|
||||
},
|
||||
methods: {
|
||||
@ -46,6 +48,7 @@
|
||||
communityId:this.getCommunityId(),
|
||||
machineId:this.machineId,
|
||||
paId:this.paId,
|
||||
paNum:this.paNum,
|
||||
remark:this.remark,
|
||||
type:"1101",
|
||||
iotApiCode:'customCarInOutBmoImpl'
|
||||
|
||||
@ -85,6 +85,7 @@
|
||||
this.machineCode = options.machineCode;
|
||||
this.machineId = options.machineId;
|
||||
this.paId = options.paId;
|
||||
this.paNum = options.paNum;
|
||||
this.boxId = options.boxId;
|
||||
this._loadPayTypes();
|
||||
},
|
||||
@ -94,6 +95,7 @@
|
||||
machineId: this.machineId,
|
||||
communityId:this.getCommunityId(),
|
||||
paId: this.paId,
|
||||
paNum: this.paNum,
|
||||
boxId: this.boxId,
|
||||
carNum: this.carNum,
|
||||
remark:this.remark,
|
||||
@ -140,6 +142,7 @@
|
||||
communityId: this.getCommunityId(),
|
||||
boxId: this.boxId,
|
||||
paId: this.paId,
|
||||
paNum:this.paNum,
|
||||
carNum: this.carNum,
|
||||
iotApiCode:'listCarInParkingAreaBmoImpl'
|
||||
}).then(_json => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user