Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Captain.B 2020-05-06 15:45:26 +08:00
commit 56dd72e0a9
3 changed files with 10 additions and 16 deletions

View File

@ -1,12 +0,0 @@
package io.metersphere.report.base;
import lombok.Data;
import java.util.List;
@Data
public class SummaryData {
private List<Object> result;
}

View File

@ -6,8 +6,10 @@
<el-col :span="16">
<el-row>
<el-breadcrumb separator-class="el-icon-arrow-right">
<el-breadcrumb-item :to="{ path: '/' }">{{projectName}}</el-breadcrumb-item>
<el-breadcrumb-item>{{testName}}</el-breadcrumb-item>
<el-breadcrumb-item :to="{ path: '/performance/test/' + this.projectId }">{{projectName}}
</el-breadcrumb-item>
<el-breadcrumb-item :to="{ path: '/performance/test/edit/' + this.testId }">{{testName}}
</el-breadcrumb-item>
<el-breadcrumb-item>{{reportName}}</el-breadcrumb-item>
</el-breadcrumb>
</el-row>
@ -74,7 +76,9 @@
reportId: '',
status: '',
reportName: '',
testId: '',
testName: '',
projectId: '',
projectName: '',
startTime: '0',
endTime: '0',
@ -90,7 +94,9 @@
let data = res.data;
if (data) {
this.reportName = data.name;
this.testId = data.testId;
this.testName = data.testName;
this.projectId = data.projectId;
this.projectName = data.projectName;
}
})

View File

@ -19,12 +19,12 @@
sortable>
</el-table-column>
<el-table-column
prop="precentOfErrors"
prop="percentOfErrors"
label="% in errors"
sortable>
</el-table-column>
<el-table-column
prop="precentOfAllSamples"
prop="percentOfAllSamples"
label="% in all samples"
sortable>
</el-table-column>