未符合项整改手机端页面调整
This commit is contained in:
+13
-5
@@ -116,12 +116,16 @@ router.beforeEach(function (to, from, next) {
|
||||
}
|
||||
} else {
|
||||
if (toName.slice(0,5) !== 'phone') {
|
||||
let paramPhone = 'taskIds=' + taskId + '&prcId=' + prcId + '&prcNum=' + prcNum +
|
||||
if (toName === 'processCenter') {
|
||||
next()
|
||||
}else {
|
||||
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})
|
||||
let phoneRouter = 'phone' + toName.charAt(0).toUpperCase() + toName.slice(1)
|
||||
next({path: phoneRouter + '?' + paramPhone})
|
||||
}
|
||||
}else {
|
||||
next()
|
||||
extractedVerify(token)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -232,7 +236,11 @@ router.beforeEach(function (to, from, next) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
extracted3()
|
||||
if (isMobile()){
|
||||
next()
|
||||
} else {
|
||||
extracted3()
|
||||
}
|
||||
}
|
||||
}
|
||||
function extracted(routerPath) {
|
||||
|
||||
Reference in New Issue
Block a user