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
+1 -1
View File
@@ -91,7 +91,7 @@ export default {
onDrop (e) {
this.$emit('drop-field', {
x: e.layerX / this.$refs.mask.clientWidth,
y: e.layerY / this.$refs.mask.clientHeight,
y: e.layerY / this.$refs.mask.clientHeight - (this.$refs.mask.clientWidth / 30 / this.$refs.mask.clientWidth) / 2,
w: this.$refs.mask.clientWidth / 5 / this.$refs.mask.clientWidth,
h: this.$refs.mask.clientWidth / 30 / this.$refs.mask.clientWidth,
page: this.number