From 3114bfec4e2278bdd394eb9e74dd9506f42232b2 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 05 十一月 2026 16:11:27 +0800
Subject: [PATCH] 1. 完成项目管理全流程优化,补充阶段推进、汇报统计及生命周期记录。 2. 完成业务与项目数据关联,支持查看项目进度、详情及相关附件。 3. 完成采购审批流程接入,支持配置审批人员及采购业务审批。 4. 精简用户、角色、部门、菜单和字典,完善操作日志及附件下载。

---
 src/components/Dialog/FileList.vue |   22 +---------------------
 1 files changed, 1 insertions(+), 21 deletions(-)

diff --git a/src/components/Dialog/FileList.vue b/src/components/Dialog/FileList.vue
index b0e78cf..343fc05 100644
--- a/src/components/Dialog/FileList.vue
+++ b/src/components/Dialog/FileList.vue
@@ -43,13 +43,6 @@
                        type="primary"
                        size="small"
                        class="download-link"
-                       @click="previewFile(scope.row.previewURL)">
-              棰勮
-            </el-button>
-            <el-button link
-                       type="primary"
-                       size="small"
-                       class="download-link"
                        @click="downloadFile(scope.row.downloadURL)">
               涓嬭浇
             </el-button>
@@ -65,11 +58,9 @@
       </el-table>
     </div>
   </el-dialog>
-  <filePreview ref="filePreviewRef" />
 </template>
 
 <script setup>
-import { ElMessage } from 'element-plus'
   import { ref, computed, getCurrentInstance, onMounted, watch } from "vue";
   import AttachmentUpload from "@/components/AttachmentUpload/file/index.vue";
   import {
@@ -77,8 +68,6 @@
     deleteAttachment,
     createAttachment,
   } from "@/api/basicData/storageAttachment.js";
-  import filePreview from '@/components/filePreview/index.vue'
-  const filePreviewRef = ref()
 
   const props = defineProps({
     visible: {
@@ -132,15 +121,6 @@
   const handleClose = () => {
     isShow.value = false;
   };
-
-  // 棰勮鏂囦欢
-  const previewFile = (url) => {
-    if (url) {
-      filePreviewRef.value.open(url)
-    } else {
-      ElMessage.warning('鏂囦欢鍦板潃鏃犳晥锛屾棤娉曢瑙�')
-    }
-  }
 
   const handleUpload = () => {
     uploadDialogVisible.value = true;
@@ -260,4 +240,4 @@
   :deep(.el-table__empty-text) {
     color: #999;
   }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3