|
|
@@ -395,12 +395,22 @@ export default {
|
|
|
this.addOp3('1', "", { courseid: this.courseId , type: (this.roleUser.type == 1 ? '_teacher' : '_student') + "CocoNote_open" }, "success")
|
|
|
} else {
|
|
|
this.$message.error("没有加入分组请先加入分组");
|
|
|
- this.goToCourse3(this.courseId)
|
|
|
+ // this.goToCourse3(this.courseId)
|
|
|
+ this.openApp4({
|
|
|
+ stateL: true,
|
|
|
+ toolId: "synergyCourse/add",
|
|
|
+ clearL: true,
|
|
|
+ });
|
|
|
this.addOp3('1', "", { courseid: this.courseId , type: (this.roleUser.type == 1 ? '_teacher' : '_student') + "CocoNote_open" }, '没有加入分组请先加入分组')
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.error("没有加入分组请先加入分组");
|
|
|
- this.goToCourse3(this.courseId)
|
|
|
+ // this.goToCourse3(this.courseId)
|
|
|
+ this.openApp4({
|
|
|
+ stateL: true,
|
|
|
+ toolId: "synergyCourse/add",
|
|
|
+ clearL: true,
|
|
|
+ });
|
|
|
this.addOp3('1', "", { courseid: this.courseId , type: (this.roleUser.type == 1 ? '_teacher' : '_student') + "CocoNote_open" }, '没有加入分组请先加入分组')
|
|
|
}
|
|
|
} catch (error) {
|
|
|
@@ -533,45 +543,11 @@ export default {
|
|
|
}, 2000);
|
|
|
}
|
|
|
},
|
|
|
+ // iframe加载完成
|
|
|
async handleLoad(){
|
|
|
this.loading = false;
|
|
|
console.log('iframe加载完成');
|
|
|
},
|
|
|
- goToCourse3() {
|
|
|
-
|
|
|
- // if (courseId) {
|
|
|
-
|
|
|
- this.openApp4({
|
|
|
- stateL: true,
|
|
|
- toolId: "synergyCourse/add",
|
|
|
- clearL: true,
|
|
|
- });
|
|
|
- // this.$router.push(
|
|
|
- // "/synergyCourse/add?cid=" +
|
|
|
- // courseId +
|
|
|
- // "&userid=" +
|
|
|
- // this.userid +
|
|
|
- // "&oid=" +
|
|
|
- // this.oid +
|
|
|
- // "&org=" +
|
|
|
- // this.org +
|
|
|
- // "&role=" +
|
|
|
- // this.role
|
|
|
- // );
|
|
|
- // } else {
|
|
|
- // this.$router.push(
|
|
|
- // "/synergyCourse/add?userid=" +
|
|
|
- // this.userid +
|
|
|
- // "&oid=" +
|
|
|
- // this.oid +
|
|
|
- // "&org=" +
|
|
|
- // this.org +
|
|
|
- // "&role=" +
|
|
|
- // this.role
|
|
|
- // );
|
|
|
- // this.addOp3('1', "", { type: "CocoNote_standard_add" }, "success")
|
|
|
- // }
|
|
|
- },
|
|
|
async handleLogout() {
|
|
|
this.$confirm(this.lang.sureexit, this.lang.tip, {
|
|
|
confirmButtonText: this.lang.confirm,
|
|
|
@@ -833,10 +809,12 @@ export default {
|
|
|
this.editInfo();
|
|
|
}
|
|
|
// this.getMsg()
|
|
|
- if(this.cocoNoteType){
|
|
|
+ // 跨学科app跳转
|
|
|
+ if(this.cocoNoteType == 'coconote'){
|
|
|
this.cocoNoteif()
|
|
|
return
|
|
|
}else if (this.courseId) {
|
|
|
+ // 随机码登录跳转
|
|
|
this.openApp2({
|
|
|
stateL: true,
|
|
|
toolId: "courseDetail",
|