1
0

feat(web): 增加权属管理界面

This commit is contained in:
2024-11-26 14:02:15 +08:00
parent e76236be62
commit 851fc02ce5
7 changed files with 144 additions and 48 deletions

View File

@@ -0,0 +1,31 @@
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: []
}
]
}
}
}