diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 3c7000362..c820ebdde 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -582,7 +582,7 @@ module.exports = { maintenanceList: 'Maintenance list', instructionForUse: 'Instruction for use', subtitle: 'Sub-Title', - scopeOfApplication: 'Scope of application', + scopeOfApplication: 'Scope', correspondingStandard: 'Compare', implementationCategory: 'Usage', certificationType: 'Certification Type', @@ -596,7 +596,7 @@ module.exports = { StandardImplementationDate: 'Standard implementation date', regulatoryEngineer: 'Regulation Engineer', certifiedEngineer: 'Homologation Engineer', - regulatoryEngineerOrcertifiedEngineer:'Regulation Engineer Or Homologation Engineer', + regulatoryEngineerOrcertifiedEngineer: 'Regulation Engineer Or Homologation Engineer', engineeringInterfacePerson: 'Engineering Interface', typeOfDeliverables: 'Type of deliverables', deliverableTemplate: 'Deliverable template', @@ -627,7 +627,7 @@ module.exports = { ListOfRelevantPersonnel: 'List of relevant personnel', DeliverableStatus: 'Deliverable status', CurrentStatusOfTheProject: 'Current status of the project', - CurrentStatus:'Current status', + CurrentStatus: 'Current status', NonConformance: 'Non conformance', listSubclauses: 'List Subclauses', fileType: 'File Type', @@ -666,7 +666,7 @@ module.exports = { alteration: 'Alteration', fixedPlate: 'Fixed plate', taskAffirmStatus: 'Task Confirmation Status', - taskAffirm:'Task Confirmation', + taskAffirm: 'Task Confirmation', listConfirmationStatus: 'List Confirmation Status', listConfirmation: 'List Confirmation', ListConfirmationDeadline: 'List confirmation deadline', @@ -879,32 +879,32 @@ module.exports = { modelYear: 'Model year', NoteConfirmTheChange: 'Note: after the change, the list will be in the status of not being reviewed, which will start from the internal review, and the historical data will be discarded Confirm the change', onlyDataChanged: 'Only data whose task confirmation status is accepted can be changed', - inquiry:'Inquiry', - ConfirmationDeadline:'Confirmation Deadline', - regulatoryCertificationTaskConfirmation:'Regulatory certification task confirmation', - confirmationEngineeringInterfacePerson:'Confirmation of engineering interface person', - engineerReply:'Engineer reply', - catalogFile:'Catalog File', - testScheme:'Test Scheme', - testReportLocation:'Test report location', - explain:'Explain', - dataCannotEmpty:'Data Cannot Empty', - documentDynamics:'Document Dynamics', - theNumberAgain:'The number already exists and cannot be added again', - myList:'My to-do list', - myNews:'My News', - monthlyReportRegulations:'Monthly report regulations', - Pending:'Pending', - custom:'Custom', - notSelected:'Not selected', - ExportReport:'Export Report', - basicInformation:'Basic Information', - replyFromProjectContact:'Reply from project contact person', - pleaseUpload:'Please Upload', - fullScreenView:'Full Screen View', - systemPrompt:'System Prompt', - loginExpired:'Login Expired', - reportNotUploaded:'Report not uploaded', + inquiry: 'Inquiry', + ConfirmationDeadline: 'Confirmation Deadline', + regulatoryCertificationTaskConfirmation: 'Regulatory certification task confirmation', + confirmationEngineeringInterfacePerson: 'Confirmation of engineering interface person', + engineerReply: 'Engineer reply', + catalogFile: 'Catalog File', + testScheme: 'Test Scheme', + testReportLocation: 'Test report location', + explain: 'Explain', + dataCannotEmpty: 'Data Cannot Empty', + documentDynamics: 'Document Dynamics', + theNumberAgain: 'The number already exists and cannot be added again', + myList: 'My to-do list', + myNews: 'My News', + monthlyReportRegulations: 'Monthly report regulations', + Pending: 'Pending', + custom: 'Custom', + notSelected: 'Not selected', + ExportReport: 'Export Report', + basicInformation: 'Basic Information', + replyFromProjectContact: 'Reply from project contact person', + pleaseUpload: 'Please Upload', + fullScreenView: 'Full Screen View', + systemPrompt: 'System Prompt', + loginExpired: 'Login Expired', + reportNotUploaded: 'Report not uploaded', position: 'position', // 认证权限状态 CollectionInitiated: 'Collection to be initiated、', @@ -918,7 +918,7 @@ module.exports = { Statusis: 'Statusis', toHavePermission: 'To Have Permission', and: 'and', - judge:'Judge', - pleaseWaitWhileRunning:'Please wait while running', - roleSwitching:'Role switching', + judge: 'Judge', + pleaseWaitWhileRunning: 'Please wait while running', + roleSwitching: 'Role switching' } \ No newline at end of file diff --git a/jero-web/src/views/documentManage/library/docDetail/index.vue b/jero-web/src/views/documentManage/library/docDetail/index.vue index cc552b957..3b51a8b60 100644 --- a/jero-web/src/views/documentManage/library/docDetail/index.vue +++ b/jero-web/src/views/documentManage/library/docDetail/index.vue @@ -17,23 +17,23 @@
-
+
{{$t('UpdateLog')}}
-
+
{{$t('DocumentSplitting')}}
-
+
{{$t('DocumentTranslation')}}
-
+
{{$t('DocumentComparison')}}
-
+
{{$t('KnowledgeDatabase')}}
diff --git a/jero-web/src/views/projectManagement/ParameterItemCollection/ProjectDetails/index.vue b/jero-web/src/views/projectManagement/ParameterItemCollection/ProjectDetails/index.vue index 58cbd9938..a9017a60a 100644 --- a/jero-web/src/views/projectManagement/ParameterItemCollection/ProjectDetails/index.vue +++ b/jero-web/src/views/projectManagement/ParameterItemCollection/ProjectDetails/index.vue @@ -10,7 +10,7 @@ {{this.title}}
-
+
{{$t('comment')}} @@ -28,33 +28,39 @@
-
+
{{$t('projectDetails')}}
-
+
{{$t('listOfRegulations')}}
-
+
{{$t('taskList')}}
-
+
{{$t('nonConformance')}}
-
+
{{$t('TaskParameterCollection')}}
- - - - - + + + + +
@@ -92,7 +98,7 @@ title: this.$t('projectDetails'), textTitle: '认证参数收集', isDisplayNum: '', - areaOfResponsibility:{}, + areaOfResponsibility: {}, url: { logList: '/project/projectLawsInventoryLogEO/page', historicalVersionUrl: '', @@ -115,7 +121,11 @@ } let text = document.getElementsByClassName('Virtual-detail-left-text') if (text && text.length > 0) { - text[4].classList.add('Virtual-detail-left-text-color') + for (let i = 0; i < text.length; i++) { + if (text[i].title == this.$t('TaskParameterCollection')) { + text[i].classList.add('Virtual-detail-left-text-color') + } + } } }, textClick(num, name) { @@ -125,7 +135,19 @@ textColor[0].classList.remove('Virtual-detail-left-text-color') } let text = document.getElementsByClassName('Virtual-detail-left-text') - text[num].classList.add('Virtual-detail-left-text-color') + for (let i = 0; i < text.length; i++) { + if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } else if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } else if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } else if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } else if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } + } }, UpdateLogClick() { this.$refs.updateLogRef.getList({ projectLibraryId: this.$route.query.id }) @@ -146,16 +168,20 @@ } }) }, - TaskListChange(item){ + TaskListChange(item) { this.areaOfResponsibility = item - this.textTitle = '任务清单' + this.textTitle = this.$t('taskList') let textColor = document.getElementsByClassName('Virtual-detail-left-text-color') if (textColor && textColor.length > 0) { textColor[0].classList.remove('Virtual-detail-left-text-color') } let text = document.getElementsByClassName('Virtual-detail-left-text') - text[2].classList.add('Virtual-detail-left-text-color') - }, + for (let i = 0; i < text.length; i++) { + if (text[i].title == this.$t('taskList')) { + text[i].classList.add('Virtual-detail-left-text-color') + } + } + } } } diff --git a/jero-web/src/views/projectManagement/ProjectDetails/index.vue b/jero-web/src/views/projectManagement/ProjectDetails/index.vue index 56835bc50..72237a898 100644 --- a/jero-web/src/views/projectManagement/ProjectDetails/index.vue +++ b/jero-web/src/views/projectManagement/ProjectDetails/index.vue @@ -9,7 +9,7 @@ {{this.title}}
-
+
{{$t('comment')}} @@ -109,32 +109,44 @@ this.getTaskId() if (this.$route.query.type) { if (this.$route.query.type == '101') { - this.textColor(0) + this.textColor(this.$t('projectDetails')) this.textTitle = this.$t('projectDetails') } else if (this.$route.query.type == '102') { - this.textColor(1) + this.textColor(this.$t('listOfRegulations')) this.textTitle = this.$t('listOfRegulations') } else if (this.$route.query.type == '103') { - this.textColor(2) + this.textColor(this.$t('taskList')) this.textTitle = this.$t('taskList') } else if (this.$route.query.type == '104') { - this.textColor(3) + this.textColor(this.$t('nonConformance')) this.textTitle = this.$t('nonConformance') } else if (this.$route.query.type == '105') { - this.textColor(4) + this.textColor(this.$t('TaskParameterCollection')) this.textTitle = this.$t('TaskParameterCollection') } } }, methods: { - textColor(num) { + textColor(name) { let textColor = document.getElementsByClassName('Virtual-detail-left-text-color') if (textColor && textColor.length > 0) { textColor[0].classList.remove('Virtual-detail-left-text-color') } let text = document.getElementsByClassName('Virtual-detail-left-text') if (text && text.length > 0) { - text[num].classList.add('Virtual-detail-left-text-color') + for (let i = 0; i < text.length; i++) { + if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } else if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } else if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } else if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } else if (text[i].title == name) { + text[i].classList.add('Virtual-detail-left-text-color') + } + } } }, textClick(num, name) { @@ -144,7 +156,6 @@ textColor[0].classList.remove('Virtual-detail-left-text-color') } let text = document.getElementsByClassName('Virtual-detail-left-text') - console.log(text) for (let i = 0; i < text.length; i++) { if (text[i].title == name) { text[i].classList.add('Virtual-detail-left-text-color') @@ -186,7 +197,11 @@ textColor[0].classList.remove('Virtual-detail-left-text-color') } let text = document.getElementsByClassName('Virtual-detail-left-text') - text[2].classList.add('Virtual-detail-left-text-color') + for (let i = 0; i < text.length; i++) { + if (text[i].title == this.$t('taskList')) { + text[i].classList.add('Virtual-detail-left-text-color') + } + } } } }