/**
 * Router ขอโอน
 */

const MainRetire = () => import("@/modules/03_retire/views/main.vue");

const AddRetire = () => import("@/modules/03_retire/views/addRetire.vue");

const ResultQuestionair = () => import("@/modules/03_retire/views/result.vue");

export default [
  {
    path: "/retire",
    name: "Retire",
    component: MainRetire,
    meta: {
      Auth: true,
      Key: [7],
    },
  },
  {
    path: "/retire/add",
    name: "AddRetire",
    component: AddRetire,
    meta: {
      Auth: true,
      Key: [7],
    },
  },
  {
    path: "/retire/:id",
    name: "detailRetire",
    component: AddRetire,
    meta: {
      Auth: true,
      Key: [7],
    },
  },

  {
    path: "/retire/result/:id",
    name: "resultRetire",
    component: ResultQuestionair,
    meta: {
      Auth: true,
      Key: [7],
    },
  },
];
