From 9dcbad761604fca20c38b6d0ee63b035a6b82820 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Fri, 31 Jul 2026 16:40:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=84=E7=90=86=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/trials.js | 22 ++- .../uploadDicomAndNonedicom/dicomFile.vue | 94 ++++++------ .../dicoms/customize/CustomizeDicomViewer.vue | 7 +- .../customize/CustomizeMeasurementList.vue | 10 +- .../customize/CustomizeQuestionsPreview.vue | 6 +- .../reading/dicoms3D/components/ReadPage.vue | 2 +- .../components/customize/QuestionList.vue | 4 +- .../audit-record/components/JsonEditor.vue | 142 ++++++++++++++++++ .../audit-record/components/JsonNode.vue | 136 +++++++++++++++++ .../trial-summary/audit-record/index.vue | 34 ++++- .../components/uploadDicomFiles2.vue | 94 ++++++------ .../trials-panel/visit/crc-upload/index.vue | 20 +-- 12 files changed, 443 insertions(+), 128 deletions(-) create mode 100644 src/views/trials/trials-panel/trial-summary/audit-record/components/JsonEditor.vue create mode 100644 src/views/trials/trials-panel/trial-summary/audit-record/components/JsonNode.vue diff --git a/src/api/trials.js b/src/api/trials.js index a49ed798..52d32c26 100644 --- a/src/api/trials.js +++ b/src/api/trials.js @@ -4522,4 +4522,24 @@ export function addOrUpdateCommonUploadRecord(data) { method: 'post', data, }) -} \ No newline at end of file +} + +export function getInspectionById(data) { + return request({ + url: `/Inspection/getInspectionById`, + method: 'post', + data, + }) +} + +export function setJsonDetail(data) { + return request({ + url: `/Inspection/setJsonDetail`, + method: 'post', + data, + }) +} + + + + diff --git a/src/components/uploadDicomAndNonedicom/dicomFile.vue b/src/components/uploadDicomAndNonedicom/dicomFile.vue index 8187cc0f..60089e3c 100644 --- a/src/components/uploadDicomAndNonedicom/dicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/dicomFile.vue @@ -1256,53 +1256,55 @@ export default { dicomInfo.uploadFileSize += o.file.size Record.Existed.push(name) Record.FileCount++ - } else if (o.myPath) { - instanceList.push({ - studyInstanceUid: dicomInfo.studyUid, - seriesInstanceUid: v.seriesUid, - SOPClassUID: o.SOPClassUID, - TransferSytaxUID: o.TransferSytaxUID, - MediaStorageSOPInstanceUID: - o.MediaStorageSOPInstanceUID, - MediaStorageSOPClassUID: - o.MediaStorageSOPClassUID, - sopInstanceUid: o.instanceUid, - instanceNumber: o.instanceNumber, - instanceTime: o.instanceTime, - imageRows: o.imageRows, - imageColumns: o.imageColumns, - sliceLocation: o.sliceLocation, - sliceThickness: o.sliceThickness, - numberOfFrames: o.numberOfFrames, - pixelSpacing: o.pixelSpacing, - imagerPixelSpacing: o.imagerPixelSpacing, - frameOfReferenceUID: o.frameOfReferenceUID, - windowCenter: o.windowCenter, - windowWidth: o.windowWidth, - path: o.myPath, - FileSize: o.FileSize, + } + // else if (o.myPath) { + // instanceList.push({ + // studyInstanceUid: dicomInfo.studyUid, + // seriesInstanceUid: v.seriesUid, + // SOPClassUID: o.SOPClassUID, + // TransferSytaxUID: o.TransferSytaxUID, + // MediaStorageSOPInstanceUID: + // o.MediaStorageSOPInstanceUID, + // MediaStorageSOPClassUID: + // o.MediaStorageSOPClassUID, + // sopInstanceUid: o.instanceUid, + // instanceNumber: o.instanceNumber, + // instanceTime: o.instanceTime, + // imageRows: o.imageRows, + // imageColumns: o.imageColumns, + // sliceLocation: o.sliceLocation, + // sliceThickness: o.sliceThickness, + // numberOfFrames: o.numberOfFrames, + // pixelSpacing: o.pixelSpacing, + // imagerPixelSpacing: o.imagerPixelSpacing, + // frameOfReferenceUID: o.frameOfReferenceUID, + // windowCenter: o.windowCenter, + // windowWidth: o.windowWidth, + // path: o.myPath, + // FileSize: o.FileSize, - PhotometricInterpretation: - o.PhotometricInterpretation, - BitsAllocated: o.BitsAllocated, - PixelRepresentation: o.PixelRepresentation, - RescaleIntercept: o.RescaleIntercept, - RescaleSlope: o.RescaleSlope, - ImagePositionPatient: o.ImagePositionPatient, - ImageOrientationPatient: - o.ImageOrientationPatient, - SequenceOfUltrasoundRegions: - o.SequenceOfUltrasoundRegions, - FrameTime: o.FrameTime, - CorrectedImage: o.CorrectedImage, - Units: o.Units, - DecayCorrection: o.DecayCorrection, - EncapsulatedDocument: o.EncapsulatedDocument, - }) - Record.Uploaded.push(name) - dicomInfo.failedFileCount++ - Record.FileCount++ - } else { + // PhotometricInterpretation: + // o.PhotometricInterpretation, + // BitsAllocated: o.BitsAllocated, + // PixelRepresentation: o.PixelRepresentation, + // RescaleIntercept: o.RescaleIntercept, + // RescaleSlope: o.RescaleSlope, + // ImagePositionPatient: o.ImagePositionPatient, + // ImageOrientationPatient: + // o.ImageOrientationPatient, + // SequenceOfUltrasoundRegions: + // o.SequenceOfUltrasoundRegions, + // FrameTime: o.FrameTime, + // CorrectedImage: o.CorrectedImage, + // Units: o.Units, + // DecayCorrection: o.DecayCorrection, + // EncapsulatedDocument: o.EncapsulatedDocument, + // }) + // Record.Uploaded.push(name) + // dicomInfo.failedFileCount++ + // Record.FileCount++ + // } + else { let path = `/${params.trialId}/Image/${params.subjectId }/${params.subjectVisitId}/${dicomInfo.visitTaskId }/${scope.getGuid( diff --git a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue index dd926ddd..a1334bb0 100644 --- a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue +++ b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue @@ -309,9 +309,10 @@