选择党组织
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
<h2>党组织</h2>
|
<h2>党组织</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-item__right">
|
<div class="form-item__right">
|
||||||
<AiPagePicker type="custom" @select="handleSelectParty" :ops="{url:'./selectPartyOrg',label:'name',}">
|
<AiPagePicker type="custom" @select="handleSelectParty" :ops="{url:`./selectPartyOrg?id=${form.partyOrgId}`,label:'name',}">
|
||||||
<AiMore v-model="form.partyOrgName"/>
|
<AiMore v-model="form.partyOrgName"/>
|
||||||
</AiPagePicker>
|
</AiPagePicker>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -42,9 +42,13 @@
|
|||||||
parentId: '',
|
parentId: '',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad(o) {
|
||||||
this.getPartyOrg()
|
this.getPartyOrg()
|
||||||
|
if (o.id) {
|
||||||
|
this.SelectParty.id = o.id
|
||||||
|
} else {
|
||||||
this.SelectParty = uni.getStorageSync("lastSelectedParty") || {}
|
this.SelectParty = uni.getStorageSync("lastSelectedParty") || {}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getPartyOrg() {
|
getPartyOrg() {
|
||||||
|
|||||||
Reference in New Issue
Block a user