This commit is contained in:
@@ -16,8 +16,7 @@
|
|||||||
<img
|
<img
|
||||||
v-if="hasSignature"
|
v-if="hasSignature"
|
||||||
data-cy="sigImage"
|
data-cy="sigImage"
|
||||||
class="grey lighten-5"
|
width="180px"
|
||||||
width="100px"
|
|
||||||
height="50px"
|
height="50px"
|
||||||
:src="imgUrl"
|
:src="imgUrl"
|
||||||
/>
|
/>
|
||||||
@@ -65,7 +64,7 @@
|
|||||||
v-if="$vuetify.breakpoint.xs"
|
v-if="$vuetify.breakpoint.xs"
|
||||||
data-cy="sigSheet"
|
data-cy="sigSheet"
|
||||||
width="275px"
|
width="275px"
|
||||||
height="137px"
|
height="75px"
|
||||||
>
|
>
|
||||||
<vueSignature
|
<vueSignature
|
||||||
ref="sigCtrl"
|
ref="sigCtrl"
|
||||||
@@ -74,18 +73,18 @@
|
|||||||
:disabled="disabled || imgUrl != null"
|
:disabled="disabled || imgUrl != null"
|
||||||
:default-url="imgUrl"
|
:default-url="imgUrl"
|
||||||
:w="'275px'"
|
:w="'275px'"
|
||||||
:h="'137px'"
|
:h="'75px'"
|
||||||
></vueSignature>
|
></vueSignature>
|
||||||
</v-sheet>
|
</v-sheet>
|
||||||
<v-sheet v-else data-cy="sigSheet" width="500px" height="250px">
|
<v-sheet v-else data-cy="sigSheet" width="550px" height="150px">
|
||||||
<vueSignature
|
<vueSignature
|
||||||
ref="sigCtrl"
|
ref="sigCtrl"
|
||||||
data-cy="sigCtrl"
|
data-cy="sigCtrl"
|
||||||
:sig-option="sigOption"
|
:sig-option="sigOption"
|
||||||
:disabled="disabled || imgUrl != null"
|
:disabled="disabled || imgUrl != null"
|
||||||
:default-url="imgUrl"
|
:default-url="imgUrl"
|
||||||
:w="'500px'"
|
:w="'550px'"
|
||||||
:h="'250px'"
|
:h="'150px'"
|
||||||
></vueSignature>
|
></vueSignature>
|
||||||
</v-sheet>
|
</v-sheet>
|
||||||
|
|
||||||
@@ -198,16 +197,6 @@ export default {
|
|||||||
this.$emit("change");
|
this.$emit("change");
|
||||||
this.openDialog = false;
|
this.openDialog = false;
|
||||||
},
|
},
|
||||||
// hasChanges(){
|
|
||||||
// if (this.variant == "customer") {
|
|
||||||
// if(this.tempSig!= this.value.customerSignature)
|
|
||||||
// return true;
|
|
||||||
// if(this.tempDate!=this.value.)
|
|
||||||
// } else {
|
|
||||||
// this.value.techSignature = theSig;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// },
|
|
||||||
setSig(theSig) {
|
setSig(theSig) {
|
||||||
if (this.variant == "customer") {
|
if (this.variant == "customer") {
|
||||||
this.value.customerSignature = theSig;
|
this.value.customerSignature = theSig;
|
||||||
|
|||||||
Reference in New Issue
Block a user