From 6071e41e38cb63481c8f5d26bb2f7201d73d559d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=96=E6=99=8B=E9=A3=9E?= <378266566@qq.com> Date: Wed, 23 Apr 2025 16:54:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E6=97=A0=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/routes/index.ts | 154 ------------------------------------- 1 file changed, 154 deletions(-) diff --git a/src/router/routes/index.ts b/src/router/routes/index.ts index 446af8b..f0b7378 100644 --- a/src/router/routes/index.ts +++ b/src/router/routes/index.ts @@ -108,158 +108,7 @@ export const CodegenRoute: AppRouteRecordRaw = { ], } -export const JobLogRoute: AppRouteRecordRaw = { - path: '/job', - component: LAYOUT, - name: 'JobL', - meta: { - title: '调度日志', - hidden: true, - }, - children: [ - { - path: 'job-log', - component: () => import('@/views/infra/job/logger/index.vue'), - name: 'InfraJobLog', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ant-design:bar-chart-outlined', - title: '调度日志', - activeMenu: 'infra/job/index', - }, - }, - ], -} - -export const PayRoute: AppRouteRecordRaw = { - path: '/pay', - component: LAYOUT, - name: 'pay', - meta: { - title: '收银台', - hidden: true, - }, - children: [ - { - path: 'cashier', - component: () => import('@/views/pay/cashier/index.vue'), - name: 'PayCashier', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ant-design:pay-circle-outlined', - title: '收银台', - activeMenu: 'pay/order/index', - }, - }, - ], -} -export const BpmRoute: AppRouteRecordRaw = { - path: '/bpm', - component: LAYOUT, - name: 'bpm', - meta: { - title: '工作流', - hidden: true, - }, - children: [ - { - path: '/manager/form/edit', - component: () => import('@/views/bpm/form/editor/index.vue'), - name: 'BpmFormEditor', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ant-design:edit-outlined', - title: '设计流程表单', - activeMenu: '/bpm/manager/form', - }, - }, - { - path: '/manager/model/edit', - component: () => import('@/views/bpm/model/editor/index.vue'), - name: 'BpmModelEditor', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ant-design:edit-outlined', - title: '设计流程', - activeMenu: '/bpm/manager/model', - }, - }, - { - path: '/manager/definition', - component: () => import('@/views/bpm/definition/index.vue'), - name: 'BpmProcessDefinition', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ant-design:edit-outlined', - title: '流程定义', - activeMenu: '/bpm/manager/model', - }, - }, - { - path: '/process-instance/create', - component: () => import('@/views/bpm/processInstance/create/index.vue'), - name: 'BpmProcessInstanceCreate', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ant-design:edit-outlined', - title: '发起流程', - activeMenu: 'bpm/processInstance/create', - }, - }, - { - path: '/process-instance/detail', - component: () => import('@/views/bpm/processInstance/detail/index.vue'), - name: 'BpmProcessInstanceDetail', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ant-design:edit-outlined', - title: '流程详情', - activeMenu: 'bpm/processInstance/detail', - }, - }, - { - path: '/bpm/oa/leave/create', - component: () => import('@/views/bpm/oa/leave/create.vue'), - name: 'OALeaveCreate', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ant-design:edit-outlined', - title: '发起 OA 请假', - activeMenu: 'bpm/oa/leave', - }, - }, - { - path: '/process-instance/detail', - component: () => import('@/views/bpm/oa/leave/detail.vue'), - name: 'OALeaveDetail', - meta: { - canTo: true, - hidden: true, - noTagsView: false, - icon: 'ant-design:edit-outlined', - title: '查看 OA 请假', - activeMenu: 'bpm/oa/leave', - }, - }, - ], -} // Basic routing without permission // 未经许可的基本路由 @@ -269,9 +118,6 @@ export const basicRoutes = [ RootRoute, ProfileRoute, CodegenRoute, - JobLogRoute, - PayRoute, - BpmRoute, REDIRECT_ROUTE, PAGE_NOT_FOUND_ROUTE, ]