fix(用例管理): 修复用例详情关联缺陷列表缺少字段问题

--bug=1036122 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036122
This commit is contained in:
guoyuqi 2024-03-13 16:54:39 +08:00 committed by 刘瑞斌
parent 270a52a422
commit 11741c834b
3 changed files with 37 additions and 16 deletions

View File

@ -31,6 +31,9 @@ public class BugProviderDTO implements Serializable {
@Schema(description = "处理人")
private String handleUser;
@Schema(description = "创建人")
private String createUser;
@Schema(description = "处理人名称")
private String handleUserName;

View File

@ -107,13 +107,15 @@
SELECT
b.id as id,
b.num as num,
b.title name,
b.handle_user handleUser,
b.title as name,
b.handle_user as handleUser,
createUser.name AS createUser,
b.`status` as status,
b.tags as tag,
b.create_time createTime
FROM
bug b
INNER JOIN user createUser ON b.create_user = createUser.id
WHERE
b.deleted = #{deleted}
AND b.id NOT IN

View File

@ -92,16 +92,7 @@
ellipsis: true,
showDrag: false,
},
{
title: 'caseManagement.featureCase.updateUser',
slotName: 'handleUserName',
dataIndex: 'handleUserName',
showInTable: true,
showTooltip: true,
width: 300,
ellipsis: true,
showDrag: false,
},
{
title: 'caseManagement.featureCase.defectState',
slotName: 'statusName',
@ -113,15 +104,40 @@
showDrag: false,
},
{
title: 'caseManagement.featureCase.defectSource',
slotName: 'source',
dataIndex: 'source',
title: 'caseManagement.featureCase.tableColumnTag',
slotName: 'tags',
dataIndex: 'tags',
showInTable: true,
isTag: true,
showDrag: true,
},
{
title: 'caseManagement.featureCase.updateUser',
slotName: 'handleUserName',
dataIndex: 'handleUserName',
showInTable: true,
showTooltip: true,
width: 200,
width: 300,
ellipsis: true,
showDrag: false,
},
{
title: 'caseManagement.featureCase.tableColumnCreateUser',
slotName: 'createUser',
dataIndex: 'createUser',
showInTable: true,
showTooltip: true,
width: 300,
ellipsis: true,
},
{
title: 'caseManagement.featureCase.tableColumnCreateUser',
slotName: 'createTime',
dataIndex: 'createTime',
showInTable: true,
width: 200,
showDrag: true,
},
];
const { propsRes, propsEvent, loadList, setLoadListParams, resetSelector } = useTable(getDrawerDebugPage, {