优化 物业缴费跳转物业公积金 显示的小区信息逻辑
This commit is contained in:
parent
336361d383
commit
0fa63c8166
@ -62,7 +62,7 @@
|
||||
<div class="homeMoney_box_right1">
|
||||
<span>¥</span>{{ balanceMoney }}
|
||||
</div>
|
||||
<div class="homeMoney_box_right2" @click="more">
|
||||
<div class="homeMoney_box_right2" @click="more(currentRoom)">
|
||||
查看详情
|
||||
<div style="margin-left: 12rpx">
|
||||
<u-icon
|
||||
@ -574,8 +574,8 @@ export default {
|
||||
},
|
||||
|
||||
//物业公积金详情
|
||||
more() {
|
||||
NavgateTo("../providentFund/index");
|
||||
more(item) {
|
||||
NavgateTo(`../providentFund/index?item=${JSON.stringify(item)}`);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@ -109,8 +109,11 @@ export default {
|
||||
}
|
||||
},
|
||||
async onLoad(options) {
|
||||
const itemObj = JSON.parse(decodeURIComponent(options.item));
|
||||
console.log("🚀 ~ onLoad ~ options.item:", itemObj)
|
||||
// 首次加载时从itemObj获取defaultName数据
|
||||
this.defaultName = {
|
||||
...this.houseList[0],
|
||||
...itemObj,
|
||||
checked: true
|
||||
};
|
||||
const meun = menuButtonInfo();
|
||||
@ -119,7 +122,6 @@ export default {
|
||||
await this.getInfo()
|
||||
},
|
||||
|
||||
|
||||
methods: {
|
||||
headerConfirmClick(item) {
|
||||
this.defaultName = {
|
||||
@ -165,7 +167,7 @@ export default {
|
||||
item.checked = false
|
||||
})
|
||||
this.roomList = res.rows
|
||||
this.defaultName = res.rows[0]
|
||||
// this.defaultName = res.rows[0]
|
||||
})
|
||||
},
|
||||
async getInfo(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user