Skip to content

Commit b4282af

Browse files
committed
优化代码
1 parent 9df6461 commit b4282af

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

public/pages/property/listRoomFee/listRoomFee.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
ownerName: '',
1717
roomType: '',
1818
hireOwnerFee: '0',
19-
ownerId: ''
19+
urlOwnerId: ''
2020
}
2121
},
2222
_initMethod: function () {
@@ -28,7 +28,7 @@
2828
}
2929

3030
if (vc.notNull(vc.getParam('ownerId'))) {
31-
$that.listRoomCreateFeeInfo.ownerId = vc.getParam("ownerId");
31+
$that.listRoomCreateFeeInfo.urlOwnerId = vc.getParam("ownerId");
3232
}
3333
},
3434
_initEvent: function () {
@@ -48,7 +48,7 @@
4848
row: _row,
4949
communityId: vc.getCurrentCommunity().communityId,
5050
payerObjId: vc.component.listRoomCreateFeeInfo.roomId,
51-
ownerId: $that.listRoomCreateFeeInfo.ownerId
51+
ownerId: $that.listRoomCreateFeeInfo.urlOwnerId
5252
}
5353
};
5454
//发送get请求

public/pages/property/owePayFeeOrder/owePayFeeOrder.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
<div class="ibox-title">
66
<h5>{{owePayFeeOrderInfo.roomName}}</h5>
77
<div class="ibox-tools" style="top:10px;">
8-
<button type="button" class="btn btn-primary btn-sm" v-on:click="_printOwnOrder()" v-if="owePayFeeOrderInfo.oweFees.length > 0">
8+
<!-- <button type="button" class="btn btn-primary btn-sm" v-on:click="_printOwnOrder()" v-if="owePayFeeOrderInfo.oweFees.length > 0">
99
催缴单
10-
</button>
10+
</button> -->
1111
<button type="button" class="btn btn-primary btn-sm" v-on:click="_goBack()">
1212
返回
1313
</button>

public/pages/property/owePayFeeOrder/owePayFeeOrder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
let _payObjType = vc.getParam('payObjType');
3030
if (!vc.notNull(_payObjId)) {
3131
vc.toast('非法操作');
32-
vc.getBack();
32+
vc.getBack();
3333
return;
3434
}
3535
$that.owePayFeeOrderInfo.payObjId = _payObjId;

public/pages/property/roomCreateFee/roomCreateFee.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ <h5>房屋信息</h5>
148148
</div>
149149
<div class="btn-group" v-if="room.state != '2002'">
150150
<button class="btn-white btn btn-xs"
151-
v-on:click="_openTranslateFeeManualCollectionDetailModel(room)">催缴单
151+
v-on:click="_downloadRoomCollectionLetterOrder(room)">催缴单
152152
</button>
153153
</div>
154154
<div class="btn-group">

public/pages/property/roomCreateFee/roomCreateFee.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,9 @@
301301
},
302302
_downloadCollectionLetterOrder:function(){
303303
vc.jumpToPage('/callComponent/feeManualCollection/downloadCollectionLetterOrder?communityId=' + vc.getCurrentCommunity().communityId );
304+
},
305+
_downloadRoomCollectionLetterOrder:function(_room){
306+
vc.jumpToPage('/callComponent/feeManualCollection/downloadCollectionLetterOrder?communityId=' + vc.getCurrentCommunity().communityId +"&roomId="+_room.roomId );
304307
}
305308
}
306309
});

0 commit comments

Comments
 (0)