diff --git a/packages/jianping/AppHelpedResident/hrAdd.vue b/packages/jianping/AppHelpedResident/hrAdd.vue
index 21e9a55a..c47927e2 100644
--- a/packages/jianping/AppHelpedResident/hrAdd.vue
+++ b/packages/jianping/AppHelpedResident/hrAdd.vue
@@ -9,7 +9,8 @@
-
+
-
+
@@ -208,11 +208,11 @@ export default {
},
computed: {
...mapState(['user']),
- isEdit(){
+ isEdit() {
return !!this.$route.query.id
},
addTitle() {
- return this.isEdit? "编辑监测对象" : "添加监测对象"
+ return this.isEdit ? "编辑监测对象" : "添加监测对象"
},
rules() {
return {
@@ -235,7 +235,9 @@ export default {
},
data() {
return {
- form: {}
+ form: {
+ householdRelation: ""
+ }
}
},
methods: {
@@ -253,7 +255,7 @@ export default {
})
},
handleIdNumberAutocomplete(v) {
- let {birthday:birthDate, sex} = this.idCardNoUtil.getIdCardInfo(v)
+ let {birthday: birthDate, sex} = this.idCardNoUtil.getIdCardInfo(v)
this.form = {...this.form, birthDate, sex, age: this.$calcAge(v)}
},
submit() {