fix: 平台管理子菜单path与前端路由对齐

数据库children path: /system/platform-admin/xxx
前端system.ts children path: /system/platform-admin/xxx
This commit is contained in:
小蟑螂
2026-03-30 22:19:21 +08:00
parent f1d8cd6e56
commit 8a2e9297ef
@@ -12,7 +12,7 @@ const routes: RouteRecordRaw[] = [
children: [ children: [
{ {
name: 'PlatformCompanyManagement', name: 'PlatformCompanyManagement',
path: '/system/company', path: '/system/platform-admin/company',
component: () => import('#/views/organization/company/index.vue'), component: () => import('#/views/organization/company/index.vue'),
meta: { meta: {
icon: 'lucide:building', icon: 'lucide:building',
@@ -21,7 +21,7 @@ const routes: RouteRecordRaw[] = [
}, },
{ {
name: 'PlatformMenuManagement', name: 'PlatformMenuManagement',
path: '/system/menu-management', path: '/system/platform-admin/menu',
component: () => import('#/views/system/menu/index.vue'), component: () => import('#/views/system/menu/index.vue'),
meta: { meta: {
icon: 'lucide:menu', icon: 'lucide:menu',
@@ -30,7 +30,7 @@ const routes: RouteRecordRaw[] = [
}, },
{ {
name: 'PlatformPermissionManagement', name: 'PlatformPermissionManagement',
path: '/system/permission-management', path: '/system/platform-admin/permission',
component: () => import('#/views/system/permission/index.vue'), component: () => import('#/views/system/permission/index.vue'),
meta: { meta: {
icon: 'lucide:shield-check', icon: 'lucide:shield-check',
@@ -39,7 +39,7 @@ const routes: RouteRecordRaw[] = [
}, },
{ {
name: 'PlatformFieldManagement', name: 'PlatformFieldManagement',
path: '/system/field-management', path: '/system/platform-admin/field',
component: () => import('#/views/system/field/index.vue'), component: () => import('#/views/system/field/index.vue'),
meta: { meta: {
icon: 'lucide:database', icon: 'lucide:database',
@@ -48,7 +48,7 @@ const routes: RouteRecordRaw[] = [
}, },
{ {
name: 'PlatformAccountSuperManagement', name: 'PlatformAccountSuperManagement',
path: '/system/account-super-management', path: '/system/platform-admin/account-super',
component: () => import('#/views/organization/account-super/index.vue'), component: () => import('#/views/organization/account-super/index.vue'),
meta: { meta: {
icon: 'lucide:user-check', icon: 'lucide:user-check',
@@ -57,7 +57,7 @@ const routes: RouteRecordRaw[] = [
}, },
{ {
name: 'PlatformCompanyMenuAssign', name: 'PlatformCompanyMenuAssign',
path: '/system/platform/company-menu-manage', path: '/system/platform-admin/company-menu-manage',
component: () => import('#/views/system/platform/company-menu-manage.vue'), component: () => import('#/views/system/platform/company-menu-manage.vue'),
meta: { meta: {
icon: 'lucide:layoutDashboard', icon: 'lucide:layoutDashboard',
@@ -66,7 +66,7 @@ const routes: RouteRecordRaw[] = [
}, },
{ {
name: 'PlatformCompanyPermissionAssign', name: 'PlatformCompanyPermissionAssign',
path: '/system/platform/company-permission-manage', path: '/system/platform-admin/company-permission-manage',
component: () => import('#/views/system/platform/company-permission-manage.vue'), component: () => import('#/views/system/platform/company-permission-manage.vue'),
meta: { meta: {
icon: 'lucide:shield-check', icon: 'lucide:shield-check',