|
@@ -57,7 +57,15 @@
|
|
|
/>
|
|
|
</template>
|
|
|
<template v-if="category === 'NEW'">
|
|
|
- <BookNew v-if="context" ref="book" :context="context" :current-tree-i-d="coursewareId" />
|
|
|
+ <BookNew
|
|
|
+ v-if="context"
|
|
|
+ ref="book"
|
|
|
+ :context="context"
|
|
|
+ :current-tree-i-d="coursewareId"
|
|
|
+ :is-show-save="true"
|
|
|
+ task-model=""
|
|
|
+ @finishTaskMaterial="finishMyTaskMaterial_Student"
|
|
|
+ />
|
|
|
</template>
|
|
|
|
|
|
<div v-if="category !== 'NPC' && category !== 'NNPE' && category !== 'RLC' && category !== 'NEW'" slot="footer">
|
|
@@ -152,7 +160,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- finishMyTaskMaterial_Student(content, duration) {
|
|
|
+ finishMyTaskMaterial_Student(content, duration = 0) {
|
|
|
const loading = this.$loading();
|
|
|
FinishMyTaskMaterial_Student({
|
|
|
task_id: this.id,
|