From 65a3c2b444fc4abd40b9d5c007b7cf636751d59f Mon Sep 17 00:00:00 2001 From: ah-max150 Date: Fri, 14 Aug 2026 15:33:14 +0800 Subject: [PATCH] =?UTF-8?q?remove:=20=E7=A7=BB=E9=99=A4=E5=BA=9F=E5=BC=83?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/router/routes/modules/dashboard.ts | 29 --- .../src/router/routes/modules/ecommerce.ts | 45 ---- .../src/router/routes/modules/organization.ts | 64 ------ .../src/router/routes/modules/system.ts | 101 --------- .../src/views/sys/system-permission/index.vue | 198 ------------------ 5 files changed, 437 deletions(-) delete mode 100644 ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/dashboard.ts delete mode 100644 ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/ecommerce.ts delete mode 100644 ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/organization.ts delete mode 100644 ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts delete mode 100644 ecom-dmb-frontend/apps/web-antd/src/views/sys/system-permission/index.vue diff --git a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/dashboard.ts b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/dashboard.ts deleted file mode 100644 index 86ba973e..00000000 --- a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/dashboard.ts +++ /dev/null @@ -1,29 +0,0 @@ -import type { RouteRecordRaw } from 'vue-router'; - -import { $t } from '#/locales'; - -const routes: RouteRecordRaw[] = [ - { - meta: { - icon: 'lucide:layout-dashboard', - order: -1, - title: $t('page.dashboard.title'), - }, - name: 'Dashboard', - path: '/dashboard', - children: [ - { - name: 'PddWorkbench', - path: '/workbench', - component: () => import('#/views/dashboard/workbench/index.vue'), - meta: { - affixTab: true, - icon: 'lucide:gauge', - title: $t('page.dashboard.workbench'), - }, - }, - ], - }, -]; - -export default routes; diff --git a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/ecommerce.ts b/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/ecommerce.ts deleted file mode 100644 index f0eb5599..00000000 --- a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/ecommerce.ts +++ /dev/null @@ -1,45 +0,0 @@ -import type { RouteRecordRaw } from 'vue-router'; - -const routes: RouteRecordRaw[] = [ - { - meta: { - icon: 'lucide:shopping-cart', - order: 1, - title: '数据中台', - }, - name: 'Data', - path: '/data', - children: [ - { - name: 'DataImport', - path: '/data/import', - redirect: '/data/import/order', - meta: { - icon: 'lucide:upload', - title: '数据导入', - }, - children: [ - { - name: 'DataImportOrder', - path: 'order', - alias: '/import/order', - component: () => import('#/views/ec/import/order/index.vue'), - meta: { - title: '订单导入', - }, - }, - { - name: 'DataImportPromotionFee', - path: 'promotion-fee', - component: () => import('#/views/ec/import/promotion-fee/index.vue'), - meta: { - title: '推广费导入', - }, - }, - ], - }, - ], - }, -]; - -export default routes; 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 deleted file mode 100644 index 4ce482c0..00000000 --- a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/organization.ts +++ /dev/null @@ -1,64 +0,0 @@ -import type { RouteRecordRaw } from 'vue-router'; - -const routes: RouteRecordRaw[] = [ - { - meta: { - icon: 'lucide:building-2', - order: 200, - title: '组织管理', - }, - name: 'Organization', - path: '/organization', - children: [ - { - name: 'CompanyManagement', - path: '/organization/company-management', - component: () => import('#/views/org/company/index.vue'), - meta: { - icon: 'lucide:building', - title: '公司管理', - }, - }, - { - name: 'DepartmentManagement', - path: '/organization/department-management', - component: () => import('#/views/org/department/index.vue'), - meta: { - icon: 'lucide:users', - title: '部门管理', - }, - }, - { - name: 'JobManagement', - path: '/organization/position-management', - component: () => import('#/views/org/position/index.vue'), - meta: { - icon: 'lucide:briefcase', - title: '职位管理', - }, - }, - { - name: 'JobMenuAssign', - path: '/organization/position-menu-assign', - component: () => - import('#/views/org/position/permission/index.vue'), - meta: { - icon: 'lucide:layoutDashboard', - title: '职位菜单分配', - }, - }, - { - name: 'JobPermissionAssign', - path: '/organization/position-permission-assign', - component: () => - import('#/views/org/position-permission-assign/index.vue'), - meta: { - icon: 'lucide:shield-check', - title: '职位权限分配', - }, - }, - ], - }, -]; - -export default routes; 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 deleted file mode 100644 index bfd0cd9e..00000000 --- a/ecom-dmb-frontend/apps/web-antd/src/router/routes/modules/system.ts +++ /dev/null @@ -1,101 +0,0 @@ -import type { RouteRecordRaw } from 'vue-router'; - -const routes: RouteRecordRaw[] = [ - { - name: 'SystemPlatformCompany', - path: '/platform-admin/company', - component: () => import('#/views/org/company/index.vue'), - meta: { - icon: 'lucide:building', - title: '公司管理', - requiresAuth: true, - }, - }, - { - name: 'SystemPlatformMenu', - path: '/platform-admin/menu', - component: () => import('#/views/sys/menu/index.vue'), - meta: { - icon: 'lucide:menu', - title: '系统菜单', - requiresAuth: true, - }, - }, - { - name: 'SystemPlatformPermission', - path: '/platform-admin/permission', - component: () => import('#/views/sys/permission/index.vue'), - meta: { - icon: 'lucide:layoutDashboard', - title: '系统权限', - requiresAuth: true, - }, - }, - - { - name: 'SystemPlatformAccountSuper', - path: '/platform-admin/account-super', - component: () => import('#/views/org/account-super/index.vue'), - meta: { - icon: 'lucide:user-check', - title: '平台账户管理', - requiresAuth: true, - }, - }, - { - name: 'SystemPlatformCompanyMenuManage', - path: '/platform-admin/company-menu-manage', - component: () => import('#/views/company/menu/index.vue'), - meta: { - icon: 'lucide:layoutDashboard', - title: '公司菜单管理', - requiresAuth: true, - }, - }, - { - name: 'SystemPlatformCompanyPermissionManage', - path: '/platform-admin/company-permission-manage', - component: () => - import('#/views/company/permission/index.vue'), - meta: { - icon: 'lucide:shield-check', - title: '公司权限管理', - requiresAuth: true, - }, - }, - { - name: 'SystemLicense', - path: '/system/license', - component: () => import('#/views/sys/license/index.vue'), - meta: { - icon: 'lucide:key-round', - title: '授权管理', - requiresAuth: true, - }, - }, - // 兼容旧路径 - { - name: 'SystemLicenseLegacySettings', - path: '/system/settings/license', - component: () => import('#/views/sys/license/index.vue'), - meta: { - icon: 'lucide:key-round', - title: '授权管理', - requiresAuth: true, - hideInMenu: true, - }, - }, - { - name: 'SystemLicenseLegacy', - path: '/platform-admin/license', - component: () => import('#/views/sys/license/index.vue'), - meta: { - icon: 'lucide:key-round', - title: '授权管理', - requiresAuth: true, - hideInMenu: true, - }, - }, -]; - -export default routes; diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/sys/system-permission/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/sys/system-permission/index.vue deleted file mode 100644 index bb513c68..00000000 --- a/ecom-dmb-frontend/apps/web-antd/src/views/sys/system-permission/index.vue +++ /dev/null @@ -1,198 +0,0 @@ - - -