fix: 用例评审测试用例责任人是用户ID
--bug=1008336 --user=陈建星 【github#8045】用例评审模块,测试用例责任人应该展示用户名称,实际展示用户ID #8045 https://www.tapd.cn/55049933/s/10793866
This commit is contained in:
parent
d48f680c04
commit
a930f90508
|
@ -11,6 +11,7 @@ import java.util.List;
|
|||
public class TestReviewCaseDTO extends TestCaseWithBLOBs {
|
||||
private String reviewer;
|
||||
private String reviewerName;
|
||||
private String maintainerName;
|
||||
private String reviewStatus;
|
||||
private String results;
|
||||
private String reviewId;
|
||||
|
|
|
@ -71,6 +71,7 @@ public class TestReviewTestCaseService {
|
|||
String reviewId = item.getReviewId();
|
||||
List<String> userIds = getReviewUserIds(reviewId);
|
||||
item.setReviewerName(getReviewName(userIds, userMap));
|
||||
item.setMaintainerName(userMap.get(item.getMaintainer()));
|
||||
});
|
||||
return list;
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
</ms-table-column>
|
||||
|
||||
<ms-table-column
|
||||
prop="maintainer"
|
||||
prop="maintainerName"
|
||||
:field="item"
|
||||
:fields-width="fieldsWidth"
|
||||
:label="$t('custom_field.case_maintainer')"
|
||||
|
|
|
@ -101,7 +101,7 @@ export let CUSTOM_TABLE_HEADER = {
|
|||
{id: 'reviewerName', key: '7', label: 'test_track.review.reviewer'},
|
||||
{id: 'reviewStatus', key: '8', label: 'test_track.case.status'},
|
||||
{id: 'updateTime', key: '9', label: 'commons.update_time'},
|
||||
{id: 'maintainer', key: 'a', label: 'custom_field.case_maintainer'},
|
||||
{id: 'maintainerName', key: 'a', label: 'custom_field.case_maintainer'},
|
||||
],
|
||||
//测试计划
|
||||
TEST_PLAN_LIST: [
|
||||
|
|
Loading…
Reference in New Issue