BUG 28270
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<div class="item">
|
||||
<div class="label required" v-text="`是否户主`"/>
|
||||
<div class="flex">
|
||||
<div class="radioBtn" v-for="op in $dict.getDict('yesOrNo')" :key="op.dictValue" v-text="op.dictName"
|
||||
<div class="radioBtn" v-for="op in ownerOps" :key="op.dictValue" v-text="op.dictName"
|
||||
:class="{current:op.dictValue==form.householdName}" @click="form.householdName=op.dictValue"/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -77,11 +77,12 @@ export default {
|
||||
name: "authApply",
|
||||
appName: "居民档案申请",
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
...mapState(['user'])
|
||||
},
|
||||
data() {
|
||||
let required = true
|
||||
return {
|
||||
ownerOps:[],
|
||||
form: {
|
||||
householdName: "1",
|
||||
currentAreaName: "",
|
||||
@@ -116,7 +117,9 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.$dict.load("yesOrNo", "householdRelation")
|
||||
this.$dict.load("yesOrNo", "householdRelation").then(()=>{
|
||||
this.ownerOps = this.$dict.getDict("yesOrNo")
|
||||
})
|
||||
this.getResident()
|
||||
},
|
||||
watch: {
|
||||
|
||||
Reference in New Issue
Block a user