diff --git a/src/utils/dcmUpload/anonymization.js b/src/utils/dcmUpload/anonymization.js index 5ad56f5d..ccd4e827 100644 --- a/src/utils/dcmUpload/anonymization.js +++ b/src/utils/dcmUpload/anonymization.js @@ -44,7 +44,7 @@ export const anonymization = function (file, config) { } } else { if (dataset.dict[AnonymizeNotFixed.Group + AnonymizeNotFixed.Element]) { - dataset.dict[AnonymizeNotFixed.Group + AnonymizeNotFixed.Element].Value[0] = DicomStoreInfo[AnonymizeNotFixed.ReplaceValue] ? DicomStoreInfo[AnonymizeNotFixed.ReplaceValue].toString() : '' + dataset.dict[AnonymizeNotFixed.Group + AnonymizeNotFixed.Element].Value[0] = DicomStoreInfo[AnonymizeNotFixed.ReplaceValue] || Number(DicomStoreInfo[AnonymizeNotFixed.ReplaceValue]) === 0 ? DicomStoreInfo[AnonymizeNotFixed.ReplaceValue].toString() : '' } else { dataset.dict[AnonymizeNotFixed.Group + AnonymizeNotFixed.Element] = { vr: AnonymizeNotFixed.ValueRepresentation, 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 54f8bb07..b909fc5d 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 @@ -1139,7 +1139,7 @@ export default { this.downloading = true let res = await getCRCUploadedStudyInfo(data) this.downloading = false - return + // return if (res.IsSuccess) { this.downloadId = res.OtherInfo this.downloadImage(res.Result, type) @@ -1183,7 +1183,7 @@ export default { 'IsDicom', true )}/${study.StudyCode}_${study.StudyTime.split(' ')[0]}/DICOMDIR`, - url: this.OSSclientConfig.basePath + series.StudyDIRPath, + url: this.OSSclientConfig.basePath + study.StudyDIRPath, } files.push(obj) }