|
|
@@ -209,7 +209,7 @@ export default {
|
|
|
console.log("打印学生试卷当前图片地址",this.currentPaperUrl);
|
|
|
|
|
|
// 合并所有试卷图片中的题目列表
|
|
|
- let allQuestions = [];
|
|
|
+ // let allQuestions = [];
|
|
|
//先添加总分数据
|
|
|
let totalScore = {
|
|
|
questionName: '总分',
|
|
|
@@ -225,13 +225,13 @@ export default {
|
|
|
if (this.paperImageList.length > 0 && this.paperImageList[0].questionVOS) {
|
|
|
this.paperImageList[0].questionVOS.unshift(totalScore);
|
|
|
}
|
|
|
- this.paperImageList.forEach(item => {
|
|
|
- if (item.questionVOS && item.questionVOS.length > 0) {
|
|
|
- allQuestions = allQuestions.concat(item.questionVOS);
|
|
|
- }
|
|
|
- });
|
|
|
+ // this.paperImageList.forEach(item => {
|
|
|
+ // if (item.questionVOS && item.questionVOS.length > 0) {
|
|
|
+ // allQuestions = allQuestions.concat(item.questionVOS);
|
|
|
+ // }
|
|
|
+ // });
|
|
|
|
|
|
- this.questionList = allQuestions;
|
|
|
+ this.questionList = res?.data?.studentAnswerBOS || [];;
|
|
|
console.log("合并后的题目列表", this.questionList);
|
|
|
|
|
|
this.CalculateTableHeight();//计算表格高度
|