[update] 市场法规清单模块字典中英文

This commit is contained in:
lideqin
2024-08-06 20:13:37 +08:00
parent 0417917f7c
commit 7c8cb76ba4
4 changed files with 29 additions and 26 deletions
@@ -10,7 +10,7 @@
<!-- 国家/地区 -->
<a-col :span="12">
<label>{{ $t('standardRegulationLibrary.marketRegulationsList.countryRegion') }}</label>
<span>{{ model.country_dictText || global.emptyLine }}</span>
<span>{{ (isChinese() ? model.country_dictText : model.country_dictTextEn) || global.emptyLine }}</span>
</a-col>
<!-- 清单编号 -->
<a-col :span="12">
@@ -25,12 +25,12 @@
<!-- 驾驶位置 -->
<a-col :span="12">
<label>{{ $t('standardRegulationLibrary.marketRegulationsList.drivingPosition') }}</label>
<span>{{ model.drivePosition_dictText || global.emptyLine }}</span>
<span>{{ (isChinese() ? model.drivePosition_dictText : model.drivePosition_dictTextEn) || global.emptyLine }}</span>
</a-col>
<!-- 密级 -->
<a-col :span="12">
<label>{{ $t('standardRegulationLibrary.marketRegulationsList.securityClass') }}</label>
<span>{{ model.securityLevel_dictText || global.emptyLine }}</span>
<span>{{ (isChinese() ? model.securityLevel_dictText : model.securityLevel_dictTextEn) || global.emptyLine }}</span>
</a-col>
<!-- 清单说明 -->
<a-col :span="12">
@@ -246,21 +246,21 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.applicableCountryRegion'),
align: 'center',
width: 180,
dataIndex: 'country_dictText',
dataIndex: this.isChinese() ? 'country_dictText' : 'country_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 适用车型
title: this.$t('standardRegulationLibrary.marketListField.applicableVehicleType'),
align: 'center',
width: 180,
dataIndex: 'applicableVehicle_dictText',
dataIndex: this.isChinese() ? 'applicableVehicle_dictText' : 'applicableVehicle_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 认证对象
title: this.$t('standardRegulationLibrary.marketListField.authenticationObject'),
align: 'center',
width: 180,
dataIndex: 'authenticationObject_dictText',
dataIndex: this.isChinese() ? 'authenticationObject_dictText' : 'authenticationObject_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 认证交付物
@@ -274,14 +274,14 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.type'),
align: 'center',
width: 180,
dataIndex: 'type_dictText',
dataIndex: this.isChinese() ? 'type_dictText' : 'type_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 动力类型
title: this.$t('standardRegulationLibrary.marketListField.dynamicType'),
align: 'center',
width: 180,
dataIndex: 'dynamicType_dictText',
dataIndex: this.isChinese() ? 'dynamicType_dictText' : 'dynamicType_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 主控部门
@@ -295,7 +295,7 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.masterControlDepartmentProfessionalModule'),
align: 'center',
width: 180,
dataIndex: 'mainDeptProfMode_dictText',
dataIndex: this.isChinese() ? 'mainDeptProfMode_dictText' : 'mainDeptProfMode_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 关联部门
@@ -309,28 +309,28 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.associateDepartmentSpecializedModules'),
align: 'center',
width: 180,
dataIndex: 'associateDeptProfMode_dictText',
dataIndex: this.isChinese() ? 'associateDeptProfMode_dictText' : 'associateDeptProfMode_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 批量限制
title: this.$t('standardRegulationLibrary.marketListField.batchRestriction'),
align: 'center',
width: 180,
dataIndex: 'batchLimit_dictText',
dataIndex: this.isChinese() ? 'batchLimit_dictText' : 'batchLimit_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 自动驾驶等级
title: this.$t('standardRegulationLibrary.marketListField.automaticDrivingLevel'),
align: 'center',
width: 180,
dataIndex: 'autopilotLevel_dictText',
dataIndex: this.isChinese() ? 'autopilotLevel_dictText' : 'autopilotLevel_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 要求类型
title: this.$t('standardRegulationLibrary.marketListField.requirementType'),
align: 'center',
width: 180,
dataIndex: 'requireType_dictText',
dataIndex: this.isChinese() ? 'requireType_dictText' : 'requireType_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 备注
@@ -19,6 +19,7 @@
:tree-data="countryOptions"
tree-checkable
treeCheckStrictly
:replaceFields="{title: isChinese() ? 'title' : 'enTitle'}"
@change="countryChange"
:placeholder="$t('pleaseSelect')+$t('standardRegulationLibrary.marketRegulationsList.countryRegion')" />
</a-form-item>
@@ -364,21 +365,21 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.applicableCountryRegion'),
align: 'center',
width: 180,
dataIndex: 'country_dictText',
dataIndex: this.isChinese() ? 'country_dictText' : 'country_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 适用车型
title: this.$t('standardRegulationLibrary.marketListField.applicableVehicleType'),
align: 'center',
width: 180,
dataIndex: 'applicableVehicle_dictText',
dataIndex: this.isChinese() ? 'applicableVehicle_dictText' : 'applicableVehicle_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 认证对象
title: this.$t('standardRegulationLibrary.marketListField.authenticationObject'),
align: 'center',
width: 180,
dataIndex: 'authenticationObject_dictText',
dataIndex: this.isChinese() ? 'authenticationObject_dictText' : 'authenticationObject_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 认证交付物
@@ -392,14 +393,14 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.type'),
align: 'center',
width: 180,
dataIndex: 'type_dictText',
dataIndex: this.isChinese() ? 'type_dictText' : 'type_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 动力类型
title: this.$t('standardRegulationLibrary.marketListField.dynamicType'),
align: 'center',
width: 180,
dataIndex: 'dynamicType_dictText',
dataIndex: this.isChinese() ? 'dynamicType_dictText' : 'dynamicType_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 主控部门
@@ -413,7 +414,7 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.masterControlDepartmentProfessionalModule'),
align: 'center',
width: 180,
dataIndex: 'mainDeptProfMode_dictText',
dataIndex: this.isChinese() ? 'mainDeptProfMode_dictText' : 'mainDeptProfMode_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 关联部门
@@ -427,28 +428,28 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.associateDepartmentSpecializedModules'),
align: 'center',
width: 180,
dataIndex: 'associateDeptProfMode_dictText',
dataIndex: this.isChinese() ? 'associateDeptProfMode_dictText' : 'associateDeptProfMode_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 批量限制
title: this.$t('standardRegulationLibrary.marketListField.batchRestriction'),
align: 'center',
width: 180,
dataIndex: 'batchLimit_dictText',
dataIndex: this.isChinese() ? 'batchLimit_dictText' : 'batchLimit_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 自动驾驶等级
title: this.$t('standardRegulationLibrary.marketListField.automaticDrivingLevel'),
align: 'center',
width: 180,
dataIndex: 'autopilotLevel_dictText',
dataIndex: this.isChinese() ? 'autopilotLevel_dictText' : 'autopilotLevel_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 要求类型
title: this.$t('standardRegulationLibrary.marketListField.requirementType'),
align: 'center',
width: 180,
dataIndex: 'requireType_dictText',
dataIndex: this.isChinese() ? 'requireType_dictText' : 'requireType_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 备注
@@ -35,6 +35,7 @@
:placeholder="$t('pleaseSelect')+$t('standardRegulationLibrary.marketRegulationsList.countryRegion')"
show-search
allowClear
:replaceFields="{title: isChinese() ? 'title' : 'enTitle'}"
:filterTreeNode="filterTreeOption"
/>
</a-form-item>
@@ -151,7 +152,7 @@ export default {
title: this.$t('standardRegulationLibrary.marketRegulationsList.countryRegion'),
align: 'center',
width: 180,
dataIndex: 'country_dictText',
dataIndex: this.isChinese() ? 'country_dictText' : 'country_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 清单编号
@@ -172,7 +173,7 @@ export default {
title: this.$t('standardRegulationLibrary.marketRegulationsList.drivingPosition'),
align: 'center',
width: 180,
dataIndex: 'drivePosition_dictText',
dataIndex: this.isChinese() ? 'drivePosition_dictText' : 'drivePosition_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{ // 清单版本
@@ -200,7 +201,7 @@ export default {
title: this.$t('standardRegulationLibrary.marketRegulationsList.listState'),
align: 'center',
width: 180,
dataIndex: 'manifestStatus_dictText',
dataIndex: this.isChinese() ? 'manifestStatus_dictText' : 'manifestStatus_dictTextEn',
scopedSlots: { customRender: 'text' }
},
{
@@ -66,6 +66,7 @@
:tree-data="countryOptions"
tree-checkable
treeCheckStrictly
:replaceFields="{title: isChinese() ? 'title' : 'enTitle'}"
:placeholder="$t('pleaseSelect')+$t('standardRegulationLibrary.marketListField.applicableCountryRegion')" />
</a-form-item>
<!-- 认证对象 -->