Merge branch 'dev-sugx-20250721' into 'dev'
流程设计-审批人-添加角色:增加根据租户选择角色的功能-补一个文件 See merge request itc-framework/ma/2024/front!103
This commit is contained in:
@ -17,6 +17,7 @@
|
|||||||
<IconFontSymbol icon="role" fill-color="#e0f8f2" />
|
<IconFontSymbol icon="role" fill-color="#e0f8f2" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="role-belong-tenent" v-if="getAppEnvConfig().VITE_GLOB_TENANT_ENABLED&&showTenant">{{props.item?.tenantName && `租户:${props.item.tenantName}`}}</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -24,9 +25,11 @@
|
|||||||
import RoleImg from '/@/assets/workflow/role.png';
|
import RoleImg from '/@/assets/workflow/role.png';
|
||||||
import IconFontSymbol from '/@/components/IconFontSymbol/Index.vue';
|
import IconFontSymbol from '/@/components/IconFontSymbol/Index.vue';
|
||||||
import { useI18n } from '/@/hooks/web/useI18n';
|
import { useI18n } from '/@/hooks/web/useI18n';
|
||||||
|
import { getAppEnvConfig } from '/@/utils/env';
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
let props = defineProps({
|
let props = defineProps({
|
||||||
item: Object,
|
item: Object,
|
||||||
|
showTenant:false
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -35,6 +38,7 @@
|
|||||||
@bg-color: #effbf9;
|
@bg-color: #effbf9;
|
||||||
|
|
||||||
.list-item {
|
.list-item {
|
||||||
|
position: relative;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
background: @bg-color;
|
background: @bg-color;
|
||||||
@ -128,4 +132,14 @@
|
|||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-style: dotted;
|
border-style: dotted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.role-belong-tenent{
|
||||||
|
position: absolute;
|
||||||
|
bottom: 5px;
|
||||||
|
left: 10px;
|
||||||
|
width: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user