|
@@ -61,6 +61,9 @@
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+ if (this.add_person_data) {
|
|
|
+ this.subForm = this.add_person_data;
|
|
|
+ }
|
|
|
if (!this.subForm.name || !this.subForm.phone || !this.subForm.faceImageUrl) {
|
|
|
this.$router.push({
|
|
|
name: 'HouseKeeperAdminPersonAdd',
|
|
@@ -124,6 +127,7 @@
|
|
|
...mapGetters({
|
|
|
openId: 'wx_openid',
|
|
|
token: 'token',
|
|
|
+ add_person_data: 'add_person_data'
|
|
|
})
|
|
|
}
|
|
|
}
|