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");

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",
    },
  },
];
