diff --git a/src/components/SelectOrganizational/src/card/RoleCard.vue b/src/components/SelectOrganizational/src/card/RoleCard.vue index 0ddfd63..e27c6bf 100644 --- a/src/components/SelectOrganizational/src/card/RoleCard.vue +++ b/src/components/SelectOrganizational/src/card/RoleCard.vue @@ -17,6 +17,7 @@ +
{{props.item?.tenantName && `租户:${props.item.tenantName}`}}
@@ -24,9 +25,11 @@ import RoleImg from '/@/assets/workflow/role.png'; import IconFontSymbol from '/@/components/IconFontSymbol/Index.vue'; import { useI18n } from '/@/hooks/web/useI18n'; + import { getAppEnvConfig } from '/@/utils/env'; const { t } = useI18n(); let props = defineProps({ item: Object, + showTenant:false }); @@ -35,6 +38,7 @@ @bg-color: #effbf9; .list-item { + position: relative; width: 30%; height: 120px; background: @bg-color; @@ -128,4 +132,14 @@ border-width: 1px; border-style: dotted; } + + .role-belong-tenent{ + position: absolute; + bottom: 5px; + left: 10px; + width: 100%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + }