mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-10 19:36:47 +08:00
提交修改
This commit is contained in:
@@ -166,7 +166,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
let pamars = {
|
let pamars = {
|
||||||
studyItemId: this.studyItemId,//学习内容记录id,
|
|
||||||
studyId: this.studyId,//学习id,
|
studyId: this.studyId,//学习id,
|
||||||
courseId: this.content.courseId,//课程id,
|
courseId: this.content.courseId,//课程id,
|
||||||
contentId: this.content.id,//内容id,
|
contentId: this.content.id,//内容id,
|
||||||
@@ -177,6 +176,9 @@
|
|||||||
hwAnswer: this.answer,//文本提交的信息
|
hwAnswer: this.answer,//文本提交的信息
|
||||||
score: 0
|
score: 0
|
||||||
}
|
}
|
||||||
|
if(this.studyItemId){
|
||||||
|
pamars.studyItemId=this.studyItemId;//学习内容记录id,
|
||||||
|
}
|
||||||
apiCourseStudy.saveHomework(pamars).then(res=>{
|
apiCourseStudy.saveHomework(pamars).then(res=>{
|
||||||
if(res.status==200){
|
if(res.status==200){
|
||||||
//this.$refs.messager.show({message:'作业已提交',type:'success'})
|
//this.$refs.messager.show({message:'作业已提交',type:'success'})
|
||||||
|
|||||||
Reference in New Issue
Block a user