refactor(测试跟踪): 测试计划功能用例关联缺陷,添加排序字段
--bug=1026935 --user=陈建星 【测试跟踪】测试计划-功能用例-关联缺陷页面缺陷列表排序无规则,也不能排序,只能通过标题搜索 https://www.tapd.cn/55049933/s/1385690
This commit is contained in:
parent
1f4190e1a1
commit
b19867358b
|
@ -1290,6 +1290,7 @@ public class IssuesService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<IssuesDao> relateList(IssuesRequest request) {
|
public List<IssuesDao> relateList(IssuesRequest request) {
|
||||||
|
request.setOrders(ServiceUtils.getDefaultOrderByField(request.getOrders(), "create_time"));
|
||||||
List<IssuesDao> issues = extIssuesMapper.getIssues(request);
|
List<IssuesDao> issues = extIssuesMapper.getIssues(request);
|
||||||
Map<String, User> userMap = getUserMap(issues);
|
Map<String, User> userMap = getUserMap(issues);
|
||||||
issues.forEach(issue -> {
|
issues.forEach(issue -> {
|
||||||
|
|
|
@ -26,12 +26,14 @@
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
:label="$t('test_track.issue.id')"
|
:label="$t('test_track.issue.id')"
|
||||||
|
sortable
|
||||||
prop="num">
|
prop="num">
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
|
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
:label="$t('test_track.issue.title')"
|
:label="$t('test_track.issue.title')"
|
||||||
prop="title"
|
prop="title"
|
||||||
|
sortable
|
||||||
min-width="200px">
|
min-width="200px">
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue