From 2bc61befb977114084019e9d697ea284b1a8f8c7 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Tue, 31 Aug 2021 17:11:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):?= =?UTF-8?q?=20=E6=89=A7=E8=A1=8C=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=89=93=E5=BC=80=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/track/plan/components/TestPlanList.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/track/plan/components/TestPlanList.vue b/frontend/src/business/components/track/plan/components/TestPlanList.vue index 5f47238931..4b1c8262d4 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanList.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanList.vue @@ -229,6 +229,7 @@ + @@ -260,6 +261,7 @@ import MsTestPlanScheduleMaintain from "@/business/components/track/plan/compone import {getCurrentProjectID, getCurrentUserId, hasPermission} from "@/common/js/utils"; import PlanRunModeWithEnv from "@/business/components/track/plan/common/PlanRunModeWithEnv"; import TestPlanReportReview from "@/business/components/track/report/components/TestPlanReportReview"; +import MsTaskCenter from "@/business/components/task/TaskCenter"; export default { name: "TestPlanList", @@ -272,7 +274,9 @@ export default { PlanStageTableItem, PlanStatusTableItem, MsTestPlanScheduleMaintain, - MsTableOperator, MsTableOperatorButton, MsDialogFooter, MsTableHeader, MsCreateBox, MsTablePagination, PlanRunModeWithEnv + MsTableOperator, MsTableOperatorButton, + MsDialogFooter, MsTableHeader, MsCreateBox, + MsTablePagination, PlanRunModeWithEnv, MsTaskCenter }, data() { return { @@ -496,6 +500,7 @@ export default { param.projectId = getCurrentProjectID(); param.userId = getCurrentUserId(); param.triggerMode = 'MANUAL'; + this.$refs.taskCenter.open(); this.result = this.$post('test/plan/run/', param,() => { this.$success(this.$t('commons.run_success')); }, () => {