diff --git a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java index 5c35e5d9c5..8890ddf0f1 100644 --- a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java +++ b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java @@ -2174,6 +2174,7 @@ public class TestPlanService { } runRequest.setTestPlanId(planExecutionQueue.getTestPlanId()); runRequest.setReportId(planExecutionQueue.getReportId()); + runRequest.setTriggerMode(request.getTriggerMode()); runPlan(runRequest); } else { for (TestPlanExecutionQueue planExecutionQueue : planExecutionQueues) { @@ -2182,6 +2183,7 @@ public class TestPlanService { TestPlanRequestUtil.changeStringToBoolean(jsonObject); TestPlanRunRequest runRequest = JSON.parseObject(JSON.toJSONString(jsonObject), TestPlanRunRequest.class); runRequest.setReportId(planExecutionQueue.getReportId()); + runRequest.setTriggerMode(request.getTriggerMode()); runPlan(runRequest); } } diff --git a/test-track/frontend/src/business/report/components/TestPlanReportList.vue b/test-track/frontend/src/business/report/components/TestPlanReportList.vue index 0f921bd22e..b65234d332 100644 --- a/test-track/frontend/src/business/report/components/TestPlanReportList.vue +++ b/test-track/frontend/src/business/report/components/TestPlanReportList.vue @@ -141,10 +141,10 @@ :label="$t('test_track.report.list.pass_rate')" > @@ -169,7 +169,7 @@ import MsTablePagination from "metersphere-frontend/src/components/pagination/Ta import MsTableHeader from "metersphere-frontend/src/components/MsTableHeader"; import MsTableOperatorButton from "metersphere-frontend/src/components/MsTableOperatorButton"; import MsTableOperator from "metersphere-frontend/src/components/MsTableOperator"; -import { TEST_PLAN_REPORT_CONFIGS } from "metersphere-frontend/src/components/search/search-components"; +import {TEST_PLAN_REPORT_CONFIGS} from "metersphere-frontend/src/components/search/search-components"; import ReportTriggerModeItem from "metersphere-frontend/src/components/tableItem/ReportTriggerModeItem"; import MsTag from "metersphere-frontend/src/components/MsTag"; import ShowMoreBtn from "metersphere-frontend/src/components/table/ShowMoreBtn"; @@ -180,7 +180,7 @@ import { initCondition, } from "metersphere-frontend/src/utils/tableUtils"; import MsTableHeaderSelectPopover from "metersphere-frontend/src/components/table/MsTableHeaderSelectPopover"; -import { getCurrentProjectID } from "metersphere-frontend/src/utils/token"; +import {getCurrentProjectID} from "metersphere-frontend/src/utils/token"; import TestPlanDbReport from "@/business/report/components/TestPlanDbReport"; import MsTable from "metersphere-frontend/src/components/table/MsTable"; import MsTableColumn from "metersphere-frontend/src/components/table/MsTableColumn";