This commit is contained in:
liuye
2022-02-14 09:37:57 +08:00
parent 69d7bccc39
commit 91315a74eb

View File

@@ -159,7 +159,7 @@ export default {
householdAreaId: '', householdAreaId: '',
householdAreaName: '', householdAreaName: '',
householdAddress: '', householdAddress: '',
type: '' residentType: ''
}, },
showSelect: false, showSelect: false,
formName: '', formName: '',
@@ -173,9 +173,8 @@ export default {
this.getDetail() this.getDetail()
}else { }else {
document.title = '新增居民' document.title = '新增居民'
this.form.type = options.type this.form.residentType = options.type
} }
console.log(this.form.type)
this.$dict.load('yesOrNo', 'sex', 'householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType') this.$dict.load('yesOrNo', 'sex', 'householdRelation', 'nation', 'education', 'maritalStatus', 'politicsStatus', 'militaryStatus', 'faithType')
}, },
computed: { computed: {