|
@@ -102,7 +102,7 @@ export default {
|
|
|
mounted() {
|
|
|
|
|
|
document.title = '中国东信智慧园区'
|
|
|
- Cookies.set("openid57",'o5P6I5tLj-TjrK7leWUT8EFmTCa4') //本地测试
|
|
|
+ //Cookies.set("openid57",'o5P6I5tLj-TjrK7leWUT8EFmTCa4') //本地测试
|
|
|
if(Cookies.get('rememberMe57')){
|
|
|
this.loginForm.rememberMe = Boolean(Cookies.get('rememberMe57'))
|
|
|
}
|
|
@@ -185,8 +185,8 @@ export default {
|
|
|
},
|
|
|
login_info() {
|
|
|
if(Cookies.get("openid57") && Cookies.get("username57") && Cookies.get("password57")){
|
|
|
- //window.location.href = "https://smartpark.caih.com/vuepay/#/home"
|
|
|
- this.$router.push({ path: `/home`})
|
|
|
+ window.location.href = "https://smartpark.caih.com/vuepay/#/home"
|
|
|
+ //this.$router.push({ path: `/home`})
|
|
|
}else{
|
|
|
this.$refs.loginForm.validate(valid => {
|
|
|
if (valid) {
|
|
@@ -242,8 +242,8 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
setTimeout(()=>{
|
|
|
- this.$router.push({ path: `/home`})
|
|
|
- //window.location.href = "https://smartpark.caih.com/vuepay/#/home"
|
|
|
+ //this.$router.push({ path: `/home`})
|
|
|
+ window.location.href = "https://smartpark.caih.com/vuepay/#/home"
|
|
|
},200)
|
|
|
})
|
|
|
})
|