diff --git a/.env.development b/.env.development index 9c53532d..1b2505a0 100644 --- a/.env.development +++ b/.env.development @@ -28,7 +28,7 @@ VITE_APP_BASE_H5_API_Url = 'http://25.18.122.65:7001' # VITE_APP_BASE_H5_API_Url = 'http://25.18.122.78:9786' # 任东 -# VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' +VITE_APP_BASE_H5_API_Url_TRAAPP = 'http://25.64.16.130:9601' VITE_APP_BASE_H5_API_Url_TRASTUDY = 'http://25.64.16.130:9602' # VITE_APP_BASE_H5_API_Url_TRAEXAM = 'http://25.64.16.130:9604' diff --git a/src/pages/course/study.vue b/src/pages/course/study.vue index 34e7a8e1..edc4253e 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, '取消', '确定') @@ -399,7 +399,7 @@ const getGraphInfoUnStudy = (flag = 0) => { }) .finally(() => {}) } - + return } lastTalkingInfo.value = { @@ -502,6 +502,7 @@ const nextQuestionSuccess = (info, type = 'next') => { unref(ajaxApi)({ processType: 'PRGH-OVER', requestBody: JSON.stringify({ + stdyId: unref(stdyId), pgrphId: info?.pgrphId, logId: info?.logId }) @@ -742,6 +743,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 @@ -849,6 +851,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 @@ -905,6 +908,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