From 39c83d064efa81e4d210bc84b3f18268c2379382 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Thu, 27 Jun 2024 10:21:26 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E6=B5=81=E7=A8=8B=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/less/common.less | 4 + src/common/lang/en-us.js | 5 +- src/common/lang/workCenter/en.js | 78 +++++++++---------- src/common/lang/zh-cn.js | 1 + src/components/jero/JUpload.vue | 6 +- .../MarketListReleaseProcess.vue | 39 ++++++++-- .../NewRegulationIntroductionProcess.vue | 39 ++++++++-- .../RegulatoryComplianceCheckProcess.vue | 51 ++++++++++-- 8 files changed, 162 insertions(+), 61 deletions(-) diff --git a/src/assets/less/common.less b/src/assets/less/common.less index 38f35ff..6393463 100644 --- a/src/assets/less/common.less +++ b/src/assets/less/common.less @@ -393,6 +393,10 @@ margin-left: -8px; } +.table-operator-tab .switch-item-en { + width: 200px; +} + /* switch的样式--end */ /*分页的样式start*/ diff --git a/src/common/lang/en-us.js b/src/common/lang/en-us.js index 8df6911..3d764c5 100644 --- a/src/common/lang/en-us.js +++ b/src/common/lang/en-us.js @@ -197,8 +197,9 @@ module.exports = { standardState: 'Standard state', newProductionVehicleImplementationDate: 'New production vehicle implementation date', newCertifiedVehicleImplementationDate: 'New certified vehicle implementation date', - generate: '生成', - vehicleType: '车型', + generate: 'Generate', + vehicleType: 'Vehicle type', + clickToUpload: 'Click to upload', // 树右键 treeRight: { addFolder: 'Create New Folder', diff --git a/src/common/lang/workCenter/en.js b/src/common/lang/workCenter/en.js index 80765c0..c694982 100644 --- a/src/common/lang/workCenter/en.js +++ b/src/common/lang/workCenter/en.js @@ -13,43 +13,43 @@ module.exports = { }, // 新法规导入流程 newRegulationImportProcess: { - substituteStandardNumber: '代替标准编号', - standardType: '标准类型', - stageWeAreIn: '所处阶段', - materialDate: '实施日期', - applicableMarket: '适用市场', - ccPerson: '抄送人员', - briefDescription: '法规要求简要描述' + substituteStandardNumber: 'Substitute standard number', + standardType: 'Standard type', + stageWeAreIn: 'Stage we are in', + materialDate: 'Implementation date', + applicableMarket: 'Applicable market', + ccPerson: 'Cc person', + briefDescription: 'The statute requires a brief description' }, // 法规符合性排查流程 regulatoryComplianceCheckProcess: { - addStandard: '添加标准', - manualAddition: '手动新增', - vehicleTypeItem: '车型项目', - applicableMarket: '适用市场', - isAlike: '是否与上一版相同', - resolutionAttachment: '分解单附件', - decompositionSingleSource: '分解单来源', - pleaseAddStandard: '请先新增一条标准', - modelStatus: '车型状态', - primaryInvestigator: '主排查人' + addStandard: 'Addition standard', + manualAddition: 'Manual addition', + vehicleTypeItem: 'Vehicle type item', + applicableMarket: 'Applicable market', + isAlike: 'Whether it is the same as the previous version', + resolutionAttachment: 'Resolution attachment', + decompositionSingleSource: 'Decomposition single source', + pleaseAddStandard: 'Please add a new criterion first', + modelStatus: 'Model status', + primaryInvestigator: 'Primary investigator' }, // 市场清单发布流程 marketListReleaseProcess: { - englishName: '英文名称', - newProductionVehicleImplementationDate: '新生产车实施日期', - newCertifiedVehicleImplementationDate: '新认证车实施日期', - applicableCountryRegion: '适用国家/地区', - applicableVehicleType: '适用车型', - authenticationObject: '认证对象', - certifiedDeliverables: '认证交付物', - type: '类型', - dynamicType: '动力类型', - mainControlDepartment: '主控部门', - masterControlDepartmentProfessionalModule: '主控部门专业模块', - relatedDepartment: '关联部门', - associateDepartmentSpecializedModules: '关联部门专业模块', - requirementType: '要求类型', + englishName: 'English name', + newProductionVehicleImplementationDate: 'New production vehicle implementation date', + newCertifiedVehicleImplementationDate: 'New certified vehicle implementation date', + applicableCountryRegion: 'Applicable country/region', + applicableVehicleType: 'Applicable vehicle type', + authenticationObject: 'Authentication object', + certifiedDeliverables: 'Certified deliverables', + type: 'Type', + dynamicType: 'Dynamic type', + mainControlDepartment: 'Main control department', + masterControlDepartmentProfessionalModule: 'Master control department professional module', + relatedDepartment: 'Related department', + associateDepartmentSpecializedModules: 'Associate department specialized modules', + requirementType: 'Requirement type', }, // 流程配置 @@ -60,14 +60,14 @@ module.exports = { deploy: '部署' }, processDetail: { - urgeHandle: '催办', - flowChart: '流程图', - taskNode: '任务节点', - taskHandler: '任务受理人', - completionTime: '完成时间', - timeConsuming: '耗时', - approvalOpinion: '审批意见', - opinionContent: '意见内容' + urgeHandle: 'Urge sb. to do STH.', + flowChart: 'Flow chart', + taskNode: 'Task node', + taskHandler: 'Task handler', + completionTime: 'Completion time', + timeConsuming: 'Time consuming', + approvalOpinion: 'Approval opinion', + opinionContent: 'Opinion content' }, // 流程中心 processCenter: { diff --git a/src/common/lang/zh-cn.js b/src/common/lang/zh-cn.js index f2cf095..c593fda 100644 --- a/src/common/lang/zh-cn.js +++ b/src/common/lang/zh-cn.js @@ -216,6 +216,7 @@ module.exports = { newCertifiedVehicleImplementationDate: '新认证车实施日期', generate: '生成', vehicleType: '车型', + clickToUpload: '点击上传', // 标准字段 standardField: { standardEnglishName: '标准英文名称', diff --git a/src/components/jero/JUpload.vue b/src/components/jero/JUpload.vue index 5a0e29f..06a8202 100644 --- a/src/components/jero/JUpload.vue +++ b/src/components/jero/JUpload.vue @@ -21,11 +21,11 @@ - {{ text }} + {{ text ? text : $t('clickToUpload') }} - {{ text }} + {{ text ? text : $t('clickToUpload') }} @@ -89,7 +89,7 @@ export default { text: { type: String, required: false, - default: '点击上传' + default: '' }, fileType: { type: String, diff --git a/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue b/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue index d245ee2..ba3b3e3 100644 --- a/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue +++ b/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue @@ -3,10 +3,10 @@ - {{ $t('basicInformation') }} - {{ $t('personalInformation') }} @@ -19,7 +19,11 @@ - + - + - + - {{ $t('basicInformation') }} - {{ $t('personalInformation') }} @@ -19,7 +19,11 @@ - + - + - + - {{ $t('basicInformation') }} - {{ $t('personalInformation') }} @@ -19,7 +19,11 @@ - + - + - + - + @@ -56,7 +72,11 @@ - + @@ -246,6 +266,7 @@ export default { }, data () { return { + EN: 'en-us', ProcessKey, loading: false, switchValue: 'base', // 头部tab选中值 @@ -271,6 +292,22 @@ export default { xs: { span: 24 }, sm: { span: 22 } }, + labelColEn: { + xs: { span: 24 }, + sm: { span: 8 } + }, + wrapperColEn: { + xs: { span: 24 }, + sm: { span: 16 } + }, + longLabelColEn: { + xs: { span: 24 }, + sm: { span: 4 } + }, + longWrapperColEn: { + xs: { span: 24 }, + sm: { span: 20 } + }, validatorRules: { // 流程名称 prcName: {