|
@@ -2100,7 +2100,7 @@
|
|
|
>
|
|
|
{{ steps == 4 ? "返回首页" : "上一步" }}
|
|
|
</button>
|
|
|
- <button class="info_btn" v-if="steps < 5" @click="nextSteps">
|
|
|
+ <button class="info_btn" v-if="steps < 4" @click="nextSteps">
|
|
|
{{ steps == 3 ? "确认上传" : "下一步" }}
|
|
|
</button>
|
|
|
</div>
|
|
@@ -5434,6 +5434,23 @@ export default {
|
|
|
? this.unitJson[j].chapterInfo[i].taskJson[this.taskCount]
|
|
|
.toolChoose
|
|
|
: [];
|
|
|
+ for (var k in this.unitJson[j].chapterInfo[i].taskJson) {
|
|
|
+ let _chapterData = [];
|
|
|
+ for (var c in this.unitJson[j].chapterInfo[i].taskJson[k]
|
|
|
+ .chapterData) {
|
|
|
+ if (
|
|
|
+ this.unitJson[j].chapterInfo[i].taskJson[k].chapterData[c]
|
|
|
+ ) {
|
|
|
+ _chapterData.push(
|
|
|
+ this.unitJson[j].chapterInfo[i].taskJson[k].chapterData[
|
|
|
+ c
|
|
|
+ ]
|
|
|
+ );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.unitJson[j].chapterInfo[i].taskJson[k].chapterData =
|
|
|
+ _chapterData;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
this.courseName = res.data[0][0].title;
|