fix(系统设置): 插件补充悬浮提示

This commit is contained in:
xinxin.wu 2023-08-10 10:42:43 +08:00 committed by f2c-ci-robot[bot]
parent 266e898147
commit 1e92bc77b5
2 changed files with 21 additions and 17 deletions

View File

@ -13,7 +13,7 @@ export default {
'organization.service.description': '下载需要集成的第三方项目管理平台插件;也可以自行开发相关项目管理平台插件',
'organization.service.configDescription': '已下载或已开发的插件需上传至插件管理,上传后,可在当前页进行配置',
'organization.service.jumpPlugin': '跳转至插件管理',
'organization.service.testLink': '测试接',
'organization.service.testLink': '测试接',
'organization.service.unconfigured': '未配置',
'organization.service.configured': '已配置',
'organization.service.methodOfAuthentication': '认证方式',

View File

@ -56,10 +56,12 @@
record.scenario === 'API' ? t('system.plugin.secneApi') : t('system.plugin.secneProManger')
}}</template>
</a-table-column>
<a-table-column :title="t('system.user.tableColunmOrg')">
<a-table-column :title="t('system.user.tableColunmOrg')" :width="300">
<template #cell="{ record }">
<a-tooltip :content="(record.organizations||[]).map((e: any) => e.name).join(',')">
<span>
<a-tag
v-for="org of record.organizations"
v-for="org of (record.organizations || []).slice(0, 3)"
:key="org.id"
class="mr-[4px] border-[rgb(var(--primary-5))] bg-transparent !text-[rgb(var(--primary-5))]"
bordered
@ -67,12 +69,14 @@
{{ org.name }}
</a-tag>
<a-tag
v-show="(record.organizations || []).length > 2"
v-if="(record.organizations || []).length > 3"
class="mr-[4px] border-[rgb(var(--primary-5))] bg-transparent !text-[rgb(var(--primary-5))]"
bordered
>
+{{ (record.organizations || []).length - 2 }}
+{{ (record.organizations || []).length - 3 }}
</a-tag>
</span>
</a-tooltip>
</template>
</a-table-column>
<a-table-column :title="t('system.plugin.tableColunmDescription')" data-index="fileName" />