fix รายการข้าราชการ ฯ ที่ได้รับทุนการศึกษา/ฝึกอบรม
This commit is contained in:
parent
ff7610e60d
commit
db069e0ff9
2 changed files with 52 additions and 18 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue