fix(测试跟踪): 修复测试跟踪执行场景报告显示异常的问题

--bug=1018331 --user=宋天阳 【测试跟踪】测试跟踪执行场景报告显示异常
https://www.tapd.cn/55049933/s/1267999
This commit is contained in:
song-tianyang 2022-10-19 19:00:05 +08:00 committed by jianxing
parent 9272e3307b
commit d231ccc50c
1 changed files with 7 additions and 2 deletions

View File

@ -121,7 +121,12 @@ import {RequestFactory} from "../../definition/model/ApiTestModel";
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
import {getUUID, windowPrint} from "metersphere-frontend/src/utils";
import {hasLicense} from "metersphere-frontend/src/utils/permission";
import {getScenarioReport, getScenarioReportDetail, getShareScenarioReport, reportReName} from "../../../api/scenario-report";
import {
getScenarioReport,
getScenarioReportDetail,
getShareScenarioReport,
reportReName
} from "../../../api/scenario-report";
import {STEP} from "../../automation/scenario/Setting";
import MsCodeEdit from "metersphere-frontend/src/components/MsCodeEdit";
@ -730,7 +735,7 @@ export default {
return "/api/test/edit?id=" + this.report.testId;
},
isNotRunning() {
return "Running" !== this.report.status;
return "RUNNING" !== this.report.status;
},
projectId() {
return getCurrentProjectID();