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