From af9b931770121d61763a62ba0b3a82d188ad71ff Mon Sep 17 00:00:00 2001 From: waruneeta Date: Fri, 24 Nov 2023 17:35:39 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81=E0=B8=9B=E0=B8=A3?= =?UTF-8?q?=E0=B8=B0=E0=B9=80=E0=B8=A0=E0=B8=97=E0=B8=84=E0=B8=B3=E0=B8=AA?= =?UTF-8?q?=E0=B8=B1=E0=B9=88=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../4_Result/DialogSendToCommand.vue | 85 ++++++++++++++++--- .../components/4_Result/EditPage.vue | 11 ++- 2 files changed, 78 insertions(+), 18 deletions(-) diff --git a/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue b/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue index 393b3122f..90e19d8e3 100644 --- a/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue +++ b/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue @@ -1,9 +1,10 @@ \ No newline at end of file + diff --git a/src/modules/11_discipline/components/4_Result/EditPage.vue b/src/modules/11_discipline/components/4_Result/EditPage.vue index 3584fa57b..1d8518ef8 100644 --- a/src/modules/11_discipline/components/4_Result/EditPage.vue +++ b/src/modules/11_discipline/components/4_Result/EditPage.vue @@ -18,6 +18,7 @@ const { dialogConfirm } = mixin; const router = useRouter(); const route = useRoute(); const id = ref(route.params.id as string); +const type = ref(""); /** ข้อมูล v-model ของฟอร์ม */ const data = reactive({ @@ -45,13 +46,11 @@ function closeModal() { modal.value = false; } -function getData() { - -} +function getData() {} /** ยืนยัน ส่งไปออกคำสั่ง */ function sentIssue() { - modal.value = true + modal.value = true; // dialogConfirm( // $q, // () => { @@ -64,7 +63,7 @@ function sentIssue() { /** โหลดข้อมูลเมื่อเข้าหน้านี้ */ onMounted(async () => { - store.tabMenu = 'result' + store.tabMenu = "result"; await fetchData(); }); @@ -128,8 +127,8 @@ onMounted(async () => { :rows2="[]" v-model:filterKeyword2="filterKeyword" :getData="getData" + v-model:type="type" /> -