加上loading

This commit is contained in:
Captain.B 2020-04-22 11:10:37 +08:00
parent a1f24eca5e
commit 59468b492c
2 changed files with 2 additions and 3 deletions

View File

@ -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);

View File

@ -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) {