route ไปคู่มือ ถึง ระบบ บรรจุ

This commit is contained in:
setthawutttty 2024-11-21 10:55:41 +07:00
parent 112f650623
commit 00db6b6619

View file

@ -151,9 +151,11 @@ const generatePopupPath = (routeName: any) => {
if (routeName.includes("metadata")) {
return `${path}/manual/chapter-2-admin-metadata`;
} else if (routeName.includes("registryNew")) {
return `${path}/manual/chapter-6-admin-registry`;
return `${path}/manual/chapter-6-1-admin-registry`;
} else if (routeName.includes("registryEmployeeList")) {
return `${path}/manual/chapter-6-2-admin-registry`;
} else if (routeName.includes("registry-employee")) {
return `${path}/manual/chapter-7-admin-registry-employee`;
return `${path}/manual/chapter-6-3-admin-registry`;
} else if (routeName.includes("insignia")) {
return `${path}/manual/chapter-13-admin-insignia`;
} else if (routeName.includes("acting")) {
@ -176,10 +178,34 @@ const generatePopupPath = (routeName: any) => {
return `${path}/manual/chapter-15-admin-discipline`;
} else if (routeName.includes("appeal")) {
return `${path}/manual/chapter-15-admin-discipline`;
} else if (routeName.includes("KPI")) {
return `${path}/manual/chapter-18-admin-perf-evaluation`;
} else if (routeName.includes("KPIIndicatorByPlan")) {
return `${path}/manual/chapter-2-1-admin-evaluate`;
} else if (routeName.includes("KPIIndicatorByRole")) {
return `${path}/manual/chapter-2-2-admin-evaluate`;
} else if (routeName.includes("KPIAssignment")) {
return `${path}/manual/chapter-2-3-admin-evaluate`;
} else if (routeName.includes("KPICompetency")) {
return `${path}/manual/chapter-2-4-admin-evaluate`;
} else if (routeName.includes("strategic")) {
return `${path}/manual/chapter-2-5-admin-evaluate`;
} else if (routeName.includes("salary")) {
return `${path}/manual/chapter-17-admin-salary`;
} else if (routeName == "commandListPage") {
return `${path}/manual/chapter-7-admin-order`;
} else if (routeName == "competePeriod") {
return `${path}/manual/chapter-8-2-1-admin-compete-period`;
} else if (routeName == "qualifyPeriod") {
return `${path}/manual/chapter-8-3-1-admin-qualify-period`;
} else if (routeName == "disablePeriod") {
return `${path}/manual/chapter-8-3-2-admin-disable-period`;
} else if (routeName == "manage") {
return `${path}/manual/chapter-8-3-3-admin-qualify-manage`;
} else if (routeName == "qualifyPeriodStat") {
return `${path}/manual/chapter-8-3-4-admin-qualify-period-stat`;
} else if (routeName == "qualifyPeriodStatDisable") {
return `${path}/manual/chapter-8-3-5-admin-qualify-disable-stat`;
} else if (routeName.includes("competePeriodStat")) {
return `${path}/manual/chapter-8-2-2-admin-compete-period-stat`;
} else if (
routeName.includes("qualify") ||
routeName.includes("recruiting") ||
@ -219,15 +245,17 @@ const manualConfig = {
order: `${path}/manual/chapter-8-admin-order`,
OrderDetail: `${path}/manual/chapter-8-admin-order`,
OrderAdd: `${path}/manual/chapter-8-admin-order`,
editorweb: `${path}/manual/chapter-9-admin-recruit`,
placement: `${path}/manual/chapter-10-admin-appointment`,
transfer: `${path}/manual/chapter-10-admin-appointment`,
receive: `${path}/manual/chapter-10-admin-appointment`,
"help-government": `${path}/manual/chapter-10-admin-appointment`,
repatriate: `${path}/manual/chapter-10-admin-appointment`,
"appoint-promote": `${path}/manual/chapter-10-admin-appointment`,
"appoint-employee": `${path}/manual/chapter-10-admin-appointment`,
other: `${path}/manual/chapter-10-admin-appointment`,
editorweb: `${path}/manual/chapter-8-admin-recruit`,
placement: `${path}/manual/chapter-9-admin-placement`,
transfer: `${path}/manual/chapter-9-2-admin-transfer`,
receive: `${path}/manual/chapter-9-3-admin-receive`,
"help-government": `${path}/manual/chapter-9-4-admin-help-government`,
repatriate: `${path}/manual/chapter-9-5-admin-repatriate`,
"appoint-promote": `${path}/manual/chapter-9-6-admin-appoint-promote`,
"appoint-employee": `${path}/manual/chapter-9-7-admin-appoint-employee`,
other: `${path}/manual/chapter-9-8-admin-other`,
probation: `${path}/manual/chapter-11-admin-probation`,
probationDetail: `${path}/manual/chapter-11-admin-probation`,
probationForm: `${path}/manual/chapter-11-admin-probation`,