add pdf generation

This commit is contained in:
Alex Turchyn
2023-05-28 23:20:48 +03:00
parent 170cb1ecea
commit 6a41f82e5b
21 changed files with 383 additions and 49 deletions
+3 -1
View File
@@ -1,14 +1,16 @@
<template>
<div
class="flex cursor-pointer bg-red-100 absolute"
class="flex cursor-pointer bg-red-100 bg-opacity-60 absolute"
:style="computedStyle"
>
<img
v-if="field.type === 'image' && image"
class="object-contain"
:src="image.url"
>
<img
v-else-if="field.type === 'signature' && signature"
class="object-contain"
:src="signature.url"
>
<div v-else-if="field.type === 'attachment'">