mirror of
https://github.com/jumpserver/lina.git
synced 2025-05-11 01:27:13 +00:00
46 lines
1.1 KiB
Vue
46 lines
1.1 KiB
Vue
<template>
|
|
<TabPage
|
|
:active-menu.sync="config.activeMenu"
|
|
:submenu="config.submenu"
|
|
/>
|
|
</template>
|
|
|
|
<script>
|
|
import { TabPage } from '@/layout/components'
|
|
import { mapGetters } from 'vuex'
|
|
|
|
export default {
|
|
name: 'Index',
|
|
components: {
|
|
TabPage
|
|
},
|
|
data() {
|
|
return {
|
|
config: {
|
|
activeMenu: 'AccountBackupList',
|
|
submenu: [
|
|
{
|
|
title: this.$t('AccountBackup'),
|
|
name: 'AccountBackupList',
|
|
hidden: !this.$hasPerm('accounts.view_accountbackupautomation'),
|
|
component: () => import('@/views/accounts/AccountBackup/AccountBackupList.vue')
|
|
},
|
|
{
|
|
title: this.$t('ExecutionList'),
|
|
name: 'AccountBackupExecutionList',
|
|
hidden: !this.$hasPerm('accounts.view_accountbackupexecution'),
|
|
component: () => import('@/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue')
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
computed: {
|
|
...mapGetters(['hasValidLicense'])
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
</style>
|