From 0caec92aff3b75e6b82801eabbde20713cde9cec Mon Sep 17 00:00:00 2001 From: suerwei <18810552194@163.com> Date: 星期四, 23 五月 2024 11:49:35 +0800 Subject: [PATCH] 管材出入库统计_1 --- javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/projectPerson.html | 36 ++++++++++++++++++++++++++++++++---- 1 files changed, 32 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 92f8fe4..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 @@ -104,10 +104,33 @@ field : 'responsibility', title : '鑱岃矗' }, - { - field : 'remark', - title : '澶囨敞' - }, + { + field : 'inSiteTime', + title : '杩涘満鏃堕棿' + }, + { + field : 'outSiteTime', + title : '鍑哄満鏃堕棿' + }, + { + field : 'documentType', + title : '璇佷欢绫诲瀷', + visible: false + }, + { + field : 'documentCode', + title : '璇佷欢缂栧彿', + visible: false + }, + { + field : 'documentPath', + title : '璇佷欢鐓х墖', + formatter: function(value, row, index) { + return `<a onclick="viewUserFile('${row.documentPath}')" href="#">璇佷欢鐓�</a>`; + } + + }, + { title: '鎿嶄綔', align: 'center', @@ -121,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