diff --git a/src/modules/05_placement/components/AppointMent/AppointmentModal.vue b/src/modules/05_placement/components/AppointMent/AppointmentModal.vue index 6935217bb..bbcfa6126 100644 --- a/src/modules/05_placement/components/AppointMent/AppointmentModal.vue +++ b/src/modules/05_placement/components/AppointMent/AppointmentModal.vue @@ -47,11 +47,7 @@ let dataForm = reactive({ positionTypeId: "", }); -onMounted(async () => { - await fetchPublishFile(); - await loadTreeData(); - await fetchplacementPosition(); -}); + const fetchPublishFile = async () => { await http .get(config.API.getPublishFileHistory) @@ -220,7 +216,7 @@ const closeAndClear = async () => { dataForm.positionPathSideId = ""; dataForm.positionTypeId = ""; }; -// ตำแหน่งเลขที่ +// เลขที่ตำแหน่ง const posNoOptions = ref([ { label: "", @@ -396,6 +392,12 @@ function findByPerson(element: any): any { } return null; } + +onMounted(async () => { + await fetchPublishFile(); + await loadTreeData(); + // await fetchplacementPosition(); +});