diff --git a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/organization.ts b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/organization.ts index e39347fc..115e7c40 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/organization.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/organization.ts @@ -59,26 +59,7 @@ const routes: RouteRecordRaw[] = [ title: '职位权限分配', }, }, - { - name: 'CompanyMenuAssign', - path: '/organization/company-menu-manage', - component: () => - import('#/views/organization/company-menu-manage/index.vue'), - meta: { - icon: 'lucide:layoutDashboard', - title: '公司菜单管理', - }, - }, - { - name: 'CompanyPermissionAssign', - path: '/organization/company-permission-manage', - component: () => - import('#/views/organization/company-permission-manage/index.vue'), - meta: { - icon: 'lucide:shield-check', - title: '公司权限管理', - }, - }, + ], }, ]; diff --git a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts index 7825f622..dbb9e909 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts +++ b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts @@ -3,15 +3,24 @@ import type { RouteRecordRaw } from 'vue-router'; const routes: RouteRecordRaw[] = [ { meta: { - icon: 'lucide:settings', - order: 999, - title: '系统管理', + icon: 'lucide:shield', + order: 100, + title: '平台管理', }, - name: 'System', - path: '/system', + name: 'SystemPlatform', + path: '/system/platform-admin', children: [ { - name: 'MenuManagement', + name: 'PlatformCompanyManagement', + path: '/system/company', + component: () => import('#/views/organization/company/index.vue'), + meta: { + icon: 'lucide:building', + title: '公司管理', + }, + }, + { + name: 'PlatformMenuManagement', path: '/system/menu-management', component: () => import('#/views/system/menu/index.vue'), meta: { @@ -19,6 +28,51 @@ const routes: RouteRecordRaw[] = [ title: '菜单管理', }, }, + { + name: 'PlatformPermissionManagement', + path: '/system/permission-management', + component: () => import('#/views/system/permission/index.vue'), + meta: { + icon: 'lucide:shield-check', + title: '权限码管理', + }, + }, + { + name: 'PlatformFieldManagement', + path: '/system/field-management', + component: () => import('#/views/system/field/index.vue'), + meta: { + icon: 'lucide:database', + title: '字段管理', + }, + }, + { + name: 'PlatformAccountSuperManagement', + path: '/system/account-super-management', + component: () => import('#/views/organization/account-super/index.vue'), + meta: { + icon: 'lucide:user-check', + title: '账户管理-超管', + }, + }, + { + name: 'PlatformCompanyMenuAssign', + path: '/system/platform/company-menu-manage', + component: () => import('#/views/system/platform/company-menu-manage.vue'), + meta: { + icon: 'lucide:layoutDashboard', + title: '公司菜单管理', + }, + }, + { + name: 'PlatformCompanyPermissionAssign', + path: '/system/platform/company-permission-manage', + component: () => import('#/views/system/platform/company-permission-manage.vue'), + meta: { + icon: 'lucide:shield-check', + title: '公司权限管理', + }, + }, ], }, ]; diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/organization/company-menu-manage/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/system/platform/company-menu-manage.vue similarity index 100% rename from ecom-dmb-frontend/apps/web-antd/src/views/organization/company-menu-manage/index.vue rename to ecom-dmb-frontend/apps/web-antd/src/views/system/platform/company-menu-manage.vue diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/organization/company-permission-manage/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/system/platform/company-permission-manage.vue similarity index 100% rename from ecom-dmb-frontend/apps/web-antd/src/views/organization/company-permission-manage/index.vue rename to ecom-dmb-frontend/apps/web-antd/src/views/system/platform/company-permission-manage.vue