mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 23:09:19 +08:00
- 路由标题/菜单名:权限点 -> 系统权限 - 权限点页调用 getSystemPermissionTreeApi 获取系统管理权限树 - 新增 getSystemPermissionTreeApi 接口
79 lines
2.0 KiB
TypeScript
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;
|