mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
comment console.log, remove v-bind before ':'
This commit is contained in:
parent
e0ee817421
commit
e6ea2674c2
@ -359,8 +359,8 @@ export default {
|
|||||||
//console.log('validFrom', this.validFrom);
|
//console.log('validFrom', this.validFrom);
|
||||||
//console.log('validTo', this.validTo);
|
//console.log('validTo', this.validTo);
|
||||||
//console.log('useDatePane', this.useDatePane);
|
//console.log('useDatePane', this.useDatePane);
|
||||||
|
//console.log('Mounted now !');
|
||||||
|
|
||||||
console.log('Mounted now !');
|
|
||||||
if (this.context.edit) {
|
if (this.context.edit) {
|
||||||
console.log('getInitialAddress', this.context.addressId);
|
console.log('getInitialAddress', this.context.addressId);
|
||||||
this.getInitialAddress(this.context.addressId);
|
this.getInitialAddress(this.context.addressId);
|
||||||
@ -380,7 +380,7 @@ export default {
|
|||||||
this.openEditPane();
|
this.openEditPane();
|
||||||
} else {
|
} else {
|
||||||
this.flag.showPane = true;
|
this.flag.showPane = true;
|
||||||
console.log('step0: open the Show Panel');
|
//console.log('step0: open the Show Panel');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
closeShowPane() {
|
closeShowPane() {
|
||||||
|
@ -23,9 +23,9 @@
|
|||||||
|
|
||||||
<template v-slot:body v-if="type === 'person'">
|
<template v-slot:body v-if="type === 'person'">
|
||||||
<on-the-fly-person
|
<on-the-fly-person
|
||||||
v-bind:id="id"
|
:id="id"
|
||||||
v-bind:type="type"
|
:type="type"
|
||||||
v-bind:action="action"
|
:action="action"
|
||||||
ref="castPerson">
|
ref="castPerson">
|
||||||
</on-the-fly-person>
|
</on-the-fly-person>
|
||||||
<div v-if="hasResourceComment">
|
<div v-if="hasResourceComment">
|
||||||
@ -38,9 +38,9 @@
|
|||||||
|
|
||||||
<template v-slot:body v-else-if="type === 'thirdparty'">
|
<template v-slot:body v-else-if="type === 'thirdparty'">
|
||||||
<on-the-fly-thirdparty
|
<on-the-fly-thirdparty
|
||||||
v-bind:id="id"
|
:id="id"
|
||||||
v-bind:type="type"
|
:type="type"
|
||||||
v-bind:action="action"
|
:action="action"
|
||||||
ref="castThirdparty">
|
ref="castThirdparty">
|
||||||
</on-the-fly-thirdparty>
|
</on-the-fly-thirdparty>
|
||||||
<div v-if="hasResourceComment">
|
<div v-if="hasResourceComment">
|
||||||
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
<template v-slot:body v-else>
|
<template v-slot:body v-else>
|
||||||
<on-the-fly-create
|
<on-the-fly-create
|
||||||
v-bind:action="action"
|
:action="action"
|
||||||
ref="castNew">
|
ref="castNew">
|
||||||
</on-the-fly-create>
|
</on-the-fly-create>
|
||||||
</template>
|
</template>
|
||||||
@ -166,8 +166,8 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openModal() {
|
openModal() {
|
||||||
console.log('## OPEN ON THE FLY MODAL');
|
//console.log('## OPEN ON THE FLY MODAL');
|
||||||
console.log('## type:', this.type, ', action:', this.action);
|
//console.log('## type:', this.type, ', action:', this.action);
|
||||||
this.modal.showModal = true;
|
this.modal.showModal = true;
|
||||||
this.$nextTick(function() {
|
this.$nextTick(function() {
|
||||||
//this.$refs.search.focus();
|
//this.$refs.search.focus();
|
||||||
|
@ -187,7 +187,7 @@ export default {
|
|||||||
getPerson(this.id)
|
getPerson(this.id)
|
||||||
.then(person => new Promise((resolve, reject) => {
|
.then(person => new Promise((resolve, reject) => {
|
||||||
this.person = person;
|
this.person = person;
|
||||||
console.log('get person', this.person);
|
//console.log('get person', this.person);
|
||||||
resolve();
|
resolve();
|
||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
|
@ -168,7 +168,7 @@ export default {
|
|||||||
getThirdparty(this.id).then(thirdparty => new Promise((resolve, reject) => {
|
getThirdparty(this.id).then(thirdparty => new Promise((resolve, reject) => {
|
||||||
this.thirdparty = thirdparty;
|
this.thirdparty = thirdparty;
|
||||||
this.thirdparty.kind = thirdparty.kind;
|
this.thirdparty.kind = thirdparty.kind;
|
||||||
console.log('get thirdparty', thirdparty);
|
//console.log('get thirdparty', thirdparty);
|
||||||
if (this.action !== 'show') {
|
if (this.action !== 'show') {
|
||||||
if (thirdparty.address !== null) {
|
if (thirdparty.address !== null) {
|
||||||
// bof! we force getInitialAddress because addressId not available when mounted
|
// bof! we force getInitialAddress because addressId not available when mounted
|
||||||
@ -189,7 +189,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log('mounted', this.action);
|
//console.log('mounted', this.action);
|
||||||
if (this.action !== 'create') {
|
if (this.action !== 'create') {
|
||||||
this.loadData();
|
this.loadData();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user