From 4efeb1724b94dd0fee7541883d0074cc2395346c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Fri, 12 Apr 2024 09:36:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/record/record.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/system/record/record.vue b/src/views/system/record/record.vue index 9ef9e0b..a0672cb 100644 --- a/src/views/system/record/record.vue +++ b/src/views/system/record/record.vue @@ -483,9 +483,8 @@ export default { ) { e.checked = el.id; } else if ( - (el.optionChooseSign == "0" && - e.questionType == "MULTIPLE_CHOICE_QUESTIONS") || - e.questionType == "COMBINATION_MULTIPLE_SUBJECT" + el.optionChooseSign == "0" && + e.questionType == "MULTIPLE_CHOICE_QUESTIONS" ) { this.checkeddata.push(el.id); } else if ( @@ -493,6 +492,11 @@ export default { e.questionType == "SCORING_QUESTIONS" ) { e.checked = el.id; + } else if ( + e.questionType == "COMBINATION_MULTIPLE_SUBJECT" && + el.optionChooseSign == "0" + ) { + this.checkeddata.push(el.id); } }); });