优化 物业缴费跳转物业公积金 显示的小区信息逻辑
This commit is contained in:
parent
336361d383
commit
0fa63c8166
@ -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)}`);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -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)
|
||||||
|
// 首次加载时从itemObj获取defaultName数据
|
||||||
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(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user