From f8eb1986c305b5e18c37bda4b8fe332cbe6f0938 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 26 Oct 2022 15:13:27 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83):?= =?UTF-8?q?=20=E4=BC=98=E5=8C=96=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E8=A7=A6=E5=8F=91=E6=96=B9=E5=BC=8F=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018922 --user=王孝刚 【任务中心】jenkins执行测试计划,任务中心显示英文 https://www.tapd.cn/55049933/s/1278304 --- .../sdk-parent/frontend/src/components/task/TaskCenter.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/sdk-parent/frontend/src/components/task/TaskCenter.vue b/framework/sdk-parent/frontend/src/components/task/TaskCenter.vue index 5ad0a996d9..1de9d91950 100644 --- a/framework/sdk-parent/frontend/src/components/task/TaskCenter.vue +++ b/framework/sdk-parent/frontend/src/components/task/TaskCenter.vue @@ -130,7 +130,7 @@ import MsDrawer from "../MsDrawer"; import {getCurrentProjectID, getCurrentUser} from "../../utils/token"; import {hasPermissions} from "../../utils/permission"; import {getProjectUsers} from "../../api/user"; -import {getScenarioData, getCaseData, getTaskSocket, getTaskList, stopTask, stopBatchTask} from "../../api/task"; +import {getCaseData, getScenarioData, getTaskList, getTaskSocket, stopBatchTask, stopTask} from "../../api/task"; import MicroApp from "../../components/MicroApp"; import {prefetchApps} from "qiankun"; @@ -374,6 +374,9 @@ export default { if (mode === 'BATCH') { return this.$t('api_test.automation.batch_execute'); } + if (mode === 'JENKINS_RUN_TEST_PLAN') { + return this.$t('commons.trigger_mode.api'); + } return mode; }, getTaskRunning() {