fix รายการข้าราชการ ฯ ที่ได้รับทุนการศึกษา/ฝึกอบรม

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-11 14:34:26 +07:00
parent ff7610e60d
commit db069e0ff9
2 changed files with 52 additions and 18 deletions

View file

@ -267,6 +267,9 @@ async function fetchDataDetail(id: string) {
isStatus.value = data.status;
isGov.value = data.citizenId ? true : false;
isGuarantor.value = data.guarantorCitizenId ? true : false;
if (isStatus.value !== "PENDING") {
router.push(`/development/scholarship-detail/${id}`);
}
})
.catch((err) => {
messageError($q, err);