责任家庭 网格id

This commit is contained in:
liuye
2022-01-20 13:57:19 +08:00
parent 0b919756b1
commit d242a787e4
3 changed files with 10 additions and 5 deletions

View File

@@ -42,7 +42,8 @@ export default {
current:1,
userId: '',
edit: true,
checked: true
checked: true,
girdId: ''
}
},
methods: {
@@ -54,7 +55,7 @@ export default {
})
},
toAddFamily(){
uni.navigateTo({url: `./AddFamily?id=${this.userId}`})
uni.navigateTo({url: `./AddFamily?id=${this.userId}&girdId=${this.girdId}`})
},
userClick(index) {
this.list[index].checked = !this.list[index].checked
@@ -91,6 +92,7 @@ export default {
},
onLoad(option) {
this.userId = option.id
this.girdId = option.girdId
console.log(this.userId)
},
onShow() {