From 0af3fbd3cb53f23a23287db1de1b44e96f5ed938 Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Mon, 25 Sep 2023 11:22:13 +0700 Subject: [PATCH] =?UTF-8?q?ui=20popup=20=E0=B8=9A=E0=B8=B1=E0=B8=99?= =?UTF-8?q?=E0=B8=97=E0=B8=B6=E0=B8=81=E0=B8=9C=E0=B8=A5=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B9=80=E0=B8=AA=E0=B8=99=E0=B8=AD=E0=B8=82=E0=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/3_result/Dialogbody.vue | 238 ++++++++++++++++++ src/modules/07_insignia/views/ResultPage.vue | 42 +++- 2 files changed, 268 insertions(+), 12 deletions(-) create mode 100644 src/modules/07_insignia/components/3_result/Dialogbody.vue diff --git a/src/modules/07_insignia/components/3_result/Dialogbody.vue b/src/modules/07_insignia/components/3_result/Dialogbody.vue new file mode 100644 index 000000000..fbab609c2 --- /dev/null +++ b/src/modules/07_insignia/components/3_result/Dialogbody.vue @@ -0,0 +1,238 @@ + + + diff --git a/src/modules/07_insignia/views/ResultPage.vue b/src/modules/07_insignia/views/ResultPage.vue index 19d87db6a..13ea91ed7 100644 --- a/src/modules/07_insignia/views/ResultPage.vue +++ b/src/modules/07_insignia/views/ResultPage.vue @@ -5,6 +5,7 @@ import http from "@/plugins/http"; import config from "@/app.config"; import { useResultDataStore } from "@/modules/07_insignia/storeResult"; +import Dialogbody from "@/modules/07_insignia/components/3_result/Dialogbody.vue" import DialogForm from "@/modules/07_insignia/components/3_result/DialogForm.vue"; import fileUploadview from "../components/3_result/fileUpload.vue"; @@ -35,7 +36,7 @@ const fileResult = ref(null); const fileinvoice = ref(null); const loadView = ref(false); const insigniaTypeOption = ref([]); - +const ModalDialog = ref(false) onMounted(async () => { await fecthRound(); }); @@ -348,6 +349,7 @@ const filter = ref(""); const close = () => { modal.value = false; + ModalDialog.value = false }; const addData = () => { @@ -428,6 +430,9 @@ const paginationLabel = (start: number, end: number, total: number) => { if (paging.value == true) return " " + start + "-" + end + " ใน " + total; else return start + "-" + end + " ใน " + total; }; +const OpenModal = () =>{ + ModalDialog.value = true +}