用户角色编辑修改
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2024-12-30 15:42:29 +08:00
parent c5fb53a05f
commit 1f6ee08a8b
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ export default {
let arr = this.list.map((item) => item.UserTypeId) let arr = this.list.map((item) => item.UserTypeId)
return this.userTypeOptions.filter( return this.userTypeOptions.filter(
(item) => (item) =>
!arr.includes(item.Id) && ![4, 6, 20].includes(userType.UserTypeEnum) !arr.includes(item.Id) && ![4, 6, 20].includes(item.UserTypeEnum)
) )
}, },
}, },

View File

@ -40,7 +40,7 @@
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.map((item) => item.UserTypeShortName).join(
',' ', '
) )
: '' : ''
}} }}