File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
ui/src/views/system/role/component Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 66 @click =" handleAdd"
77 v-hasPermission ="
88 new ComplexPermission(
9- [RoleConst.ADMIN, RoleConst.WORKSPACE_MANAGE],
10- [PermissionConst.WORKSPACE_ROLE_ADD_MEMBER, PermissionConst.ROLE_ADD_MEMBER],
11- [],
12- 'OR',
9+ [RoleConst.ADMIN, RoleConst.WORKSPACE_MANAGE],
10+ [PermissionConst.WORKSPACE_ROLE_ADD_MEMBER, PermissionConst.ROLE_ADD_MEMBER],
11+ [],
12+ 'OR',
1313 )"
1414 >
1515 {{ $t('views.role.member.add') }}
2929 </div >
3030 </div >
3131 <app-table
32- class =" member-table mt-16"
32+ : class =" `${props.currentRole?.type !== RoleTypeEnum.ADMIN ? ' member-table' : ''} mt-16` "
3333 :data =" tableData"
3434 :pagination-config =" paginationConfig"
3535 @sizeChange =" handleSizeChange"
5757 @click.stop =" handleDelete(row)"
5858 v-hasPermission ="
5959 new ComplexPermission(
60- [RoleConst.ADMIN, RoleConst.WORKSPACE_MANAGE],
61- [PermissionConst.ROLE_REMOVE_MEMBER, PermissionConst.WORKSPACE_ROLE_REMOVE_MEMBER],
62- [],
63- 'OR',
64- )
60+ [RoleConst.ADMIN, RoleConst.WORKSPACE_MANAGE],
61+ [PermissionConst.ROLE_REMOVE_MEMBER, PermissionConst.WORKSPACE_ROLE_REMOVE_MEMBER],
62+ [],
63+ 'OR',
64+ )
6565 "
6666 >
6767 <AppIcon iconName =" app-delete-users" ></AppIcon >
You can’t perform that action at this time.
0 commit comments