From df57191cf00d8f26b3bc3f79c63987775746e2c0 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 8 Apr 2023 11:48:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=80=E6=9C=89=E8=8F=9C=E5=8D=95=E7=9A=84?= =?UTF-8?q?=20name=20=E9=83=BD=E5=8A=A0=E4=B8=8A=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E7=9A=84=E5=89=8D=E7=BC=80=EF=BC=8C=E9=81=BF=E5=85=8D=E5=86=B2?= =?UTF-8?q?=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/remaining.ts | 40 +++-------- src/types/auto-components.d.ts | 1 + src/views/bpm/definition/index.vue | 2 +- src/views/bpm/form/index.vue | 5 +- src/views/bpm/group/index.vue | 2 +- src/views/bpm/model/editor/index.vue | 2 +- src/views/bpm/model/index.vue | 6 +- .../bpm/processInstance/create/index.vue | 2 +- .../bpm/processInstance/detail/index.vue | 2 +- src/views/bpm/processInstance/index.vue | 4 +- src/views/bpm/task/done/index.vue | 2 +- src/views/bpm/task/todo/index.vue | 2 +- src/views/bpm/taskAssignRule/index.vue | 2 +- src/views/infra/apiAccessLog/index.vue | 2 +- src/views/infra/apiErrorLog/index.vue | 3 +- src/views/infra/build/index.vue | 2 +- src/views/infra/codegen/index.vue | 2 +- src/views/infra/config/index.vue | 2 +- src/views/infra/dataSourceConfig/index.vue | 2 +- src/views/infra/dbDoc/index.vue | 2 +- src/views/infra/druid/index.vue | 2 +- src/views/infra/file/FileForm.vue | 67 +++++++++++++------ src/views/infra/file/index.vue | 17 +++-- src/views/infra/fileConfig/index.vue | 19 +++++- src/views/infra/job/index.vue | 2 +- src/views/infra/job/logger/index.vue | 2 +- src/views/infra/redis/index.vue | 2 +- src/views/infra/server/index.vue | 2 +- src/views/infra/skywalking/index.vue | 2 +- src/views/infra/swagger/index.vue | 2 +- .../mall/product/category/CategoryForm.vue | 2 +- src/views/mall/product/property/index.vue | 2 +- .../mall/product/property/value/index.vue | 2 +- src/views/mp/freePublish/index.vue | 2 +- src/views/pay/app/index.vue | 2 +- src/views/pay/merchant/index.vue | 2 +- src/views/pay/order/index.vue | 2 +- src/views/pay/refund/index.vue | 2 +- src/views/system/area/index.vue | 2 +- src/views/system/dept/index.vue | 2 +- src/views/system/dict/data/index.vue | 2 +- src/views/system/dict/index.vue | 2 +- src/views/system/errorCode/index.vue | 2 +- src/views/system/loginlog/index.vue | 2 +- src/views/system/mail/account/index.vue | 2 +- src/views/system/mail/log/index.vue | 2 +- src/views/system/mail/template/index.vue | 2 +- src/views/system/menu/index.vue | 2 +- src/views/system/notice/index.vue | 2 +- src/views/system/notify/message/index.vue | 2 +- src/views/system/notify/my/index.vue | 2 +- src/views/system/notify/template/index.vue | 2 +- src/views/system/oauth2/client/index.vue | 2 +- src/views/system/oauth2/token/index.vue | 2 +- src/views/system/operatelog/index.vue | 2 +- src/views/system/post/index.vue | 3 +- src/views/system/role/index.vue | 2 +- src/views/system/sensitiveWord/index.vue | 2 +- src/views/system/sms/channel/index.vue | 2 +- src/views/system/sms/log/index.vue | 2 +- src/views/system/sms/template/index.vue | 2 +- src/views/system/tenant/index.vue | 3 +- src/views/system/tenantPackage/index.vue | 2 +- src/views/system/user/index.vue | 2 +- 64 files changed, 144 insertions(+), 130 deletions(-) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index aa98ebc0..11420a07 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -116,7 +116,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: 'type/data/:dictType', component: () => import('@/views/system/dict/data/index.vue'), - name: 'data', + name: 'SystemDictData', meta: { title: '字典数据', noCache: true, @@ -140,7 +140,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: 'edit', component: () => import('@/views/infra/codegen/EditTable.vue'), - name: 'EditTable', + name: 'InfraCodegenEditTable', meta: { noCache: true, hidden: true, @@ -163,7 +163,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: 'job-log', component: () => import('@/views/infra/job/logger/index.vue'), - name: 'JobLog', + name: 'InfraJobLog', meta: { noCache: true, hidden: true, @@ -226,7 +226,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/manager/form/edit', component: () => import('@/views/bpm/form/editor/index.vue'), - name: 'bpmFormEditor', + name: 'BpmFormEditor', meta: { noCache: true, hidden: true, @@ -238,7 +238,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/manager/model/edit', component: () => import('@/views/bpm/model/editor/index.vue'), - name: 'modelEditor', + name: 'BpmModelEditor', meta: { noCache: true, hidden: true, @@ -250,7 +250,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/manager/definition', component: () => import('@/views/bpm/definition/index.vue'), - name: 'BpmProcessDefinitionList', + name: 'BpmProcessDefinition', meta: { noCache: true, hidden: true, @@ -262,7 +262,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/manager/task-assign-rule', component: () => import('@/views/bpm/taskAssignRule/index.vue'), - name: 'BpmTaskAssignRuleList', + name: 'BpmTaskAssignRule', meta: { noCache: true, hidden: true, @@ -305,30 +305,6 @@ const remainingRouter: AppRouteRecordRaw[] = [ title: '发起 OA 请假', activeMenu: 'bpm/oa/leave/create' } - }, - { - path: '/bpm/task/todo', - component: () => import('@/views/bpm/task/todo/index.vue'), - name: 'TaskTodo', - meta: { - noCache: true, - hidden: true, - canTo: true, - title: '代办任务', - activeMenu: 'bpm/task/todo/index' - } - }, - { - path: '/bpm/processInstance', - component: () => import('@/views/bpm/processInstance/index.vue'), - name: 'processInstance', - meta: { - noCache: true, - hidden: true, - canTo: true, - title: '流程办理', - activeMenu: 'bpm/processInstance/index' - } } ] }, @@ -343,7 +319,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: 'value/:propertyId(\\d+)', component: () => import('@/views/mall/product/property/value/index.vue'), - name: 'PropertyValue', + name: 'ProductPropertyValue', meta: { title: '商品属性值', icon: '', activeMenu: '/product/property' } } ] diff --git a/src/types/auto-components.d.ts b/src/types/auto-components.d.ts index c7ff571c..f93f11f6 100644 --- a/src/types/auto-components.d.ts +++ b/src/types/auto-components.d.ts @@ -77,6 +77,7 @@ declare module '@vue/runtime-core' { ElTimeline: typeof import('element-plus/es')['ElTimeline'] ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] + ElTree: typeof import('element-plus/es')['ElTree'] ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] ElUpload: typeof import('element-plus/es')['ElUpload'] Error: typeof import('./../components/Error/src/Error.vue')['default'] diff --git a/src/views/bpm/definition/index.vue b/src/views/bpm/definition/index.vue index 66a6a23b..4fa86db9 100644 --- a/src/views/bpm/definition/index.vue +++ b/src/views/bpm/definition/index.vue @@ -93,7 +93,7 @@ - diff --git a/src/views/infra/file/index.vue b/src/views/infra/file/index.vue index 6e709ec7..91d7639e 100644 --- a/src/views/infra/file/index.vue +++ b/src/views/infra/file/index.vue @@ -1,9 +1,14 @@ -