mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-23 21:36:37 +08:00
优化代码
This commit is contained in:
parent
9df6461f03
commit
b4282afb7a
@ -16,7 +16,7 @@
|
||||
ownerName: '',
|
||||
roomType: '',
|
||||
hireOwnerFee: '0',
|
||||
ownerId: ''
|
||||
urlOwnerId: ''
|
||||
}
|
||||
},
|
||||
_initMethod: function () {
|
||||
@ -28,7 +28,7 @@
|
||||
}
|
||||
|
||||
if (vc.notNull(vc.getParam('ownerId'))) {
|
||||
$that.listRoomCreateFeeInfo.ownerId = vc.getParam("ownerId");
|
||||
$that.listRoomCreateFeeInfo.urlOwnerId = vc.getParam("ownerId");
|
||||
}
|
||||
},
|
||||
_initEvent: function () {
|
||||
@ -48,7 +48,7 @@
|
||||
row: _row,
|
||||
communityId: vc.getCurrentCommunity().communityId,
|
||||
payerObjId: vc.component.listRoomCreateFeeInfo.roomId,
|
||||
ownerId: $that.listRoomCreateFeeInfo.ownerId
|
||||
ownerId: $that.listRoomCreateFeeInfo.urlOwnerId
|
||||
}
|
||||
};
|
||||
//发送get请求
|
||||
|
||||
@ -5,9 +5,9 @@
|
||||
<div class="ibox-title">
|
||||
<h5>{{owePayFeeOrderInfo.roomName}}</h5>
|
||||
<div class="ibox-tools" style="top:10px;">
|
||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_printOwnOrder()" v-if="owePayFeeOrderInfo.oweFees.length > 0">
|
||||
<!-- <button type="button" class="btn btn-primary btn-sm" v-on:click="_printOwnOrder()" v-if="owePayFeeOrderInfo.oweFees.length > 0">
|
||||
催缴单
|
||||
</button>
|
||||
</button> -->
|
||||
<button type="button" class="btn btn-primary btn-sm" v-on:click="_goBack()">
|
||||
返回
|
||||
</button>
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
let _payObjType = vc.getParam('payObjType');
|
||||
if (!vc.notNull(_payObjId)) {
|
||||
vc.toast('非法操作');
|
||||
vc.getBack();
|
||||
vc.getBack();
|
||||
return;
|
||||
}
|
||||
$that.owePayFeeOrderInfo.payObjId = _payObjId;
|
||||
|
||||
@ -148,7 +148,7 @@
|
||||
</div>
|
||||
<div class="btn-group" v-if="room.state != '2002'">
|
||||
<button class="btn-white btn btn-xs"
|
||||
v-on:click="_openTranslateFeeManualCollectionDetailModel(room)">催缴单
|
||||
v-on:click="_downloadRoomCollectionLetterOrder(room)">催缴单
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
|
||||
@ -301,6 +301,9 @@
|
||||
},
|
||||
_downloadCollectionLetterOrder:function(){
|
||||
vc.jumpToPage('/callComponent/feeManualCollection/downloadCollectionLetterOrder?communityId=' + vc.getCurrentCommunity().communityId );
|
||||
},
|
||||
_downloadRoomCollectionLetterOrder:function(_room){
|
||||
vc.jumpToPage('/callComponent/feeManualCollection/downloadCollectionLetterOrder?communityId=' + vc.getCurrentCommunity().communityId +"&roomId="+_room.roomId );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user