mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-19 01:11:07 +00:00
perf: update accout check
This commit is contained in:
@@ -73,7 +73,7 @@ export default [
|
||||
},
|
||||
{
|
||||
path: 'executions/:id',
|
||||
component: () => import('@/views/accounts/AccountDiscover/TaskDetail/ExecutionDetail/index.vue'),
|
||||
component: () => import('@/views/accounts/AccountDiscover/ExecutionDetail/index.vue'),
|
||||
name: 'AccountDiscoverExecutionDetail',
|
||||
hidden: true,
|
||||
meta: {
|
||||
@@ -210,7 +210,6 @@ export default [
|
||||
path: ':id',
|
||||
component: () => import('@/views/accounts/AccountBackup/AccountBackupDetail/index.vue'),
|
||||
name: 'AccountBackupDetail',
|
||||
// activeMenu: '/console/accounts/automations',
|
||||
meta: {
|
||||
title: i18n.t('AccountBackupDetail'),
|
||||
activeMenu: '/console/accounts/automations'
|
||||
@@ -219,14 +218,14 @@ export default [
|
||||
},
|
||||
{
|
||||
path: 'executions',
|
||||
component: () => import('@/views/accounts/AccountBackup/AccountBackupDetail/AccountBackupExecution/AccountBackupExecutionList.vue'),
|
||||
component: () => import('@/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue'),
|
||||
name: 'AccountBackupExecutionList',
|
||||
meta: { title: i18n.t('ExecutionDetail') },
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: 'executions/:id',
|
||||
component: () => import('@/views/accounts/AccountBackup/AccountBackupDetail/AccountBackupExecution/AccountBackupExecutionDetail/index.vue'),
|
||||
component: () => import('@/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionDetail/index.vue'),
|
||||
name: 'AccountBackupExecutionDetail',
|
||||
meta: { title: i18n.t('ExecutionDetail') },
|
||||
hidden: true
|
||||
|
@@ -9,7 +9,8 @@
|
||||
<script>
|
||||
import { GenericDetailPage } from '@/layout/components'
|
||||
import AccountBackupInfo from './AccountBackupInfo.vue'
|
||||
import AccountBackupExecutionList from './AccountBackupExecution/AccountBackupExecutionList.vue'
|
||||
import AccountBackupExecutionList
|
||||
from '@/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
@@ -25,7 +25,7 @@ export default {
|
||||
title: this.$t('ExecutionList'),
|
||||
name: 'AccountBackupExecutionList',
|
||||
hidden: !this.$hasPerm('accounts.view_accountbackupexecution'),
|
||||
component: () => import('@/views/accounts/AccountBackup/AccountBackupDetail/AccountBackupExecution/AccountBackupExecutionList.vue')
|
||||
component: () => import('@/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue')
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@@ -54,12 +54,14 @@ export const gatherAccountTableConfig = (vm, url) => {
|
||||
hasTree: true,
|
||||
columns: [
|
||||
'asset', 'username', 'date_last_login',
|
||||
'address_last_login', 'present', 'date_updated', 'status'
|
||||
'address_last_login', 'present',
|
||||
'remote_present', 'status',
|
||||
'date_updated'
|
||||
],
|
||||
columnsShow: {
|
||||
default: [
|
||||
'username', 'asset', 'address_last_login',
|
||||
'date_last_login', 'present', 'status'
|
||||
'date_last_login', 'present', 'remote_present', 'status'
|
||||
]
|
||||
},
|
||||
columnsMeta: {
|
||||
@@ -80,7 +82,12 @@ export const gatherAccountTableConfig = (vm, url) => {
|
||||
showOverflowTooltip: true
|
||||
},
|
||||
present: {
|
||||
width: '160px'
|
||||
label: '已同步',
|
||||
width: '120px'
|
||||
},
|
||||
remote_present: {
|
||||
label: '远端存在',
|
||||
width: '120px'
|
||||
},
|
||||
date_updated: {
|
||||
formatter: function(row, col, cell) {
|
||||
|
Reference in New Issue
Block a user