fix(测试跟踪): i18n
--bug=1008911 --user=lyh 【国际化】测试跟踪 模块,未进行国际化的问题汇总 https://www.tapd.cn/55049933/s/1087334
This commit is contained in:
parent
c55591ba15
commit
f808535bbf
|
@ -88,7 +88,7 @@
|
||||||
min-width="120"
|
min-width="120"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<ms-table-column :label="$t('test_track.case.case_desc')" prop="desc" :field="item">
|
<ms-table-column :label="$t('test_track.case.case_desc')" prop="desc" :field="item" min-width="100px">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<el-link @click.stop="getCase(scope.row.id)" style="color:#783887;">{{ $t('commons.preview') }}</el-link>
|
<el-link @click.stop="getCase(scope.row.id)" style="color:#783887;">{{ $t('commons.preview') }}</el-link>
|
||||||
</template>
|
</template>
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
|
|
||||||
<ms-table-column
|
<ms-table-column
|
||||||
prop="reviewStatus"
|
prop="reviewStatus"
|
||||||
min-width="100px"
|
min-width="120px"
|
||||||
:field="item"
|
:field="item"
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
:label="$t('test_track.case.status')">
|
:label="$t('test_track.case.status')">
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
:field="item"
|
:field="item"
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
:label="$t('commons.create_time')"
|
:label="$t('commons.create_time')"
|
||||||
min-width="120px">
|
min-width="140px">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<span>{{ scope.row.createTime | timestampFormatDate }}</span>
|
<span>{{ scope.row.createTime | timestampFormatDate }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
:field="item"
|
:field="item"
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
:label="$t('commons.update_time')"
|
:label="$t('commons.update_time')"
|
||||||
min-width="120px">
|
min-width="140px">
|
||||||
<template v-slot:default="scope">
|
<template v-slot:default="scope">
|
||||||
<span>{{ scope.row.updateTime | timestampFormatDate }}</span>
|
<span>{{ scope.row.updateTime | timestampFormatDate }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
@ -213,8 +213,8 @@
|
||||||
:field="item"
|
:field="item"
|
||||||
column-key="priority"
|
column-key="priority"
|
||||||
:fields-width="fieldsWidth"
|
:fields-width="fieldsWidth"
|
||||||
:label="field.name"
|
:label="field.system ? $t(systemFiledMap[field.name]) :field.name"
|
||||||
:min-width="90"
|
:min-width="120"
|
||||||
:prop="field.name">
|
:prop="field.name">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<span v-if="field.name === '用例等级'">
|
<span v-if="field.name === '用例等级'">
|
||||||
|
@ -281,6 +281,7 @@ import MsTableColumn from "@/business/components/common/components/table/MsTable
|
||||||
import {getProjectMember} from "@/network/user";
|
import {getProjectMember} from "@/network/user";
|
||||||
import {getTestTemplate} from "@/network/custom-field-template";
|
import {getTestTemplate} from "@/network/custom-field-template";
|
||||||
import {editTestPlanTestCaseOrder} from "@/network/test-plan";
|
import {editTestPlanTestCaseOrder} from "@/network/test-plan";
|
||||||
|
import {SYSTEM_FIELD_NAME_MAP} from "@/common/js/table-constants";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "FunctionalTestCaseList",
|
name: "FunctionalTestCaseList",
|
||||||
|
@ -399,7 +400,10 @@ export default {
|
||||||
computed: {
|
computed: {
|
||||||
editTestPlanTestCaseOrder() {
|
editTestPlanTestCaseOrder() {
|
||||||
return editTestPlanTestCaseOrder;
|
return editTestPlanTestCaseOrder;
|
||||||
}
|
},
|
||||||
|
systemFiledMap() {
|
||||||
|
return SYSTEM_FIELD_NAME_MAP;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
planId() {
|
planId() {
|
||||||
|
|
Loading…
Reference in New Issue