From 14ab1fec4cc981835a6a74a1fd3f50041b33dd5c Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Wed, 24 Jan 2024 14:13:14 +0700 Subject: [PATCH] no message --- .../10_order/components/PopupHistory.vue | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/modules/10_order/components/PopupHistory.vue b/src/modules/10_order/components/PopupHistory.vue index 63c709f1b..9864c1299 100644 --- a/src/modules/10_order/components/PopupHistory.vue +++ b/src/modules/10_order/components/PopupHistory.vue @@ -6,12 +6,15 @@ import type { QForm, QTableProps } from "quasar"; import { useCounterMixin } from "@/stores/mixin"; import { useQuasar } from "quasar"; import { useRouter } from "vue-router"; +import PopupPersonal from "@/components/Dialogs/PopupPersonal.vue"; import type { history, ColumnData, DataOptionInsigniaType, } from "@/modules/10_order/interface/index/Main"; +const modalPersonal = ref(false); +const personId = ref(""); const myForm = ref(); const mixin = useCounterMixin(); const { showLoader, hideLoader, messageError } = mixin; @@ -139,6 +142,16 @@ const paginationLabel = (start: number, end: number, total: number) => { if (paging.value == true) return " " + start + "-" + end + " ใน " + total; else return start + "-" + end + " ใน " + total; }; + +function onclickViewinfo(id: string) { + modalPersonal.value = true; + personId.value = id; +} + +function updatemodalPersonal(modal: boolean) { + modalPersonal.value = modal; +} +