ทะเบียนประวัติ => ข้อมูลการพ้นจากราชการ
This commit is contained in:
parent
6003547e78
commit
737fa3a5b6
4 changed files with 85 additions and 27 deletions
|
|
@ -81,6 +81,34 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
|||
node: "เลือกหน่วยงาน",
|
||||
});
|
||||
|
||||
function convertTypeRetired(val: string) {
|
||||
const newVal = val?.toLocaleUpperCase();
|
||||
switch (newVal) {
|
||||
case "RETIRE":
|
||||
return "เกษียณ ";
|
||||
case "RETIRE_RESIGN":
|
||||
return "ลาออก ";
|
||||
case "RETIRE_DECEASED":
|
||||
return "ถึงแก่กรรม ";
|
||||
case "RETIRE_OUT":
|
||||
return "ให้ออกจากราชการ ";
|
||||
case "DISCIPLINE_RESULT_REMOVE":
|
||||
return "ปลดออกจากราชการ ";
|
||||
case "DISCIPLINE_RESULT_DISMISS":
|
||||
return "ไล่ออกจากราชการ ";
|
||||
case "DISCIPLINE_SUSPEND":
|
||||
return "ถูกพักจากราชการ ";
|
||||
case "PROBATION_REPORT":
|
||||
return "ไม่ผ่านทดลองงาน ";
|
||||
case "PLACEMENT_TRANSFER":
|
||||
return "โอนออก ";
|
||||
case "RETIRE_RESIGN_EMP":
|
||||
return "ให้ออกจากราชการ(ลูกจ้าง) ";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
fetchType,
|
||||
fetchLevel,
|
||||
|
|
@ -96,5 +124,6 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
|||
isLeave,
|
||||
tabs,
|
||||
tabsManu,
|
||||
convertTypeRetired,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue