From 5606efe6f2778ad09d8b35280d6360cfe8f34d91 Mon Sep 17 00:00:00 2001 From: zmk <496160012@qq.com> Date: 星期三, 03 七月 2024 16:19:28 +0800 Subject: [PATCH] Merge branch 'master' of ssh://117.78.1.188:29418/dkyChenJiang --- javaweb-plus/javaweb-cms/src/main/resources/templates/geo/TubLog/TubLog.html | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/TubLog/TubLog.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/TubLog/TubLog.html index 434ae3e..381b34c 100644 --- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/TubLog/TubLog.html +++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/TubLog/TubLog.html @@ -109,6 +109,13 @@ field : 'unit', title : '鏁版嵁鍗曚綅' }, + { + field : 'documentPath', + title : '鍥剧墖/鎵弿浠�', + formatter: function(value, row, index) { + return `<a onclick="viewTubLogFile('${row.fileUrl}')" href="#">鍥剧墖/鎵弿浠�</a>`; + } + }, { field : 'remark', title : '澶囨敞' @@ -133,6 +140,11 @@ window.location.href = ctx + "common/download?fileName=" + encodeURI(filename) + "&delete=" + false; } + //鏌ョ湅璇佷欢鐓х墖 + function viewTubLogFile(path) { + var filepath = "/bjfw/"+path; + window.open(filepath) + } </script> </body> -- Gitblit v1.9.1