|
|
@@ -596,7 +596,7 @@ export default {
|
|
|
({ courseware_info }) => {
|
|
|
this.courseware_info = { ...this.courseware_info, ...courseware_info };
|
|
|
this.getLangList();
|
|
|
- }
|
|
|
+ },
|
|
|
);
|
|
|
},
|
|
|
/**
|
|
|
@@ -659,7 +659,7 @@ export default {
|
|
|
});
|
|
|
|
|
|
if (content_group_row_list) this.content_group_row_list = JSON.parse(content_group_row_list) || [];
|
|
|
- }
|
|
|
+ },
|
|
|
);
|
|
|
},
|
|
|
processHtmlString(pElements, styleConfig, isClear) {
|
|
|
@@ -683,7 +683,7 @@ export default {
|
|
|
GetLanguageTypeList({ book_id: this.courseware_info.book_id, is_contain_zh: 'true' }).then(
|
|
|
({ language_type_list }) => {
|
|
|
this.langList = language_type_list;
|
|
|
- }
|
|
|
+ },
|
|
|
);
|
|
|
},
|
|
|
|
|
|
@@ -747,7 +747,7 @@ export default {
|
|
|
this.$refs.courserware.handleResult(
|
|
|
this.$refs.previewMain.scrollTop,
|
|
|
this.$refs.previewMain.scrollLeft,
|
|
|
- this.select_node
|
|
|
+ this.select_node,
|
|
|
);
|
|
|
},
|
|
|
|
|
|
@@ -878,6 +878,7 @@ export default {
|
|
|
book_id: this.projectId,
|
|
|
book_chapter_node_id: this.activeBookChapterId,
|
|
|
type: parseInt(this.drawerType),
|
|
|
+ scope: 0,
|
|
|
};
|
|
|
await PageQueryBookResourceList(params)
|
|
|
.then(({ total_count, resource_list }) => {
|
|
|
@@ -1083,7 +1084,7 @@ export default {
|
|
|
x.coursewareId === note.coursewareId &&
|
|
|
x.blockId === note.blockId &&
|
|
|
x.startIndex === note.startIndex &&
|
|
|
- x.endIndex === note.endIndex
|
|
|
+ x.endIndex === note.endIndex,
|
|
|
);
|
|
|
if (old) {
|
|
|
this.oldRichData = old;
|
|
|
@@ -1177,7 +1178,7 @@ export default {
|
|
|
x.coursewareId === collect.coursewareId &&
|
|
|
x.blockId === collect.blockId &&
|
|
|
x.startIndex === collect.startIndex &&
|
|
|
- x.endIndex === collect.endIndex
|
|
|
+ x.endIndex === collect.endIndex,
|
|
|
);
|
|
|
if (old) {
|
|
|
this.$message({
|