ทะเบียนประวัติ: ข้อมูลอื่นๆ, เพิ่ม loader เอกสารหลักฐาน

This commit is contained in:
puriphatt 2024-03-20 17:29:50 +07:00
parent 7461d508e1
commit 98b8010280
4 changed files with 166 additions and 132 deletions

View file

@ -26,6 +26,7 @@ const profileId = ref<string>(
);
async function getData() {
showLoader()
await http
.get(
config.API.file("ระบบทะเบียนประวัติ", "เอกสารหลักฐาน", profileId.value)
@ -36,7 +37,9 @@ async function getData() {
.catch((e) => {
messageError($q, e);
})
.finally(() => {});
.finally(() => {
hideLoader()
});
}
/**