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

const directorPage = () => import("@/modules/12_evaluatePersonal/components/Director/MainPage.vue");
const directorAddPage = () => import("@/modules/12_evaluatePersonal/components/Director/AddPage.vue");
const directorEditPage = () => import("@/modules/12_evaluatePersonal/components/Director/EditPage.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: [1.1],
      Role: "evaluate",
    },
  },
  {
    path: "/evaluate/detail/:id",
    name: "evaluateDetail",
    component: detailPage,
    meta: {
      Auth: true,
      Key: [12.2],
      Role: "evaluate",
    },
  },
  {
    path: "/evaluate/director",
    name: "evaluateDirector",
    component: directorPage,
    meta: {
      Auth: true,
      Key: [12.2],
      Role: "discipline",
    },
  },
  {
    path: "/evaluate/director/add",
    name: "evaluateDirectorAdd",
    component: directorAddPage,
    meta: {
      Auth: true,
      Key: [12.2],
      Role: "discipline",
    },
  },
  {
    path: "/evaluate/director/:id",
    name: "evaluateDirectorEdit",
    component: directorEditPage,
    meta: {
      Auth: true,
      Key: [12.2],
      Role: "discipline",
    },
  },
  {
    path: "/evaluate/meeting",
    name: "evaluateMeeting",
    component: meetingPage,
    meta: {
      Auth: true,
      Key: [12.2],
      Role: "discipline",
    },
  },
  {
    path: "/evaluate/meeting/add",
    name: "evaluateMeetingAdd",
    component: meetingAddPage,
    meta: {
      Auth: true,
      Key: [12.2],
      Role: "discipline",
    },
  },
  {
    path: "/evaluate/meeting/:id",
    name: "evaluateMeetingEdit",
    component: meetingEditPage,
    meta: {
      Auth: true,
      Key: [12.2],
      Role: "discipline",
    },
  },
];