|
@@ -13340,7 +13340,7 @@ export default {
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
jump() {
|
|
|
- window.parent.postMessage({ tools: "43" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "43" }, "*");
|
|
|
},
|
|
|
getUpdateMore(f, checkboxList, searchTN, index) {
|
|
|
this.dialogVisibleMember = f;
|
|
@@ -16657,7 +16657,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
allScrell() {
|
|
|
- window.parent.postMessage({ allScreen: this.screenType }, "*");
|
|
|
+ window.topU.postMessage({ allScreen: this.screenType }, "*");
|
|
|
},
|
|
|
nextOrpreSteps(t) {
|
|
|
if (this.IsFollow && this.tType == 2) {
|
|
@@ -18674,7 +18674,7 @@ export default {
|
|
|
a = this.wbCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage(
|
|
|
+ window.topU.postMessage(
|
|
|
{
|
|
|
tools: "1",
|
|
|
cid: this.id,
|
|
@@ -18692,7 +18692,7 @@ export default {
|
|
|
a = this.wordCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "2" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "2" }, "*");
|
|
|
} else if (t == 3) {
|
|
|
if (this.mindCount > 0) {
|
|
|
this.updateCount(this.mindCount, t);
|
|
@@ -18701,7 +18701,7 @@ export default {
|
|
|
a = this.mindCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage(
|
|
|
+ window.topU.postMessage(
|
|
|
{
|
|
|
tools: "3",
|
|
|
cid: this.id,
|
|
@@ -18750,7 +18750,7 @@ export default {
|
|
|
}
|
|
|
this.dialogVisible5 = true;
|
|
|
|
|
|
- // window.parent.postMessage({ tools: "4" }, "*");
|
|
|
+ // window.topU.postMessage({ tools: "4" }, "*");
|
|
|
} else if (t == 45) {
|
|
|
this.noteName = "";
|
|
|
this.radio = [];
|
|
@@ -18776,7 +18776,7 @@ export default {
|
|
|
|
|
|
this.dialogVisibleChoice = true;
|
|
|
|
|
|
- // window.parent.postMessage({ tools: "4" }, "*");
|
|
|
+ // window.topU.postMessage({ tools: "4" }, "*");
|
|
|
} else if (t == 5) {
|
|
|
if (this.scoreCount > 0) {
|
|
|
this.updateCount(this.scoreCount, t);
|
|
@@ -18786,7 +18786,7 @@ export default {
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
this.dialogVisible4 = true;
|
|
|
- // window.parent.postMessage({ tools: "5" }, "*");
|
|
|
+ // window.topU.postMessage({ tools: "5" }, "*");
|
|
|
} else if (t == 6) {
|
|
|
if (this.noteCount > 0) {
|
|
|
this.updateCount(this.noteCount, t);
|
|
@@ -18795,7 +18795,7 @@ export default {
|
|
|
a = this.noteCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage(
|
|
|
+ window.topU.postMessage(
|
|
|
{
|
|
|
tools: "6",
|
|
|
cid: this.id,
|
|
@@ -18813,7 +18813,7 @@ export default {
|
|
|
a = this.mindNetWorkCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage(
|
|
|
+ window.topU.postMessage(
|
|
|
{
|
|
|
tools: "7",
|
|
|
cid: this.id,
|
|
@@ -18858,7 +18858,7 @@ export default {
|
|
|
a = this.libraryCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "8" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "8" }, "*");
|
|
|
} else if (t == 17) {
|
|
|
if (this.libraryCount > 0) {
|
|
|
this.updateCount(this.libraryCount, t);
|
|
@@ -18867,7 +18867,7 @@ export default {
|
|
|
a = this.libraryCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "17" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "17" }, "*");
|
|
|
} else if (t == 18) {
|
|
|
if (this.trainCount > 0) {
|
|
|
this.updateCount(this.trainCount, t);
|
|
@@ -18876,7 +18876,7 @@ export default {
|
|
|
a = this.trainCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.parent.postMessage({ tools: "18" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "18" }, "*");
|
|
|
} else if (t == 10) {
|
|
|
if (this.timeCount > 0) {
|
|
|
this.updateCount(this.timeCount, t);
|
|
@@ -18908,36 +18908,36 @@ export default {
|
|
|
: "";
|
|
|
this.answerDialogVisible = true;
|
|
|
} else if (t == 21) {
|
|
|
- window.parent.postMessage({ tools: "21" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "21" }, "*");
|
|
|
} else if (t == 22) {
|
|
|
- window.parent.postMessage({ tools: "22" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "22" }, "*");
|
|
|
} else if (t == 23) {
|
|
|
- window.parent.postMessage({ tools: "23" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "23" }, "*");
|
|
|
} else if (t == 24) {
|
|
|
- window.parent.postMessage({ tools: "24" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "24" }, "*");
|
|
|
} else if (t == 25) {
|
|
|
- window.parent.postMessage({ tools: "25" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "25" }, "*");
|
|
|
} else if (t == 31) {
|
|
|
- window.parent.postMessage({ tools: "31" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "31" }, "*");
|
|
|
} else if (t == 28) {
|
|
|
- window.parent.postMessage({ tools: "28" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "28" }, "*");
|
|
|
} else if (t == 37) {
|
|
|
- window.parent.postMessage({ tools: "37" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "37" }, "*");
|
|
|
} else if (t == 38) {
|
|
|
- window.parent.postMessage({ tools: "38" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "38" }, "*");
|
|
|
} else if (t == 39) {
|
|
|
- window.parent.postMessage({ tools: "39" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "39" }, "*");
|
|
|
} else if (t == 32) {
|
|
|
- window.parent.postMessage({ tools: "32" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "32" }, "*");
|
|
|
} else if (t == 66) {
|
|
|
- window.parent.postMessage({ tools: "66" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "66" }, "*");
|
|
|
} else if (t == 67) {
|
|
|
- window.parent.postMessage({ tools: "67" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "67" }, "*");
|
|
|
} else if (t == 68) {
|
|
|
- window.parent.postMessage({ tools: "68" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "68" }, "*");
|
|
|
} else if (t == 57) {
|
|
|
- // window.parent.postMessage({ tools: "57" }, "*");
|
|
|
- window.parent.postMessage(
|
|
|
+ // window.topU.postMessage({ tools: "57" }, "*");
|
|
|
+ window.topU.postMessage(
|
|
|
{
|
|
|
tools: "57u",
|
|
|
cid: this.id,
|
|
@@ -18948,21 +18948,21 @@ export default {
|
|
|
"*"
|
|
|
);
|
|
|
} else if (t == 58) {
|
|
|
- window.parent.postMessage({ tools: "58" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "58" }, "*");
|
|
|
} else if (t == 59) {
|
|
|
- window.parent.postMessage({ tools: "59" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "59" }, "*");
|
|
|
} else if (t == 60) {
|
|
|
- window.parent.postMessage({ tools: "60" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "60" }, "*");
|
|
|
} else if (t == 61) {
|
|
|
- window.parent.postMessage({ tools: "61" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "61" }, "*");
|
|
|
} else if (t == 63) {
|
|
|
- window.parent.postMessage({ tools: "63" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "63" }, "*");
|
|
|
} else if (t == 71) {
|
|
|
// if(this.org == '16ace517-b5c7-4168-a9bb-a9e0035df840'){
|
|
|
// this.$message.error("该工具不可使用");
|
|
|
// return
|
|
|
// }
|
|
|
- window.parent.postMessage({ tools: "71" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "71" }, "*");
|
|
|
} else if (t == 72) {
|
|
|
let item = this.chapInfoList[this.courseType].chapterInfo[0]
|
|
|
.taskJson[index].toolChoose[i].appJson
|
|
@@ -18979,7 +18979,7 @@ export default {
|
|
|
this.$refs.appStoreC.getData(item.url,this.userid)
|
|
|
|
|
|
// window.open(item.url, "_blank");
|
|
|
- // window.parent.postMessage({ tools: "72", data: item }, "*");
|
|
|
+ // window.topU.postMessage({ tools: "72", data: item }, "*");
|
|
|
} else if (t == 69) {
|
|
|
if (this.worksStudent[i].length) {
|
|
|
for (var k = 0; k < this.worksStudent[i].length; k++) {
|
|
@@ -19038,7 +19038,7 @@ export default {
|
|
|
}
|
|
|
this.selectPickStudent();
|
|
|
} else if (t == 26) {
|
|
|
- window.parent.postMessage(
|
|
|
+ window.topU.postMessage(
|
|
|
{
|
|
|
tools: "26",
|
|
|
cid: this.id,
|
|
@@ -19115,7 +19115,7 @@ export default {
|
|
|
this.isSelect = false;
|
|
|
this.dialogVisibleSelect = true;
|
|
|
} else if (t == 44) {
|
|
|
- window.parent.postMessage({ tools: "44" }, "*");
|
|
|
+ window.topU.postMessage({ tools: "44" }, "*");
|
|
|
} else if (t == 47) {
|
|
|
this.sentenceList = this.chapInfoList[this.courseType].chapterInfo[0]
|
|
|
.taskJson[index].toolChoose[i].sentenceList
|
|
@@ -19406,7 +19406,7 @@ export default {
|
|
|
this.isStar = false;
|
|
|
this.studentEvalDialogVisibleTeacher = true;
|
|
|
} else if (t == 3 || t == 1 || t == 7 || t == 57) {
|
|
|
- window.parent.postMessage(
|
|
|
+ window.topU.postMessage(
|
|
|
{
|
|
|
tools: t + "teacher",
|
|
|
cid: this.id,
|
|
@@ -19431,7 +19431,7 @@ export default {
|
|
|
student: uname,
|
|
|
};
|
|
|
if (tool == 57) {
|
|
|
- window.parent.postMessage(
|
|
|
+ window.topU.postMessage(
|
|
|
{
|
|
|
tools: tool + "teacher",
|
|
|
cid: this.id,
|
|
@@ -21344,11 +21344,11 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
if (this.screenType == 2) {
|
|
|
- window.parent.postMessage({ allScreen: 4 }, "*");
|
|
|
+ window.topU.postMessage({ allScreen: 4 }, "*");
|
|
|
} else if (this.screenType == 3) {
|
|
|
- window.parent.postMessage({ allScreen: 5 }, "*");
|
|
|
+ window.topU.postMessage({ allScreen: 5 }, "*");
|
|
|
} else if (this.screenType == 1) {
|
|
|
- window.parent.postMessage({ allScreen: 6 }, "*");
|
|
|
+ window.topU.postMessage({ allScreen: 6 }, "*");
|
|
|
}
|
|
|
this.setOperationTime();
|
|
|
this.selectEva();
|