|
@@ -3003,7 +3003,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
jump() {
|
|
|
- window.opener.postMessage({ tools: "43" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "43" }, "*");
|
|
|
},
|
|
|
previewImg(url) {
|
|
|
this.$hevueImgPreview(url);
|
|
@@ -3476,7 +3476,7 @@ export default {
|
|
|
) != -1
|
|
|
) {
|
|
|
this.pptImgUrl =
|
|
|
- "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
|
|
|
this.showPDF = false;
|
|
|
} else if (
|
|
|
w.works
|
|
@@ -3518,7 +3518,7 @@ export default {
|
|
|
) != -1
|
|
|
) {
|
|
|
this.pptImgUrl =
|
|
|
- "https://view.officeapps.live.com/op/view.aspx?src=" + w.works;
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(w.works);
|
|
|
this.showPDF = false;
|
|
|
} else if (
|
|
|
w.works
|
|
@@ -4396,7 +4396,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
allScrell() {
|
|
|
- window.opener.postMessage({ allScreen: this.screenType }, "*");
|
|
|
+ window.parent.postMessage({ allScreen: this.screenType }, "*");
|
|
|
},
|
|
|
nextOrpreSteps(t) {
|
|
|
var b = this.chapInfoList.length - 1;
|
|
@@ -5275,7 +5275,7 @@ export default {
|
|
|
-1
|
|
|
) {
|
|
|
this.pptImgUrl =
|
|
|
- "https://view.officeapps.live.com/op/view.aspx?src=" + f;
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f);
|
|
|
this.showPDF = false;
|
|
|
this.dialogVisible3 = true;
|
|
|
} else if (
|
|
@@ -5306,7 +5306,7 @@ export default {
|
|
|
) != -1
|
|
|
) {
|
|
|
this.pptImgUrl1 =
|
|
|
- "https://view.officeapps.live.com/op/view.aspx?src=" + f.url;
|
|
|
+ "https://view.officeapps.live.com/op/view.aspx?src=" + encodeURIComponent(f.url);
|
|
|
// this.dialogVisible3 = true;
|
|
|
this.showType = 2;
|
|
|
} else if (
|
|
@@ -5606,7 +5606,7 @@ export default {
|
|
|
a = this.wbCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage(
|
|
|
+ window.parent.postMessage(
|
|
|
{
|
|
|
tools: "1",
|
|
|
cid: this.id,
|
|
@@ -5624,7 +5624,7 @@ export default {
|
|
|
a = this.wordCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage({ tools: "2" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "2" }, "*");
|
|
|
} else if (t == 3) {
|
|
|
if (this.mindCount > 0) {
|
|
|
this.updateCount(this.mindCount, t);
|
|
@@ -5633,7 +5633,7 @@ export default {
|
|
|
a = this.mindCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage(
|
|
|
+ window.parent.postMessage(
|
|
|
{
|
|
|
tools: "3",
|
|
|
cid: this.id,
|
|
@@ -5674,7 +5674,7 @@ export default {
|
|
|
}
|
|
|
this.dialogVisible5 = true;
|
|
|
|
|
|
- // window.opener.postMessage({ tools: "4" }, "*");
|
|
|
+ // window.parent.postMessage({ tools: "4" }, "*");
|
|
|
} else if (t == 45) {
|
|
|
this.noteName = "";
|
|
|
this.radio = [];
|
|
@@ -5700,7 +5700,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);
|
|
@@ -5710,7 +5710,7 @@ export default {
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
this.dialogVisible4 = true;
|
|
|
- // window.opener.postMessage({ tools: "5" }, "*");
|
|
|
+ // window.parent.postMessage({ tools: "5" }, "*");
|
|
|
} else if (t == 6) {
|
|
|
if (this.noteCount > 0) {
|
|
|
this.updateCount(this.noteCount, t);
|
|
@@ -5719,7 +5719,7 @@ export default {
|
|
|
a = this.noteCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage(
|
|
|
+ window.parent.postMessage(
|
|
|
{
|
|
|
tools: "6",
|
|
|
cid: this.id,
|
|
@@ -5737,7 +5737,7 @@ export default {
|
|
|
a = this.mindNetWorkCount;
|
|
|
this.toolsCount(a, t);
|
|
|
}
|
|
|
- window.opener.postMessage(
|
|
|
+ window.parent.postMessage(
|
|
|
{
|
|
|
tools: "7",
|
|
|
cid: this.id,
|
|
@@ -5764,7 +5764,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);
|
|
@@ -5773,7 +5773,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);
|
|
@@ -5782,7 +5782,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);
|
|
@@ -5809,29 +5809,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,
|
|
@@ -5908,7 +5908,7 @@ export default {
|
|
|
this.isSelect = false;
|
|
|
this.dialogVisibleSelect = true;
|
|
|
} else if (t == 44) {
|
|
|
- window.opener.postMessage({ tools: "44" }, "*");
|
|
|
+ window.parent.postMessage({ tools: "44" }, "*");
|
|
|
}
|
|
|
},
|
|
|
toolsCount(a, t) {
|
|
@@ -6329,11 +6329,11 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
if (this.screenType == 2) {
|
|
|
- window.opener.postMessage({ allScreen: 4 }, "*");
|
|
|
+ window.parent.postMessage({ allScreen: 4 }, "*");
|
|
|
} else if (this.screenType == 3) {
|
|
|
- window.opener.postMessage({ allScreen: "5gm" }, "*");
|
|
|
+ window.parent.postMessage({ allScreen: "5gm" }, "*");
|
|
|
} else if (this.screenType == 1) {
|
|
|
- window.opener.postMessage({ allScreen: 6 }, "*");
|
|
|
+ window.parent.postMessage({ allScreen: 6 }, "*");
|
|
|
}
|
|
|
this.selectEva();
|
|
|
this.getCourseDetail();
|