|
|
@@ -414,6 +414,8 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
if (groupCid) {
|
|
|
+ console.log('66666');
|
|
|
+
|
|
|
window.topU.postMessage(
|
|
|
{
|
|
|
tools: "opencCscl2",
|
|
|
@@ -424,6 +426,8 @@ export default {
|
|
|
);
|
|
|
this.addOp3('1', "", { courseid: this.courseId , type: (this.roleUser.type == 1 ? '_teacher' : '_student') + "CocoNote_open" }, "success")
|
|
|
} else {
|
|
|
+ console.log('777');
|
|
|
+
|
|
|
this.$message.error("没有加入分组请先加入分组");
|
|
|
this.openApp2({
|
|
|
stateL: true,
|
|
|
@@ -432,6 +436,8 @@ export default {
|
|
|
this.addOp3('1', "", { courseid: this.courseId , type: (this.roleUser.type == 1 ? '_teacher' : '_student') + "CocoNote_open" }, '没有加入分组请先加入分组')
|
|
|
}
|
|
|
} else {
|
|
|
+ console.log('888');
|
|
|
+
|
|
|
this.$message.error("没有加入分组请先加入分组");
|
|
|
// this.goToCourse3(this.courseId)
|
|
|
this.openApp2({
|
|
|
@@ -605,7 +611,7 @@ export default {
|
|
|
// 生成学生跳转到课程详情的链接
|
|
|
async openApp2(val) {
|
|
|
let url = '';
|
|
|
- let argumentList = ["courseId","userid", "oid", "org","cid","tType","screenType"];
|
|
|
+ let argumentList = ["courseId","userid", "oid", "org","role","cid","tType","screenType"];
|
|
|
let teabeta = 'https://beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/'
|
|
|
let teacn = 'https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/'
|
|
|
let teahk = 'https://pbl.cocorobo.hk/pbl-teacher-table/dist/#/'
|