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) + } // 过滤病灶标识 病灶名称 部位 器官 位置 是否淋巴结 // 非靶病灶和新病灶 过滤长径和短径信息 // 非淋巴结靶病灶 过滤短径