hrms-mgt/src/modules/14_KPI/router.ts
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 1b060856c1 KPI => ปรับ load
2024-06-17 16:01:54 +07:00

71 lines
1.8 KiB
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const roundPage = () => import("@/modules/14_KPI/views/round.vue");
// const IndicatorByPlan = () =>
// import("@/modules/14_KPI/views/indicatorByPlan.vue");
// const IndicatorByPlanDetail = () =>
// import("@/modules/14_KPI/components/indicatorByPlan/DetailView.vue");
// const IndicatorByRole = () =>
// import("@/modules/14_KPI/views/indicatorByRole.vue");
// const IndicatorByRoleDetail = () =>
// import("@/modules/14_KPI/components/indicatorByRole/DetailView.vue");
// const competencyPage = () => import("@/modules/14_KPI/views/competency.vue");
// const competencyAddPage = () =>
// import("@/modules/14_KPI/components/competency/AddPage.vue");
const listPage = () => import("@/modules/14_KPI/views/list.vue");
const detailPage = () => import("@/modules/14_KPI/views/detail.vue");
const reportPage = () => import("@/modules/14_KPI/views/report.vue");
const detailView = () => import("@/modules/14_KPI/views/detailView.vue");
export default [
{
path: "/KPI-round",
name: "KPIRound",
component: roundPage,
meta: {
Auth: true,
Key: [1.1],
Role: "evaluateKPI",
},
},
{
path: "/KPI-list",
name: "KPIList",
component: listPage,
meta: {
Auth: true,
Key: [1.1],
Role: "evaluateKPI",
},
},
{
path: "/KPI-list/:id",
name: "KPIDetail",
component: detailView,
meta: {
Auth: true,
Key: [1.1],
Role: "evaluateKPI",
},
},
{
path: "/KPI/report",
name: "KPIReport",
component: reportPage,
meta: {
Auth: true,
Key: [1.1],
Role: "evaluateKPI",
},
},
{
path: "/KPI-list/new/:id",
name: "KPIDetailnew",
component: detailView,
meta: {
Auth: true,
Key: [1.1],
Role: "evaluateKPI",
},
},
];