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('|')