แก้ไข path manual
This commit is contained in:
parent
d4433afd0c
commit
3d59d4ed2b
1 changed files with 21 additions and 10 deletions
|
|
@ -38,16 +38,27 @@ const generatePopupPath = (routeName: any) => {
|
|||
if (routeName.includes("leave")) {
|
||||
return `${path}/manual/chapter-4-user-leave`;
|
||||
}
|
||||
// if (routeName.includes("compete")) {
|
||||
// return `${path}/manual/chapter-10-admin-recruit`;
|
||||
// }
|
||||
// if (routeName.includes("registryNew")) {
|
||||
// return `${path}/manual/chapter-7-admin-registry`;
|
||||
// }
|
||||
// if (routeName.includes("registry")) {
|
||||
// return `${path}/manual/chapter-7-admin-registry`;
|
||||
// }
|
||||
else {
|
||||
if (routeName.includes("evaluate")) {
|
||||
return `${path}/manual/chapter-3-user-evaluate`;
|
||||
}
|
||||
if (routeName.includes("portfolio")) {
|
||||
return `${path}/manual/chapter-5-user-portfolio`;
|
||||
}
|
||||
if (routeName.includes("transfer")) {
|
||||
return `${path}/manual/chapter-6-user-transfer`;
|
||||
}
|
||||
if (routeName.includes("appealComplain")) {
|
||||
return `${path}/manual/chapter-7-user-appeal-complain`;
|
||||
}
|
||||
if (routeName.includes("KPI")) {
|
||||
return `${path}/manual/chapter-9-user-KPI-evaluator`;
|
||||
}
|
||||
if (routeName.includes("scholarship")) {
|
||||
return `${path}/manual/chapter-10-user-scholarship`;
|
||||
}
|
||||
if (routeName.includes("retire")) {
|
||||
return `${path}/manual/chapter-11-user-retire`;
|
||||
} else {
|
||||
return manualConfig[routeName as keyof typeof manualConfig];
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue