From bc6f15388d5e6218cf2e8ad1304a936e914f2f26 Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Fri, 8 Nov 2024 17:47:01 +0800
Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=88=86=E7=B1=BB=E9=97=AE?=
=?UTF-8?q?=E9=A2=98=E6=9B=B4=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../template/components/CriterionsConfig.vue | 15 +++++++++++++--
.../template/components/TableQsList.vue | 11 +++++++++++
.../reading-unit/components/QuestionsForm.vue | 4 ++--
.../reading-unit/components/TableQsForm.vue | 4 ++--
4 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/src/views/dictionary/template/components/CriterionsConfig.vue b/src/views/dictionary/template/components/CriterionsConfig.vue
index 484a8e3d..fba49f04 100644
--- a/src/views/dictionary/template/components/CriterionsConfig.vue
+++ b/src/views/dictionary/template/components/CriterionsConfig.vue
@@ -107,7 +107,7 @@
@@ -132,7 +132,7 @@
{{ $fd('GlobalReadingShowType', scope.row.GlobalReadingShowType) }}
-
+
+
+
+
+ {{ $fd('QuestionType', scope.row.QuestionType) }}
+
+
-->
+
+
+
+ {{ $fd('QuestionMark', scope.row.QuestionMark) }}
+
+
i.Type === 'basicTable')
- this.selectQuestions = res.Result.filter(i=>i.Type === 'select' || i.Type === 'radio')
+ this.selectQuestions = res.Result.filter(i=>i.Type === 'select' || i.Type === 'radio' || i.Type === 'class')
this.numberQuestions = res.Result.filter(i=>i.Type === 'number')
}
} catch(e) {
diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue b/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue
index 7f55b133..04dd00e2 100644
--- a/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue
+++ b/src/views/trials/trials-panel/setting/reading-unit/components/TableQsForm.vue
@@ -980,7 +980,7 @@ export default {
}
}
this.initForm()
- this.getCalculateTableQuestions(['number', 'select', 'radio', 'basicTable'])
+ this.getCalculateTableQuestions(['number', 'select', 'radio', 'class', 'basicTable'])
// this.getCalculateTableQuestions('number')
// this.getCalculateTableQuestions('table')
},
@@ -994,7 +994,7 @@ export default {
let res = await getCalculateTableQuestions(params)
if (res.Result) {
this.tableQuestions = res.Result.filter(i=>i.Type === 'basicTable')
- this.selectQuestions = res.Result.filter(i=>i.Type === 'select' || i.Type === 'radio')
+ this.selectQuestions = res.Result.filter(i=>i.Type === 'select' || i.Type === 'radio' || i.Type === 'class')
this.numberQuestions = res.Result.filter(i=>i.Type === 'number')
}
} catch(e) {