mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-15 05:46:43 +08:00
修改一个试卷提交的地方
This commit is contained in:
@@ -825,7 +825,7 @@ export default {
|
|||||||
// this.$message.error('请先答题');
|
// this.$message.error('请先答题');
|
||||||
// return;
|
// return;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
let localKey=this.postAnswerLocalKey+this.aloneExamAnswerId;
|
let localKey=this.postAnswerLocalKey+this.aloneExamAnswerId;
|
||||||
let strAnswer=this.getAnswer();
|
let strAnswer=this.getAnswer();
|
||||||
//一个题都没有答的情况,不能提交
|
//一个题都没有答的情况,不能提交
|
||||||
@@ -869,7 +869,8 @@ export default {
|
|||||||
data.ucode = this.userInfo.userNo;
|
data.ucode = this.userInfo.userNo;
|
||||||
if(!this.aloneExamAnswerId){
|
if(!this.aloneExamAnswerId){
|
||||||
//大字段在需要的时候才会提交
|
//大字段在需要的时候才会提交
|
||||||
data.paperJson = JSON.stringify(this.paperQuestion);
|
//data.paperJson = JSON.stringify(this.paperQuestion);
|
||||||
|
data.paperJson = this.clearPagerJson();
|
||||||
}
|
}
|
||||||
data.scoreType=this.testPaper.scoringType;
|
data.scoreType=this.testPaper.scoringType;
|
||||||
data.taskId = this.taskId;
|
data.taskId = this.taskId;
|
||||||
@@ -1000,4 +1001,4 @@ export default {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 65px;
|
line-height: 65px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user