feat: 添加部门管理功能、主题切换和多语言支持

refactor(dashboard): 重构用户管理页面和路由结构

feat(server): 实现部门管理API和RBAC增强功能

docs: 更新用户手册和管理员指南文档

style: 统一图标使用和组件命名规范

test: 添加部门服务和数据隔离测试用例

chore: 更新依赖和配置文件
This commit is contained in:
2026-03-28 22:52:12 +08:00
parent 22308fe042
commit d327706087
87 changed files with 21372 additions and 4806 deletions

View File

@@ -68,6 +68,14 @@ export default defineConfig({
path: '/dashboard/auto-execution',
component: '@/pages/AutoExecution/index',
},
{
path: '/dashboard/workflow',
component: '@/pages/Workflow/WorkflowManagement',
},
{
path: '/dashboard/workflow/config',
component: '@/pages/Workflow/WorkflowConfig',
},
{
path: '/dashboard/operation-agent',
component: '@/pages/OperationAgentEnhanced',
@@ -106,7 +114,7 @@ export default defineConfig({
},
{
path: '/dashboard/inventory/warehouses',
component: '@/pages/Inventory/Warehouses',
component: '@/pages/Warehouse/index',
},
{
path: '/dashboard/orders',
@@ -168,6 +176,10 @@ export default defineConfig({
path: '/dashboard/analytics',
component: '@/pages/Analytics/index',
},
{
path: '/dashboard/analytics/dashboard',
component: '@/pages/Analytics/AnalyticsDashboard',
},
{
path: '/dashboard/reports',
component: '@/pages/Reports/index',
@@ -280,9 +292,21 @@ export default defineConfig({
path: '/dashboard/settings/service-manager',
component: '@/pages/Settings/ServiceManager',
},
{
path: '/dashboard/settings/subscription',
component: '@/pages/Settings/SubscriptionManage',
},
{
path: '/dashboard/settings/user',
component: '@/pages/Settings/UserManagement',
},
{
path: '/dashboard/settings/department',
component: '@/pages/Settings/DepartmentManagement',
},
{
path: '/dashboard/user',
component: '@/pages/User/index',
redirect: '/dashboard/settings/user',
},
{
path: '/dashboard/role',