refactor(通用功能): 部分i18n恢复使用sdk里面的
This commit is contained in:
parent
8bedb4b901
commit
26171456ba
|
@ -35,7 +35,7 @@
|
||||||
<field-custom-data-table-item :scene="scene"/>
|
<field-custom-data-table-item :scene="scene"/>
|
||||||
|
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
:label="$t('api_definition.document.is_required')"
|
:label="$t('api_test.definition.document.table_coloum.is_required')"
|
||||||
width="80"
|
width="80"
|
||||||
prop="type">
|
prop="type">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
|
|
||||||
<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"
|
:min-width="120"
|
||||||
prop="caseName">
|
prop="caseName">
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<field-custom-data-table-item :scene="scene"/>
|
<field-custom-data-table-item :scene="scene"/>
|
||||||
|
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
:label="$t('api_definition.document.is_required')"
|
:label="$t('api_test.definition.document.table_coloum.is_required')"
|
||||||
width="80"
|
width="80"
|
||||||
prop="type">
|
prop="type">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<el-select
|
<el-select
|
||||||
:disabled="isSystem"
|
:disabled="isSystem"
|
||||||
filterable v-model="form.platform"
|
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
|
<el-option
|
||||||
v-for="item in platformOption"
|
v-for="item in platformOption"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
ref="fieldTemplateEdit">
|
ref="fieldTemplateEdit">
|
||||||
|
|
||||||
<template v-slot:base>
|
<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">
|
:label-width="labelWidth">
|
||||||
<el-select :disabled="isSystem" filterable v-model="form.type"
|
<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
|
<el-option
|
||||||
v-for="item in caseTypeOption"
|
v-for="item in caseTypeOption"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
</ms-table-column>
|
</ms-table-column>
|
||||||
|
|
||||||
<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"
|
:fields="fields"
|
||||||
:filters="caseTypeFilters"
|
:filters="caseTypeFilters"
|
||||||
prop="type">
|
prop="type">
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
<span v-if="scope.row.scheduleStatus === 'OPEN'">
|
<span v-if="scope.row.scheduleStatus === 'OPEN'">
|
||||||
<el-tooltip placement="bottom-start" effect="light">
|
<el-tooltip placement="bottom-start" effect="light">
|
||||||
<div slot="content">
|
<div slot="content">
|
||||||
{{ $t('home.table.run_rule') }}: {{
|
{{ $t('api_test.home_page.running_task_list.table_coloum.run_rule') }}: {{
|
||||||
scope.row.scheduleCorn
|
scope.row.scheduleCorn
|
||||||
}}<br/>
|
}}<br/>
|
||||||
{{ $t('test_track.plan.next_run_time') }}:<span>{{
|
{{ $t('test_track.plan.next_run_time') }}:<span>{{
|
||||||
|
|
Loading…
Reference in New Issue