From 4257d4115e7c595d57eb3a690444fdc7c50243f0 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Wed, 11 Oct 2023 09:38:51 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=81=E0=B8=95?= =?UTF-8?q?=E0=B9=88=E0=B8=87=E0=B8=95=E0=B8=B1=E0=B9=89=E0=B8=87=E0=B8=A5?= =?UTF-8?q?=E0=B8=B9=E0=B8=81=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=87=E0=B9=80?= =?UTF-8?q?=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81=E0=B8=95=E0=B8=B3=E0=B9=81?= =?UTF-8?q?=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AppointEmployee/Main.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/modules/05_placement/components/AppointEmployee/Main.vue b/src/modules/05_placement/components/AppointEmployee/Main.vue index bb605526d..00ccf841d 100644 --- a/src/modules/05_placement/components/AppointEmployee/Main.vue +++ b/src/modules/05_placement/components/AppointEmployee/Main.vue @@ -30,14 +30,14 @@ const { date2Thai, dialogRemove, dialogConfirm, - dialogMessageNotify + dialogMessageNotify, } = mixin; const rowsPosition = ref([]); const router = useRouter(); const rows = ref([]); const rows2 = ref([]); const modalTree = ref(false); -const ModalEmployee = ref(false) +const ModalEmployee = ref(false); const personal = ref([]); const personalId = ref(""); const filterKeyword = ref(""); @@ -46,7 +46,7 @@ const filterRef = ref(null); const listRecevice = ref([]); const optionsType = ref([]); const type = ref(""); - const selectedPosition = ref([]); +const selectedPosition = ref([]); const visibleColumns = ref([ "no", "citizenId", @@ -317,15 +317,15 @@ const fecthTypeOption = async () => { }); }; // เปิดโครงสร้าง -const openModalEmployee = async(id: string) => { +const openModalEmployee = async (id: string) => { personalId.value = id; - await getPosition(id) + await getPosition(id); }; -const getPosition = async (id:string) => { +const getPosition = async (id: string) => { showLoader(); await http - .get(config.API.organizationEmployeePositionId(id)) + .get(config.API.organizationEmployee) .then((res) => { const { result } = res.data; let data: any[] = []; @@ -470,7 +470,7 @@ const savePosition = async () => { messageError($q, e); }) .finally(async () => { - fecthlistappointment() + fecthlistappointment(); clickClose(); }); }; @@ -755,7 +755,7 @@ const savePosition = async () => { - +