refactor(接口测试): 定时任务默认环境增加提示

--bug=1028864 --user=王孝刚 【接口测试】场景列表-设置定时任务-默认环境无提示无需求不符
https://www.tapd.cn/55049933/s/1410391
This commit is contained in:
wxg0103 2023-08-31 11:08:34 +08:00 committed by fit2-zhao
parent db617e1fdf
commit f96b91eb94
4 changed files with 11 additions and 1 deletions

View File

@ -53,7 +53,10 @@
<div style="padding-top: 10px">
<span class="ms-mode-span">{{ $t('commons.environment') }}</span>
<el-radio-group v-model="runConfig.defaultEnv" style="margin-right: 20px">
<el-radio :label="true">{{ $t('automation.default_environment') }}</el-radio>
<el-radio :label="true">{{ $t('automation.default_environment') }}
<el-tooltip class="item" effect="dark" :content="$t('automation.default_environment_tips')" placement="right">
<i class="el-icon-info"/>
</el-tooltip></el-radio>
<el-radio :label="false">{{ $t('automation.select_new_environment') }}</el-radio>
</el-radio-group>
<env-popover

View File

@ -145,6 +145,9 @@ const message = {
project_env_info_tips:
'1. Steps involving cross-projects in the current scenario can be executed in the environment of the project to which they belong. If not specified, the current project environment will be used by default.\n' +
' 2. If the cross-project steps are configured to use the original scene environment in the scene settings, the original scene environment will be used by default to execute.',
default_environment: 'Default environment',
default_environment_tips: 'Environment saved by the case itself',
select_new_environment: 'Specify new environment',
},
};
export default {

View File

@ -138,6 +138,7 @@ const message = {
project_env_info_tips:
'1.当前场景涉及到跨项目的步骤可以指定其所属项目的环境执行,不指定则默认使用当前项目环境执行。\n 2.如跨项目的步骤在场景设置中配置了使用原场景环境,则默认使用原场景环境执行。',
default_environment: '默认环境',
default_environment_tips: '用例自身保存的环境',
select_new_environment: '指定新环境',
},
};

View File

@ -137,6 +137,9 @@ const message = {
project_env_info: '更多項目環境',
project_env_info_tips:
'1.當前場景涉及到跨項目的步驟可以指定其所屬項目的環境執行,不指定則默認使用當前項目環境執行。 \n 2.如跨項目的步驟在場景設置中配置了使用原場景環境,則默認使用原場景環境執行。 ',
default_environment: '默認環境',
default_environment_tips: '用例自身保存的環境',
select_new_environment: '指定新環境',
},
};