|
|
@@ -276,9 +276,9 @@ export default {
|
|
|
betaL: this.$region,
|
|
|
clearifa: "",
|
|
|
msgNum: 0,
|
|
|
- cocoNoteType: '',
|
|
|
+ cocoNoteType: this.$route.query.type,
|
|
|
// cocoNoteType: '666',
|
|
|
- courseId: '',
|
|
|
+ courseId: this.$route.query.courseid,
|
|
|
// courseId: 'da5aa5b7-a98c-11f0-84cf-005056924926',
|
|
|
// 荔园集团下的学校
|
|
|
mergedList: [
|
|
|
@@ -876,8 +876,14 @@ export default {
|
|
|
console.log("重新获取数据");
|
|
|
// console.log('this.$route.query.courseId',this.$route.query.courseid);
|
|
|
|
|
|
- this.cocoNoteType = this.getUrlParam(window.parent.location.href, 'type');
|
|
|
- this.courseId = this.getUrlParam(window.parent.location.href, 'courseid');
|
|
|
+ let page1 = this.getUrlParam(window.parent.location.href, 'type');
|
|
|
+ let page2 = this.getUrlParam(window.parent.location.href, 'courseid');
|
|
|
+
|
|
|
+ if (page1) {
|
|
|
+ this.cocoNoteType = page1
|
|
|
+ this.courseId = page2
|
|
|
+ }
|
|
|
+
|
|
|
// this.courseId = this.$route.query.courseid
|
|
|
// this.cocoNoteType = this.$route.query.type
|
|
|
|