hrms-mgt/src/modules/21_report/router.ts
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 dc437a8ade report evaluate
2025-02-10 18:14:12 +07:00

157 lines
3.4 KiB
TypeScript

const reportOrg = () => import("@/modules/21_report/views/01_reportOrg.vue");
const reportRegistry = () =>
import("@/modules/21_report/views/02_reportRegistry.vue");
const reportLeave = () => import("@/modules/09_leave/views/06_ReportMain.vue");
const reportPlacement = () =>
import("@/modules/05_placement/views/09_reportMain.vue");
const reportRetire = () =>
import("@/modules/06_retirement/views/07_report.vue");
const reportDiscipline = () =>
import("@/modules/11_discipline/components/9_DisciplineReport/Main.vue");
const reportDevelop = () =>
import("@/modules/21_report/views/03_reportDevelopment.vue");
// const reportSalary = () => import("");
const reportKpi = () => import("@/modules/14_KPI/views/report.vue");
const reportInsignia = () =>
import("@/modules/07_insignia/views/06_ReportMain.vue");
const reportExam = () =>
import("@/modules/03_recruiting/views/01_compete/CompeteReport.vue");
const ReportEvaluate = () =>
import("@/modules/21_report/views/04_reportEvaluate.vue");
const ReportSalary = () =>
import("@/modules/21_report/views/05_reportSalary.vue");
export default [
{
path: "/report/org",
name: "reportOrg",
component: reportOrg,
meta: {
Auth: true,
Key: "REPORT_ORG",
Role: "STAFF",
},
},
{
path: "/report/registry",
name: "reportRegistry",
component: reportRegistry,
meta: {
Auth: true,
Key: "REPORT_REGISTRY",
Role: "STAFF",
},
},
{
path: "/report/leave",
name: "reportLeave",
component: reportLeave,
meta: {
Auth: true,
Key: "REPORT_LEAVE",
Role: "STAFF",
},
},
{
path: "/report/placement",
name: "reportPlacement",
component: reportPlacement,
meta: {
Auth: true,
Key: "REPORT_PLACEMENT",
Role: "STAFF",
},
},
{
path: "/report/retire",
name: "reportRetire",
component: reportRetire,
meta: {
Auth: true,
Key: "REPORT_RETIRE",
Role: "STAFF",
},
},
{
path: "/report/discipline",
name: "reportDiscipline",
component: reportDiscipline,
meta: {
Auth: true,
Key: "REPORT_DISCIPLINE",
Role: "STAFF",
},
},
{
path: "/report/develop",
name: "reportDevelop",
component: reportDevelop,
meta: {
Auth: true,
Key: "REPORT_DEVELOP",
Role: "STAFF",
},
},
// {
// path: "/report/salary",
// name: "reportSalary",
// component: reportSalary,
// meta: {
// Auth: true,
// Key: "REPORT_SALARY",
// Role: "STAFF",
// },
// },
{
path: "/report/kpi",
name: "reportKpi",
component: reportKpi,
meta: {
Auth: true,
Key: "REPORT_KPI",
Role: "STAFF",
},
},
{
path: "/report/insignia",
name: "reportInsignia",
component: reportInsignia,
meta: {
Auth: true,
Key: "REPORT_INSIGNIA",
Role: "STAFF",
},
},
{
path: "/report/exam",
name: "reportExam",
component: reportExam,
meta: {
Auth: true,
Key: "REPORT_EXAM",
Role: "STAFF",
},
},
{
path: "/report/evaluate",
name: "reportEvaluate",
component: ReportEvaluate,
meta: {
Auth: true,
Key: "REPORT_EVALUATE",
Role: "STAFF",
},
},
{
path: "/report/salary",
name: "reportSalary",
component: ReportSalary,
meta: {
Auth: true,
Key: "REPORT_SALARY",
Role: "STAFF",
},
},
];