fix(测试跟踪): 缺陷导出未筛选

--bug=1023873 --user=宋昌昌 【测试跟踪】github#22273,缺陷管理导出,高级搜索进行筛选后导出,导出的是全部用例而不是筛选后的用例 https://www.tapd.cn/55049933/s/1351455
This commit is contained in:
song-cc-rock 2023-03-16 15:05:47 +08:00 committed by jianxing
parent bc154d067c
commit 73de926f4e
3 changed files with 9 additions and 1 deletions

View File

@ -22,6 +22,11 @@ public class IssueExportRequest {
private List<OrderRequest> orders;
private Map<String, List<IssueExportHeader>> exportFields;
/**
* 列表搜索
*/
private String name;
/**
* 高级搜索
*/

View File

@ -1651,6 +1651,8 @@ public class IssuesService {
request.setWorkspaceId(exportRequest.getWorkspaceId());
request.setSelectAll(exportRequest.getIsSelectAll());
request.setExportIds(exportRequest.getExportIds());
// 列表搜索条件
request.setName(exportRequest.getName());
// 高级搜索条件
request.setCombine(exportRequest.getCombine());
// 列表排序

View File

@ -546,7 +546,8 @@ export default {
"exportIds": this.$refs.table.selectIds,
"exportFields": data,
"orders": getLastTableSortField(this.tableHeaderKey),
"combine": this.page.condition.combine
"combine": this.page.condition.combine,
"name": this.page.condition.name
}
this.$fileDownloadPost("/issues/export", param);
},