From 6ec4ab163cff16c7ce0f4822efc224abe8e85410 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 24 三月 2025 09:51:00 +0800
Subject: [PATCH] 合并

---
 src/views/structural/capabilityAndLaboratory/workshop/components/fileList.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/structural/capabilityAndLaboratory/workshop/components/fileList.vue b/src/views/structural/capabilityAndLaboratory/workshop/components/fileList.vue
index 11287cd..6cdd690 100644
--- a/src/views/structural/capabilityAndLaboratory/workshop/components/fileList.vue
+++ b/src/views/structural/capabilityAndLaboratory/workshop/components/fileList.vue
@@ -11,7 +11,7 @@
     <lims-table :tableData="tableDataFile" :column="columnFile" height="500px" key="tableDataFile"
       :tableLoading="tableLoadingFile"></lims-table>
     <el-dialog title="鏌ョ湅闄勪欢" :visible.sync="lookDialogVisible" width="800px" top="5vh" fullscreen append-to-body>
-      <filePreview v-if="lookDialogVisible" :fileUrl="javaApi + '/word/' + currentInfo.fileUrl" :currentFile="{}"
+      <filePreview v-if="lookDialogVisible" :fileUrl="currentInfo.fileMinioUrl" :currentFile="currentInfo"
         style="max-height: 90vh;overflow-y: auto;" />
     </el-dialog>
   </div>
@@ -85,6 +85,7 @@
               name: '棰勮',
               type: 'text',
               clickFun: (row) => {
+                console.log('棰勮鏂囦欢淇℃伅:', row)
                 this.currentInfo = row
                 this.lookDialogVisible = true
               }
@@ -109,6 +110,7 @@
         this.tableLoadingFile = false
         if (res.code === 200) {
           this.tableDataFile = res.data
+          console.log('鏂囦欢鍒楄〃鏁版嵁:', this.tableDataFile)
         }
       }).catch(err => {
         this.tableLoadingFile = false

--
Gitblit v1.9.3