mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-14 21:36:42 +08:00
修改一个试卷提交的地方
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user