mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 20:49:56 +08:00
fix(测试跟踪): 缺陷导出未筛选
--bug=1023873 --user=宋昌昌 【测试跟踪】github#22273,缺陷管理导出,高级搜索进行筛选后导出,导出的是全部用例而不是筛选后的用例 https://www.tapd.cn/55049933/s/1351455
This commit is contained in:
parent
edb8bae0f4
commit
cc06e1a758
@ -22,6 +22,11 @@ public class IssueExportRequest {
|
||||
private List<OrderRequest> orders;
|
||||
private Map<String, List<IssueExportHeader>> exportFields;
|
||||
|
||||
/**
|
||||
* 列表搜索
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 高级搜索
|
||||
*/
|
||||
|
@ -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());
|
||||
// 列表排序
|
||||
|
@ -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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user