feat: 新增系统权限树接口及页面(多级表格展示)

后端:
- PermissionService: 新增 getSystemPermissionTree() 只返回系统管理分支
- PermissionController: 新增 GET /permission/system/tree

前端:
- 新增 getSystemPermissionTreeApi()
- 新增路由 SystemPlatformSystemPermission(系统权限)
- 新增 views/system/system-permission/index.vue 多级表格展示
This commit is contained in:
小蟑螂
2026-04-10 22:57:15 +08:00
parent 25fee35743
commit f531121578
6 changed files with 286 additions and 5 deletions
@@ -31,6 +31,16 @@ const routes: RouteRecordRaw[] = [
requiresAuth: true,
},
},
{
name: 'SystemPlatformSystemPermission',
path: '/platform-admin/system-permission',
component: () => import('#/views/system/system-permission/index.vue'),
meta: {
icon: 'lucide:layoutDashboard',
title: '系统权限',
requiresAuth: true,
},
},
{
name: 'SystemPlatformField',
path: '/platform-admin/field',