fix:国际化

This commit is contained in:
wenyann 2021-04-14 14:23:09 +08:00 committed by 刘瑞斌
parent c6c14031da
commit 0d3f3c2a2b
4 changed files with 20 additions and 5 deletions

View File

@ -40,7 +40,7 @@
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="状态" :label-width="formLabelWidth" prop="status">
<el-form-item :label="$t('commons.status')" :label-width="formLabelWidth" prop="status">
<el-select size="small" v-model="form.status" class="ms-case-input">
<el-option v-for="item in statuOptions" :key="item.id" :label="item.label" :value="item.id">
</el-option>
@ -64,7 +64,8 @@
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="责任人" :label-width="formLabelWidth" prop="maintainer">
<el-form-item :label="$t('test_track.person_responsible')" :label-width="formLabelWidth"
prop="maintainer">
<el-select :disabled="readOnly" v-model="form.maintainer"
:placeholder="$t('test_track.case.input_maintainer')" filterable class="ms-case-input">
<el-option
@ -92,15 +93,17 @@
<el-col :span="7">
<el-form-item :label="$t('test_track.case.relate_test')" :label-width="formLabelWidth">
<el-cascader :options="sysList" filterable placeholder="请选择要关联的测试" show-all-levels
<el-cascader :options="sysList" filterable
:placeholder="$t('test_track.please_select_the_test_to_associate')" show-all-levels
v-model="form.selected" :props="props"
class="ms-case" @change="clearInput" ref="cascade"></el-cascader>
</el-form-item>
</el-col>
<el-col :span="7">
<el-form-item label="关联需求" :label-width="formLabelWidth" prop="demandId">
<el-form-item :label="$t('test_track.related_requirements')" :label-width="formLabelWidth"
prop="demandId">
<el-select filterable :disabled="readOnly" v-model="form.demandId" @visible-change="visibleChange"
placeholder="请选择要关联的需求" class="ms-case-input">
:placeholder="$t('test_track.please_related_requirements')" class="ms-case-input">
<el-option
v-for="item in demandOptions"
:key="item.id"

View File

@ -1144,6 +1144,10 @@ export default {
date: "Date"
},
test_track: {
related_requirements: 'Related requirements',
please_related_requirements: 'Please select the requirements to associate',
please_select_the_test_to_associate: "Please select the test to associate",
person_responsible: "Person Responsible",
test_track: "Track",
confirm: "Confirm",
cancel: "Cancel",

View File

@ -1148,6 +1148,10 @@ export default {
date: "日期"
},
test_track: {
related_requirements: '关联需求',
please_related_requirements: '请选择要关联的需求',
please_select_the_test_to_associate: "请选择需要关联的测试",
person_responsible: "责任人",
test_track: "测试跟踪",
planning_execution: "规划&执行",
confirm: "确 定",

View File

@ -1146,6 +1146,10 @@ export default {
date: "日期"
},
test_track: {
related_requirements: '關聯需求',
please_related_requirements: '請選擇要關聯的需求',
please_select_the_test_to_associate: "請選擇要關聯的測試",
person_responsible: "責任人",
test_track: "測試跟蹤",
confirm: "確 定",
cancel: "取 消",