const listPage = () => import("@/modules/18_command/views/lists.vue");
const detailPage = () => import("@/modules/18_command/views/detail.vue");

export default [
  {
    path: "/command",
    name: "commandListPage",
    component: listPage,
    meta: {
      Auth: true,
      Key: "COMMAND",
      Role: "STAFF",
    },
  },
  {
    path: "/command/view/:id",
    name: "commandViewDetailPage",
    component: detailPage,
    meta: {
      Auth: true,
      Key: "COMMAND",
      Role: "STAFF",
    },
  },
  {
    path: "/command/edit/:id",
    name: "commandEditDetailPage",
    component: detailPage,
    meta: {
      Auth: true,
      Key: "COMMAND",
      Role: "STAFF",
    },
  },
];
