otf: prepare with debug (wip)

This commit is contained in:
2021-09-29 11:37:53 +02:00
parent 0fe248320d
commit 3824a380ff
4 changed files with 28 additions and 16 deletions

View File

@@ -134,6 +134,8 @@ export default {
},
methods: {
openModal() {
console.log('## OPEN ON THE FLY MODAL');
console.log('## type:', this.type, ', action:', this.action);
this.modal.showModal = true;
this.$nextTick(function() {
//this.$refs.search.focus();
@@ -173,11 +175,11 @@ export default {
this.modal.showModal = false;
},
goToLocation(id, type){
if(type == 'person'){
window.location = `../../person/${id}/general`
} else if(type == 'thirdparty') {
window.location = `../../thirdparty/thirdparty/${id}/show`
goToLocation(id, type) {
if (type == 'person') {
window.location = `../../person/${id}/general`;
} else if (type == 'thirdparty') {
window.location = `../../thirdparty/thirdparty/${id}/show`;
}
}
}

View File

@@ -56,6 +56,7 @@ export default {
radioType: {
set(type) {
this.type = type;
console.log('## type:', type, ', action:', this.action);
},
get() {
return this.type;