refactor(接口测试): 接口导入文案修改

--bug=1020874 --user=郭雨琦
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001020874
This commit is contained in:
guoyuqi 2022-12-16 10:08:16 +08:00 committed by xiaomeinvG
parent d60b25dab1
commit a652f13cfc
4 changed files with 19 additions and 10 deletions

View File

@ -23,7 +23,7 @@
</div>
</div>
<el-form :model="formData" :rules="rules" label-width="105px" v-loading="result" ref="form">
<el-form :model="formData" :rules="rules" label-width="110px" v-loading="result" ref="form">
<el-row>
<el-col :span="11">
<el-form-item :label="$t('commons.import_module')">
@ -37,7 +37,7 @@
checkStrictly />
</el-form-item>
<el-form-item :label="$t('commons.import_mode')" prop="modeId">
<el-select size="small" v-model="formData.modeId" class="project-select" clearable>
<el-select size="small" v-model="formData.modeId" class="project-select" clearable style="width: 100%">
<el-option v-for="item in modeOptions" :key="item.id" :label="item.name" :value="item.id"/>
</el-select>
<el-checkbox size="mini" v-if="formData.modeId === 'fullCoverage'" v-model="formData.coverModule">
@ -56,7 +56,7 @@
<el-form-item
v-xpack
v-if="projectVersionEnable && formData.modeId === 'fullCoverage'"
:label="$t('api_test.api_import.data_update_version')"
:label="$t('api_test.scenario_import.data_update_version')"
prop="versionId">
<el-select size="small" v-model="formData.updateVersionId" clearable style="width: 100%">
<el-option v-for="item in versionOptions" :key="item.id" :label="item.name" :value="item.id" />
@ -65,7 +65,7 @@
<el-form-item
v-xpack
v-if="projectVersionEnable && formData.modeId === 'fullCoverage'"
:label="$t('api_test.api_import.data_new_version')"
:label="$t('api_test.scenario_import.data_new_version')"
prop="versionId">
<el-select size="small" v-model="formData.versionId" clearable style="width: 100%">
<el-option v-for="item in versionOptions" :key="item.id" :label="item.name" :value="item.id" />
@ -426,9 +426,6 @@ export default {
margin-left: 10px;
}
.el-form {
padding: 30px 10px;
}
.dialog-footer {
float: right;

View File

@ -1915,10 +1915,14 @@ const message = {
no_cover_tip_scenario_1: "1. The same Scenario that already exists in the system will not be changed",
no_cover_tip_scenario_2: "2. Add Scenario that do not exist in the system",
import_version: 'Import version',
data_update_version: 'New API created to',
data_new_version: 'The same API is updated to',
data_update_version: 'The same API is updated to',
data_new_version: 'New API created to',
latest_version: 'Latest version',
},
scenario_import: {
data_update_version: 'The same Scenario is updated to',
data_new_version: 'New Scenario created to',
},
home_page: {
unit_of_measurement: "",
unit_of_count: "",

View File

@ -1928,6 +1928,10 @@ const message = {
data_new_version: '新增API创建到',
latest_version: '最新版本',
},
scenario_import: {
data_update_version: '同一场景更新到',
data_new_version: '新增场景创建到',
},
home_page: {
unit_of_measurement: "个",
unit_of_count: "个",

View File

@ -1924,6 +1924,10 @@ const message = {
data_new_version: '新增API創建到',
latest_version: '最新版本',
},
scenario_import: {
data_update_version: '同一場景更新到',
data_new_version: '新增場景創建到',
},
home_page: {
unit_of_measurement: "個",
unit_of_count: "個",