|
@@ -347,7 +347,26 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
async cocoNoteif(){
|
|
async cocoNoteif(){
|
|
|
|
|
+ this.openApp3({
|
|
|
|
|
+ stateL: true,
|
|
|
|
|
+ toolId: "synergyCourse",
|
|
|
|
|
+ clearL: true,
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
if (this.cocoNoteType && this.courseId) {
|
|
if (this.cocoNoteType && this.courseId) {
|
|
|
|
|
+ if (window.topU.US.userInfo.role==1) {
|
|
|
|
|
+ window.topU.postMessage(
|
|
|
|
|
+ {
|
|
|
|
|
+ tools: "opencCscl",
|
|
|
|
|
+ cid: this.courseId,
|
|
|
|
|
+ gid: '',
|
|
|
|
|
+ },
|
|
|
|
|
+ "*"
|
|
|
|
|
+ );
|
|
|
|
|
+ this.addOp3('1', "", { courseid: this.courseId , type: "CocoNote_open" }, "success")
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
let params = {
|
|
let params = {
|
|
|
cid: this.courseId,
|
|
cid: this.courseId,
|
|
|
classid: '1',
|
|
classid: '1',
|
|
@@ -365,11 +384,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (groupCid) {
|
|
if (groupCid) {
|
|
|
- this.openApp3({
|
|
|
|
|
- stateL: true,
|
|
|
|
|
- toolId: "synergyCourse",
|
|
|
|
|
- clearL: true,
|
|
|
|
|
- });
|
|
|
|
|
window.topU.postMessage(
|
|
window.topU.postMessage(
|
|
|
{
|
|
{
|
|
|
tools: "opencCscl",
|
|
tools: "opencCscl",
|