From 5528188a8bd675ad21e34bd2902017cb54090c6d Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 16 Oct 2025 18:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9Edicom=E9=98=85=E7=89=87=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E6=A0=87=E8=AE=B0=E7=BB=91=E5=AE=9A=EF=BC=88=E5=BE=85?= =?UTF-8?q?=E5=AE=8C=E6=88=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../visit-review/components/ReadPage.vue | 297 +++++++++--------- 1 file changed, 152 insertions(+), 145 deletions(-) diff --git a/src/views/trials/trials-panel/reading/visit-review/components/ReadPage.vue b/src/views/trials/trials-panel/reading/visit-review/components/ReadPage.vue index e99466ee..6eedab56 100644 --- a/src/views/trials/trials-panel/reading/visit-review/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/visit-review/components/ReadPage.vue @@ -4,29 +4,16 @@
-
{{ s.TaskBlindName }}
+
{{ + s.TaskBlindName }}
-
- +
+
@@ -48,65 +35,46 @@ @toggleTask="toggleTask" @toggleImage="toggleImage" /> --> - +
-
+

- + {{ currentVisitInfo.SubjectCode }} - + {{ currentVisitInfo.TaskBlindName }}

- + /> --> +
- +
- - + +
- +
@@ -120,6 +88,7 @@ import StudyList from './StudyList' // import PdfViewer from './PDFViewer' import FileViewer from './FileViewer' import EcrfList from './EcrfList' +import customizeQuestionList from '@/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList' import ClinicalData from '@/views/trials/trials-panel/reading/clinical-data' import { mapGetters } from 'vuex' export default { @@ -130,7 +99,8 @@ export default { // ImageViewer, // PdfViewer, EcrfList, - ClinicalData + ClinicalData, + customizeQuestionList }, data() { return { @@ -149,7 +119,7 @@ export default { selectArr: [], fileType: 'image', currentStudyInfo: null, - currentVisitInfo: null, + currentVisitInfo: {}, relatedStudyInfo: null, clinicalDataVisible: false, isClinicalDataFullscreen: false, @@ -180,6 +150,27 @@ export default { this.getRelatedTask() }, methods: { + resetAnnotations() { }, + setReadingTaskState() { }, + viewCustomAnnotationSeries() { }, + getCustomScreenshots() { }, + setReadingToolPassive() { }, + setReadingToolActive(toolName) { + if (this.readingTaskState === 2) return + if (this.activeTool === toolName) return + const series = this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series + if (series && series.TaskInfo.VisitTaskId && series.TaskInfo.VisitTaskId === this.taskInfo.VisitTaskId) { + const toolGroupId = `${this.viewportKey}-${this.activeViewportIndex}` + const toolGroup = ToolGroupManager.getToolGroup(toolGroupId) + if (this.activeTool) { + toolGroup.setToolPassive(this.activeTool) + } + toolGroup.setToolActive(toolName, { + bindings: [{ mouseButton: MouseBindings.Primary }] + }) + this.activeTool = toolName + } + }, // 获取关联任务信息 async getRelatedTask() { this.loading = true @@ -232,7 +223,7 @@ export default { }, // 获取任务关联的文件信息 getReadingImageFile(visitTaskId, visitTaskIdx) { - return new Promise(async(resolve, reject) => { + return new Promise(async (resolve, reject) => { this.loading = true try { const params = { @@ -253,7 +244,7 @@ export default { }, // 获取任务关联的标注信息 getAnnotations(visitTaskId, visitTaskIdx) { - return new Promise(async(resolve, reject) => { + return new Promise(async (resolve, reject) => { this.loading = true try { const params = { @@ -337,98 +328,114 @@ export default {