管理端用户列表角色过滤
continuous-integration/drone/push Build is passing Details

uat
wangxiaoshuang 2025-02-25 11:31:56 +08:00
parent 2090866521
commit f4af0fc157
1 changed files with 5 additions and 5 deletions

View File

@ -55,9 +55,9 @@
{{
Array.isArray(scope.row.UserRoleList) &&
scope.row.UserRoleList.length > 0
? scope.row.UserRoleList.map((item) => item.UserTypeShortName).join(
', '
)
? scope.row.UserRoleList.filter((item) => !item.IsUserRoleDisabled)
.map((item) => item.UserTypeShortName)
.join(', ')
: ''
}}
</template>
@ -396,13 +396,13 @@ export default {
label: this.$t('common:button:search'),
type: 'primary',
emitKey: 'search',
icon: 'el-icon-search'
icon: 'el-icon-search',
},
{
label: this.$t('common:button:reset'),
type: 'primary',
emitKey: 'reset',
icon: 'el-icon-refresh-left'
icon: 'el-icon-refresh-left',
},
{
label: this.$t('common:button:new'),