选择党组织

This commit is contained in:
shijingjing
2022-11-14 16:45:22 +08:00
parent 045ef0fe5b
commit 0df80b87fb
2 changed files with 7 additions and 3 deletions

View File

@@ -42,9 +42,13 @@
parentId: '',
}
},
onLoad() {
onLoad(o) {
this.getPartyOrg()
this.SelectParty = uni.getStorageSync("lastSelectedParty") || {}
if (o.id) {
this.SelectParty.id = o.id
} else {
this.SelectParty = uni.getStorageSync("lastSelectedParty") || {}
}
},
methods: {
getPartyOrg() {