diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue index 15864a3e..bcd6b3ff 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue @@ -5,6 +5,9 @@ {{ taskInfo.SubjectCode }}
+ + {{ $t('trials:reading:title:taskName') }} + {{ visitTaskInfo.TaskBlindName }}
diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue index 71f464ef..b619646a 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/customize/QuestionList.vue @@ -3,10 +3,15 @@

- + {{ visitInfo.SubjectCode }} - {{ visitInfo.TaskBlindName }} + + + {{ $t('trials:reading:title:taskName') }} + + {{ visitInfo.TaskBlindName }} +

i.IsCurrentTask) if (idx > -1) { await this.setActiveTaskVisitId(res.Result[idx].VisitTaskId) + if (this.taskInfo.IsReadingTaskViewInOrder === 0) { + this.setDefaultRelatedStudyInfo(this.visitTaskList[idx]) + } this.$nextTick(() => { this.$refs[res.Result[idx].VisitTaskId][0].setInitActiveFile() }) @@ -282,23 +300,15 @@ export default { if (i > -1) { await this.getReadingImageFile(res.Result[i].VisitTaskId, i) await this.getAnnotations(res.Result[i].VisitTaskId, i) - const studyList = this.visitTaskList[i].StudyList - if (studyList.length > 0) { - const fileInfo = studyList[0].NoneDicomStudyFileList[0] - this.relatedStudyInfo = { fileInfo, visitTaskInfo: this.visitTaskList[i], fileList: studyList[0].NoneDicomStudyFileList, fileIndex: 0, studyId: studyList[0].Id } - if (!this.selectArr.includes(res.Result[i].VisitTaskId)) { - this.selectArr.push(res.Result[i].VisitTaskId) - } + this.setDefaultRelatedStudyInfo(this.visitTaskList[i]) + if (!this.selectArr.includes(res.Result[i].VisitTaskId)) { + this.selectArr.push(res.Result[i].VisitTaskId) } } } if (this.taskInfo.IsReadingTaskViewInOrder === 2) { // 受试者内随机 - const studyList = this.visitTaskList[idx].StudyList - if (studyList.length > 0) { - const fileInfo = studyList[0].NoneDicomStudyFileList[0] - this.relatedStudyInfo = { fileInfo, visitTaskInfo: this.visitTaskList[idx], fileList: studyList[0].NoneDicomStudyFileList, fileIndex: 0, studyId: studyList[0].Id } - } + this.setDefaultRelatedStudyInfo(this.visitTaskList[idx]) } if (this.readingTaskState < 2) { this.$refs[res.Result[idx].VisitTaskId][0].initCurrentMaredFiles() diff --git a/src/views/trials/trials-panel/reading/visit-review/components/StudyList.vue b/src/views/trials/trials-panel/reading/visit-review/components/StudyList.vue index 2870113c..6d470878 100644 --- a/src/views/trials/trials-panel/reading/visit-review/components/StudyList.vue +++ b/src/views/trials/trials-panel/reading/visit-review/components/StudyList.vue @@ -5,6 +5,9 @@ {{ taskInfo.SubjectCode }}
+ + {{ $t('trials:reading:title:taskName') }} + {{ visitTaskInfo.TaskBlindName }}
@@ -152,6 +155,9 @@ export default { }, // 设置初始化激活文件 setInitActiveFile() { + if (this.studyList.length === 0) { + this.studyList = this.decorateStudyList(this.visitTaskInfo.StudyList || []) + } if (this.studyList.length === 0) return this.$nextTick(() => { this.activeStudy(this.studyList[0].Id)