From 850d64f0aac25ddd045972e84a54204332c1b004 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 21 Jul 2025 16:59:17 +0800 Subject: [PATCH] =?UTF-8?q?tab=E5=88=87=E6=8D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../visit/qc-check/components/qualityAssurance.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue index 107cab50..23f4f149 100644 --- a/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue +++ b/src/views/trials/trials-panel/visit/qc-check/components/qualityAssurance.vue @@ -1050,7 +1050,7 @@ export default { } window.addEventListener('message', this.receiveMsg) this.trialId = this.$route.query.trialId - this.getQCInfo() + this.getQCInfo(true) this.getDicData() this.activeName = this.data.DicomStudyCount > 0 ? 'dicom' : this.data.NoneDicomStudyCount > 0 ? 'none-dicom' : 'dicom' // this.handleViewImages() @@ -1198,7 +1198,7 @@ export default { } }, // 获取QC界面基本信息 - getQCInfo() { + getQCInfo(isFirst = false) { this.loading = true getVisitQCInfo(this.data.Id, this.data.QCProcessEnum, this.currentQCType) .then((res) => { @@ -1216,7 +1216,9 @@ export default { this.studyList = res.Result.StudyList this.seriesList = res.Result.SeriesList this.noneDicomStudyList = res.Result.NoneDicomStudyList - this.activeName = this.studyList && this.studyList.length > 0 ? 'dicom' : this.noneDicomStudyList && this.noneDicomStudyList.length > 0 ? 'none-dicom' : 'dicom' + if (isFirst) { + this.activeName = this.studyList && this.studyList.length > 0 ? 'dicom' : this.noneDicomStudyList && this.noneDicomStudyList.length > 0 ? 'none-dicom' : 'dicom' + } this.relationInfo = res.Result.RelationInfo this.trialBodyPartTypes = this.relationInfo.TrialBodyPartTypes ? this.relationInfo.TrialBodyPartTypes.trim().split('|')