Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
宋伟佳
2022-04-14 15:08:51 +08:00
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -189,7 +189,7 @@ router.beforeEach(function (to, from, next) {
if (taskId !== undefined && taskId !== null && prcId !== undefined && prcId !== null) { if (taskId !== undefined && taskId !== null && prcId !== undefined && prcId !== null) {
extractedVerify(token) extractedVerify(token)
}else { }else {
if((fromName === undefined || fromName === null) && path.indexOf("/standardSearch/All&userName") !== -1){ if((fromName === undefined || fromName === null) && (path.indexOf("/standardSearch/All&userName") !== -1 || path.indexOf("/standardSearch/All?userName") !== -1)){
extractedLocalStorage("standardSearch/All",userName) extractedLocalStorage("standardSearch/All",userName)
localStorage.setItem('external', "external") localStorage.setItem('external', "external")
next('/LoginVerifyNoEncryption') next('/LoginVerifyNoEncryption')
@@ -388,7 +388,7 @@ router.beforeEach(function (to, from, next) {
next() next()
} }
}else { }else {
if((fromName === undefined || fromName === null) && path.indexOf("/standardSearch/All&userName") !== -1) { if((fromName === undefined || fromName === null) && (path.indexOf("/standardSearch/All&userName") !== -1 || path.indexOf("/standardSearch/All?userName") !== -1)) {
extractedLocalStorage("standardSearch/All",userName) extractedLocalStorage("standardSearch/All",userName)
localStorage.setItem('external', "external") localStorage.setItem('external', "external")
next('/LoginVerifyNoEncryption') next('/LoginVerifyNoEncryption')
@@ -1679,6 +1679,8 @@ export default {
} }
}) })
window.open(routeUrl.href, '_blank') window.open(routeUrl.href, '_blank')
}else {
this.$message.error('政策号已不存在!')
} }
}, e => { }, e => {
}) })