diff --git a/src/modules/13_salary/views/salaryLists.vue b/src/modules/13_salary/views/salaryLists.vue index 7a4a8cb9a..649e0f5c1 100644 --- a/src/modules/13_salary/views/salaryLists.vue +++ b/src/modules/13_salary/views/salaryLists.vue @@ -46,7 +46,7 @@ const loading = ref(false); const nextPage = ref(1); /**function เรียกข้อมูลรอบการขึ้นเงินเดือน*/ -async function getRound() { +function getRound() { showLoader(); http .get( @@ -192,11 +192,7 @@ function getAgencyPosition(id: string) { * @param periodId id รอบการขึ้นเงินเดือน * @param snap id รอบ */ -async function fetchSalalyPeriod( - rootId: string, - periodId: string, - snap: string -) { +function fetchSalalyPeriod(rootId: string, periodId: string, snap: string) { showLoader(); isLoad.value = false; const body = { @@ -205,7 +201,7 @@ async function fetchSalalyPeriod( snapshot: snap, }; - await http + http .post(config.API.salaryListPeriodLatest, body) .then(async (res) => { const data = res.data.result;