mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 18:11:00 +08:00
优化车位查询完成
This commit is contained in:
parent
50c3e98705
commit
8cea708a15
@ -15,8 +15,8 @@
|
||||
|
||||
<div class="col-sm-4">
|
||||
<div class="form-group input-group">
|
||||
<input type="text" placeholder="请填写车位编码" class="form-control "
|
||||
v-model="carCreateFeeInfo.conditions.num">
|
||||
<input type="text" placeholder="请填写停车场-车位,如 1-101" class="form-control "
|
||||
v-model="carCreateFeeInfo.conditions.allNum">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -30,8 +30,8 @@
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="form-group">
|
||||
<input type="text" placeholder="请填写车位ID" class="form-control "
|
||||
v-model="carCreateFeeInfo.conditions.psId">
|
||||
<input type="text" placeholder="请填写业主名称" class="form-control "
|
||||
v-model="carCreateFeeInfo.conditions.ownerName">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
|
||||
@ -18,8 +18,9 @@
|
||||
moreCondition: false,
|
||||
conditions: {
|
||||
psId: '',
|
||||
num: '',
|
||||
carNum: ''
|
||||
ownerName: '',
|
||||
carNum: '',
|
||||
allNum: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -39,10 +40,19 @@
|
||||
vc.component.carCreateFeeInfo.conditions.page = _page;
|
||||
vc.component.carCreateFeeInfo.conditions.row = _row;
|
||||
vc.component.carCreateFeeInfo.conditions.communityId = vc.getCurrentCommunity().communityId;
|
||||
var param = {
|
||||
params: vc.component.carCreateFeeInfo.conditions
|
||||
|
||||
let _allNum = $that.carCreateFeeInfo.conditions.allNum;
|
||||
let _conditions = JSON.parse(JSON.stringify(vc.component.carCreateFeeInfo.conditions));
|
||||
let param = {
|
||||
params: _conditions
|
||||
};
|
||||
|
||||
if (_allNum.split('-').length == 2) {
|
||||
let _allNums = _allNum.split('-')
|
||||
param.params.areaNum = _allNums[0];
|
||||
param.params.num = _allNums[1];
|
||||
}
|
||||
|
||||
//发送get请求
|
||||
vc.http.apiGet('owner.queryOwnerCars',
|
||||
param,
|
||||
@ -71,7 +81,7 @@
|
||||
},
|
||||
_openViewParkingSpaceCreateFee: function (_car) {
|
||||
|
||||
vc.jumpToPage("/admin.html#/pages/property/listCarFee?carId=" + _car.carId + "&carNum=" + _car.carNum+"&areaNum="+_car.areaNum+"&num="+_car.num);
|
||||
vc.jumpToPage("/admin.html#/pages/property/listCarFee?carId=" + _car.carId + "&carNum=" + _car.carNum + "&areaNum=" + _car.areaNum + "&num=" + _car.num);
|
||||
},
|
||||
_queryParkingSpaceMethod: function () {
|
||||
vc.component.listCars(DEFAULT_PAGE, DEFAULT_ROW);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user