用户角色编辑修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
c5fb53a05f
commit
1f6ee08a8b
|
@ -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)
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
@ -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(
|
||||||
','
|
', '
|
||||||
)
|
)
|
||||||
: ''
|
: ''
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue