|
|
@ -37,11 +37,12 @@ const getSignCode = () => { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
onBeforeMount(() => { |
|
|
onBeforeMount(() => { |
|
|
|
|
|
xingzhi.value = judgingEnvironment(); |
|
|
console.log("==============>",route.query.userkey,route.query.token) |
|
|
console.log("==============>",route.query.userkey,route.query.token) |
|
|
if(!userPinia.judgeIsLogin(route.query.userkey,route.query.token)){ |
|
|
if(!userPinia.judgeIsLogin(route.query.userkey,route.query.token)){ |
|
|
xingzhi.value = judgingEnvironment(); |
|
|
|
|
|
console.log("======1========>",xingzhi.value) |
|
|
console.log("======1========>",xingzhi.value) |
|
|
if(xingzhi.value == 3){ |
|
|
if(xingzhi.value == 2 || xingzhi.value == 3){ |
|
|
window.location.href="http://wab.hxgk.group/systemapi/wechat/obtaOnePage?systemapp="+import.meta.env.VITE_APP_SYSTEM_APP+"&isagain="+import.meta.env.VITE_APP_AGAIN+"&userid="+route.query.userid+"&call_back_type=login" |
|
|
window.location.href="http://wab.hxgk.group/systemapi/wechat/obtaOnePage?systemapp="+import.meta.env.VITE_APP_SYSTEM_APP+"&isagain="+import.meta.env.VITE_APP_AGAIN+"&userid="+route.query.userid+"&call_back_type=login" |
|
|
}else{ |
|
|
}else{ |
|
|
xingzhi.value = 1 |
|
|
xingzhi.value = 1 |
|
|
@ -144,9 +145,9 @@ const judgingEnvironment = () => { |
|
|
return 3; |
|
|
return 3; |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
<template>{{xingzhi}} |
|
|
<template> |
|
|
<div class="appBodyBeiJing appBody contentCenter"> |
|
|
<div class="appBodyBeiJing appBody contentCenter"> |
|
|
<el-card v-if="xingzhi==1" v-loading="true" element-loading-text="身份验证中!请耐心等待!..." style="max-width: 90%; min-width:80%; height:250px; background-color: rgba(255,255,255,0.1); border: rgba(255,255,255,0.1);" element-loading-background="rgba(255,255,255,0.6)"> |
|
|
<el-card v-if="xingzhi==3" v-loading="true" element-loading-text="身份验证中!请耐心等待!..." style="max-width: 90%; min-width:80%; height:250px; background-color: rgba(255,255,255,0.1); border: rgba(255,255,255,0.1);" element-loading-background="rgba(255,255,255,0.6)"> |
|
|
</el-card> |
|
|
</el-card> |
|
|
<el-card v-else style="max-width: 90%; background-color: rgba(255,255,255,0.6); border: rgba(255,255,255,0.6);"> |
|
|
<el-card v-else style="max-width: 90%; background-color: rgba(255,255,255,0.6); border: rgba(255,255,255,0.6);"> |
|
|
<template #header> |
|
|
<template #header> |
|
|
|