fix(系统设置): 插件补充悬浮提示
This commit is contained in:
parent
266e898147
commit
1e92bc77b5
|
@ -13,7 +13,7 @@ export default {
|
||||||
'organization.service.description': '下载需要集成的第三方项目管理平台插件;也可以自行开发相关项目管理平台插件',
|
'organization.service.description': '下载需要集成的第三方项目管理平台插件;也可以自行开发相关项目管理平台插件',
|
||||||
'organization.service.configDescription': '已下载或已开发的插件需上传至插件管理,上传后,可在当前页进行配置',
|
'organization.service.configDescription': '已下载或已开发的插件需上传至插件管理,上传后,可在当前页进行配置',
|
||||||
'organization.service.jumpPlugin': '跳转至插件管理',
|
'organization.service.jumpPlugin': '跳转至插件管理',
|
||||||
'organization.service.testLink': '测试链接',
|
'organization.service.testLink': '测试连接',
|
||||||
'organization.service.unconfigured': '未配置',
|
'organization.service.unconfigured': '未配置',
|
||||||
'organization.service.configured': '已配置',
|
'organization.service.configured': '已配置',
|
||||||
'organization.service.methodOfAuthentication': '认证方式',
|
'organization.service.methodOfAuthentication': '认证方式',
|
||||||
|
|
|
@ -56,10 +56,12 @@
|
||||||
record.scenario === 'API' ? t('system.plugin.secneApi') : t('system.plugin.secneProManger')
|
record.scenario === 'API' ? t('system.plugin.secneApi') : t('system.plugin.secneProManger')
|
||||||
}}</template>
|
}}</template>
|
||||||
</a-table-column>
|
</a-table-column>
|
||||||
<a-table-column :title="t('system.user.tableColunmOrg')">
|
<a-table-column :title="t('system.user.tableColunmOrg')" :width="300">
|
||||||
<template #cell="{ record }">
|
<template #cell="{ record }">
|
||||||
|
<a-tooltip :content="(record.organizations||[]).map((e: any) => e.name).join(',')">
|
||||||
|
<span>
|
||||||
<a-tag
|
<a-tag
|
||||||
v-for="org of record.organizations"
|
v-for="org of (record.organizations || []).slice(0, 3)"
|
||||||
:key="org.id"
|
:key="org.id"
|
||||||
class="mr-[4px] border-[rgb(var(--primary-5))] bg-transparent !text-[rgb(var(--primary-5))]"
|
class="mr-[4px] border-[rgb(var(--primary-5))] bg-transparent !text-[rgb(var(--primary-5))]"
|
||||||
bordered
|
bordered
|
||||||
|
@ -67,12 +69,14 @@
|
||||||
{{ org.name }}
|
{{ org.name }}
|
||||||
</a-tag>
|
</a-tag>
|
||||||
<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))]"
|
class="mr-[4px] border-[rgb(var(--primary-5))] bg-transparent !text-[rgb(var(--primary-5))]"
|
||||||
bordered
|
bordered
|
||||||
>
|
>
|
||||||
+{{ (record.organizations || []).length - 2 }}
|
+{{ (record.organizations || []).length - 3 }}
|
||||||
</a-tag>
|
</a-tag>
|
||||||
|
</span>
|
||||||
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
</a-table-column>
|
</a-table-column>
|
||||||
<a-table-column :title="t('system.plugin.tableColunmDescription')" data-index="fileName" />
|
<a-table-column :title="t('system.plugin.tableColunmDescription')" data-index="fileName" />
|
||||||
|
|
Loading…
Reference in New Issue