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 {getCurrentProjectID, getCurrentUser} from "../../utils/token";
|
||||||
import {hasPermissions} from "../../utils/permission";
|
import {hasPermissions} from "../../utils/permission";
|
||||||
import {getProjectUsers} from "../../api/user";
|
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 MicroApp from "../../components/MicroApp";
|
||||||
import {prefetchApps} from "qiankun";
|
import {prefetchApps} from "qiankun";
|
||||||
|
|
||||||
|
@ -374,6 +374,9 @@ export default {
|
||||||
if (mode === 'BATCH') {
|
if (mode === 'BATCH') {
|
||||||
return this.$t('api_test.automation.batch_execute');
|
return this.$t('api_test.automation.batch_execute');
|
||||||
}
|
}
|
||||||
|
if (mode === 'JENKINS_RUN_TEST_PLAN') {
|
||||||
|
return this.$t('commons.trigger_mode.api');
|
||||||
|
}
|
||||||
return mode;
|
return mode;
|
||||||
},
|
},
|
||||||
getTaskRunning() {
|
getTaskRunning() {
|
||||||
|
|
Loading…
Reference in New Issue