Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly

This commit is contained in:
2021-09-18 21:48:42 +02:00
18 changed files with 136 additions and 70 deletions

View File

@@ -54,8 +54,8 @@ export default {
assignAddress() {
//console.log('assignAddress id', this.person.current_household_address);
let payload = {
entity: this.context.entity.name,
entityId: this.context.entity.id,
target: this.context.target.name,
targetId: this.context.target.id,
locationStatusTo: 'person',
personId: this.person.id
};

View File

@@ -93,7 +93,7 @@ export default {
useDate: {
validFrom: true
},
onlyButton: true
hideAddress: true
}
}
}
@@ -119,7 +119,7 @@ export default {
methods: {
initAddressContext() {
let context = {
entity: {
target: {
name: this.accompanyingCourse.type,
id: this.accompanyingCourse.id
},
@@ -135,8 +135,8 @@ export default {
removeAddress() {
//console.log('remove address');
let payload = {
entity: this.context.entity.name,
entityId: this.context.entity.id,
target: this.context.target.name,
targetId: this.context.target.id,
locationStatusTo: 'none'
};
this.$store.dispatch('updateLocation', payload);