优化 物业缴费跳转物业公积金 显示的小区信息逻辑

This commit is contained in:
赵毅 2025-08-02 11:14:45 +08:00
parent 336361d383
commit 0fa63c8166
2 changed files with 8 additions and 6 deletions

View File

@ -62,7 +62,7 @@
<div class="homeMoney_box_right1"> <div class="homeMoney_box_right1">
<span></span>{{ balanceMoney }} <span></span>{{ balanceMoney }}
</div> </div>
<div class="homeMoney_box_right2" @click="more"> <div class="homeMoney_box_right2" @click="more(currentRoom)">
查看详情 查看详情
<div style="margin-left: 12rpx"> <div style="margin-left: 12rpx">
<u-icon <u-icon
@ -574,8 +574,8 @@ export default {
}, },
// //
more() { more(item) {
NavgateTo("../providentFund/index"); NavgateTo(`../providentFund/index?item=${JSON.stringify(item)}`);
}, },
}, },
}; };

View File

@ -109,8 +109,11 @@ export default {
} }
}, },
async onLoad(options) { async onLoad(options) {
const itemObj = JSON.parse(decodeURIComponent(options.item));
console.log("🚀 ~ onLoad ~ options.item:", itemObj)
// itemObjdefaultName
this.defaultName = { this.defaultName = {
...this.houseList[0], ...itemObj,
checked: true checked: true
}; };
const meun = menuButtonInfo(); const meun = menuButtonInfo();
@ -119,7 +122,6 @@ export default {
await this.getInfo() await this.getInfo()
}, },
methods: { methods: {
headerConfirmClick(item) { headerConfirmClick(item) {
this.defaultName = { this.defaultName = {
@ -165,7 +167,7 @@ export default {
item.checked = false item.checked = false
}) })
this.roomList = res.rows this.roomList = res.rows
this.defaultName = res.rows[0] // this.defaultName = res.rows[0]
}) })
}, },
async getInfo(){ async getInfo(){