fix(系统设置): 插件补充悬浮提示
This commit is contained in:
parent
266e898147
commit
1e92bc77b5
|
@ -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': '认证方式',
|
||||
|
|
|
@ -56,23 +56,27 @@
|
|||
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-tag
|
||||
v-for="org of record.organizations"
|
||||
:key="org.id"
|
||||
class="mr-[4px] border-[rgb(var(--primary-5))] bg-transparent !text-[rgb(var(--primary-5))]"
|
||||
bordered
|
||||
>
|
||||
{{ org.name }}
|
||||
</a-tag>
|
||||
<a-tag
|
||||
v-show="(record.organizations || []).length > 2"
|
||||
class="mr-[4px] border-[rgb(var(--primary-5))] bg-transparent !text-[rgb(var(--primary-5))]"
|
||||
bordered
|
||||
>
|
||||
+{{ (record.organizations || []).length - 2 }}
|
||||
</a-tag>
|
||||
<a-tooltip :content="(record.organizations||[]).map((e: any) => e.name).join(',')">
|
||||
<span>
|
||||
<a-tag
|
||||
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
|
||||
>
|
||||
{{ org.name }}
|
||||
</a-tag>
|
||||
<a-tag
|
||||
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 - 3 }}
|
||||
</a-tag>
|
||||
</span>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
</a-table-column>
|
||||
<a-table-column :title="t('system.plugin.tableColunmDescription')" data-index="fileName" />
|
||||
|
|
Loading…
Reference in New Issue