fix(用例管理): 修复用例详情关联缺陷列表缺少字段问题
--bug=1036122 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036122
This commit is contained in:
parent
270a52a422
commit
11741c834b
|
@ -31,6 +31,9 @@ public class BugProviderDTO implements Serializable {
|
||||||
@Schema(description = "处理人")
|
@Schema(description = "处理人")
|
||||||
private String handleUser;
|
private String handleUser;
|
||||||
|
|
||||||
|
@Schema(description = "创建人")
|
||||||
|
private String createUser;
|
||||||
|
|
||||||
@Schema(description = "处理人名称")
|
@Schema(description = "处理人名称")
|
||||||
private String handleUserName;
|
private String handleUserName;
|
||||||
|
|
||||||
|
|
|
@ -107,13 +107,15 @@
|
||||||
SELECT
|
SELECT
|
||||||
b.id as id,
|
b.id as id,
|
||||||
b.num as num,
|
b.num as num,
|
||||||
b.title name,
|
b.title as name,
|
||||||
b.handle_user handleUser,
|
b.handle_user as handleUser,
|
||||||
|
createUser.name AS createUser,
|
||||||
b.`status` as status,
|
b.`status` as status,
|
||||||
b.tags as tag,
|
b.tags as tag,
|
||||||
b.create_time createTime
|
b.create_time createTime
|
||||||
FROM
|
FROM
|
||||||
bug b
|
bug b
|
||||||
|
INNER JOIN user createUser ON b.create_user = createUser.id
|
||||||
WHERE
|
WHERE
|
||||||
b.deleted = #{deleted}
|
b.deleted = #{deleted}
|
||||||
AND b.id NOT IN
|
AND b.id NOT IN
|
||||||
|
|
|
@ -92,16 +92,7 @@
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
showDrag: false,
|
showDrag: false,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: 'caseManagement.featureCase.updateUser',
|
|
||||||
slotName: 'handleUserName',
|
|
||||||
dataIndex: 'handleUserName',
|
|
||||||
showInTable: true,
|
|
||||||
showTooltip: true,
|
|
||||||
width: 300,
|
|
||||||
ellipsis: true,
|
|
||||||
showDrag: false,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
title: 'caseManagement.featureCase.defectState',
|
title: 'caseManagement.featureCase.defectState',
|
||||||
slotName: 'statusName',
|
slotName: 'statusName',
|
||||||
|
@ -113,15 +104,40 @@
|
||||||
showDrag: false,
|
showDrag: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'caseManagement.featureCase.defectSource',
|
title: 'caseManagement.featureCase.tableColumnTag',
|
||||||
slotName: 'source',
|
slotName: 'tags',
|
||||||
dataIndex: 'source',
|
dataIndex: 'tags',
|
||||||
|
showInTable: true,
|
||||||
|
isTag: true,
|
||||||
|
showDrag: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'caseManagement.featureCase.updateUser',
|
||||||
|
slotName: 'handleUserName',
|
||||||
|
dataIndex: 'handleUserName',
|
||||||
showInTable: true,
|
showInTable: true,
|
||||||
showTooltip: true,
|
showTooltip: true,
|
||||||
width: 200,
|
width: 300,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
showDrag: false,
|
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, {
|
const { propsRes, propsEvent, loadList, setLoadListParams, resetSelector } = useTable(getDrawerDebugPage, {
|
||||||
|
|
Loading…
Reference in New Issue