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