diff --git a/src/components/uploadDicomAndNonedicom/nonedicomFile.vue b/src/components/uploadDicomAndNonedicom/nonedicomFile.vue
index 9642f150..1ba2b9fd 100644
--- a/src/components/uploadDicomAndNonedicom/nonedicomFile.vue
+++ b/src/components/uploadDicomAndNonedicom/nonedicomFile.vue
@@ -61,16 +61,28 @@
-
+
+
+
+
@@ -108,16 +120,28 @@
-
+
+
+
+
@@ -548,9 +572,10 @@ export default {
// 预览文件
previewFile(row) {
// window.open(row.FullFilePath, '_blank')
- this.imgObj.url = row.FullFilePath || row.Path
- this.imgObj.loading = true
- this.imgObj.visible = true
+ // this.imgObj.url = row.FullFilePath || row.Path
+ // this.imgObj.loading = true
+ // this.imgObj.visible = true
+ this.$refs[row.Path].$viewer.show()
},
// 预览单个检查下非Dicom文件
handlePreviewNoneDicomFiles(row) {
diff --git a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue
index 5e6e0137..49ab8de9 100644
--- a/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue
+++ b/src/views/trials/trials-panel/visit/crc-upload/components/uploadNonDicomFiles.vue
@@ -69,7 +69,33 @@
+
+
+
+
+
+
= 0
"
- @click.native.prevent="
- files.row.type === 'MP4'
- ? handleLookVideo(scope.row)
- : handlePreviewImg(files.row)
- "
+ @click.native.prevent="handleLookVideo(scope.row)"
/>
@@ -866,9 +889,10 @@ export default {
})
},
handlePreviewImg(row) {
- this.imgUrl = row.FullFilePath
- this.previewImgVisible = true
- this.imageLoading = true
+ // this.imgUrl = row.FullFilePath
+ // this.previewImgVisible = true
+ // this.imageLoading = true
+ this.$refs[row.FullFilePath].$viewer.show()
},
beginScanFolder(e) {
var files = e.target.files
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 8432df14..9922a3e2 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
@@ -417,16 +417,28 @@
>
-
- {{ $t('trials:audit:button:nonDicomsPreview') }}
-
+
+ {{ $t('trials:audit:button:nonDicomsPreview') }}
+
+
+
@@ -2335,9 +2347,10 @@ export default {
// 预览文件
previewFile(row) {
// window.open(row.FullFilePath, '_blank')
- this.imgObj.url = row.FullFilePath
- this.imgObj.loading = true
- this.imgObj.visible = true
+ // this.imgObj.url = row.FullFilePath
+ // this.imgObj.loading = true
+ // this.imgObj.visible = true
+ this.$refs[row.FullFilePath].$viewer.show()
},
// 预览所有影像
handleViewImages() {