Add scoped DICOM series previews with 3D volume and MPR views

This commit is contained in:
SantaSpeen committed 2026-10-22 21:06:46 +03:00
1 parent 7371c29111
commit 6d8faa7d03
23 files changed
+1479 -20

No files matched your search

+1
View File
@@ -125,6 +125,7 @@
:name="req.name"
:type="req.type"
:size="req.size"
:resource="req"
/>
</div>
<div
+6 -2
View File
@@ -75,7 +75,11 @@
:class="{ 'document-preview': isDicom || isPdf || isGenericPreview }"
>
<PdfViewer v-if="isPdf" :source="previewUrl" />
<DicomViewer v-else-if="isDicom" :source="previewUrl" />
<DicomViewer
v-else-if="isDicom"
:source="previewUrl"
:resource="fileStore.req || undefined"
/>
<div v-else-if="isEpub" class="epub-reader">
<vue-reader
:location="location"
@@ -310,7 +314,7 @@ const previewUrl = computed(() => {
return "";
}
if (fileStore.req.type === "image" && !fullSize.value) {
if (fileStore.req.type === "image" && !isDicom.value && !fullSize.value) {
return api.getPreviewURL(fileStore.req, "big");
}