From c6a9c0c5fb77a81b67829d909b936f364233d3d3 Mon Sep 17 00:00:00 2001 From: shizhong <124974919@qq.com> Date: Mon, 10 Jul 2023 19:11:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=89=80=E6=9C=89=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E7=9A=84=20name=20=E9=83=BD=E5=8A=A0=E4=B8=8A=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E7=9A=84=E5=89=8D=E7=BC=80=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/remaining.ts | 38 +++++++------------ src/views/bpm/definition/index.vue | 4 +- src/views/bpm/form/index.vue | 4 +- src/views/bpm/group/UserGroupForm.vue | 2 +- src/views/bpm/group/index.vue | 2 +- src/views/bpm/model/index.vue | 8 ++-- src/views/bpm/model/modelEditor.vue | 2 +- src/views/bpm/oa/leave/create.vue | 2 +- src/views/bpm/oa/leave/detail.vue | 2 +- src/views/bpm/oa/leave/index.vue | 6 +-- src/views/bpm/processInstance/create.vue | 2 +- src/views/bpm/processInstance/detail.vue | 2 +- src/views/bpm/processInstance/index.vue | 2 +- 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 | 2 +- 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/index.vue | 2 +- src/views/infra/fileConfig/index.vue | 2 +- src/views/infra/job/JobLog.vue | 2 +- src/views/infra/job/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 +- src/views/infra/webSocket/index.vue | 2 +- .../mall/product/property/value/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/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/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 | 2 +- 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 | 2 +- src/views/system/tenantPackage/index.vue | 2 +- src/views/system/user/index.vue | 2 +- 62 files changed, 81 insertions(+), 93 deletions(-) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index e09da7b7..b9bf8f9f 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/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/JobLog.vue'), - name: 'JobLog', + name: 'InfraJobLog', meta: { noCache: true, hidden: true, @@ -236,7 +236,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/manager/form/edit', component: () => import('@/views/bpm/form/formEditor.vue'), - name: 'bpmFormEditor', + name: 'BpmFormEditor', meta: { noCache: true, hidden: true, @@ -248,7 +248,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/manager/model/edit', component: () => import('@/views/bpm/model/modelEditor.vue'), - name: 'modelEditor', + name: 'BpmModelEditor', meta: { noCache: true, hidden: true, @@ -260,7 +260,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/manager/definition', component: () => import('@/views/bpm/definition/index.vue'), - name: 'BpmProcessDefinitionList', + name: 'BpmProcessDefinition', meta: { noCache: true, hidden: true, @@ -272,7 +272,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, @@ -307,31 +307,19 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/bpm/oa/leave/create', component: () => import('@/views/bpm/oa/leave/create.vue'), - name: 'OALeaveCreate', + name: 'BpmOALeaveCreate', meta: { noCache: true, hidden: true, canTo: true, title: '发起 OA 请假', - activeMenu: '/bpm/oa/leave' + activeMenu: '/bpm/oa/leave/create' } }, { path: '/bpm/oa/leave/detail', component: () => import('@/views/bpm/oa/leave/detail.vue'), - name: 'OALeaveDetail', - meta: { - noCache: true, - hidden: true, - canTo: true, - title: '查看 OA 请假', - activeMenu: '/bpm/oa/leave' - } - }, - { - path: '/bpm/oa/leave/detail', - component: () => import('@/views/bpm/oa/leave/detail.vue'), - name: 'OALeaveDetail', + name: 'BpmOALeaveDetail', meta: { noCache: true, hidden: true, @@ -345,7 +333,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: '/property', component: Layout, - name: 'property', + name: 'ProductProperty', meta: { hidden: true }, @@ -353,7 +341,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' } } ] @@ -382,7 +370,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ { path: 'productSpuEdit/:spuId(\\d+)', component: () => import('@/views/mall/product/spu/addForm.vue'), - name: 'productSpuEdit', + name: 'ProductSpuEdit', meta: { noCache: true, hidden: true, diff --git a/src/views/bpm/definition/index.vue b/src/views/bpm/definition/index.vue index d6e42a1f..6d7b1687 100644 --- a/src/views/bpm/definition/index.vue +++ b/src/views/bpm/definition/index.vue @@ -59,7 +59,7 @@ -