ปรับการแสดงผลในหน้าทะเบียนประวัติผู้พ้นจากราชการ
This commit is contained in:
parent
f3e2d1c82d
commit
d601fee5e5
1 changed files with 2 additions and 2 deletions
|
|
@ -370,12 +370,12 @@ async function fetchDataPersonal() {
|
|||
(r: DataOption) => r.id == res.data.result.leaveReason
|
||||
);
|
||||
if (reason.length > 0) {
|
||||
leaveReason.value = `(พ้นจากราชการด้วยสาเหตุ : ${reason[0].name})`;
|
||||
leaveReason.value = `(พ้นจากราชการ : ${reason[0].name})`;
|
||||
} else if (
|
||||
res.data.result.leaveReason !== null &&
|
||||
res.data.result.leaveReason !== ""
|
||||
) {
|
||||
leaveReason.value = `(พ้นจากราชการด้วยสาเหตุ : ${res.data.result.leaveReason})`;
|
||||
leaveReason.value = `(พ้นจากราชการ : ${storeRegistry.convertTypeRetired(res.data.result.leaveType)})`;
|
||||
}
|
||||
reasonStatus.value = reason.length > 0 ? true : false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue