From 563619a5cb13b6f9fdaac2a87467780ced71c135 Mon Sep 17 00:00:00 2001
From: suerwei <18810552194@163.com>
Date: 星期六, 18 五月 2024 16:22:39 +0800
Subject: [PATCH] 附件详情

---
 javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html
index 50579ed..fdb6426 100644
--- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html
@@ -96,7 +96,7 @@
                         var actions = [];
                         actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>缂栬緫</a> ');
                         actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>鍒犻櫎</a> ');
-                        actions.push('<a class="btn btn-info btn-xs ' + '" href="javascript:void(0)" onclick="viewImg(\'' + row.dataUrl + '\' , \'' + row.id + '\')"><i class="glyphicon glyphicon-menu-hamburger"></i>鏌ョ湅闄勪欢</a>');
+                        actions.push('<a class="btn btn-info btn-xs ' + '" href="javascript:void(0)" onclick="viewResource(\'' + row.id + '\' , \'' + row.id + '\')"><i class="glyphicon glyphicon-menu-hamburger"></i>鏌ョ湅闄勪欢</a>');
                         return actions.join('');
                     }
                 }]
@@ -119,6 +119,11 @@
             var url = prefix + "/viewImage?id=" + id;
             $.modal.open("鏌ョ湅鍥剧墖", url, 800, 600);
         }
+
+        //鏌ョ湅璧勬枡
+        function viewResource(id){
+            $.modal.open("璧勬枡鍒楄〃",  prefix + "/projectDataFileList?id=" + id, 800, 600);
+        }
     </script>
 </body>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1