From 5743e533414c608a12f9323f17a7c86721c7f54c Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期五, 06 十一月 2026 00:13:43 +0800
Subject: [PATCH] organfee

---
 src/views/project/fund/ethicalExpertFeeApply/index.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/views/project/fund/ethicalExpertFeeApply/index.vue b/src/views/project/fund/ethicalExpertFeeApply/index.vue
index c6a74c6..6e6576e 100644
--- a/src/views/project/fund/ethicalExpertFeeApply/index.vue
+++ b/src/views/project/fund/ethicalExpertFeeApply/index.vue
@@ -2064,8 +2064,16 @@
       }
     },
 
-    // 涓嬭浇鏂囦欢
+    // 棰勮/涓嬭浇鏂囦欢
     downFile(item) {
+      const ext = String(item.name || "")
+        .split(".")
+        .pop()
+        .toLowerCase();
+      if (["pdf", "jpg", "jpeg", "png", "gif", "bmp", "webp"].includes(ext)) {
+        this.$previewFile([{ name: item.name, url: item.url }]);
+        return;
+      }
       const url = process.env.VUE_APP_BASE_API + item.url;
       var a = document.createElement("a");
       var event = new MouseEvent("click");

--
Gitblit v1.9.3