export default {
  path: "/system",
  redirect: "/system/admin",
  meta: {
    icon: "ri:settings-3-line",
    title: "系统设置",
    rank: 10,
    roles: ["admin"]
  },
  children: [
    {
      path: "/system/admin",
      name: "SystemAdmin",
      component: () => import("@/views/system/admin/index.vue"),
      meta: {
        icon: "ri:admin-line",
        title: "管理员管理"
      }
    },
    {
      path: "/system/role",
      name: "SystemRole",
      component: () => import("@/views/system/role/index.vue"),
      meta: {
        icon: "ri:user-settings-line",
        title: "角色管理"
      }
    },
    {
      path: "/system/permission",
      name: "SystemPermission",
      component: () => import("@/views/system/permission/index.vue"),
      meta: {
        icon: "ri:shield-keyhole-line",
        title: "权限管理"
      }
    },
    {
      path: "/system/announcement",
      name: "SystemAnnouncement",
      component: () => import("@/views/system/announcement/index.vue"),
      meta: {
        icon: "ri:notification-3-line",
        title: "公告管理"
      }
    },
    {
      path: "/system/operation-log",
      name: "SystemOperationLog",
      component: () => import("@/views/system/operation-log/index.vue"),
      meta: {
        icon: "ri:file-list-3-line",
        title: "操作日志"
      }
    },
    {
      path: "/system/sync",
      name: "SyncRecords",
      component: () => import("@/views/sync/index.vue"),
      meta: {
        icon: "ri:refresh-line",
        title: "数据同步"
      }
    },
    {
      path: "/system/dict",
      name: "SystemDict",
      component: () => import("@/views/system/dict/index.vue"),
      meta: {
        icon: "ri:book-2-line",
        title: "字典管理"
      }
    },
    {
      path: "/system/menu",
      name: "SystemMenu",
      component: () => import("@/views/system/menu/index.vue"),
      meta: {
        icon: "ri:menu-line",
        title: "菜单管理"
      }
    }
  ]
} satisfies RouteConfigsTable;
