From 327badbe189e4d28b369ae93baeda41440313db0 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 6 Jan 2025 14:46:42 +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=B8=88=E0=B8=B1=E0=B8=94=E0=B8=A5=E0=B8=B3=E0=B8=94=E0=B8=B1?= =?UTF-8?q?=E0=B8=9A=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=AA=E0=B9=88=E0=B8=A7=E0=B8=99=E0=B8=82=E0=B8=AD=E0=B8=87?= =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=A8=E0=B8=B6=E0=B8=81=E0=B8=A9?= =?UTF-8?q?=E0=B8=B2=E0=B9=83=E0=B8=99=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A?= =?UTF-8?q?=E0=B8=B5=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PersonalInformation/05_Education.vue | 20 +- .../DialogSortEducation.vue | 327 ++++++++++++++++++ 2 files changed, 346 insertions(+), 1 deletion(-) create mode 100644 src/modules/04_registryPerson/components/detail/PersonalInformation/DialogSortEducation.vue diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue index 20169c715..fe8405190 100644 --- a/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue +++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue @@ -20,6 +20,7 @@ import type { } from "@/modules/04_registryPerson/interface/response/Education"; import dialogHeader from "@/components/DialogHeader.vue"; +import DialogSortEducation from "@/modules/04_registryPerson/components/detail/PersonalInformation/DialogSortEducation.vue"; const $q = useQuasar(); const route = useRoute(); @@ -523,6 +524,9 @@ const educationData = reactive({ positionPathId: "", }); +const modalSort = ref(false); +const dataSort = ref([]); + /** function ยืนยันการบันทึกข้อมูล*/ function onSubmit() { dialogConfirm( @@ -642,6 +646,7 @@ async function fetchData(id: string) { .then(async (res) => { rows.value = await res.data.result; rowsMain.value = await res.data.result; + dataSort.value = res.data.result; }) .catch((err) => { messageError($q, err); @@ -769,7 +774,7 @@ onMounted(async () => {