| | |
| | | },
|
| | | methods: {
|
| | | async getHouseRent() {
|
| | | if (!this.houseCode) {
|
| | | this.houseCode = uni.getStorageSync("siteInfo").houseCode
|
| | | }
|
| | | const res = await getHouseRentInfo(this.houseCode)
|
| | | const {
|
| | | aoiName,
|
| | |
| | | this.room = (!!unitName ? unitName : '') + doorplateName + "室" |
| | | this.num = 0
|
| | | houseRentalList !== 0 && houseRentalList.forEach(item => {
|
| | | const { houseTenantVOList, dueTime, rentalTime } = item |
| | | item.num = houseTenantVOList.length |
| | | const {
|
| | | householdVOList,
|
| | | dueTime,
|
| | | rentalTime
|
| | | } = item
|
| | | item.num = householdVOList.length
|
| | | this.num += item.num
|
| | | if (item.num !== 0) { |
| | | item.name = houseTenantVOList[0].name |
| | | item.housingRentalId = houseTenantVOList[0].housingRentalId |
| | | item.name = householdVOList[0].name
|
| | | item.housingRentalId = householdVOList[0].housingRentalId
|
| | | }
|
| | | this.rentList = houseRentalList
|
| | | })
|
| | |
| | | .location {
|
| | | font-weight: 700; |
| | | font-size: 27rpx; |
| | |
|
| | | text { |
| | | color: #AAAAAA; |
| | | }
|
| | |
| | | .box-title {
|
| | | margin: 25rpx 0; |
| | | display: flex; |
| | |
|
| | | .line { |
| | | width: 8rpx; |
| | | margin-right: 10rpx; |
| | | background-color: #2978FF; |
| | | } |
| | |
|
| | | .title { |
| | | font-weight: 700; |
| | | }
|