import { $t } from "@/plugins/i18n";
import { riskWorkorder } from "@/router/enums";

export default {
  path: "/workorder-management",
  redirect: "/workorder-management/index",
  meta: {
    icon: "ri:ticket-line",
    title: $t("menus.pureWorkorderManagement"),
    rank: riskWorkorder + 1
  },
  children: [
    {
      path: "/workorder-management/index",
      name: "WorkorderManagement",
      component: () => import("@/views/workorder-management/index.vue"),
      meta: {
        title: $t("menus.pureWorkorderManagement"),
        icon: "ri:ticket-line"
      }
    }
  ]
} satisfies RouteConfigsTable;
