Files
ecom-dmb/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts
T
小蟑螂 fb9472bc8c refactor: 权限点页改为系统权限,使用系统权限树接口
- 路由标题/菜单名:权限点 -> 系统权限
- 权限点页调用 getSystemPermissionTreeApi 获取系统管理权限树
- 新增 getSystemPermissionTreeApi 接口
2026-04-10 23:03:37 +08:00

79 lines
2.0 KiB
TypeScript

import type { RouteRecordRaw } from 'vue-router';
const routes: RouteRecordRaw[] = [
{
name: 'SystemPlatformCompany',
path: '/platform-admin/company',
component: () => import('#/views/organization/company/index.vue'),
meta: {
icon: 'lucide:building',
title: '公司管理',
requiresAuth: true,
},
},
{
name: 'SystemPlatformMenu',
path: '/platform-admin/menu',
component: () => import('#/views/system/menu/index.vue'),
meta: {
icon: 'lucide:menu',
title: '系统菜单',
requiresAuth: true,
},
},
{
name: 'SystemPlatformPermission',
path: '/platform-admin/permission',
component: () => import('#/views/system/permission/index.vue'),
meta: {
icon: 'lucide:layoutDashboard',
title: '系统权限',
requiresAuth: true,
},
},
{
name: 'SystemPlatformField',
path: '/platform-admin/field',
component: () => import('#/views/system/field/index.vue'),
meta: {
icon: 'lucide:database',
title: '字段管理',
requiresAuth: true,
},
},
{
name: 'SystemPlatformAccountSuper',
path: '/platform-admin/account-super',
component: () => import('#/views/organization/account-super/index.vue'),
meta: {
icon: 'lucide:user-check',
title: '平台账户管理',
requiresAuth: true,
},
},
{
name: 'SystemPlatformCompanyMenuManage',
path: '/platform-admin/company-menu-manage',
component: () => import('#/views/system/company-menu-manage/index.vue'),
meta: {
icon: 'lucide:layoutDashboard',
title: '公司菜单管理',
requiresAuth: true,
},
},
{
name: 'SystemPlatformCompanyPermissionManage',
path: '/platform-admin/company-permission-manage',
component: () =>
import('#/views/system/company-permission-manage/index.vue'),
meta: {
icon: 'lucide:shield-check',
title: '公司权限管理',
requiresAuth: true,
},
},
];
export default routes;