|
|
|
@ -593,24 +593,24 @@ export default {
|
|
|
|
const templateValue = this.template.values[this.field.uuid]
|
|
|
|
const templateValue = this.template.values[this.field.uuid]
|
|
|
|
switch (this.field.type) {
|
|
|
|
switch (this.field.type) {
|
|
|
|
case 'my_signature':
|
|
|
|
case 'my_signature':
|
|
|
|
if (this.myLocalSignatureValue === templateValue) {
|
|
|
|
|
|
|
|
this.showMySignature = false
|
|
|
|
this.showMySignature = false
|
|
|
|
|
|
|
|
if (this.myLocalSignatureValue === templateValue) {
|
|
|
|
this.myLocalSignatureValue = ''
|
|
|
|
this.myLocalSignatureValue = ''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log('switch signature portion')
|
|
|
|
console.log('switch signature portion')
|
|
|
|
break
|
|
|
|
break
|
|
|
|
|
|
|
|
|
|
|
|
case 'my_initials':
|
|
|
|
case 'my_initials':
|
|
|
|
if (this.myLocalInitialsValue === templateValue) {
|
|
|
|
|
|
|
|
this.showMyInitials = false
|
|
|
|
this.showMyInitials = false
|
|
|
|
|
|
|
|
if (this.myLocalInitialsValue === templateValue) {
|
|
|
|
this.myLocalInitialsValue = ''
|
|
|
|
this.myLocalInitialsValue = ''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log('switch initials portion')
|
|
|
|
console.log('switch initials portion')
|
|
|
|
break
|
|
|
|
break
|
|
|
|
|
|
|
|
|
|
|
|
case 'my_date':
|
|
|
|
case 'my_date':
|
|
|
|
if (this.myLocalDateValue === templateValue) {
|
|
|
|
|
|
|
|
this.showMyDate = false
|
|
|
|
this.showMyDate = false
|
|
|
|
|
|
|
|
if (this.myLocalDateValue === templateValue) {
|
|
|
|
this.myLocalDateValue = ''
|
|
|
|
this.myLocalDateValue = ''
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log('switch my_date portion')
|
|
|
|
console.log('switch my_date portion')
|
|
|
|
|