From 8f880fd34deebfd3d90c89bc949d85d0ad2b6001 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 18 Oct 2024 10:56:10 +0700 Subject: [PATCH] feat: preview route and trigger preview --- src/components/05_quotation/QuotationCard.vue | 2 ++ src/pages/05_quotation/MainPage.vue | 12 ++++++++++++ src/pages/05_quotation/QuotationForm.vue | 2 +- src/pages/05_quotation/form.ts | 8 +++++++- src/router/routes.ts | 4 ++-- 5 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/components/05_quotation/QuotationCard.vue b/src/components/05_quotation/QuotationCard.vue index 47153e5e..e0e068f1 100644 --- a/src/components/05_quotation/QuotationCard.vue +++ b/src/components/05_quotation/QuotationCard.vue @@ -28,6 +28,7 @@ defineEmits<{ (e: 'delete'): void; (e: 'changeStatus'): void; (e: 'example'): void; + (e: 'preview'): void; }>();