|
|
@@ -152,14 +152,14 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<div>
|
|
|
- <el-table :data="searchList">
|
|
|
- <el-table-column v-if="false" prop="text" label="文字">
|
|
|
- <template slot-scope="{ $row }">
|
|
|
- {{ searchContent }}
|
|
|
+ <el-table :data="searchList" :show-header="false">
|
|
|
+ <!-- <el-table-column prop="courseware_name" label="课件" />
|
|
|
+ <el-table-column prop="component_type" label="组件" /> -->
|
|
|
+ <el-table-column>
|
|
|
+ <template #default="{ row }">
|
|
|
+ {{ row.courseware_name + ' / ' + row.component_type_name }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="courseware_name" label="课件" />
|
|
|
- <el-table-column prop="component_type" label="组件" />
|
|
|
<el-table-column label="" width="50">
|
|
|
<template #default="{ row }">
|
|
|
<el-link type="primary" @click="handLocation(row, 3)">定位</el-link>
|
|
|
@@ -513,7 +513,7 @@ export default {
|
|
|
({ courseware_info }) => {
|
|
|
this.courseware_info = { ...this.courseware_info, ...courseware_info };
|
|
|
this.getLangList();
|
|
|
- }
|
|
|
+ },
|
|
|
);
|
|
|
},
|
|
|
/**
|
|
|
@@ -542,7 +542,7 @@ export default {
|
|
|
GetLanguageTypeList({ book_id: this.courseware_info.book_id, is_contain_zh: 'true' }).then(
|
|
|
({ language_type_list }) => {
|
|
|
this.langList = language_type_list;
|
|
|
- }
|
|
|
+ },
|
|
|
);
|
|
|
},
|
|
|
|
|
|
@@ -606,7 +606,7 @@ export default {
|
|
|
this.$refs.courserware.handleResult(
|
|
|
this.$refs.previewMain.scrollTop,
|
|
|
this.$refs.previewMain.scrollLeft,
|
|
|
- this.select_node
|
|
|
+ this.select_node,
|
|
|
);
|
|
|
},
|
|
|
|
|
|
@@ -865,7 +865,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;
|
|
|
@@ -959,7 +959,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({
|