|
@@ -251,10 +251,7 @@
|
|
|
</template>
|
|
|
</div>
|
|
|
<div class="lp_r_b_iconBtn">
|
|
|
- <div
|
|
|
- @click="getData"
|
|
|
- v-show="false"
|
|
|
- >
|
|
|
+ <div @click="getData" v-show="false">
|
|
|
<!-- v-if="['default', 'weChat', 'orgL', 'code'].includes(loginType)" -->
|
|
|
<el-tooltip effect="dark" content="随机码登录" placement="bottom">
|
|
|
<img
|
|
@@ -1030,27 +1027,29 @@ export default {
|
|
|
}
|
|
|
);
|
|
|
|
|
|
- // let userjson = await getUser({ userid: this.stuInfoCode.userid });
|
|
|
-
|
|
|
- // console.log("userjson", userjson);
|
|
|
- console.log('this.stuInfoCode',this.stuInfoCode);
|
|
|
-
|
|
|
+ let userjson = await getUser({ userid: this.stuInfoCode.userid });
|
|
|
|
|
|
+ console.log("this.stuInfoCode", this.stuInfoCode);
|
|
|
+ window.topU.U.UF.Cookie.set("cocoroboLoginType=2");
|
|
|
+ window.topU
|
|
|
+ ? (window.topU.US.userInfo = userjson)
|
|
|
+ : (window.parent.US.userInfo = userjson);
|
|
|
window.topU.postMessage(
|
|
|
{
|
|
|
tools: "inviteLogin",
|
|
|
userid: this.stuInfoCode.userid,
|
|
|
- courseId: ''
|
|
|
+ courseId: "",
|
|
|
},
|
|
|
"*"
|
|
|
);
|
|
|
|
|
|
this.$message.success("登录成功");
|
|
|
- sessionStorage.setItem("lytype", "courseDetail");
|
|
|
- // this.$router.push({ path: this.redirect || "/" });
|
|
|
|
|
|
this.$router.push({ path: "/", query: { courseId: this.courseId } });
|
|
|
+ sessionStorage.setItem("lytype", "courseDetail");
|
|
|
|
|
|
+ console.log('ok');
|
|
|
+
|
|
|
this.addOp3(
|
|
|
"1",
|
|
|
"",
|