mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 04:28:51 +08:00
refactor(任务中心): 优化任务中心触发方式国际化
--bug=1018922 --user=王孝刚 【任务中心】jenkins执行测试计划,任务中心显示英文 https://www.tapd.cn/55049933/s/1278304
This commit is contained in:
parent
5f39fa878c
commit
f8eb1986c3
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user