fix loading add person of retire, fix bug display point of IDP

This commit is contained in:
Warunee Tamkoo 2025-06-20 10:10:18 +07:00
parent a6c90edfd3
commit 88f91dd74e
3 changed files with 14 additions and 0 deletions

View file

@ -160,6 +160,7 @@ function clickAdd(props: any) {
dialogConfirm(
$q,
async () => {
showLoader();
await http
.put(config.API.profileRetire(retireld.value), { profileId: data })
.then(() => {
@ -167,6 +168,7 @@ function clickAdd(props: any) {
updateListData(retireld.value, data);
})
.catch((e) => {
hideLoader();
messageError($q, e);
})
.finally(() => {