mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-15 14:24:39 +00:00
perf: change dir name too lang (#4683)
Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: {
|
||||
|
||||
@@ -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')
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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'],
|
||||
|
||||
@@ -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: {
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<TabPage :active-menu.sync="config.activeMenu" :submenu="config.submenu" :disabled="!hasValidLicense" />
|
||||
<TabPage :active-menu.sync="config.activeMenu" :disabled="!hasValidLicense" :submenu="config.submenu" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -19,29 +19,25 @@ export default {
|
||||
{
|
||||
title: this.$t('Overview'),
|
||||
name: 'AccountChangeDashboard',
|
||||
component: () => import('@/views/accounts/AccountChangeSecret/Overview/index.vue')
|
||||
component: () => import('./Overview/index.vue')
|
||||
},
|
||||
{
|
||||
title: this.$t('ChangeSecret'),
|
||||
name: 'AccountChangeSecretList',
|
||||
hidden: () => !this.$hasPerm('accounts.view_changesecretautomation'),
|
||||
component: () => import('@/views/accounts/AccountChangeSecret/AccountChangeSecretList.vue')
|
||||
component: () => import('./AccountChangeSecretList.vue')
|
||||
},
|
||||
{
|
||||
title: this.$t('ExecutionList'),
|
||||
name: 'AccountChangeSecretExecutionList',
|
||||
hidden: () => !this.$hasPerm('accounts.view_changesecretexecution'),
|
||||
component: () => import(
|
||||
'@/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue'
|
||||
)
|
||||
component: () => import('@/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue')
|
||||
},
|
||||
{
|
||||
title: this.$t('ExecutionRecord'),
|
||||
name: 'ChangeSecretRecord',
|
||||
hidden: () => !this.$hasPerm('accounts.view_changesecretrecord'),
|
||||
component: () => import(
|
||||
'@/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionDetail/AccountChangeSecretRecord.vue'
|
||||
)
|
||||
component: () => import('@/views/accounts/AccountChangeSecret/ExecutionDetail/AccountChangeSecretRecord.vue')
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
:header-actions="headerActions"
|
||||
:table-config="tableConfig"
|
||||
/>
|
||||
<ReportDialog :visible.sync="visible" :url="reportUrl" />
|
||||
<ReportDialog :url="reportUrl" :visible.sync="visible" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -27,7 +27,7 @@ export default {
|
||||
return {
|
||||
visible: false,
|
||||
reportUrl: '',
|
||||
detailDrawer: () => import('@/views/accounts/AccountPush/AccountPushExecutionDetail/index.vue'),
|
||||
detailDrawer: () => import('@/views/accounts/AccountPush/ExecutionDetail/index.vue'),
|
||||
tableConfig: {
|
||||
url: '/api/v1/accounts/push-account-executions',
|
||||
columns: [
|
||||
|
||||
@@ -22,7 +22,7 @@ export default {
|
||||
const vm = this
|
||||
return {
|
||||
createDrawer: () => import('@/views/accounts/AccountPush/AccountPushCreateUpdate.vue'),
|
||||
detailDrawer: () => import('@/views/accounts/AccountPush/AccountPushDetail/index.vue'),
|
||||
detailDrawer: () => import('@/views/accounts/AccountPush/Detail/index.vue'),
|
||||
tableConfig: {
|
||||
url: '/api/v1/accounts/push-account-automations/',
|
||||
columns: [
|
||||
|
||||
@@ -32,7 +32,7 @@ export default {
|
||||
name: 'AccountPushRecord',
|
||||
hidden: () => !this.$hasPerm('accounts.view_pushsecretrecord'),
|
||||
component: () => import(
|
||||
'@/views/accounts/AccountPush/AccountPushExecutionDetail/AccountPushRecord.vue'
|
||||
'@/views/accounts/AccountPush/ExecutionDetail/AccountPushRecord.vue'
|
||||
)
|
||||
}
|
||||
]
|
||||
|
||||
@@ -35,7 +35,7 @@ export default {
|
||||
return {
|
||||
showViewSecretDialog: false,
|
||||
createDrawer: () => import('@/views/accounts/AccountTemplate/AccountTemplateCreateUpdate.vue'),
|
||||
detailDrawer: () => import('@/views/accounts/AccountTemplate/AccountTemplateDetail/index.vue'),
|
||||
detailDrawer: () => import('@/views/accounts/AccountTemplate/Detail/index.vue'),
|
||||
account: {},
|
||||
secretUrl: '',
|
||||
tableConfig: {
|
||||
|
||||
Reference in New Issue
Block a user