fix
This commit is contained in:
parent
1b42277dcb
commit
045bd3aee6
2 changed files with 12 additions and 4 deletions
|
|
@ -77,9 +77,15 @@ export default {
|
|||
//รายงาน
|
||||
retirementReport: `${report}`,
|
||||
|
||||
addResign: (profileType:string,type: string, id: string) =>
|
||||
addResign: (profileType: string, type: string, id: string) =>
|
||||
`${retirement}/resign${profileType}/officer/add-resign/${type}/${id}`,
|
||||
|
||||
sendApproveRetirement:(type:string,id:string)=>`${retirement}/resign${type}/admin/approve/officer/${id}`,
|
||||
commanderApproveRetirement:(type:string,id:string,typeApprove:string,path:string)=>`${retirement}/resign${type}/admin/${typeApprove}${path}/${id}`
|
||||
sendApproveRetirement: (type: string, id: string) =>
|
||||
`${retirement}/resign${type}/admin/approve/officer/${id}`,
|
||||
commanderApproveRetirement: (
|
||||
type: string,
|
||||
id: string,
|
||||
typeApprove: string,
|
||||
path: string = ""
|
||||
) => `${retirement}/resign${type}/admin/${typeApprove}${path}/${id}`,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ export const useRetirementDataStore = defineStore("retirement", () => {
|
|||
return "ยกเลิกการลาออก";
|
||||
case "DONEREJECT":
|
||||
return "ออกคำสั่งยกเลิกลาออกเสร็จแล้ว";
|
||||
case "CANCELING":
|
||||
return "กำลังดำเนินการยกเลิก";
|
||||
default:
|
||||
return "-";
|
||||
}
|
||||
|
|
@ -41,6 +43,6 @@ export const useRetirementDataStore = defineStore("retirement", () => {
|
|||
|
||||
return {
|
||||
statusText,
|
||||
convertStatusText
|
||||
convertStatusText,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue