修改一个试卷提交的地方

This commit is contained in:
daihh
2022-10-16 18:36:42 +08:00
parent 2c80838aff
commit 07fc80b82f

View File

@@ -825,7 +825,7 @@ export default {
// this.$message.error('请先答题');
// return;
// }
let localKey=this.postAnswerLocalKey+this.aloneExamAnswerId;
let strAnswer=this.getAnswer();
//一个题都没有答的情况,不能提交
@@ -869,7 +869,8 @@ export default {
data.ucode = this.userInfo.userNo;
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.taskId = this.taskId;
@@ -1000,4 +1001,4 @@ export default {
text-align: center;
line-height: 65px;
}
</style>
</style>