138 lines
2.9 KiB
TypeScript
138 lines
2.9 KiB
TypeScript
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");
|
||
|
||
export default [
|
||
{
|
||
path: "/KPI-round",
|
||
name: "KPIRound",
|
||
component: roundPage,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
{
|
||
path: "/KPI-indicator-plan",
|
||
name: "KPIIndicatorByPlan",
|
||
component: IndicatorByPlan,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
{
|
||
path: "/KPI-indicator-plan/add",
|
||
name: "KPIIndicatorByPlan/Add",
|
||
component: IndicatorByPlanDetail,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
{
|
||
path: "/KPI-indicator-plan/:id",
|
||
name: "KPIIndicatorByPlanByid",
|
||
component: IndicatorByPlanDetail,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
{
|
||
path: "/KPI-indicator-role",
|
||
name: "KPIIndicatorByRole",
|
||
component: IndicatorByRole,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
{
|
||
path: "/KPI-indicator-role/add",
|
||
name: "KPIIndicatorByRoleAdd",
|
||
component: IndicatorByRoleDetail,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
{
|
||
path: "/KPI-indicator-role/:id",
|
||
name: "KPIIndicatorByRoleByid",
|
||
component: IndicatorByRoleDetail,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
{
|
||
path: "/KPI-competency",
|
||
name: "KPICompetency",
|
||
component: competencyPage,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
{
|
||
path: "/KPI-competency/add",
|
||
name: "KPICompetencyAdd",
|
||
component: competencyAddPage,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
|
||
{
|
||
path: "/KPI-competency/:id",
|
||
name: "KPICompetencyByid",
|
||
component: competencyAddPage,
|
||
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: detailPage,
|
||
meta: {
|
||
Auth: true,
|
||
Key: [1.1],
|
||
Role: "evaluateKPI",
|
||
},
|
||
},
|
||
];
|