|
@@ -1313,7 +1313,7 @@ export default {
|
|
|
// this.taskCount = index;
|
|
|
this.toolindex = i;
|
|
|
if (t == 1) {
|
|
|
- window.opener.postMessage(
|
|
|
+ window.parent.postMessage(
|
|
|
{
|
|
|
tools: "1s",
|
|
|
cid: this.id,
|
|
@@ -1331,9 +1331,9 @@ export default {
|
|
|
a = this.wordCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage({ tools: "2" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "2" }, "*");
|
|
|
} else if (t == 3) {
|
|
|
- window.opener.postMessage(
|
|
|
+ window.parent.postMessage(
|
|
|
{
|
|
|
tools: "3s",
|
|
|
cid: this.id,
|
|
@@ -1374,7 +1374,7 @@ export default {
|
|
|
}
|
|
|
this.dialogVisible5 = true;
|
|
|
|
|
|
- // window.opener.postMessage({ tools: "4" }, "*");
|
|
|
+ // window.parent.postMessage({ tools: "4" }, "*");
|
|
|
} else if (t == 45) {
|
|
|
this.noteName = "";
|
|
|
this.radio = [];
|
|
@@ -1400,7 +1400,7 @@ export default {
|
|
|
|
|
|
this.dialogVisibleChoice = true;
|
|
|
|
|
|
- // window.opener.postMessage({ tools: "4" }, "*");
|
|
|
+ // window.parent.postMessage({ tools: "4" }, "*");
|
|
|
} else if (t == 5) {
|
|
|
if (this.scoreCount > 0) {
|
|
|
this.updateCount(this.scoreCount, t);
|
|
@@ -1410,9 +1410,9 @@ export default {
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
this.dialogVisible4 = true;
|
|
|
- // window.opener.postMessage({ tools: "5" }, "*");
|
|
|
+ // window.parent.postMessage({ tools: "5" }, "*");
|
|
|
} else if (t == 6) {
|
|
|
- window.opener.postMessage(
|
|
|
+ window.parent.postMessage(
|
|
|
{
|
|
|
tools: "6s",
|
|
|
cid: this.id,
|
|
@@ -1430,7 +1430,7 @@ export default {
|
|
|
a = this.mindNetWorkCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage(
|
|
|
+ window.parent.postMessage(
|
|
|
{
|
|
|
tools: "7",
|
|
|
cid: this.id,
|
|
@@ -1457,7 +1457,7 @@ export default {
|
|
|
a = this.libraryCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage({ tools: "8" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "8" }, "*");
|
|
|
} else if (t == 17) {
|
|
|
if (this.libraryCount > 0) {
|
|
|
this.updateCount(this.libraryCount, t);
|
|
@@ -1466,7 +1466,7 @@ export default {
|
|
|
a = this.libraryCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage({ tools: "17" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "17" }, "*");
|
|
|
} else if (t == 18) {
|
|
|
if (this.trainCount > 0) {
|
|
|
this.updateCount(this.trainCount, t);
|
|
@@ -1475,7 +1475,7 @@ export default {
|
|
|
a = this.trainCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage({ tools: "18" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "18" }, "*");
|
|
|
} else if (t == 10) {
|
|
|
if (this.timeCount > 0) {
|
|
|
this.updateCount(this.timeCount, t);
|
|
@@ -1502,29 +1502,29 @@ export default {
|
|
|
: "";
|
|
|
this.answerDialogVisible = true;
|
|
|
} else if (t == 21) {
|
|
|
- window.opener.postMessage({ tools: "21" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "21" }, "*");
|
|
|
} else if (t == 22) {
|
|
|
- window.opener.postMessage({ tools: "22" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "22" }, "*");
|
|
|
} else if (t == 23) {
|
|
|
- window.opener.postMessage({ tools: "23" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "23" }, "*");
|
|
|
} else if (t == 24) {
|
|
|
- window.opener.postMessage({ tools: "24" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "24" }, "*");
|
|
|
} else if (t == 25) {
|
|
|
- window.opener.postMessage({ tools: "25" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "25" }, "*");
|
|
|
} else if (t == 31) {
|
|
|
- window.opener.postMessage({ tools: "31" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "31" }, "*");
|
|
|
} else if (t == 28) {
|
|
|
- window.opener.postMessage({ tools: "28" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "28" }, "*");
|
|
|
} else if (t == 37) {
|
|
|
- window.opener.postMessage({ tools: "37" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "37" }, "*");
|
|
|
} else if (t == 38) {
|
|
|
- window.opener.postMessage({ tools: "38" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "38" }, "*");
|
|
|
} else if (t == 39) {
|
|
|
- window.opener.postMessage({ tools: "39" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "39" }, "*");
|
|
|
} else if (t == 32) {
|
|
|
- window.opener.postMessage({ tools: "32" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "32" }, "*");
|
|
|
} else if (t == 26) {
|
|
|
- window.opener.postMessage(
|
|
|
+ window.parent.postMessage(
|
|
|
{
|
|
|
tools: "26",
|
|
|
cid: this.id,
|
|
@@ -1601,7 +1601,7 @@ export default {
|
|
|
this.isSelect = false;
|
|
|
this.dialogVisibleSelect = true;
|
|
|
} else if (t == 44) {
|
|
|
- window.opener.postMessage({ tools: "44" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "44" }, "*");
|
|
|
}
|
|
|
},
|
|
|
addCourseState(type) {
|