From 11853bb5520ea10a296f87db8467e73a1edc5703 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Sat, 7 May 2022 15:32:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 126 +++++++++--------- .../components/PersonnelSelection/index.vue | 1 + jero-web/src/permission.js | 6 +- 3 files changed, 68 insertions(+), 65 deletions(-) diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 79a382ccb..95fbb89a9 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -15,7 +15,7 @@ module.exports = { frozen: 'frozen', reset: 'reset', putAway: 'Put away', - open: 'open', + open: 'More', addUser: 'add user', userInformation: 'user information', export: 'export', @@ -134,7 +134,7 @@ module.exports = { enterMobileNumber: 'Please enter your mobile phone number', enterAddress: 'Please enter the address', address: 'address', - remarks: 'remarks', + remarks: 'Comments', enterComments: 'Please enter comments', selectDepartmentFirst: 'Please select a department first!', OrganizationCode: 'Organization code', @@ -463,7 +463,7 @@ module.exports = { charactersLength1to300: '1 - 300 characters in length', OnlyOneSelected: 'Only one piece of data can be selected', OnlyPDF: 'Only PDF files can be imported', - open: 'open', + open: 'More', away: 'away', toDoProcess: 'To Do List', processDone: 'Process done', @@ -493,7 +493,7 @@ module.exports = { ProcessType: 'Process type', AddProcess: 'Add process', RelatedItems: 'Related items', - Sponsor: 'Sponsor', + Sponsor: 'Initiator', CurrentProcessor: 'Current processor', LastProcessor: 'Last processor', ProcessingTime: 'Processing time', @@ -534,7 +534,7 @@ module.exports = { unsubscribeConfirm: 'unsubscribe confirm?', confirmCancelCollection: 'confirm to cancel collection?', theRelease: 'The release date should not exceed the standard implementation date', - zoneOfApplication: 'zone of application', + zoneOfApplication: 'Area', releaseDate: 'release Date', standardImplementationTime: 'Standard implementation time', onlyPicture: 'only upload pictures!', @@ -582,20 +582,20 @@ module.exports = { instructionForUse: 'instruction for use', subtitle: 'Sub-Title', scopeOfApplication: 'Scope of application', - correspondingStandard: 'Corresponding standard', - implementationCategory: 'Implementation category', + correspondingStandard: 'Compare', + implementationCategory: 'Usage', certificationType: 'Certification Type', certificationLevel: 'Certification Level', areaOfResponsibility: 'Responsible Field', - confirmationOfDesignConformity: 'Design Compliance Check Deliverable', + confirmationOfDesignConformity: 'Design Compliance Check', Deliverables: 'Deliverables', - personLiable: 'person liable', - PrehomoConfirmation: 'Prehomo confirmation', - verificationAndConformityconfirmation: 'Verification and conformity confirmation', + personLiable: 'Assignee', + PrehomoConfirmation: 'Pre-homo Check', + verificationAndConformityconfirmation: 'Validation Compliance Check', StandardImplementationDate: 'Standard implementation date', - regulatoryEngineer: 'Regulatory Engineer', - certifiedEngineer: 'Certified Engineer', - engineeringInterfacePerson: 'Engineering interface person', + regulatoryEngineer: 'Regulation Engineer', + certifiedEngineer: 'Homologation Engineer', + engineeringInterfacePerson: 'Engineering Interface', typeOfDeliverables: 'Type of deliverables', deliverableTemplate: 'Deliverable template', entryName: 'entry name', @@ -609,7 +609,7 @@ module.exports = { certificationProgramInformation: 'Certification program information', taskReleaseStatus: 'Task release status', task: 'task', - TaskCutOffTime: 'Task cut-off time', + TaskCutOffTime: 'Due Date', Transfer: 'Transfer', CertificationDirectory: 'Certification directory', TaskRequirements: 'Task requirements', @@ -660,8 +660,8 @@ module.exports = { initiateTaskConfirmation: 'Initiate task confirmation', alteration: 'alteration', fixedPlate: 'Fixed plate', - taskAffirmStatus: 'task Affirm Status', - listConfirmationStatus: 'List confirmation status', + taskAffirmStatus: 'Task Confirmation Status', + listConfirmationStatus: 'List Confirmation Status', ListConfirmationDeadline: 'List confirmation deadline', dataConfirmation: 'Please select the data whose list confirmation status is not initiated or rejected, and the regulatory engineer and certification engineer are not empty', pleaseSelectPersonFirst: 'Please select a person first', @@ -741,50 +741,50 @@ module.exports = { opinion: 'opinion', operationNode: 'operation node', taskDataConfirmation: 'Please select the data whose list confirmation status is accepted and task confirmation status is not initiated or rejected, and the regulatory engineer and certification engineer are not empty', - selectIssuer:'Select issuer', - sendBack:'send back', - taskConfirmationProcess:'Task confirmation process', - notFinished:'not finished', - Finished:'Finished', - theRequirementst:'The engineering interface person confirms the compliance requirements', - dataLoading:'Data loading...', - Submitting:'Submitting', - Returning:'Returning', - terminationProcessing:'Termination process', - publishComment:'publish comment', - record:'record', - replyToComments:'Reply to comments', - noComment:'No comment', - theReceived:'The final version can be made only when the list confirmation status and task confirmation status of all data are received', - notEvaluated:'Not evaluated', - cannotExceed:'cannot exceed', - Characters:'Characters', - standardInformation:'standardInformation', - VirtualList:'VirtualList', - importTemplate:'import template', - verificationConfirmationDeadline:'Verification compliance confirmation deadline', - technicalEvaluationResults:'technical evaluation results', - engineeringConfirmation:'engineeringConfirmation', - feedbackFromTheEngineer:'Feedback from the Engineer', - completedBy:'Completed by', - completedTime:'Completed time', - replyFromProjectContactPerson:'Reply from project contact person', - answer:'answer', - distributionEngineer:'Distribution Engineer', - reminderHandling:'Reminder handling', - addFeedback:'Add feedback', - engineer:'engineer', - engineeringConfirmationDetails:'Engineering confirmation details', - reminder:'reminder', - adopt:'adopt', - reviewedByThePersonInCharge:'Reviewed by the person in charge', - onlyDeleted:'Only data whose list confirmation status is not initiated or rejected can be deleted', - experimentPassed:'Experiment passed', - experimentFailed:'Experiment failed', - toBeStarted:'To be started', - inProgress:'In Progress', - green:'green', - red:'red', - blue:'blue', - yellow:'yellow', + selectIssuer: 'Select issuer', + sendBack: 'send back', + taskConfirmationProcess: 'Task confirmation process', + notFinished: 'not finished', + Finished: 'Finished', + theRequirementst: 'The engineering interface person confirms the compliance requirements', + dataLoading: 'Data loading...', + Submitting: 'Submitting', + Returning: 'Returning', + terminationProcessing: 'Termination process', + publishComment: 'publish comment', + record: 'record', + replyToComments: 'Reply to comments', + noComment: 'No comment', + theReceived: 'The final version can be made only when the list confirmation status and task confirmation status of all data are received', + notEvaluated: 'Not evaluated', + cannotExceed: 'cannot exceed', + Characters: 'Characters', + standardInformation: 'standardInformation', + VirtualList: 'VirtualList', + importTemplate: 'import template', + verificationConfirmationDeadline: 'Verification compliance confirmation deadline', + technicalEvaluationResults: 'technical evaluation results', + engineeringConfirmation: 'engineeringConfirmation', + feedbackFromTheEngineer: 'Feedback from the Engineer', + completedBy: 'Completed by', + completedTime: 'Completed time', + replyFromProjectContactPerson: 'Reply from project contact person', + answer: 'answer', + distributionEngineer: 'Distribution Engineer', + reminderHandling: 'Reminder handling', + addFeedback: 'Add feedback', + engineer: 'engineer', + engineeringConfirmationDetails: 'Engineering confirmation details', + reminder: 'reminder', + adopt: 'adopt', + reviewedByThePersonInCharge: 'Reviewed by the person in charge', + onlyDeleted: 'Only data whose list confirmation status is not initiated or rejected can be deleted', + experimentPassed: 'Experiment passed', + experimentFailed: 'Experiment failed', + toBeStarted: 'To be started', + inProgress: 'In Progress', + green: 'green', + red: 'red', + blue: 'blue', + yellow: 'yellow' } \ No newline at end of file diff --git a/jero-web/src/components/PersonnelSelection/index.vue b/jero-web/src/components/PersonnelSelection/index.vue index c03f72ed7..b417b1025 100644 --- a/jero-web/src/components/PersonnelSelection/index.vue +++ b/jero-web/src/components/PersonnelSelection/index.vue @@ -30,6 +30,7 @@ style="margin-bottom: 60px;height: 600px" v-if="treeVisible" checkable + checkStrictly :loading="loading" :tree-data="gData" @check="onCheck" diff --git a/jero-web/src/permission.js b/jero-web/src/permission.js index d0ac7014b..419112d34 100644 --- a/jero-web/src/permission.js +++ b/jero-web/src/permission.js @@ -49,8 +49,9 @@ router.beforeEach((to, from, next) => { message: '系统提示', description: '请求用户信息失败,请重试!' })*/ + // query: { redirect: to.fullPath } store.dispatch('Logout').then(() => { - next({ path: '/user/login', query: { redirect: to.fullPath } }) + next({ path: '/user/login', }) }) }) } else { @@ -62,7 +63,8 @@ router.beforeEach((to, from, next) => { // 在免登录白名单,直接进入 next() } else { - next({ path: '/user/login', query: { redirect: to.fullPath } }) + //query: { redirect: to.fullPath } + next({ path: '/user/login', }) NProgress.done() // if current page is login will not trigger afterEach hook, so manually handle it } }