|
@@ -2170,7 +2170,16 @@ export default {
|
|
|
a = this.wbCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "1" }, "*");
|
|
|
+ window.parent.postMessage(
|
|
|
+ {
|
|
|
+ tools: "1",
|
|
|
+ cid: this.id,
|
|
|
+ stage: this.courseType,
|
|
|
+ task: this.taskCount,
|
|
|
+ tool: i,
|
|
|
+ },
|
|
|
+ "*"
|
|
|
+ );
|
|
|
} else if (t == 2) {
|
|
|
if (this.wordCount > 0) {
|
|
|
this.updateCount(this.wordCount, t);
|
|
@@ -2188,7 +2197,16 @@ export default {
|
|
|
a = this.mindCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "3" }, "*");
|
|
|
+ window.parent.postMessage(
|
|
|
+ {
|
|
|
+ tools: "3",
|
|
|
+ cid: this.id,
|
|
|
+ stage: this.courseType,
|
|
|
+ task: this.taskCount,
|
|
|
+ tool: i,
|
|
|
+ },
|
|
|
+ "*"
|
|
|
+ );
|
|
|
} else if (t == 4) {
|
|
|
this.radio = [];
|
|
|
this.isAnswer = false;
|
|
@@ -2231,7 +2249,16 @@ export default {
|
|
|
a = this.noteCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "6" }, "*");
|
|
|
+ window.parent.postMessage(
|
|
|
+ {
|
|
|
+ tools: "6",
|
|
|
+ cid: this.id,
|
|
|
+ stage: this.courseType,
|
|
|
+ task: this.taskCount,
|
|
|
+ tool: i,
|
|
|
+ },
|
|
|
+ "*"
|
|
|
+ );
|
|
|
} else if (t == 7) {
|
|
|
if (this.mindNetWorkCount > 0) {
|
|
|
this.updateCount(this.mindNetWorkCount, t);
|
|
@@ -2240,7 +2267,16 @@ export default {
|
|
|
a = this.mindNetWorkCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "7" }, "*");
|
|
|
+ window.parent.postMessage(
|
|
|
+ {
|
|
|
+ tools: "7",
|
|
|
+ cid: this.id,
|
|
|
+ stage: this.courseType,
|
|
|
+ task: this.taskCount,
|
|
|
+ tool: i,
|
|
|
+ },
|
|
|
+ "*"
|
|
|
+ );
|
|
|
} else if (t == 16) {
|
|
|
if (this.workCount > 0) {
|
|
|
this.updateCount(this.workCount, t);
|