const mainPage = () =>
  import("@/modules/12_evaluatePersonal/views/MainPage.vue");
const detailPage = () =>
  import("@/modules/12_evaluatePersonal/views/DetailPage.vue");
const DetailExpertPage = () =>
  import("@/modules/12_evaluatePersonal/views/DetailExpertPage.vue");

const directorPage = () =>
  import("@/modules/12_evaluatePersonal/components/Director/MainPage.vue");
const directorAddPage = () =>
  import("@/modules/12_evaluatePersonal/components/Director/AddPage.vue");

const meetingPage = () =>
  import("@/modules/12_evaluatePersonal/components/Meeting/MainPage.vue");
const meetingAddPage = () =>
  import("@/modules/12_evaluatePersonal/components/Meeting/AddPage.vue");
const meetingEditPage = () =>
  import("@/modules/12_evaluatePersonal/components/Meeting/EditPage.vue");

export default [
  {
    path: "/evaluate",
    name: "evaluate",
    component: mainPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_REQ",
      Role: "STAFF",
    },
  },
  {
    path: "/evaluate/detail/:id",
    name: "evaluateDetail",
    component: detailPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_REQ",
      Role: "STAFF",
    },
  },
  {
    path: "/evaluate/detail-expertise/:id",
    name: "evaluateDetailExpertise",
    component: DetailExpertPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_REQ",
      Role: "STAFF",
    },
  },
  {
    path: "/evaluate/director",
    name: "evaluateDirector",
    component: directorPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INFO",
      Role: "STAFF",
    },
  },
  {
    path: "/evaluate/director/add",
    name: "evaluateDirectorAdd",
    component: directorAddPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INFO",
      Role: "STAFF",
    },
  },
  // {
  //   path: "/evaluate/director/:id",
  //   name: "evaluateDirectorEdit",
  //   component: directorEditPage,
  //   meta: {
  //     Auth: true,
  //     Key: "SYS_EVA_INFO",
  //     Role: "STAFF",
  //   },
  // },
  {
    path: "/evaluate/meeting",
    name: "evaluateMeeting",
    component: meetingPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INFO",
      Role: "STAFF",
    },
  },
  {
    path: "/evaluate/meeting/add",
    name: "evaluateMeetingAdd",
    component: meetingAddPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INFO",
      Role: "STAFF",
    },
  },
  {
    path: "/evaluate/meeting/:id",
    name: "evaluateMeetingEdit",
    component: meetingEditPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INFO",
      Role: "STAFF",
    },
  },
  {
    path: "/evaluate/meeting-detail/:id",
    name: "evaluateMeetingdetail",
    component: meetingEditPage,
    meta: {
      Auth: true,
      Key: "SYS_EVA_INFO",
      Role: "STAFF",
    },
  },
];
