From d4610c829833996f91704b3891a5c5845bfe0d6b Mon Sep 17 00:00:00 2001
From: wsj <593216709@qq.com>
Date: Wed, 28 Oct 2026 23:06:13 +0800
Subject: [PATCH] feat: 域名
---
src/router/routeConfig.tsx | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/src/router/routeConfig.tsx b/src/router/routeConfig.tsx
index 190fb86..dbb62a7 100644
--- a/src/router/routeConfig.tsx
+++ b/src/router/routeConfig.tsx
@@ -1,17 +1,22 @@
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';
@@ -67,6 +72,12 @@
icon: <SafetyOutlined />,
element: <Roles />,
},
+ {
+ path: '/system/departments',
+ title: '部门管理',
+ icon: <ApartmentOutlined />,
+ element: <Departments />,
+ },
],
},
{
@@ -82,6 +93,19 @@
},
],
},
+ {
+ path: '/platform',
+ title: '平台管理',
+ icon: <SettingOutlined />,
+ children: [
+ {
+ path: '/platform/audit-logs',
+ title: '审计日志',
+ icon: <AuditOutlined />,
+ element: <AuditLogs />,
+ },
+ ],
+ },
];
/** 从路由树中找到某个路径的完整面包屑链路。 */
--
Gitblit v1.9.3