|
@@ -366,6 +366,7 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.parkRoomIndexEdit.initData(this.houseId)
|
|
|
})
|
|
|
+ this.getHistoryData()
|
|
|
})
|
|
|
},
|
|
|
handleClick(tab, event) {
|
|
@@ -496,6 +497,17 @@ export default {
|
|
|
// console.log(e)
|
|
|
})
|
|
|
},
|
|
|
+ getHistoryData: function() {
|
|
|
+ const _this = this
|
|
|
+ const postData = {
|
|
|
+ houseId: this.houseId
|
|
|
+ }
|
|
|
+ this.baseRequest('roomHistory', postData).then((res) => {
|
|
|
+ console.log(res.data)
|
|
|
+ }).catch((e) => {
|
|
|
+ // console.log(e)
|
|
|
+ })
|
|
|
+ },
|
|
|
getDepositItemJson: function(item) {
|
|
|
item.houseName = item.buildName + '-' + item.roomNo
|
|
|
item.statusStr = this.dc_map.DEPOSIT_STATUS[item.status]
|
|
@@ -614,6 +626,9 @@ export default {
|
|
|
this.dialogInvoiceVisible = false
|
|
|
this.dialogFormalInvoiceVisible = false
|
|
|
},
|
|
|
+ baseRequest(opUrl, postData) {
|
|
|
+ return this.$channel.globeRequest('ParkRoomController', opUrl, postData, 'project')
|
|
|
+ },
|
|
|
baseDepositRequest(opUrl, postData) {
|
|
|
return this.$channel.globeRequest('RoomSelectionInfoController', opUrl, postData, 'project')
|
|
|
},
|