mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 13:49:19 +08:00
数据库children path: /system/platform-admin/xxx 前端system.ts children path: /system/platform-admin/xxx
81 lines
2.3 KiB
TypeScript
81 lines
2.3 KiB
TypeScript
import type { RouteRecordRaw } from 'vue-router';
|
|
|
|
const routes: RouteRecordRaw[] = [
|
|
{
|
|
meta: {
|
|
icon: 'lucide:shield',
|
|
order: 100,
|
|
title: '平台管理',
|
|
},
|
|
name: 'SystemPlatform',
|
|
path: '/system/platform-admin',
|
|
children: [
|
|
{
|
|
name: 'PlatformCompanyManagement',
|
|
path: '/system/platform-admin/company',
|
|
component: () => import('#/views/organization/company/index.vue'),
|
|
meta: {
|
|
icon: 'lucide:building',
|
|
title: '公司管理',
|
|
},
|
|
},
|
|
{
|
|
name: 'PlatformMenuManagement',
|
|
path: '/system/platform-admin/menu',
|
|
component: () => import('#/views/system/menu/index.vue'),
|
|
meta: {
|
|
icon: 'lucide:menu',
|
|
title: '菜单管理',
|
|
},
|
|
},
|
|
{
|
|
name: 'PlatformPermissionManagement',
|
|
path: '/system/platform-admin/permission',
|
|
component: () => import('#/views/system/permission/index.vue'),
|
|
meta: {
|
|
icon: 'lucide:shield-check',
|
|
title: '权限码管理',
|
|
},
|
|
},
|
|
{
|
|
name: 'PlatformFieldManagement',
|
|
path: '/system/platform-admin/field',
|
|
component: () => import('#/views/system/field/index.vue'),
|
|
meta: {
|
|
icon: 'lucide:database',
|
|
title: '字段管理',
|
|
},
|
|
},
|
|
{
|
|
name: 'PlatformAccountSuperManagement',
|
|
path: '/system/platform-admin/account-super',
|
|
component: () => import('#/views/organization/account-super/index.vue'),
|
|
meta: {
|
|
icon: 'lucide:user-check',
|
|
title: '账户管理-超管',
|
|
},
|
|
},
|
|
{
|
|
name: 'PlatformCompanyMenuAssign',
|
|
path: '/system/platform-admin/company-menu-manage',
|
|
component: () => import('#/views/system/platform/company-menu-manage.vue'),
|
|
meta: {
|
|
icon: 'lucide:layoutDashboard',
|
|
title: '公司菜单管理',
|
|
},
|
|
},
|
|
{
|
|
name: 'PlatformCompanyPermissionAssign',
|
|
path: '/system/platform-admin/company-permission-manage',
|
|
component: () => import('#/views/system/platform/company-permission-manage.vue'),
|
|
meta: {
|
|
icon: 'lucide:shield-check',
|
|
title: '公司权限管理',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default routes;
|