ทะเบียรประวัติ
This commit is contained in:
parent
4515eabc44
commit
0e4e5ab357
1 changed files with 4 additions and 2 deletions
|
|
@ -102,11 +102,14 @@ const baseItemsMenu = ref<DataOptionSys[]>([
|
|||
]);
|
||||
|
||||
const itemsMenu = computed(() => {
|
||||
console.log(leaveReason.value);
|
||||
|
||||
if (
|
||||
leaveReason.value ===
|
||||
"(พ้นจากราชการด้วยสาเหตุ: ได้รับโทษทางวินัย ให้ออกจากราชการไว้ก่อน)" ||
|
||||
leaveReason.value === "(พ้นจากราชการด้วยสาเหตุ: ลาออกจากราชการ)" ||
|
||||
"(พ้นจากราชการด้วยสาเหตุ: ได้รับโทษทางวินัย พักจากราชการ)"
|
||||
leaveReason.value ===
|
||||
"(พ้นจากราชการด้วยสาเหตุ: ได้รับโทษทางวินัย พักจากราชการ)"
|
||||
) {
|
||||
return (
|
||||
baseItemsMenu.value?.filter(
|
||||
|
|
@ -350,7 +353,6 @@ async function fetchDataPersonal() {
|
|||
.get(config.API.registryNewByProfileId(profileId.value, empType.value))
|
||||
.then(async (res) => {
|
||||
formDetail.value = res.data.result;
|
||||
console.log(formDetail.value);
|
||||
|
||||
storeRegistry.isLeave = res.data.result.isLeave;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue