From 94e924a75391bd08840054c7e51d0e682f058a73 Mon Sep 17 00:00:00 2001
From: caiyiling <1321909229@qq.com>
Date: Wed, 30 Oct 2024 10:43:10 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB=E9=97=AE=E9=A2=98=E8=A1=A5?=
=?UTF-8?q?=E5=85=85=E5=B1=9E=E6=80=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../customize/CustomizeQuestionFormItem.vue | 21 ++-
.../CustomizeQuestionTableFormItem.vue | 21 ++-
.../components/QuestionFormItem.vue | 22 ++-
.../components/QuestionTableFormItem.vue | 23 ++-
.../reading-unit/components/QuestionsForm.vue | 50 ++++++
.../reading-unit/components/TableQsForm.vue | 170 +++++++++++-------
6 files changed, 235 insertions(+), 72 deletions(-)
diff --git a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionFormItem.vue b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionFormItem.vue
index cc5edcd8..798750ac 100644
--- a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionFormItem.vue
+++ b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeQuestionFormItem.vue
@@ -156,12 +156,27 @@
- { formItemChange(val, question) }"
+ >
+
+
+ { formItemChange(val, question) }"
>
- { formItemChange(val, question) }"
+ >
+
+
+ { formItemChange(val, question) }"
>
- { formItemChange(val, question) }"
+ >
+
+
+ { formItemChange(val, question) }"
>
- { formItemChange(val, question) }"
+ >
+
+
+ { formItemChange(val, question) }"
>
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
@@ -848,7 +890,9 @@ export default {
ExportIdentification: 0,
ExportResult: [],
ImageCount: 0,
- ClassifyType: null
+ ClassifyType: null,
+ ClassifyEditType: null,
+ ClassifyShowType: null,
// IsEnable: true
},
rules: {
@@ -1238,6 +1282,11 @@ export default {
} else {
form.MaxAnswerLength = null
}
+ if (val === 'class') {
+ form.ClassifyEditType = 1
+ } else {
+ form.ClassifyEditType = null
+ }
form.IsRequired = 2
form.TypeValue = ''
form.TableQuestionType = null
@@ -1260,6 +1309,7 @@ export default {
form.ExportResult = []
form.ImageCount = 0
form.ClassifyType = null
+ form.ClassifyShowType = null
},
close() {
this.$emit('close')