refactor(通用功能): 部分i18n恢复使用sdk里面的

This commit is contained in:
fit2-zhao 2022-10-21 15:44:13 +08:00 committed by fit2-zhao
parent 8bedb4b901
commit 26171456ba
7 changed files with 8 additions and 8 deletions

View File

@ -35,7 +35,7 @@
<field-custom-data-table-item :scene="scene"/>
<ms-table-column
:label="$t('api_definition.document.is_required')"
:label="$t('api_test.definition.document.table_coloum.is_required')"
width="80"
prop="type">
<template v-slot="scope">

View File

@ -19,7 +19,7 @@
</ms-table-column>
<ms-table-column
:label="$t('home.case.case_name')"
:label="$t('api_test.home_page.failed_case_list.table_coloum.case_name')"
:min-width="120"
prop="caseName">
</ms-table-column>

View File

@ -39,7 +39,7 @@
<field-custom-data-table-item :scene="scene"/>
<ms-table-column
:label="$t('api_definition.document.is_required')"
:label="$t('api_test.definition.document.table_coloum.is_required')"
width="80"
prop="type">
<template v-slot="scope">

View File

@ -15,7 +15,7 @@
<el-select
:disabled="isSystem"
filterable v-model="form.platform"
:placeholder="$t('home.case.case_type')">
:placeholder="$t('api_test.home_page.failed_case_list.table_coloum.case_type')">
<el-option
v-for="item in platformOption"
:key="item.value"

View File

@ -11,10 +11,10 @@
ref="fieldTemplateEdit">
<template v-slot:base>
<el-form-item :label="$t('home.case.case_type')" prop="type"
<el-form-item :label="$t('api_test.home_page.failed_case_list.table_coloum.case_type')" prop="type"
:label-width="labelWidth">
<el-select :disabled="isSystem" filterable v-model="form.type"
:placeholder="$t('home.case.case_type')">
:placeholder="$t('api_test.home_page.failed_case_list.table_coloum.case_type')">
<el-option
v-for="item in caseTypeOption"
:key="item.value"

View File

@ -33,7 +33,7 @@
</ms-table-column>
<ms-table-column
:label="$t('home.case.case_type')"
:label="$t('api_test.home_page.failed_case_list.table_coloum.case_type')"
:fields="fields"
:filters="caseTypeFilters"
prop="type">

View File

@ -60,7 +60,7 @@
<span v-if="scope.row.scheduleStatus === 'OPEN'">
<el-tooltip placement="bottom-start" effect="light">
<div slot="content">
{{ $t('home.table.run_rule') }}: {{
{{ $t('api_test.home_page.running_task_list.table_coloum.run_rule') }}: {{
scope.row.scheduleCorn
}}<br/>
{{ $t('test_track.plan.next_run_time') }}<span>{{