Merge branch 'develop' into FOTON

This commit is contained in:
super_liu
2021-12-18 16:30:39 +08:00
+8 -1
View File
@@ -115,7 +115,14 @@ router.beforeEach(function (to, from, next) {
next()
}
} else {
next()
if (toName.slice(0,5) !== 'phone') {
let paramPhone = 'taskIds=' + taskId + '&prcId=' + prcId + '&prcNum=' + prcNum +
'&taskAssignee=' + toName + '&prcName=' + prcName + '&prcType=' + prcType
let phoneRouter = 'phone' + toName.charAt(0).toUpperCase() + toName.slice(1)
next({path: phoneRouter + '?' + paramPhone})
}else {
next()
}
}
} else {
if ((token === null || token === '' ) && toName !== 'Login') {