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