route คู่มือ
This commit is contained in:
parent
f8406bd4dc
commit
ff3184881c
1 changed files with 16 additions and 12 deletions
|
|
@ -162,18 +162,20 @@ const generatePopupPath = (routeName: any) => {
|
|||
return `${path}/manual/chapter-4-admin-acting`;
|
||||
} else if (routeName.includes("positionEmployee")) {
|
||||
return `${path}/manual/chapter-5-admin-position-employee`;
|
||||
} else if (routeName.includes("resign")) {
|
||||
return `${path}/manual/chapter-12-admin-retirement`;
|
||||
} else if (routeName.includes("retirement")) {
|
||||
return `${path}/manual/chapter-12-admin-retirement`;
|
||||
} else if (routeName.includes("deceased")) {
|
||||
return `${path}/manual/chapter-12-admin-retirement`;
|
||||
} else if (routeName.includes("exit-Interview")) {
|
||||
return `${path}/manual/chapter-12-admin-retirement`;
|
||||
} else if (routeName.includes("expulsion")) {
|
||||
return `${path}/manual/chapter-12-admin-retirement`;
|
||||
} else if (routeName.includes("discharged")) {
|
||||
return `${path}/manual/chapter-12-admin-retirement`;
|
||||
|
||||
} else if (routeName == "retirement") {
|
||||
return `${path}/manual/chapter-11-admin-retirement`;
|
||||
} else if (routeName == "resign") {
|
||||
return `${path}/manual/chapter-11-2-admin-retirement`;
|
||||
} else if (routeName == "resignEmployee") {
|
||||
return `${path}/manual/chapter-11-3-admin-retirement`;
|
||||
} else if (routeName == "exit-Interview") {
|
||||
return `${path}/manual/chapter-11-4-admin-retirement`;
|
||||
} else if (routeName == "deceased") {
|
||||
return `${path}/manual/chapter-11-5-admin-retirement`;
|
||||
} else if (routeName == "dismiss-order") {
|
||||
return `${path}/manual/chapter-11-6-admin-retirement`;
|
||||
|
||||
} else if (routeName.includes("disciplineComplaints")) {
|
||||
return `${path}/manual/chapter-14-admin-discipline-complaints`;
|
||||
} else if (routeName.includes("disciplineInvestigatefacts")) {
|
||||
|
|
@ -282,6 +284,8 @@ const generatePopupPath = (routeName: any) => {
|
|||
return `${path}/manual/chapter-17-3-admin-development-employee-history`;
|
||||
} else if (routeName == "KPIReport") {
|
||||
return `${path}/manual/chapter-17-4-admin-development-scholarship`;
|
||||
} else if (routeName == "positionCondition") {
|
||||
return `${path}/manual/chapter-19-admin-position-condition`;
|
||||
} else {
|
||||
return manualConfig[routeName as keyof typeof manualConfig];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue