|
|
@@ -112,7 +112,7 @@
|
|
|
return {
|
|
|
courseId: route.query.id,
|
|
|
chapterId: selectedKeys.value[0],
|
|
|
- hourId: classHourData.value?.chapterId
|
|
|
+ hourId: classHourData.value?.id
|
|
|
}
|
|
|
})
|
|
|
function findNodeByKey(list, id) {
|
|
|
@@ -269,7 +269,7 @@
|
|
|
.theLastDetail({
|
|
|
funcType: 1,
|
|
|
type: 1,
|
|
|
- hourld: classHourData.value?.chapterId
|
|
|
+ hourld: classHourData.value?.id
|
|
|
})
|
|
|
.then((data) => {
|
|
|
if (data.endTime) {
|
|
|
@@ -321,7 +321,7 @@
|
|
|
startTime: parseFloat(initialtime.value),
|
|
|
endTime: Math.round(videoRef.value.currentTime * 1000),
|
|
|
progress: Math.round(progress),
|
|
|
- hourId: classHourData.value?.chapterId,
|
|
|
+ hourId: classHourData.value?.id,
|
|
|
stayTime: outNowTimesStr.value - nowTimesStr,
|
|
|
type: type,
|
|
|
funcType: type
|
|
|
@@ -349,7 +349,7 @@
|
|
|
hourName: classHourData.value.name,
|
|
|
chapterName: classHourData.value.name,
|
|
|
courseName: classDetail.value.courseName,
|
|
|
- hourId: classHourData.value.chapterId,
|
|
|
+ hourId: classHourData.value.id,
|
|
|
chapterId: selectedKeys.value[0],
|
|
|
courseId: classDetail.value.courseId,
|
|
|
fileId: classHourData.value.courseRelates.filter((r) => r.funcType == 1)[0].relateId,
|