diff --git a/frontend/src/business/components/performance/report/components/SameTestReports.vue b/frontend/src/business/components/performance/report/components/SameTestReports.vue index 81baf52af9..a7895f865e 100644 --- a/frontend/src/business/components/performance/report/components/SameTestReports.vue +++ b/frontend/src/business/components/performance/report/components/SameTestReports.vue @@ -81,17 +81,16 @@ export default { close() { this.loadReportVisible = false; }, - getCompareReports(report) { - + getCompareReports() { let condition = { - testId: report.testId, + testId: this.report.testId, filters: {status: ["Completed"]} }; this.reportLoadingResult = this.$post('/performance/report/list/all/' + this.currentPage + "/" + this.pageSize, condition, res => { let data = res.data; this.total = data.itemCount; this.tableData = data.listObject; - }) + }); }, handleCompare() { let reportIds = [...this.selectIds];