31 lines
913 B
JavaScript
31 lines
913 B
JavaScript
import {providerOnly, userOnly} from "../../components/constants.js";
|
|
import {permissionAddDialog} from "../../components/permission/dialog-permission.js";
|
|
|
|
export function tabPermissions() {
|
|
return {
|
|
visibleOn: userOnly,
|
|
title: '权属管理',
|
|
icon: 'fa fa-user-shield',
|
|
body: {
|
|
type: 'tabs',
|
|
tabs: [
|
|
{
|
|
visibleOn: providerOnly,
|
|
title: '确权管理',
|
|
body: [
|
|
{
|
|
type: 'action',
|
|
label: '',
|
|
icon: 'fa fa-plus',
|
|
...permissionAddDialog()
|
|
},
|
|
]
|
|
},
|
|
{
|
|
title: '授权管理',
|
|
body: []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |