2024-04-04 10:26:13 +07:00
|
|
|
|
const roundPage = () => import("@/modules/14_KPI/views/round.vue");
|
2024-07-15 15:29:15 +07:00
|
|
|
|
const probationDetail = () => import("@/modules/14_KPI/views/mainDetail.vue");
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-05-08 10:48:10 +07:00
|
|
|
|
// 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");
|
2024-04-26 14:47:52 +07:00
|
|
|
|
const listPage = () => import("@/modules/14_KPI/views/list.vue");
|
|
|
|
|
|
const detailPage = () => import("@/modules/14_KPI/views/detail.vue");
|
2024-06-12 17:26:17 +07:00
|
|
|
|
const reportPage = () => import("@/modules/14_KPI/views/report.vue");
|
2024-06-17 16:01:54 +07:00
|
|
|
|
const detailView = () => import("@/modules/14_KPI/views/detailView.vue");
|
2024-07-09 13:49:08 +07:00
|
|
|
|
const ResultsView = () => import("@/modules/14_KPI/views/resultsMain.vue");
|
2024-02-15 11:46:25 +07:00
|
|
|
|
|
|
|
|
|
|
export default [
|
|
|
|
|
|
{
|
2024-04-04 15:34:57 +07:00
|
|
|
|
path: "/KPI-round",
|
2024-04-04 10:26:13 +07:00
|
|
|
|
name: "KPIRound",
|
|
|
|
|
|
component: roundPage,
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
Auth: true,
|
|
|
|
|
|
Key: [1.1],
|
|
|
|
|
|
Role: "evaluateKPI",
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
2024-04-19 14:38:05 +07:00
|
|
|
|
|
2024-04-26 14:47:52 +07:00
|
|
|
|
{
|
|
|
|
|
|
path: "/KPI-list",
|
|
|
|
|
|
name: "KPIList",
|
|
|
|
|
|
component: listPage,
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
Auth: true,
|
|
|
|
|
|
Key: [1.1],
|
|
|
|
|
|
Role: "evaluateKPI",
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
path: "/KPI-list/:id",
|
|
|
|
|
|
name: "KPIDetail",
|
2024-06-17 16:01:54 +07:00
|
|
|
|
component: detailView,
|
2024-04-26 14:47:52 +07:00
|
|
|
|
meta: {
|
|
|
|
|
|
Auth: true,
|
|
|
|
|
|
Key: [1.1],
|
|
|
|
|
|
Role: "evaluateKPI",
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
2024-06-12 17:26:17 +07:00
|
|
|
|
{
|
|
|
|
|
|
path: "/KPI/report",
|
|
|
|
|
|
name: "KPIReport",
|
|
|
|
|
|
component: reportPage,
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
Auth: true,
|
|
|
|
|
|
Key: [1.1],
|
|
|
|
|
|
Role: "evaluateKPI",
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
2024-06-17 16:01:54 +07:00
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
path: "/KPI-list/new/:id",
|
|
|
|
|
|
name: "KPIDetailnew",
|
|
|
|
|
|
component: detailView,
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
Auth: true,
|
|
|
|
|
|
Key: [1.1],
|
|
|
|
|
|
Role: "evaluateKPI",
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
2024-07-09 13:49:08 +07:00
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
path: "/KPI/results",
|
|
|
|
|
|
name: "KPIResults",
|
|
|
|
|
|
component: ResultsView,
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
Auth: true,
|
|
|
|
|
|
Key: [1.1],
|
|
|
|
|
|
Role: "evaluateKPI",
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
2024-07-15 15:29:15 +07:00
|
|
|
|
{
|
|
|
|
|
|
path: "/probation-detail/:id",
|
|
|
|
|
|
name: "probationMainDetail",
|
|
|
|
|
|
component: probationDetail,
|
|
|
|
|
|
meta: {
|
|
|
|
|
|
Auth: true,
|
|
|
|
|
|
Key: [1.1],
|
|
|
|
|
|
Role: "evaluateKPI",
|
|
|
|
|
|
},
|
|
|
|
|
|
},
|
2024-02-15 11:46:25 +07:00
|
|
|
|
];
|