diff --git a/test-track/backend/src/main/java/io/metersphere/request/issues/IssueExportRequest.java b/test-track/backend/src/main/java/io/metersphere/request/issues/IssueExportRequest.java index c7ab5c4392..6b2a25a1e3 100644 --- a/test-track/backend/src/main/java/io/metersphere/request/issues/IssueExportRequest.java +++ b/test-track/backend/src/main/java/io/metersphere/request/issues/IssueExportRequest.java @@ -22,6 +22,11 @@ public class IssueExportRequest { private List orders; private Map> exportFields; + /** + * 列表搜索 + */ + private String name; + /** * 高级搜索 */ diff --git a/test-track/backend/src/main/java/io/metersphere/service/IssuesService.java b/test-track/backend/src/main/java/io/metersphere/service/IssuesService.java index f2287485ff..23d88b0737 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/IssuesService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/IssuesService.java @@ -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()); // 列表排序 diff --git a/test-track/frontend/src/business/issue/IssueList.vue b/test-track/frontend/src/business/issue/IssueList.vue index 4efe15e595..77321975af 100644 --- a/test-track/frontend/src/business/issue/IssueList.vue +++ b/test-track/frontend/src/business/issue/IssueList.vue @@ -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); },