diff --git a/src/pages/course/study.vue b/src/pages/course/study.vue index 2703ce56..949e6d3b 100644 --- a/src/pages/course/study.vue +++ b/src/pages/course/study.vue @@ -377,7 +377,7 @@ const getGraphInfoUnStudy = (flag = 0) => { return } if (Number(_body.bodyTyp) === 7) { - uni.$emit('refresh_course_list', crsId.value) + uni.$emit('refresh_course_list', crsId.value) if (isPreview.value) { common .show('提示', '您已学完全部知识点', false) @@ -401,7 +401,7 @@ const getGraphInfoUnStudy = (flag = 0) => { }) .finally(() => {}) } - + return } lastTalkingInfo.value = { @@ -504,6 +504,7 @@ const nextQuestionSuccess = (info, type = 'next') => { unref(ajaxApi)({ processType: 'PRGH-OVER', requestBody: JSON.stringify({ + stdyId: unref(stdyId), pgrphId: info?.pgrphId, logId: info?.logId }) @@ -577,7 +578,8 @@ const nextQuestionSuccess = (info, type = 'next') => { processType: 'NEW-KNOW', requestBody: JSON.stringify({ logId: unref(logId), - pgrphId: info.pgrphId + pgrphId: info.pgrphId, + stdyId: unref(stdyId) }) }).then(res => { let _body = res.body || {} @@ -744,6 +746,7 @@ const uploadRecordNow = voicePath => { } isUploadingVoice.value = true let _data = { + stdyId: unref(stdyId), qnsId: unref(lastTalkingInfo).qnsId, // 问题ID 必输项:true 类型:String pgrphId: unref(lastTalkingInfo).pgrphId, // 段落ID 必输项:true 类型:String qstLogId: unref(qstLogId), // 段落ID 必输项:true 类型:String @@ -851,6 +854,7 @@ const submitAnswerNow = (val, cb) => { } isUploadingVoice.value = true let _data = { + stdyId: unref(stdyId), qnsId: unref(lastTalkingInfo).qnsId, // 问题ID 必输项:true 类型:String pgrphId: unref(lastTalkingInfo).pgrphId, // 段落ID 必输项:true 类型:String qstLogId: unref(qstLogId), // 段落ID 必输项:true 类型:String @@ -907,6 +911,7 @@ const withdrawNow = data => { const loadingExecLogId = ref('') const answerQuestionNow = data => { let _data = { + stdyId: unref(stdyId), qnsId: data.qnsId, // 问题ID 必输项:true 类型:String pgrphId: data.pgrphId, // 段落ID 必输项:true 类型:String crsId: crsId.value, // 课程ID 必输项:true 类型:String