fix env report

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-18 10:22:56 +07:00
parent c9d1d1e4ee
commit 7343405d19
7 changed files with 56 additions and 59 deletions

View file

@ -14,6 +14,9 @@ import kpi from "./api/KPI/api.kpis";
import probation from "./api/probation/api.probation";
import development from "./api/api.development";
/** API reports */
import reports from "./api/reports/api.report";
const API = {
...testtest,
...retirementResign,
@ -27,6 +30,8 @@ const API = {
...kpi,
...probation,
...development,
//reports
...reports,
};
const path =
@ -61,7 +66,9 @@ const generatePopupPath = (routeName: any, type: string) => {
return `${path}/manual/chapter-6-user-transfer`;
}
if (routeName.includes("appealComplain")) {
return `${path}/manual/chapter-${type ? "4" : "7"}-user${type}-appeal-complain`;
return `${path}/manual/chapter-${
type ? "4" : "7"
}-user${type}-appeal-complain`;
}
if (routeName.includes("KPI-evaluator")) {
return `${path}/manual/chapter-9-user-KPI-evaluator`;