const MainOrder = () => import("@/modules/10_order/components/Main.vue");
const DetailPage = () => import("@/modules/10_order/components/Detail.vue");

export default [
  {
    path: "/order",
    name: "order",
    component: MainOrder,
    meta: {
      Auth: true,
      Key: [10],
      Role: "order",
    },
  },
  {
    path: "/order/add",
    name: "OrderAdd",
    component: DetailPage,
    meta: {
      Auth: true,
      Key: [10],
      Role: "order",
    },
  },
  {
    path: "/order/detail/:orderid",
    name: "OrderDetail",
    component: DetailPage,
    meta: {
      Auth: true,
      Key: [10],
      Role: "order",
    },
  },
];
