修改禅道已知bug

This commit is contained in:
qq787203167
2022-05-07 15:32:50 +08:00
parent 72ecc67954
commit 11853bb552
3 changed files with 68 additions and 65 deletions
+18 -18
View File
@@ -15,7 +15,7 @@ module.exports = {
frozen: 'frozen', frozen: 'frozen',
reset: 'reset', reset: 'reset',
putAway: 'Put away', putAway: 'Put away',
open: 'open', open: 'More',
addUser: 'add user', addUser: 'add user',
userInformation: 'user information', userInformation: 'user information',
export: 'export', export: 'export',
@@ -134,7 +134,7 @@ module.exports = {
enterMobileNumber: 'Please enter your mobile phone number', enterMobileNumber: 'Please enter your mobile phone number',
enterAddress: 'Please enter the address', enterAddress: 'Please enter the address',
address: 'address', address: 'address',
remarks: 'remarks', remarks: 'Comments',
enterComments: 'Please enter comments', enterComments: 'Please enter comments',
selectDepartmentFirst: 'Please select a department first!', selectDepartmentFirst: 'Please select a department first!',
OrganizationCode: 'Organization code', OrganizationCode: 'Organization code',
@@ -463,7 +463,7 @@ module.exports = {
charactersLength1to300: '1 - 300 characters in length', charactersLength1to300: '1 - 300 characters in length',
OnlyOneSelected: 'Only one piece of data can be selected', OnlyOneSelected: 'Only one piece of data can be selected',
OnlyPDF: 'Only PDF files can be imported', OnlyPDF: 'Only PDF files can be imported',
open: 'open', open: 'More',
away: 'away', away: 'away',
toDoProcess: 'To Do List', toDoProcess: 'To Do List',
processDone: 'Process done', processDone: 'Process done',
@@ -493,7 +493,7 @@ module.exports = {
ProcessType: 'Process type', ProcessType: 'Process type',
AddProcess: 'Add process', AddProcess: 'Add process',
RelatedItems: 'Related items', RelatedItems: 'Related items',
Sponsor: 'Sponsor', Sponsor: 'Initiator',
CurrentProcessor: 'Current processor', CurrentProcessor: 'Current processor',
LastProcessor: 'Last processor', LastProcessor: 'Last processor',
ProcessingTime: 'Processing time', ProcessingTime: 'Processing time',
@@ -534,7 +534,7 @@ module.exports = {
unsubscribeConfirm: 'unsubscribe confirm?', unsubscribeConfirm: 'unsubscribe confirm?',
confirmCancelCollection: 'confirm to cancel collection?', confirmCancelCollection: 'confirm to cancel collection?',
theRelease: 'The release date should not exceed the standard implementation date', theRelease: 'The release date should not exceed the standard implementation date',
zoneOfApplication: 'zone of application', zoneOfApplication: 'Area',
releaseDate: 'release Date', releaseDate: 'release Date',
standardImplementationTime: 'Standard implementation time', standardImplementationTime: 'Standard implementation time',
onlyPicture: 'only upload pictures!', onlyPicture: 'only upload pictures!',
@@ -582,20 +582,20 @@ module.exports = {
instructionForUse: 'instruction for use', instructionForUse: 'instruction for use',
subtitle: 'Sub-Title', subtitle: 'Sub-Title',
scopeOfApplication: 'Scope of application', scopeOfApplication: 'Scope of application',
correspondingStandard: 'Corresponding standard', correspondingStandard: 'Compare',
implementationCategory: 'Implementation category', implementationCategory: 'Usage',
certificationType: 'Certification Type', certificationType: 'Certification Type',
certificationLevel: 'Certification Level', certificationLevel: 'Certification Level',
areaOfResponsibility: 'Responsible Field', areaOfResponsibility: 'Responsible Field',
confirmationOfDesignConformity: 'Design Compliance Check Deliverable', confirmationOfDesignConformity: 'Design Compliance Check',
Deliverables: 'Deliverables', Deliverables: 'Deliverables',
personLiable: 'person liable', personLiable: 'Assignee',
PrehomoConfirmation: 'Prehomo confirmation', PrehomoConfirmation: 'Pre-homo Check',
verificationAndConformityconfirmation: 'Verification and conformity confirmation', verificationAndConformityconfirmation: 'Validation Compliance Check',
StandardImplementationDate: 'Standard implementation date', StandardImplementationDate: 'Standard implementation date',
regulatoryEngineer: 'Regulatory Engineer', regulatoryEngineer: 'Regulation Engineer',
certifiedEngineer: 'Certified Engineer', certifiedEngineer: 'Homologation Engineer',
engineeringInterfacePerson: 'Engineering interface person', engineeringInterfacePerson: 'Engineering Interface',
typeOfDeliverables: 'Type of deliverables', typeOfDeliverables: 'Type of deliverables',
deliverableTemplate: 'Deliverable template', deliverableTemplate: 'Deliverable template',
entryName: 'entry name', entryName: 'entry name',
@@ -609,7 +609,7 @@ module.exports = {
certificationProgramInformation: 'Certification program information', certificationProgramInformation: 'Certification program information',
taskReleaseStatus: 'Task release status', taskReleaseStatus: 'Task release status',
task: 'task', task: 'task',
TaskCutOffTime: 'Task cut-off time', TaskCutOffTime: 'Due Date',
Transfer: 'Transfer', Transfer: 'Transfer',
CertificationDirectory: 'Certification directory', CertificationDirectory: 'Certification directory',
TaskRequirements: 'Task requirements', TaskRequirements: 'Task requirements',
@@ -660,8 +660,8 @@ module.exports = {
initiateTaskConfirmation: 'Initiate task confirmation', initiateTaskConfirmation: 'Initiate task confirmation',
alteration: 'alteration', alteration: 'alteration',
fixedPlate: 'Fixed plate', fixedPlate: 'Fixed plate',
taskAffirmStatus: 'task Affirm Status', taskAffirmStatus: 'Task Confirmation Status',
listConfirmationStatus: 'List confirmation status', listConfirmationStatus: 'List Confirmation Status',
ListConfirmationDeadline: 'List confirmation deadline', 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', 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', pleaseSelectPersonFirst: 'Please select a person first',
@@ -786,5 +786,5 @@ module.exports = {
green: 'green', green: 'green',
red: 'red', red: 'red',
blue: 'blue', blue: 'blue',
yellow:'yellow', yellow: 'yellow'
} }
@@ -30,6 +30,7 @@
style="margin-bottom: 60px;height: 600px" style="margin-bottom: 60px;height: 600px"
v-if="treeVisible" v-if="treeVisible"
checkable checkable
checkStrictly
:loading="loading" :loading="loading"
:tree-data="gData" :tree-data="gData"
@check="onCheck" @check="onCheck"
+4 -2
View File
@@ -49,8 +49,9 @@ router.beforeEach((to, from, next) => {
message: '系统提示', message: '系统提示',
description: '请求用户信息失败,请重试!' description: '请求用户信息失败,请重试!'
})*/ })*/
// query: { redirect: to.fullPath }
store.dispatch('Logout').then(() => { store.dispatch('Logout').then(() => {
next({ path: '/user/login', query: { redirect: to.fullPath } }) next({ path: '/user/login', })
}) })
}) })
} else { } else {
@@ -62,7 +63,8 @@ router.beforeEach((to, from, next) => {
// 在免登录白名单,直接进入 // 在免登录白名单,直接进入
next() next()
} else { } 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 NProgress.done() // if current page is login will not trigger afterEach hook, so manually handle it
} }
} }