diff --git a/public/components/property/simplifyOwnerCar/simplifyOwnerCar.js b/public/components/property/simplifyOwnerCar/simplifyOwnerCar.js index 64d637648..52c626786 100644 --- a/public/components/property/simplifyOwnerCar/simplifyOwnerCar.js +++ b/public/components/property/simplifyOwnerCar/simplifyOwnerCar.js @@ -49,7 +49,7 @@ }, _addOwnerCar: function () { //出租 - vc.jumpToPage('/admin.html#/pages/property/hireParkingSpace'); + vc.jumpToPage('/admin.html#/pages/property/hireParkingSpace?ownerId='+$that.simplifyOwnerCarInfo.ownerId); }, _openEditOwnerCar: function (_car) { vc.emit('editCar', 'openEditCar', _car); diff --git a/public/pages/property/feeReceipt/feeReceipt.html b/public/pages/property/feeReceipt/feeReceipt.html index b8e9342c7..c33841cc2 100644 --- a/public/pages/property/feeReceipt/feeReceipt.html +++ b/public/pages/property/feeReceipt/feeReceipt.html @@ -85,6 +85,7 @@ 费用类型 + 费用项 房屋 车位 总金额 @@ -96,6 +97,7 @@ {{feeReceipt.objType == '3333'? '房屋费':'车位费'}} + {{feeReceipt.feeName}} {{feeReceipt.roomName}} {{feeReceipt.carNum}} {{feeReceipt.amount}} diff --git a/public/pages/property/listOwner/listOwner.html b/public/pages/property/listOwner/listOwner.html index 1a4a824c7..c176f2b24 100644 --- a/public/pages/property/listOwner/listOwner.html +++ b/public/pages/property/listOwner/listOwner.html @@ -21,7 +21,7 @@
-
@@ -38,41 +38,20 @@ - -
-
-
- -
- -
-
-
- - -
-
-
-
- - -
-
- -
- -
+
+
+ +
+
diff --git a/public/pages/property/listOwner/listOwner.js b/public/pages/property/listOwner/listOwner.js index ccaaba98e..acb26496e 100644 --- a/public/pages/property/listOwner/listOwner.js +++ b/public/pages/property/listOwner/listOwner.js @@ -22,8 +22,9 @@ roomNum: '', roomId: '', roomNum: '', + roomName: '' }, - listColumns:[] + listColumns: [] } }, _initMethod: function () { @@ -33,7 +34,7 @@ if (vc.notNull(_ownerId)) { //vc.component.listOwnerInfo.conditions.ownerId = _ownerId; } - $that._getColumns(function(){ + $that._getColumns(function () { vc.component._listOwnerData(DEFAULT_PAGE, DEFAULT_ROWS); }); }, @@ -130,7 +131,7 @@ vc.jumpToPage("/admin.html#/pages/property/sellParkingSpace?ownerId=" + _owner.ownerId); }, _openOwnerDetailModel: function (_owner) { - vc.jumpToPage("/admin.html#/pages/property/ownerDetail?ownerId=" + _owner.ownerId+"&ownerName="+_owner.name); + vc.jumpToPage("/admin.html#/pages/property/ownerDetail?ownerId=" + _owner.ownerId + "&ownerName=" + _owner.name); }, _openDeleteOwnerRoom: function (_owner) { vc.jumpToPage("/admin.html#/pages/property/deleteOwnerRoom?ownerId=" + _owner.ownerId); @@ -234,14 +235,14 @@ vc.component.listOwnerInfo.moreCondition = true; } }, - dealOwnerAttr: function (owners) { + dealOwnerAttr: function (owners) { owners.forEach(item => { $that._getColumnsValue(item); }); }, _getColumnsValue: function (_owner) { _owner.listValues = []; - + if (!_owner.hasOwnProperty('ownerAttrDtos') || _owner.ownerAttrDtos.length < 1) { $that.listOwnerInfo.listColumns.forEach(_value => { _owner.listValues.push(''); @@ -251,12 +252,12 @@ let _ownerAttrDtos = _owner.ownerAttrDtos; - + $that.listOwnerInfo.listColumns.forEach(_value => { let _tmpValue = ''; - _ownerAttrDtos.forEach(_attrItem =>{ - if(_value == _attrItem.specName){ + _ownerAttrDtos.forEach(_attrItem => { + if (_value == _attrItem.specName) { _tmpValue = _attrItem.valueName; } }) @@ -270,13 +271,13 @@ vc.getAttrSpec('building_owner_attr', function (data) { $that.listOwnerInfo.listColumns = []; data.forEach(item => { - if(item.listShow == 'Y'){ + if (item.listShow == 'Y') { $that.listOwnerInfo.listColumns.push(item.specName); } }); _call(); }); - + } } }) diff --git a/public/pages/property/room/room.html b/public/pages/property/room/room.html index dd7442951..c20c92fd4 100644 --- a/public/pages/property/room/room.html +++ b/public/pages/property/room/room.html @@ -17,6 +17,38 @@
+ +
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+ +
+
-
- -
- -
-
-
-
- -
-
-
- -
-
-
- -
-
@@ -122,7 +123,7 @@ {{room.roomId}} --> - {{room.floorNum}}栋{{room.unitNum}}单元{{room.roomNum}}室 + {{room.floorNum}}-{{room.unitNum}}-{{room.roomNum}} {{room.layer}}层 diff --git a/public/pages/property/room/room.js b/public/pages/property/room/room.js index cc7948aea..17a3cba76 100644 --- a/public/pages/property/room/room.js +++ b/public/pages/property/room/room.js @@ -59,8 +59,16 @@ vc.component.roomInfo.conditions.row = _row; vc.component.roomInfo.conditions.communityId = vc.getCurrentCommunity().communityId; var param = { - params: vc.component.roomInfo.conditions + params: JSON.parse(JSON.stringify(vc.component.roomInfo.conditions)) }; + let _allNum = $that.roomInfo.conditions.roomId; + if (_allNum.split('-').length == 3) { + let _allNums = _allNum.split('-') + param.params.floorNum = _allNums[0].trim(); + param.params.unitNum = _allNums[1].trim(); + param.params.roomNum = _allNums[2].trim(); + param.params.roomId = ''; + } //发送get请求 vc.http.get('room', 'listRoom',