|
@@ -263,15 +263,17 @@ import Base64 from 'base-64'
|
|
|
// Cookies.set('iamCode', iamCode)
|
|
// Cookies.set('iamCode', iamCode)
|
|
|
this.$router.push({ path: '/' })
|
|
this.$router.push({ path: '/' })
|
|
|
} else {
|
|
} else {
|
|
|
- this.$router.push({ name: 'login' })
|
|
|
|
|
|
|
+ // this.$router.push({ name: 'login' })
|
|
|
// this.$router.push({ name: 'loginWqx' })
|
|
// this.$router.push({ name: 'loginWqx' })
|
|
|
- window.open('https://dgiam.scp.dgyt.petrochina/401', '_blank')
|
|
|
|
|
|
|
+ // window.open('https://dgiam.scp.dgyt.petrochina/401', '_blank')
|
|
|
|
|
+ window.location.href = 'https://dgiam.scp.dgyt.petrochina/401'
|
|
|
// this.$message.error({
|
|
// this.$message.error({
|
|
|
// duration: 10000,
|
|
// duration: 10000,
|
|
|
// message: '您无权限登陆本系统'
|
|
// message: '您无权限登陆本系统'
|
|
|
// })
|
|
// })
|
|
|
}
|
|
}
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
|
|
+ window.location.href = 'https://dgiam.scp.dgyt.petrochina/401'
|
|
|
console.error(err)
|
|
console.error(err)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|