管理端用户列表角色过滤
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2090866521
commit
f4af0fc157
|
@ -55,9 +55,9 @@
|
||||||
{{
|
{{
|
||||||
Array.isArray(scope.row.UserRoleList) &&
|
Array.isArray(scope.row.UserRoleList) &&
|
||||||
scope.row.UserRoleList.length > 0
|
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>
|
</template>
|
||||||
|
@ -396,13 +396,13 @@ export default {
|
||||||
label: this.$t('common:button:search'),
|
label: this.$t('common:button:search'),
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
emitKey: 'search',
|
emitKey: 'search',
|
||||||
icon: 'el-icon-search'
|
icon: 'el-icon-search',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: this.$t('common:button:reset'),
|
label: this.$t('common:button:reset'),
|
||||||
type: 'primary',
|
type: 'primary',
|
||||||
emitKey: 'reset',
|
emitKey: 'reset',
|
||||||
icon: 'el-icon-refresh-left'
|
icon: 'el-icon-refresh-left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: this.$t('common:button:new'),
|
label: this.$t('common:button:new'),
|
||||||
|
|
Loading…
Reference in New Issue