feat(性能测试): 测试报告分享

--story=1005620 --user=刘瑞斌 性能测试报告新增分享链接功能 https://www.tapd.cn/55049933/s/1102910
This commit is contained in:
CaptainB 2022-02-11 10:52:19 +08:00 committed by 刘瑞斌
parent 530f1a653e
commit ec54bc761e
2 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@ export default {
}
let status = val.status;
this.id = val.id;
if (status === "Running") {
if (status === "Completed" || status === "Running") {
this.getResource();
}
},

View File

@ -106,10 +106,10 @@ export function getSharePerformanceReportLogResource(shareId, reportId, callback
}
export function getPerformanceReportLogResourceDetail(reportId, resourceId, pageInfo, callback) {
return reportId ? baseGet('/performance/report/log/' + reportId + '/' + resourceId + "/" + pageInfo, callback) : {};
return reportId ? baseGet('/share/performance/report/log/' + reportId + '/' + resourceId + "/" + pageInfo, callback) : {};
}
export function getSharePerformanceReportLogResourceDetail(shareId, reportId, resourceId, pageInfo, callback) {
return reportId ? baseGet('/performance/report/log/' + shareId + '/' + reportId + '/' + resourceId + "/" + pageInfo, callback) : {};
return reportId ? baseGet('/share/performance/report/log/' + shareId + '/' + reportId + '/' + resourceId + "/" + pageInfo, callback) : {};
}
export function getPerformanceMetricQueryResource(resourceId, callback) {