From d127b647f1a2e8c1c3490af276e97c024d52f904 Mon Sep 17 00:00:00 2001
From: zmk <496160012@qq.com>
Date: 星期二, 21 五月 2024 13:14:47 +0800
Subject: [PATCH] 提交代码

---
 javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/projectPerson.html |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/projectPerson.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/projectPerson.html
index fe78dd4..e2af5b1 100644
--- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/projectPerson.html
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/projectPerson.html
@@ -122,10 +122,15 @@
                         title : '璇佷欢缂栧彿',
                         visible: false
                     },
-                {
-                    field : 'remark', 
-                    title : '澶囨敞'
-                },
+                    {
+                        field : 'documentPath',
+                        title : '璇佷欢鐓х墖',
+                        formatter: function(value, row, index) {
+                            return `<a onclick="viewUserFile('${row.documentPath}')" href="#">璇佷欢鐓�</a>`;
+                        }
+
+                    },
+
                 {
                     title: '鎿嶄綔',
                     align: 'center',
@@ -139,6 +144,11 @@
             };
             $.table.init(options);
         });
+        //鏌ョ湅璇佷欢鐓х墖
+        function viewUserFile(path) {
+            var filepath = "/bjfw/"+path;
+            window.open(filepath)
+        }
     </script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1