| | |
| | | import type { ReactNode } from 'react'; |
| | | import { |
| | | ApartmentOutlined, |
| | | AppstoreOutlined, |
| | | AuditOutlined, |
| | | ContactsOutlined, |
| | | DashboardOutlined, |
| | | ProfileOutlined, |
| | | SafetyCertificateOutlined, |
| | | SafetyOutlined, |
| | | SettingOutlined, |
| | | TeamOutlined, |
| | | UnorderedListOutlined, |
| | | } from '@ant-design/icons'; |
| | | import Orders from '@/pages/business/orders'; |
| | | import CustomerList from '@/pages/customers/list'; |
| | | import Dashboard from '@/pages/dashboard'; |
| | | import AuditLogs from '@/pages/platform/audit-logs'; |
| | | import Departments from '@/pages/system/departments'; |
| | | import Roles from '@/pages/system/roles'; |
| | | import Users from '@/pages/system/users'; |
| | | |
| | |
| | | icon: <SafetyOutlined />, |
| | | element: <Roles />, |
| | | }, |
| | | { |
| | | path: '/system/departments', |
| | | title: '部门管理', |
| | | icon: <ApartmentOutlined />, |
| | | element: <Departments />, |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | path: '/platform', |
| | | title: '平台管理', |
| | | icon: <SettingOutlined />, |
| | | children: [ |
| | | { |
| | | path: '/platform/audit-logs', |
| | | title: '审计日志', |
| | | icon: <AuditOutlined />, |
| | | element: <AuditLogs />, |
| | | }, |
| | | ], |
| | | }, |
| | | ]; |
| | | |
| | | /** 从路由树中找到某个路径的完整面包屑链路。 */ |