|
@@ -240,15 +240,21 @@
|
|
{{ chapter.name }}
|
|
{{ chapter.name }}
|
|
</div>
|
|
</div>
|
|
<template>
|
|
<template>
|
|
- <div
|
|
|
|
- class="btn btn--green"
|
|
|
|
- v-if="chapter.learning == 1"
|
|
|
|
|
|
+ <div class="btn" v-if="chapter.rebuild > 0">待重修</div>
|
|
|
|
+ <template v-else>
|
|
|
|
+ <div
|
|
|
|
+ class="btn btn--green"
|
|
|
|
+ v-if="chapter.learning == 1"
|
|
|
|
+ >
|
|
|
|
+ 合格
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ class="btn btn--red"
|
|
|
|
+ v-if="chapter.learning == 0"
|
|
|
|
+ >
|
|
|
|
+ 不及格(需重考)
|
|
|
|
+ </div></template
|
|
>
|
|
>
|
|
- 合格
|
|
|
|
- </div>
|
|
|
|
- <div class="btn btn--red" v-if="chapter.learning == 0">
|
|
|
|
- 不及格(需重考)
|
|
|
|
- </div>
|
|
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
@@ -825,6 +831,8 @@ export default {
|
|
return this.backNextItem(nextItem, nextItem.menuType, isNext);
|
|
return this.backNextItem(nextItem, nextItem.menuType, isNext);
|
|
},
|
|
},
|
|
async getResource(section, type, courseIndex) {
|
|
async getResource(section, type, courseIndex) {
|
|
|
|
+ console.log(section, 789);
|
|
|
|
+ return;
|
|
if (
|
|
if (
|
|
section.type != 2 &&
|
|
section.type != 2 &&
|
|
this.isActive(section) &&
|
|
this.isActive(section) &&
|