/**
 * Router leave
 */
const leave = () => import("@/modules/05_leave/views/Main.vue");
const addAbsence = () => import("@/modules/05_leave/views/AddPage.vue");
const editAbsence = () => import("@/modules/05_leave/views/EditPage.vue");

export default [
  {
    path: "/leave",
    name: "leave",
    component: leave,
    meta: {
      Auth: true,
      Key: [7],
    },
  },
  {
    path: "/leave/add",
    name: "addAbsence",
    component: addAbsence,
    meta: {
      Auth: true,
      Key: [7],
    },
  },
  {
    path: "/leave/edit/:id",
    name: "editAbsence",
    component: editAbsence,
    meta: {
      Auth: true,
      Key: [7],
    },
  },
];
