// registry
const probationDetail = () =>
  import("@/modules/11_probation/views/mainDetail.vue");

const probationAdd = () => import("@/modules/11_probation/pages/addPage.vue");
const probationDetailPage = () =>
  import("@/modules/11_probation/pages/detailPage.vue");

const probationAssign = () =>
  import("@/modules/11_probation/component/01_Assign.vue");
const probationRecordCareker = () =>
  import("@/modules/11_probation/component/02_RecordCareker.vue");
const probationRecordCommander = () =>
  import("@/modules/11_probation/component/03_RecordCommander.vue");
const probationEvaluateCommander = () =>
  import("@/modules/11_probation/component/04_EvaluateCommander.vue");
const probationEvaluateChairman = () =>
  import("@/modules/11_probation/component/05_EvaluateChairman.vue");
const probationEvaluateResult = () =>
  import("@/modules/11_probation/component/06_EvaluateResult.vue");
const probationEvaluateReport = () =>
  import("@/modules/11_probation/component/07_EvaluateReport.vue");
const probationSurveyComment = () =>
  import("@/modules/11_probation/component/08_SurveyComment.vue");

const probationAddresult = () =>
  import("@/modules/11_probation/component/addPage/01_addresult.vue");
const probationAddevaluacommander = () =>
  import("@/modules/11_probation/component/addPage/02_addevaluacommander.vue");
const probationAddevalua = () =>
  import("@/modules/11_probation/component/addPage/03_addevalua.vue");
const probationAddevaluascore = () =>
  import("@/modules/11_probation/component/addPage/04_addevaluascore.vue");

export default [
  {
    path: "/probation-detail/:id",
    name: "probationMainDetail",
    component: probationDetail,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/add/:profileId",
    name: "probationAdd",
    component: probationAdd,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/detail/:profileId/:id",
    name: "probationDetail",
    component: probationDetailPage,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/assign-work/:profileId/:id",
    name: "probationAssign",
    component: probationAssign,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  //////////////////////////////////////////////////
  {
    path: "/probation/record-careker/:profileId/:id",
    name: "probationRecordCareker",
    component: probationRecordCareker,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/record-commander/:profileId/:id",
    name: "probationRecordCommander",
    component: probationRecordCommander,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/evaluate-commander/:profileId/:id",
    name: "probationEvaluateCommander",
    component: probationEvaluateCommander,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/evaluate-chairman/:profileId/:id",
    name: "probationEvaluateChairman",
    component: probationEvaluateChairman,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/evaluate-result/:profileId/:id",
    name: "probationEvaluateResult",
    component: probationEvaluateResult,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/evaluate-report/:profileId/:id",
    name: "probationEvaluateReport",
    component: probationEvaluateReport,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/survey-comment/:profileId/:id",
    name: "probationSurveyComment",
    component: probationSurveyComment,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  /////////////////////////////////////////////////

  {
    path: "/probation/detail/addresult/:profileId/:id",
    name: "probationAddresult",
    component: probationAddresult,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/detail/addevaluacommander/:profileId/:id",
    name: "probationAddevaluacommander",
    component: probationAddevaluacommander,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/detail/addevalua/:profileId/:id",
    name: "probationAddevalua",
    component: probationAddevalua,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
  {
    path: "/probation/detail/addevaluascore/:profileId/:id",
    name: "probationAddevaluascore",
    component: probationAddevaluascore,
    meta: {
      Auth: true,
      Key: [11],
    },
  },
];
