From 88a66039cedeb66c150ae8ce92dfda96d3131595 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 26 Feb 2025 14:50:17 +0800 Subject: [PATCH] perf: change dir name too lang (#4683) Co-authored-by: ibuler --- src/router/pam/automations.js | 16 ++++++++-------- .../accounts/AccountBackup/AccountBackupList.vue | 2 +- .../AccountBackupInfo.vue | 0 .../{AccountBackupDetail => Detail}/index.vue | 0 .../AccountBackupExecutionList.vue | 0 .../AccountBackupExecutionInfo.vue | 0 .../ExecutionDetail}/index.vue | 0 src/views/accounts/AccountBackup/index.vue | 2 +- .../AccountChangeSecretList.vue | 2 +- .../AccountChangeSecretAsset/index.vue | 0 .../AccountChangeSecretInfo.vue | 0 .../index.vue | 2 +- .../AccountChangeSecretExecutionInfo.vue | 0 .../AccountChangeSecretRecord.vue | 0 .../index.vue | 0 .../AccountChangeSecretExecutionList.vue | 0 src/views/accounts/AccountChangeSecret/index.vue | 14 +++++--------- .../AccountPush/AccountPushExecutionList.vue | 4 ++-- .../accounts/AccountPush/AccountPushList.vue | 2 +- .../AccountPushInfo.vue | 0 .../{AccountPushDetail => Detail}/index.vue | 0 .../AccountPushExecutionInfo.vue | 0 .../AccountPushRecord.vue | 0 .../index.vue | 0 src/views/accounts/AccountPush/index.vue | 2 +- .../AccountTemplate/AccountTemplateTable.vue | 2 +- .../Account.vue | 0 .../{AccountTemplateDetail => Detail}/Detail.vue | 0 .../{AccountTemplateDetail => Detail}/index.vue | 0 29 files changed, 22 insertions(+), 26 deletions(-) rename src/views/accounts/AccountBackup/{AccountBackupDetail => Detail}/AccountBackupInfo.vue (100%) rename src/views/accounts/AccountBackup/{AccountBackupDetail => Detail}/index.vue (100%) rename src/views/accounts/AccountBackup/{AccountBackupExecution => Executions}/AccountBackupExecutionList.vue (100%) rename src/views/accounts/AccountBackup/{AccountBackupExecution/AccountBackupExecutionDetail => Executions/ExecutionDetail}/AccountBackupExecutionInfo.vue (100%) rename src/views/accounts/AccountBackup/{AccountBackupExecution/AccountBackupExecutionDetail => Executions/ExecutionDetail}/index.vue (100%) rename src/views/accounts/AccountChangeSecret/{AccountChangeSecretDetail => Detail}/AccountChangeSecretAsset/index.vue (100%) rename src/views/accounts/AccountChangeSecret/{AccountChangeSecretDetail => Detail}/AccountChangeSecretInfo.vue (100%) rename src/views/accounts/AccountChangeSecret/{AccountChangeSecretDetail => Detail}/index.vue (93%) rename src/views/accounts/AccountChangeSecret/{AccountChangeSecretExecution/AccountChangeSecretExecutionDetail => ExecutionDetail}/AccountChangeSecretExecutionInfo.vue (100%) rename src/views/accounts/AccountChangeSecret/{AccountChangeSecretExecution/AccountChangeSecretExecutionDetail => ExecutionDetail}/AccountChangeSecretRecord.vue (100%) rename src/views/accounts/AccountChangeSecret/{AccountChangeSecretExecution/AccountChangeSecretExecutionDetail => ExecutionDetail}/index.vue (100%) rename src/views/accounts/AccountChangeSecret/{AccountChangeSecretExecution => Executions}/AccountChangeSecretExecutionList.vue (100%) rename src/views/accounts/AccountPush/{AccountPushDetail => Detail}/AccountPushInfo.vue (100%) rename src/views/accounts/AccountPush/{AccountPushDetail => Detail}/index.vue (100%) rename src/views/accounts/AccountPush/{AccountPushExecutionDetail => ExecutionDetail}/AccountPushExecutionInfo.vue (100%) rename src/views/accounts/AccountPush/{AccountPushExecutionDetail => ExecutionDetail}/AccountPushRecord.vue (100%) rename src/views/accounts/AccountPush/{AccountPushExecutionDetail => ExecutionDetail}/index.vue (100%) rename src/views/accounts/AccountTemplate/{AccountTemplateDetail => Detail}/Account.vue (100%) rename src/views/accounts/AccountTemplate/{AccountTemplateDetail => Detail}/Detail.vue (100%) rename src/views/accounts/AccountTemplate/{AccountTemplateDetail => Detail}/index.vue (100%) diff --git a/src/router/pam/automations.js b/src/router/pam/automations.js index 1238e8329..5490d9962 100644 --- a/src/router/pam/automations.js +++ b/src/router/pam/automations.js @@ -139,7 +139,7 @@ export default [ }, { path: ':id', - component: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/index.vue'), + component: () => import('@/views/accounts/AccountChangeSecret/Detail/index.vue'), name: 'AccountChangeSecretDetail', hidden: true, meta: { @@ -149,7 +149,7 @@ export default [ }, { path: 'executions', - component: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue'), + component: () => import('@/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue'), name: 'AccountChangeSecretExecutionList', hidden: true, meta: { @@ -159,7 +159,7 @@ export default [ }, { path: 'executions/:id', - component: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/index.vue'), + component: () => import('@/views/accounts/AccountChangeSecret/ExecutionDetail/index.vue'), name: 'AccountChangeSecretExecutionDetail', hidden: true, meta: { @@ -215,7 +215,7 @@ export default [ }, { path: ':id', - component: () => import('@/views/accounts/AccountPush/AccountPushDetail/index.vue'), + component: () => import('@/views/accounts/AccountPush/Detail/index.vue'), name: 'AccountPushDetail', hidden: true, meta: { @@ -235,7 +235,7 @@ export default [ }, { path: 'executions/:id', - component: () => import('@/views/accounts/AccountPush/AccountPushExecutionDetail/index.vue'), + component: () => import('@/views/accounts/AccountPush/ExecutionDetail/index.vue'), name: 'AccountPushExecutionDetail', hidden: true, meta: { @@ -293,7 +293,7 @@ export default [ }, { path: ':id', - component: () => import('@/views/accounts/AccountBackup/AccountBackupDetail/index.vue'), + component: () => import('@/views/accounts/AccountBackup/Detail/index.vue'), name: 'AccountBackupDetail', meta: { title: i18n.t('AccountBackupDetail') @@ -302,14 +302,14 @@ export default [ }, { path: 'executions', - component: () => import('@/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue'), + component: () => import('@/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue'), name: 'AccountBackupExecutionList', meta: { title: i18n.t('ExecutionDetail') }, hidden: true }, { path: 'executions/:id', - component: () => import('@/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionDetail/index.vue'), + component: () => import('@/views/accounts/AccountBackup/Executions/ExecutionDetail/index.vue'), name: 'AccountBackupExecutionDetail', meta: { title: i18n.t('ExecutionDetail') }, hidden: true diff --git a/src/views/accounts/AccountBackup/AccountBackupList.vue b/src/views/accounts/AccountBackup/AccountBackupList.vue index e96c808e8..d8cb53bf3 100644 --- a/src/views/accounts/AccountBackup/AccountBackupList.vue +++ b/src/views/accounts/AccountBackup/AccountBackupList.vue @@ -21,7 +21,7 @@ export default { const vm = this return { createDrawer: () => import('@/views/accounts/AccountBackup/AccountBackupCreateUpdate.vue'), - detailDrawer: () => import('@/views/accounts/AccountBackup/AccountBackupDetail/index.vue'), + detailDrawer: () => import('@/views/accounts/AccountBackup/Detail/index.vue'), tableConfig: { url: '/api/v1/accounts/account-backup-plans/', permissions: { diff --git a/src/views/accounts/AccountBackup/AccountBackupDetail/AccountBackupInfo.vue b/src/views/accounts/AccountBackup/Detail/AccountBackupInfo.vue similarity index 100% rename from src/views/accounts/AccountBackup/AccountBackupDetail/AccountBackupInfo.vue rename to src/views/accounts/AccountBackup/Detail/AccountBackupInfo.vue diff --git a/src/views/accounts/AccountBackup/AccountBackupDetail/index.vue b/src/views/accounts/AccountBackup/Detail/index.vue similarity index 100% rename from src/views/accounts/AccountBackup/AccountBackupDetail/index.vue rename to src/views/accounts/AccountBackup/Detail/index.vue diff --git a/src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue b/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue similarity index 100% rename from src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue rename to src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue diff --git a/src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionDetail/AccountBackupExecutionInfo.vue b/src/views/accounts/AccountBackup/Executions/ExecutionDetail/AccountBackupExecutionInfo.vue similarity index 100% rename from src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionDetail/AccountBackupExecutionInfo.vue rename to src/views/accounts/AccountBackup/Executions/ExecutionDetail/AccountBackupExecutionInfo.vue diff --git a/src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionDetail/index.vue b/src/views/accounts/AccountBackup/Executions/ExecutionDetail/index.vue similarity index 100% rename from src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionDetail/index.vue rename to src/views/accounts/AccountBackup/Executions/ExecutionDetail/index.vue diff --git a/src/views/accounts/AccountBackup/index.vue b/src/views/accounts/AccountBackup/index.vue index d579bf58e..6a26545b0 100644 --- a/src/views/accounts/AccountBackup/index.vue +++ b/src/views/accounts/AccountBackup/index.vue @@ -29,7 +29,7 @@ export default { title: this.$t('ExecutionList'), name: 'AccountBackupExecutionList', hidden: !this.$hasPerm('accounts.view_accountbackupexecution'), - component: () => import('@/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue') + component: () => import('@/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue') } ] } diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretList.vue b/src/views/accounts/AccountChangeSecret/AccountChangeSecretList.vue index 30bfbfc0c..d15d8a852 100644 --- a/src/views/accounts/AccountChangeSecret/AccountChangeSecretList.vue +++ b/src/views/accounts/AccountChangeSecret/AccountChangeSecretList.vue @@ -21,7 +21,7 @@ export default { const vm = this return { createDrawer: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretCreateUpdate.vue'), - detailDrawer: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/index.vue'), + detailDrawer: () => import('@/views/accounts/AccountChangeSecret/Detail/index.vue'), tableConfig: { url: '/api/v1/accounts/change-secret-automations/', columnsExclude: ['password_rules'], diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretAsset/index.vue b/src/views/accounts/AccountChangeSecret/Detail/AccountChangeSecretAsset/index.vue similarity index 100% rename from src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretAsset/index.vue rename to src/views/accounts/AccountChangeSecret/Detail/AccountChangeSecretAsset/index.vue diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretInfo.vue b/src/views/accounts/AccountChangeSecret/Detail/AccountChangeSecretInfo.vue similarity index 100% rename from src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretInfo.vue rename to src/views/accounts/AccountChangeSecret/Detail/AccountChangeSecretInfo.vue diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/index.vue b/src/views/accounts/AccountChangeSecret/Detail/index.vue similarity index 93% rename from src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/index.vue rename to src/views/accounts/AccountChangeSecret/Detail/index.vue index ed9a7b4f2..ca65a0ac6 100644 --- a/src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/index.vue +++ b/src/views/accounts/AccountChangeSecret/Detail/index.vue @@ -11,7 +11,7 @@ import { GenericDetailPage } from '@/layout/components' import AccountChangeSecretInfo from './AccountChangeSecretInfo.vue' import AccountChangeSecretAsset from './AccountChangeSecretAsset/index.vue' import AccountChangeSecretExecutionList -from '@/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue' +from '@/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue' export default { components: { diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/AccountChangeSecretExecutionInfo.vue b/src/views/accounts/AccountChangeSecret/ExecutionDetail/AccountChangeSecretExecutionInfo.vue similarity index 100% rename from src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/AccountChangeSecretExecutionInfo.vue rename to src/views/accounts/AccountChangeSecret/ExecutionDetail/AccountChangeSecretExecutionInfo.vue diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/AccountChangeSecretRecord.vue b/src/views/accounts/AccountChangeSecret/ExecutionDetail/AccountChangeSecretRecord.vue similarity index 100% rename from src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/AccountChangeSecretRecord.vue rename to src/views/accounts/AccountChangeSecret/ExecutionDetail/AccountChangeSecretRecord.vue diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/index.vue b/src/views/accounts/AccountChangeSecret/ExecutionDetail/index.vue similarity index 100% rename from src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/index.vue rename to src/views/accounts/AccountChangeSecret/ExecutionDetail/index.vue diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue b/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue similarity index 100% rename from src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue rename to src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue diff --git a/src/views/accounts/AccountChangeSecret/index.vue b/src/views/accounts/AccountChangeSecret/index.vue index 87dd6893d..5278582fc 100644 --- a/src/views/accounts/AccountChangeSecret/index.vue +++ b/src/views/accounts/AccountChangeSecret/index.vue @@ -1,5 +1,5 @@