From 848bf0c8b2ba701de2fdbf9ad0b1ed67cb4e3d16 Mon Sep 17 00:00:00 2001
From: wangxiaoshuang <825034831@qq.com>
Date: Thu, 19 Jun 2025 17:24:35 +0800
Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E6=8A=A5=E5=91=8A?=
=?UTF-8?q?=E5=8D=95=E9=80=89=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/customize/ReportPage.vue | 326 +++++++++---------
1 file changed, 160 insertions(+), 166 deletions(-)
diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/ReportPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/ReportPage.vue
index 03329d16..b040494f 100644
--- a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/ReportPage.vue
+++ b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/ReportPage.vue
@@ -4,56 +4,33 @@
-
-
+
+
- {{ scope.row.BlindName ? scope.row.QuestionName : scope.row.QuestionName }}
-
+ {{ scope.row.BlindName ? scope.row.QuestionName :
+ scope.row.QuestionName }}
+
{{ scope.row.GroupName }}
-
+
{{ task.BlindName }}
@@ -68,110 +45,115 @@
-
+
-
+
-
+ size="mini" />
+
{{ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] }}
-
+ v-else-if="(scope.row.Type === 'input' || scope.row.Type === 'textarea') && !scope.row.IsShowInDicom && ((task.IsBaseLine && scope.row.LimitEdit === 1) || (!task.IsBaseLine && scope.row.LimitEdit === 2) || scope.row.LimitEdit === 0)"
+ v-model="questionForm[scope.row.QuestionId]" size="mini" />
+
{{ questionForm[scope.row.QuestionId] }}
+ size="mini" clearable>
-
+
-
+
{{ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] }}
+ v-else-if="(scope.row.Type === 'select' || scope.row.Type === 'radio') && !scope.row.IsShowInDicom && ((task.IsBaseLine && scope.row.LimitEdit === 1) || (!task.IsBaseLine && scope.row.LimitEdit === 2) || scope.row.LimitEdit === 0)"
+ v-model="questionForm[scope.row.QuestionId]" size="mini" clearable>
-
+
-
+
{{ questionForm[scope.row.QuestionId] }}
{questionId = scope.row.QuestionId}"
- >
- {{ scope.row.Unit !== 4 ? $fd('ValueUnit', scope.row.Unit) : scope.row.CustomUnit }}
+ @focus="() => { questionId = scope.row.QuestionId }">
+ {{ scope.row.Unit !== 4 ? $fd('ValueUnit',
+ scope.row.Unit) : scope.row.CustomUnit }}
%
-
+
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]))? questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]:`${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]} ${scope.row.Unit !== 4 ? $fd('ValueUnit',scope.row.Unit) : scope.row.CustomUnit}` }}
+ {{
+ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]))
+ ?
+ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] :
+ `${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]}
+ ${scope.row.Unit !== 4 ? $fd('ValueUnit', scope.row.Unit) : scope.row.CustomUnit}` }}
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId])) ? questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]:`${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]} %` }}
+ {{
+ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]))
+ ?
+ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] :
+ `${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]}
+ %` }}
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId])) ? questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]:`${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]}` }}
+ {{
+ isNaN(parseInt(questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]))
+ ?
+ questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId] :
+ `${questionForm[scope.row.QuestionId][scope.row.xfIndex][scope.row.TableQuestionId]}`
+ }}
{questionId = scope.row.QuestionId}"
- >
- {{ scope.row.Unit !== 4 ? $fd('ValueUnit', scope.row.Unit) : scope.row.CustomUnit }}
+ @focus="() => { questionId = scope.row.QuestionId }">
+ {{ scope.row.Unit !== 4 ? $fd('ValueUnit',
+ scope.row.Unit) : scope.row.CustomUnit }}
%
-
+
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId]))? questionForm[scope.row.QuestionId]:`${questionForm[scope.row.QuestionId]} ${scope.row.Unit !== 4 ? $fd('ValueUnit',scope.row.Unit) : scope.row.CustomUnit}` }}
+ {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ?
+ questionForm[scope.row.QuestionId] : `${questionForm[scope.row.QuestionId]} ${scope.row.Unit !== 4
+ ?
+ $fd('ValueUnit', scope.row.Unit) : scope.row.CustomUnit}` }}
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ? questionForm[scope.row.QuestionId]:`${questionForm[scope.row.QuestionId]} %` }}
+ {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ?
+ questionForm[scope.row.QuestionId] : `${questionForm[scope.row.QuestionId]} %` }}
- {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ? questionForm[scope.row.QuestionId] : questionForm[scope.row.QuestionId] }}
+ {{ isNaN(parseInt(questionForm[scope.row.QuestionId])) ? questionForm[scope.row.QuestionId] :
+ questionForm[scope.row.QuestionId] }}
-
-
+
+
{{ `${$t('trials:noneDicom:title:attachment')}${index + 1}` }}
@@ -181,14 +163,22 @@
{{ $fd(scope.row.DictionaryCode, scope.row.Answers[task.VisitTaskId]) }}
- {{ isNaN(parseInt(scope.row.Answers[task.VisitTaskId]))?scope.row.Answers[task.VisitTaskId]:`${scope.row.Answers[task.VisitTaskId]}` }}
+ {{
+ isNaN(parseInt(scope.row.Answers[task.VisitTaskId])) ? scope.row.Answers[task.VisitTaskId] :
+ `${scope.row.Answers[task.VisitTaskId]}`
+ }}
-
+
- {{ isNaN(parseInt(scope.row.Answers[task.VisitTaskId]))?scope.row.Answers[task.VisitTaskId]:`${scope.row.Answers[task.VisitTaskId]} ${scope.row.Unit !== 4 ? $fd('ValueUnit',scope.row.Unit) : scope.row.CustomUnit}` }}
+ {{
+ isNaN(parseInt(scope.row.Answers[task.VisitTaskId])) ? scope.row.Answers[task.VisitTaskId] :
+ `${scope.row.Answers[task.VisitTaskId]}
+ ${scope.row.Unit !== 4 ? $fd('ValueUnit', scope.row.Unit) : scope.row.CustomUnit}` }}
- {{ isNaN(parseInt(scope.row.Answers[task.VisitTaskId])) ? scope.row.Answers[task.VisitTaskId]:`${scope.row.Answers[task.VisitTaskId]} %` }}
+ {{ isNaN(parseInt(scope.row.Answers[task.VisitTaskId])) ?
+ scope.row.Answers[task.VisitTaskId] : `${scope.row.Answers[task.VisitTaskId]} %` }}
{{ scope.row.Answers[task.VisitTaskId] }}
@@ -200,38 +190,20 @@
-
+
{{ $t('common:dialogTitle:sign') }}
- {{ `(${$t('common:label:sign')}${ currentUser })` }}
+ {{ `(${$t('common:label:sign')}${currentUser})` }}
-
-
@@ -655,7 +627,7 @@ export default {
window.location.reload()
})
.catch(action => {
- // changeURLStatic('visitTaskId', this.visitTaskId)
+ // changeURLStatic('visitTaskId', this.visitTaskId)
})
}
}
@@ -760,94 +732,116 @@ export default {
}