feat(Retired): add convertTypeRetired RETIRE_MILITARY
This commit is contained in:
parent
f6f2c18d0f
commit
f1b94c0d93
2 changed files with 5 additions and 3 deletions
|
|
@ -25,8 +25,7 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
||||||
{
|
{
|
||||||
id: "posNo",
|
id: "posNo",
|
||||||
name:
|
name:
|
||||||
route.name === "registryNew" ||
|
route.name === "registryNew" || route.name === "registryRetireOfficer"
|
||||||
route.name === "registryRetireOfficer"
|
|
||||||
? "เลขที่ตำแหน่ง"
|
? "เลขที่ตำแหน่ง"
|
||||||
: "ตำแหน่งเลขที่",
|
: "ตำแหน่งเลขที่",
|
||||||
},
|
},
|
||||||
|
|
@ -130,6 +129,8 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
||||||
return "ให้ออกจากราชการ";
|
return "ให้ออกจากราชการ";
|
||||||
case "DISCIPLINE_TEMP_SUSPEND":
|
case "DISCIPLINE_TEMP_SUSPEND":
|
||||||
return "ให้ออกจากราชการไว้ก่อน";
|
return "ให้ออกจากราชการไว้ก่อน";
|
||||||
|
case "RETIRE_MILITARY":
|
||||||
|
return "ลาออกเพื่อไปรับราชการทหาร";
|
||||||
default:
|
default:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -857,7 +857,8 @@ onMounted(async () => {
|
||||||
])) ||
|
])) ||
|
||||||
leaveType === 'DISCIPLINE_TEMP_SUSPEND' ||
|
leaveType === 'DISCIPLINE_TEMP_SUSPEND' ||
|
||||||
leaveType === 'RETIRE_RESIGN' ||
|
leaveType === 'RETIRE_RESIGN' ||
|
||||||
leaveType === 'DISCIPLINE_SUSPEND'
|
leaveType === 'DISCIPLINE_SUSPEND' ||
|
||||||
|
leaveType === 'RETIRE_MILITARY'
|
||||||
"
|
"
|
||||||
size="md"
|
size="md"
|
||||||
rounded
|
rounded
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue