This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-24 17:51:49 +07:00
parent a070713099
commit 948cc69157

View file

@ -105,7 +105,7 @@ const pagination = ref({ rowsPerPage: 15 });
/** function เรียกข้อมูลตารางสถิติการลา*/
async function fetchStatsTable() {
// modalStatsTable.value = true;
showLoader();
await http
.get(config.API.leaveStats())
.then((res) => {
@ -152,9 +152,6 @@ async function fetchStatsTable() {
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});
}