mirror of
https://github.com/jumpserver/lina.git
synced 2025-04-27 11:10:51 +00:00
48 lines
1.3 KiB
Vue
48 lines
1.3 KiB
Vue
<template>
|
|
<TabPage :active-menu.sync="activeMenu" :submenu="tab.submenu" />
|
|
</template>
|
|
|
|
<script>
|
|
import { TabPage } from '@/layout/components'
|
|
// import TabPage from '@/layout/components/TabPage/index.vue'
|
|
import { mapGetters } from 'vuex'
|
|
|
|
export default {
|
|
name: 'IntegrationnList',
|
|
components: {
|
|
TabPage
|
|
},
|
|
data() {
|
|
return {
|
|
loading: true,
|
|
activeMenu: 'service',
|
|
tab: {
|
|
submenu: [
|
|
{
|
|
name: 'application',
|
|
title: this.$t('Applications'),
|
|
hidden: !this.$hasPerm('accounts.view_integrationapplication'),
|
|
component: () => import('@/views/pam/Integration/ApplicationList.vue')
|
|
},
|
|
{
|
|
name: 'records',
|
|
title: this.$t('Records'),
|
|
hidden: !this.$hasPerm('audits.view_serviceaccesslog'),
|
|
component: () => import('@/views/pam/Integration/components/CallRecords.vue')
|
|
},
|
|
{
|
|
name: 'docs',
|
|
title: this.$t('Documentation'),
|
|
hidden: !this.$hasPerm('accounts.view_integrationapplication'),
|
|
component: () => import('@/views/pam/Integration/SDKList.vue')
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
computed: {
|
|
...mapGetters(['hasValidLicense'])
|
|
}
|
|
}
|
|
</script>
|