fix(性能测试): 修复报告对比弹出框分页失效的问题
This commit is contained in:
parent
50094a6890
commit
46e8b2442c
|
@ -81,17 +81,16 @@ export default {
|
||||||
close() {
|
close() {
|
||||||
this.loadReportVisible = false;
|
this.loadReportVisible = false;
|
||||||
},
|
},
|
||||||
getCompareReports(report) {
|
getCompareReports() {
|
||||||
|
|
||||||
let condition = {
|
let condition = {
|
||||||
testId: report.testId,
|
testId: this.report.testId,
|
||||||
filters: {status: ["Completed"]}
|
filters: {status: ["Completed"]}
|
||||||
};
|
};
|
||||||
this.reportLoadingResult = this.$post('/performance/report/list/all/' + this.currentPage + "/" + this.pageSize, condition, res => {
|
this.reportLoadingResult = this.$post('/performance/report/list/all/' + this.currentPage + "/" + this.pageSize, condition, res => {
|
||||||
let data = res.data;
|
let data = res.data;
|
||||||
this.total = data.itemCount;
|
this.total = data.itemCount;
|
||||||
this.tableData = data.listObject;
|
this.tableData = data.listObject;
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
handleCompare() {
|
handleCompare() {
|
||||||
let reportIds = [...this.selectIds];
|
let reportIds = [...this.selectIds];
|
||||||
|
|
Loading…
Reference in New Issue