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",
|
||||
name:
|
||||
route.name === "registryNew" ||
|
||||
route.name === "registryRetireOfficer"
|
||||
route.name === "registryNew" || route.name === "registryRetireOfficer"
|
||||
? "เลขที่ตำแหน่ง"
|
||||
: "ตำแหน่งเลขที่",
|
||||
},
|
||||
|
|
@ -130,6 +129,8 @@ export const useRegistryNewDataStore = defineStore("registryNew", () => {
|
|||
return "ให้ออกจากราชการ";
|
||||
case "DISCIPLINE_TEMP_SUSPEND":
|
||||
return "ให้ออกจากราชการไว้ก่อน";
|
||||
case "RETIRE_MILITARY":
|
||||
return "ลาออกเพื่อไปรับราชการทหาร";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -857,7 +857,8 @@ onMounted(async () => {
|
|||
])) ||
|
||||
leaveType === 'DISCIPLINE_TEMP_SUSPEND' ||
|
||||
leaveType === 'RETIRE_RESIGN' ||
|
||||
leaveType === 'DISCIPLINE_SUSPEND'
|
||||
leaveType === 'DISCIPLINE_SUSPEND' ||
|
||||
leaveType === 'RETIRE_MILITARY'
|
||||
"
|
||||
size="md"
|
||||
rounded
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue