This commit is contained in:
@@ -241,12 +241,14 @@
|
||||
{
|
||||
prop: 'perm_name',
|
||||
label: '权限名称',
|
||||
width: 240
|
||||
width: 240,
|
||||
showOverflowTooltip: true
|
||||
},
|
||||
{
|
||||
prop: 'perm_code',
|
||||
label: '权限标识',
|
||||
width: 240
|
||||
width: 240,
|
||||
showOverflowTooltip: true
|
||||
},
|
||||
{
|
||||
prop: 'perm_type',
|
||||
@@ -260,7 +262,8 @@
|
||||
},
|
||||
{
|
||||
prop: 'url',
|
||||
label: '菜单路径'
|
||||
label: '菜单路径',
|
||||
showOverflowTooltip: true
|
||||
},
|
||||
{
|
||||
prop: 'platform',
|
||||
@@ -275,24 +278,6 @@
|
||||
return platformMap[row.platform || 'all'] || row.platform
|
||||
}
|
||||
},
|
||||
// {
|
||||
// prop: 'available_for_role_types',
|
||||
// label: '可用角色类型',
|
||||
// width: 160,
|
||||
// formatter: (row: PermissionTreeNode) => {
|
||||
// if (!row.available_for_role_types) {
|
||||
// return '-'
|
||||
// }
|
||||
// const roleTypeMap: Record<string, string> = {
|
||||
// '1': '平台角色',
|
||||
// '2': '客户角色'
|
||||
// }
|
||||
// const types = row.available_for_role_types
|
||||
// .split(',')
|
||||
// .map((type) => roleTypeMap[type.trim()] || type)
|
||||
// return types.join(', ')
|
||||
// }
|
||||
// },
|
||||
{
|
||||
prop: 'status',
|
||||
label: '状态',
|
||||
|
||||
Reference in New Issue
Block a user