From 97f640c090ab85797368c1faa1e4a7f1b8fbf549 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Thu, 8 Feb 2024 16:09:13 +0700 Subject: [PATCH 1/2] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A=20popu?= =?UTF-8?q?p=20=E0=B9=80=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81=E0=B8=84?= =?UTF-8?q?=E0=B8=99=E0=B8=84=E0=B8=A3=E0=B8=AD=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/DialogSelectPerson.vue | 451 ++++++++++-------- 1 file changed, 258 insertions(+), 193 deletions(-) diff --git a/src/modules/02_organizationalNew/components/DialogSelectPerson.vue b/src/modules/02_organizationalNew/components/DialogSelectPerson.vue index 1755a769e..fa756a867 100644 --- a/src/modules/02_organizationalNew/components/DialogSelectPerson.vue +++ b/src/modules/02_organizationalNew/components/DialogSelectPerson.vue @@ -41,6 +41,8 @@ const levelOpsMain = ref([]); const typeOps = ref([]); const levelOps = ref([]); const dataLevel = ref(); +const selected = ref([]); +const isSit = ref(false); const executiveOps = ref([]); const store = useOrganizational(); const $q = useQuasar(); @@ -258,8 +260,8 @@ function clearForm() { formData.positionLevel = ""; formData.personal = ""; formData.position = ""; - row.value = [] - rowResult.value = [] + row.value = []; + rowResult.value = []; } watch( @@ -328,6 +330,8 @@ function onSubmit() { dialogConfirm( $q, () => { + console.log("ตำแหน่ง==>", selected.value); + console.log("ทับที่==>", isSit); // showLoader(); // http // .post(config.API.createOrganization, formData) @@ -380,6 +384,7 @@ function clearPosition() { formData.positionLevel = ""; } +