From 41eb97449662e1376c61a5e88e007510b3da74c5 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 8 Dec 2025 15:13:35 +0800 Subject: [PATCH] =?UTF-8?q?OCT=E7=B3=BB=E7=BB=9F=E6=A0=87=E5=87=86?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=E8=A1=A8=E5=8D=95=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E6=A1=86=E5=A2=9E=E5=8A=A0=E5=A4=9A=E9=80=89=EF=BC=88OCT?= =?UTF-8?q?=E3=80=81=E8=87=AA=E5=AE=9A=E4=B9=89=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/reading.js | 7 + .../components/CriterionQuestionForm.vue | 786 ++++++------------ .../template/components/TableQsForm.vue | 562 ++++--------- .../dicoms/components/OCT/QuestionList.vue | 16 +- .../components/OCT/QuestionTableFormItem.vue | 6 +- .../dicoms/components/QuestionItem.vue | 325 +++----- .../components/Recist/QuestionFormItem.vue | 229 ++--- .../components/Recist/QuestionList.vue | 2 +- .../components/customize/QuestionFormItem.vue | 78 +- .../components/customize/QuestionList.vue | 27 +- .../customize/QuestionTableFormItem.vue | 10 +- .../components/customize/ReportPage.vue | 133 ++- .../reading/dicoms3D/components/toolConfig.js | 2 +- .../reading-unit/components/QuestionsForm.vue | 15 +- .../reading-unit/components/TableQsForm.vue | 13 + .../trial-summary/image-summary/index.vue | 42 +- 16 files changed, 861 insertions(+), 1392 deletions(-) diff --git a/src/store/modules/reading.js b/src/store/modules/reading.js index 053b9d0f..b61c175b 100644 --- a/src/store/modules/reading.js +++ b/src/store/modules/reading.js @@ -40,6 +40,13 @@ function getQuestions(questions) { const criterionType = parseInt(localStorage.getItem('CriterionType')) questions.forEach(item => { if ((item.Type === 'table' || item.Type === 'basicTable') && item.TableQuestions && item.TableQuestions.Answers.length > 0) { + item.TableQuestions.Questions.forEach(question => { + if (question.Type === 'select' && question.OptionTypeEnum === 1) { + item.TableQuestions.Answers.forEach((answer) => { + answer[question.Id] = answer[question.Id] ? JSON.parse(answer[question.Id]) : [] + }) + } + }) item.TableQuestions.Answers.forEach(answerObj => { answerObj.isDicomReading = answerObj.IsDicomReading === 'True' diff --git a/src/views/dictionary/template/components/CriterionQuestionForm.vue b/src/views/dictionary/template/components/CriterionQuestionForm.vue index 52b5f545..425f1166 100644 --- a/src/views/dictionary/template/components/CriterionQuestionForm.vue +++ b/src/views/dictionary/template/components/CriterionQuestionForm.vue @@ -1,251 +1,143 @@