加上loading
This commit is contained in:
parent
a1f24eca5e
commit
59468b492c
|
@ -113,7 +113,6 @@ public class ReportService {
|
|||
}
|
||||
|
||||
public ReportTimeInfo getReportTimeInfo(String id) {
|
||||
checkReportStatus(id);
|
||||
LoadTestReportWithBLOBs loadTestReport = loadTestReportMapper.selectByPrimaryKey(id);
|
||||
String content = loadTestReport.getContent();
|
||||
ReportTimeInfo reportTimeInfo = GenerateReport.getReportTimeInfo(content);
|
||||
|
|
|
@ -120,14 +120,14 @@
|
|||
}
|
||||
},
|
||||
getLog(testId) {
|
||||
this.$get('/performance/log/' + testId, response => {
|
||||
this.result = this.$get('/performance/log/' + testId, response => {
|
||||
this.testLogging = response.data;
|
||||
})
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.reportId = this.$route.path.split('/')[4];
|
||||
this.$get("/performance/report/" + this.reportId, res => {
|
||||
this.result = this.$get("/performance/report/" + this.reportId, res => {
|
||||
let data = res.data;
|
||||
this.status = data.status;
|
||||
switch (data.status) {
|
||||
|
|
Loading…
Reference in New Issue