From 44b10255dd7b7bcad937a4ba83819118a3549f50 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Thu, 19 Jun 2025 17:47:10 +0800
Subject: [PATCH] =?UTF-8?q?IVUS=E5=92=8COCT=E8=A1=A8=E5=8D=95=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=EF=BC=8C=E6=96=B0=E5=A2=9E=E9=9D=B6=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../dicoms/components/IVUS/QuestionList.vue | 296 +++++++++---------
.../dicoms/components/OCT/QuestionList.vue | 294 +++++++++--------
2 files changed, 288 insertions(+), 302 deletions(-)
diff --git a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue
index 7fc3a390..b031ddc1 100644
--- a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue
+++ b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue
@@ -8,39 +8,27 @@
{{ taskBlindName }}
-
-
+
+
-
+
-
-
+
- {{ language==='en'?qs.GroupEnName:qs.GroupName }}
+ {{ language === 'en' ? qs.GroupEnName : qs.GroupName }}
-
+
-
+
+ -->
-
+
{{ `${scope.row[q.Id]} ${$fd('ValueUnit', parseInt(q.Unit))}` }}
@@ -92,14 +71,10 @@
-
+
-
+
{{ $t('common:button:edit') }}
@@ -111,41 +86,57 @@
-
+
-
- {formItemChange(val, qs)})"
- />
+
+ { formItemChange(val, item) })" />
+
+
+ { formItemChange(val, item) })" />
+
+
+ { formItemChange(val, item) })">
+
+
+
+
+
+
+ { formItemChange(val, child) })" />
+
+
+
+
+
-
@@ -485,8 +438,22 @@ export default {
setMeasuredData(measureData) {
},
- formItemChange() {
+ formItemChange(val, item) {
this.formChanged = true
+ if (item.Type === 'number') {
+ this.limitBlur(item.Id, item.ValueType)
+ }
+ if (question.Childrens.length > 0) {
+ this.resetChild(question.Childrens)
+ }
+ },
+ resetChild(obj) {
+ obj.forEach(i => {
+ this.resetData(i.Id)
+ if (i.Childrens && i.Childrens.length > 0) {
+ this.resetChild(i.Childrens)
+ }
+ })
},
limitBlur(qId, valueType) {
const value = this.questionForm[qId]
@@ -523,7 +490,7 @@ export default {
answers: answers
}
try {
- await saveTaskQuestion(8, params)
+ await saveTaskQuestion(12, params)
this.$message.success(this.$t('common:message:savedSuccessfully'))
loading.close()
DicomEvent.$emit('getReportInfo', true)
@@ -578,6 +545,9 @@ export default {
},
receiveMsg(event) {
},
+ resetData(v) {
+ this.questionForm[v] = null
+ },
resetFormItemData(v) {
this.qsForm[v] = null
},
@@ -730,21 +700,25 @@ export default {
}