From 29be0d603509563e9d2e5eba7fd82db856349427 Mon Sep 17 00:00:00 2001
From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com>
Date: Fri, 23 Aug 2024 17:20:11 +0800
Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=AE=A1=E7=AE=97=E5=B9=B3?=
=?UTF-8?q?=E5=9D=87=E5=80=BC=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/QuestionFormItem.vue | 689 ++++++++++--------
1 file changed, 402 insertions(+), 287 deletions(-)
diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/QuestionFormItem.vue b/src/views/trials/trials-panel/setting/reading-unit/components/QuestionFormItem.vue
index 0f68c31c..ee8bc6c0 100644
--- a/src/views/trials/trials-panel/setting/reading-unit/components/QuestionFormItem.vue
+++ b/src/views/trials/trials-panel/setting/reading-unit/components/QuestionFormItem.vue
@@ -7,25 +7,23 @@
{{ question.GroupName }}
-->
- {{ language==='en'?question.GroupEnName:question.GroupName }}
+ {{ language === "en" ? question.GroupEnName : question.GroupName }}
-
+
{{ question.QuestionName }}
-
- {{ $t('trials:readingUnit:qsList:title:add') }}
+
+ {{ $t("trials:readingUnit:qsList:title:add") }}
-
+
{formItemChange(val, question)})"
+ :disabled="
+ (question.TableQuestionType === 2 ||
+ question.QuestionGenre === 2) &&
+ !!question.DictionaryCode
+ "
+ @change="
+ (val) => {
+ formItemChange(val, question);
+ }
+ "
>
-
+
-
+
-
{formItemChange(val, question)})"
+ @change="
+ (val) => {
+ formItemChange(val, question);
+ }
+ "
>
-
-
- {{ item.label }}
-
-
-
-
- {{ val }}
-
-
+
+
+ {{ item.label }}
+
+
+
+
+ {{ val }}
+
+
@@ -155,7 +197,7 @@
@@ -167,7 +209,7 @@
/>
@@ -177,7 +219,11 @@
v-if="question.Type === 'number' && question.DataSource !== 1"
v-model="questionForm[question.Id]"
type="number"
- @change="((val)=>{formItemNumberChange(val, question)})"
+ @change="
+ (val) => {
+ formItemNumberChange(val, question);
+ }
+ "
/>
-
+
![]()
+ />
-
+
- {{ $t('trials:readingUnit:qsList:message:loading') }}...
+ {{ $t("trials:readingUnit:qsList:message:loading")
+ }}...
-
+
-
+
-