|
@@ -127,7 +127,14 @@ export default {
|
|
|
this.getCourse();
|
|
|
},
|
|
|
lookMore(){
|
|
|
- sessionStorage.setItem('gotype', this.$route.path);
|
|
|
+
|
|
|
+ try {
|
|
|
+ window.topU.gotype = this.$route.path
|
|
|
+ } catch (error) {
|
|
|
+ console.log(error);
|
|
|
+ }
|
|
|
+
|
|
|
+ // sessionStorage.setItem('gotype', this.$route.path);
|
|
|
let to = `/pbl-student-table/dist/#/index?userid=${this.$route.query.userid}&oid=${this.$route.query.oid}&org=${this.$route.query.org}&role=${this.$route.query.role}&tType=${this.$route.query.tType}&cid=&screenType=3&gotype=1`
|
|
|
let con = this.betaL =='beta'? 'https://beta.pbl.cocorobo.cn' : 'https://pbl.cocorobo.cn'
|
|
|
console.log( `${con}${to}`);
|
|
@@ -265,7 +272,12 @@ export default {
|
|
|
window.topU.postMessage({ cid: item.courseId, screenType: "3" }, "*");
|
|
|
},
|
|
|
goToCourse(courseId) {
|
|
|
- sessionStorage.setItem('gotype', 'backCourseCon');
|
|
|
+ try {
|
|
|
+ window.topU.gotype = 'backCourseCon'
|
|
|
+ } catch (error) {
|
|
|
+ console.log(error);
|
|
|
+ }
|
|
|
+ // sessionStorage.setItem('gotype', 'backCourseCon');
|
|
|
|
|
|
this.goToCourse4(courseId)
|
|
|
},
|