[update] 修改bug88276,以及市场法规清单翻译

This commit is contained in:
lideqin
2024-08-08 10:09:25 +08:00
parent acb4840c8e
commit bed4332138
4 changed files with 47 additions and 47 deletions
@@ -246,22 +246,22 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.applicableCountryRegion'), title: this.$t('standardRegulationLibrary.marketListField.applicableCountryRegion'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'country_dictText' : 'country_dictTextEn', dataIndex: 'country_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 适用车型 { // 适用车型
title: this.$t('standardRegulationLibrary.marketListField.applicableVehicleType'), title: this.$t('standardRegulationLibrary.marketListField.applicableVehicleType'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'applicableVehicle_dictText' : 'applicableVehicle_dictTextEn', dataIndex: 'applicableVehicle_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 认证对象 { // 认证对象
title: this.$t('standardRegulationLibrary.marketListField.authenticationObject'), title: this.$t('standardRegulationLibrary.marketListField.authenticationObject'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'authenticationObject_dictText' : 'authenticationObject_dictTextEn', dataIndex: 'authenticationObject_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 认证交付物 { // 认证交付物
title: this.$t('standardRegulationLibrary.marketListField.certifiedDeliverables'), title: this.$t('standardRegulationLibrary.marketListField.certifiedDeliverables'),
@@ -274,15 +274,15 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.type'), title: this.$t('standardRegulationLibrary.marketListField.type'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'type_dictText' : 'type_dictTextEn', dataIndex: 'type_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 动力类型 { // 动力类型
title: this.$t('standardRegulationLibrary.marketListField.dynamicType'), title: this.$t('standardRegulationLibrary.marketListField.dynamicType'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'dynamicType_dictText' : 'dynamicType_dictTextEn', dataIndex: 'dynamicType_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 主控部门 { // 主控部门
title: this.$t('standardRegulationLibrary.marketListField.mainControlDepartment'), title: this.$t('standardRegulationLibrary.marketListField.mainControlDepartment'),
@@ -295,8 +295,8 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.masterControlDepartmentProfessionalModule'), title: this.$t('standardRegulationLibrary.marketListField.masterControlDepartmentProfessionalModule'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'mainDeptProfMode_dictText' : 'mainDeptProfMode_dictTextEn', dataIndex: 'mainDeptProfMode_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 关联部门 { // 关联部门
title: this.$t('standardRegulationLibrary.marketListField.relatedDepartment'), title: this.$t('standardRegulationLibrary.marketListField.relatedDepartment'),
@@ -309,29 +309,29 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.associateDepartmentSpecializedModules'), title: this.$t('standardRegulationLibrary.marketListField.associateDepartmentSpecializedModules'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'associateDeptProfMode_dictText' : 'associateDeptProfMode_dictTextEn', dataIndex: 'associateDeptProfMode_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 批量限制 { // 批量限制
title: this.$t('standardRegulationLibrary.marketListField.batchRestriction'), title: this.$t('standardRegulationLibrary.marketListField.batchRestriction'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'batchLimit_dictText' : 'batchLimit_dictTextEn', dataIndex: 'batchLimit_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 自动驾驶等级 { // 自动驾驶等级
title: this.$t('standardRegulationLibrary.marketListField.automaticDrivingLevel'), title: this.$t('standardRegulationLibrary.marketListField.automaticDrivingLevel'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'autopilotLevel_dictText' : 'autopilotLevel_dictTextEn', dataIndex: 'autopilotLevel_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 要求类型 { // 要求类型
title: this.$t('standardRegulationLibrary.marketListField.requirementType'), title: this.$t('standardRegulationLibrary.marketListField.requirementType'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'requireType_dictText' : 'requireType_dictTextEn', dataIndex: 'requireType_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 备注 { // 备注
title: this.$t('standardRegulationLibrary.marketListField.remarks'), title: this.$t('standardRegulationLibrary.marketListField.remarks'),
@@ -365,22 +365,22 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.applicableCountryRegion'), title: this.$t('standardRegulationLibrary.marketListField.applicableCountryRegion'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'country_dictText' : 'country_dictTextEn', dataIndex: 'country_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 适用车型 { // 适用车型
title: this.$t('standardRegulationLibrary.marketListField.applicableVehicleType'), title: this.$t('standardRegulationLibrary.marketListField.applicableVehicleType'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'applicableVehicle_dictText' : 'applicableVehicle_dictTextEn', dataIndex: 'applicableVehicle_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 认证对象 { // 认证对象
title: this.$t('standardRegulationLibrary.marketListField.authenticationObject'), title: this.$t('standardRegulationLibrary.marketListField.authenticationObject'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'authenticationObject_dictText' : 'authenticationObject_dictTextEn', dataIndex: 'authenticationObject_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 认证交付物 { // 认证交付物
title: this.$t('standardRegulationLibrary.marketListField.certifiedDeliverables'), title: this.$t('standardRegulationLibrary.marketListField.certifiedDeliverables'),
@@ -393,15 +393,15 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.type'), title: this.$t('standardRegulationLibrary.marketListField.type'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'type_dictText' : 'type_dictTextEn', dataIndex: 'type_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 动力类型 { // 动力类型
title: this.$t('standardRegulationLibrary.marketListField.dynamicType'), title: this.$t('standardRegulationLibrary.marketListField.dynamicType'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'dynamicType_dictText' : 'dynamicType_dictTextEn', dataIndex: 'dynamicType_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 主控部门 { // 主控部门
title: this.$t('standardRegulationLibrary.marketListField.mainControlDepartment'), title: this.$t('standardRegulationLibrary.marketListField.mainControlDepartment'),
@@ -414,8 +414,8 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.masterControlDepartmentProfessionalModule'), title: this.$t('standardRegulationLibrary.marketListField.masterControlDepartmentProfessionalModule'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'mainDeptProfMode_dictText' : 'mainDeptProfMode_dictTextEn', dataIndex: 'mainDeptProfMode_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 关联部门 { // 关联部门
title: this.$t('standardRegulationLibrary.marketListField.relatedDepartment'), title: this.$t('standardRegulationLibrary.marketListField.relatedDepartment'),
@@ -428,29 +428,29 @@ export default {
title: this.$t('standardRegulationLibrary.marketListField.associateDepartmentSpecializedModules'), title: this.$t('standardRegulationLibrary.marketListField.associateDepartmentSpecializedModules'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'associateDeptProfMode_dictText' : 'associateDeptProfMode_dictTextEn', dataIndex: 'associateDeptProfMode_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 批量限制 { // 批量限制
title: this.$t('standardRegulationLibrary.marketListField.batchRestriction'), title: this.$t('standardRegulationLibrary.marketListField.batchRestriction'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'batchLimit_dictText' : 'batchLimit_dictTextEn', dataIndex: 'batchLimit_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 自动驾驶等级 { // 自动驾驶等级
title: this.$t('standardRegulationLibrary.marketListField.automaticDrivingLevel'), title: this.$t('standardRegulationLibrary.marketListField.automaticDrivingLevel'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'autopilotLevel_dictText' : 'autopilotLevel_dictTextEn', dataIndex: 'autopilotLevel_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 要求类型 { // 要求类型
title: this.$t('standardRegulationLibrary.marketListField.requirementType'), title: this.$t('standardRegulationLibrary.marketListField.requirementType'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'requireType_dictText' : 'requireType_dictTextEn', dataIndex: 'requireType_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 备注 { // 备注
title: this.$t('standardRegulationLibrary.marketListField.remarks'), title: this.$t('standardRegulationLibrary.marketListField.remarks'),
@@ -152,8 +152,8 @@ export default {
title: this.$t('standardRegulationLibrary.marketRegulationsList.countryRegion'), title: this.$t('standardRegulationLibrary.marketRegulationsList.countryRegion'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'country_dictText' : 'country_dictTextEn', dataIndex: 'country_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 清单编号 { // 清单编号
title: this.$t('standardRegulationLibrary.marketRegulationsList.listNumber'), title: this.$t('standardRegulationLibrary.marketRegulationsList.listNumber'),
@@ -173,8 +173,8 @@ export default {
title: this.$t('standardRegulationLibrary.marketRegulationsList.drivingPosition'), title: this.$t('standardRegulationLibrary.marketRegulationsList.drivingPosition'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'drivePosition_dictText' : 'drivePosition_dictTextEn', dataIndex: 'drivePosition_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ // 清单版本 { // 清单版本
title: this.$t('standardRegulationLibrary.marketRegulationsList.listVersion'), title: this.$t('standardRegulationLibrary.marketRegulationsList.listVersion'),
@@ -201,8 +201,8 @@ export default {
title: this.$t('standardRegulationLibrary.marketRegulationsList.listState'), title: this.$t('standardRegulationLibrary.marketRegulationsList.listState'),
align: 'center', align: 'center',
width: 180, width: 180,
dataIndex: this.isChinese() ? 'manifestStatus_dictText' : 'manifestStatus_dictTextEn', dataIndex: 'manifestStatus_dictText',
scopedSlots: { customRender: 'text' } scopedSlots: { customRender: 'dictText' }
}, },
{ {
title: this.$t('operation'), title: this.$t('operation'),
@@ -304,7 +304,7 @@ export default {
this.form.setFieldsValue(pick(this.model, 'standardNumber', 'standardName', 'standardEnglishName', this.form.setFieldsValue(pick(this.model, 'standardNumber', 'standardName', 'standardEnglishName',
'type', 'newProductImplDate', 'newAuthImplDate', 'registrationDate', 'country', 'type', 'newProductImplDate', 'newAuthImplDate', 'registrationDate', 'country',
'authenticationObject', 'certifyTheDeliverables', 'mainDept', 'mainDeptProfMode', 'associateDept', 'authenticationObject', 'certifyTheDeliverables', 'mainDept', 'mainDeptProfMode', 'associateDept',
'associateDeptProfMode', 'applicableVehicle', 'dynamicType', 'batchLimit', 'autopilotLevel', 'requireType')) 'associateDeptProfMode', 'applicableVehicle', 'dynamicType', 'batchLimit', 'autopilotLevel', 'requireType', 'remark'))
}) })
}, },
getCountryOption () { getCountryOption () {