地质所 沉降监测网建设项目
zmk
2024-07-03 5606efe6f2778ad09d8b35280d6360cfe8f34d91
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>