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 = ""; } +