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 () => { - +