From b96f5b99104296488740e3fda9a71d089a37ee99 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 10 Jan 2025 10:19:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E9=BB=98=E8=AE=A4=E6=8A=98?= =?UTF-8?q?=E5=8F=A0=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/components/ReportPage.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue b/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue index 605a4b49..0cbec5a1 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/ReportPage.vue @@ -57,7 +57,7 @@ :data="taskQuestions" row-key="Id" border - default-expand-all + :expand-row-keys="expandedRows" :height="height" :tree-props="{children: 'Childrens', hasChildren: 'hasChildren'}" size="mini" @@ -319,7 +319,8 @@ export default { assessmentQuestions: [], tLesionCount: null, ntLesionCount: null, - openWindow: null + openWindow: null, + expandedRows: [] } }, computed: { @@ -458,6 +459,18 @@ export default { const arr = [] if (questions.length !== 0) { questions.forEach((item) => { + if (this.CriterionType === 21) { + if (!this.isShowDetail) { + if (!item.RowId) { + this.expandedRows.push(item.Id) + } + } else { + this.expandedRows.push(item.Id) + } + + } else { + this.expandedRows.push(item.Id) + } // 过滤病灶标识 病灶名称 部位 器官 位置 是否淋巴结 // 非靶病灶和新病灶 过滤长径和短径信息 // 非淋巴结靶病灶 过滤短径