refactor(缺陷管理): 缺陷处理人表头添加提示

--bug=1042906 --user=宋昌昌 【测试计划】缺陷处理人被从项目/组织/系统删除-查看处理人字段应该继续显示处理人名称 https://www.tapd.cn/55049933/s/1547914
This commit is contained in:
song-cc-rock 2024-07-15 16:56:48 +08:00 committed by Craftsman
parent d9ac6f0387
commit 9aad009052
3 changed files with 15 additions and 1 deletions

View File

@ -70,6 +70,17 @@
<template #statusName="{ record }"> <template #statusName="{ record }">
{{ record.statusName || '-' }} {{ record.statusName || '-' }}
</template> </template>
<template #handleUserTitle>
<div class="flex items-center text-[var(--color-text-3)]">
{{ t('bugManagement.handleMan') }}
<a-tooltip :content="t('bugManagement.handleManTips')" position="right">
<icon-question-circle
class="ml-[4px] text-[var(--color-text-4)] hover:text-[rgb(var(--primary-5))]"
size="16"
/>
</a-tooltip>
</div>
</template>
</MsBaseTable> </MsBaseTable>
</div> </div>
</MsCard> </MsCard>
@ -315,7 +326,7 @@
title: 'bugManagement.status', title: 'bugManagement.status',
dataIndex: 'status', dataIndex: 'status',
width: 100, width: 100,
showTooltip: true, showTooltip: false,
slotName: 'statusName', slotName: 'statusName',
filterConfig: { filterConfig: {
options: [], options: [],
@ -328,6 +339,7 @@
title: 'bugManagement.handleMan', title: 'bugManagement.handleMan',
dataIndex: 'handleUser', dataIndex: 'handleUser',
slotName: 'handleUser', slotName: 'handleUser',
titleSlotName: 'handleUserTitle',
showTooltip: true, showTooltip: true,
width: 125, width: 125,
filterConfig: { filterConfig: {

View File

@ -9,6 +9,7 @@ export default {
severity: 'Severity', severity: 'Severity',
status: 'Status', status: 'Status',
handleMan: 'Handler', handleMan: 'Handler',
handleManTips: '"-"Indicates that the user member has been removed or does not exist in the system',
numberOfCase: 'Cases', numberOfCase: 'Cases',
belongPlatform: 'Platform', belongPlatform: 'Platform',
tag: 'Tag', tag: 'Tag',

View File

@ -12,6 +12,7 @@ export default {
severity: '严重程度', severity: '严重程度',
status: '状态', status: '状态',
handleMan: '处理人', handleMan: '处理人',
handleManTips: '"-"表示该用户成员被移除或系统中不存在',
numberOfCase: '用例数', numberOfCase: '用例数',
belongPlatform: '所属平台', belongPlatform: '所属平台',
tag: '标签', tag: '标签',