From 7fe5fb39e00749e4e412ced5703a61036752c874 Mon Sep 17 00:00:00 2001
From: zmk <496160012@qq.com>
Date: 星期二, 25 六月 2024 18:49:02 +0800
Subject: [PATCH] 提交代码
---
javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectPerson/projectPerson.html | 52 ++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 42 insertions(+), 10 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 4bcc484..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
@@ -44,9 +44,9 @@
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="geo:projectPerson:remove">
<i class="fa fa-remove"></i> 鍒犻櫎
</a>
- <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="geo:projectPerson:export">
- <i class="fa fa-download"></i> 瀵煎嚭
- </a>
+<!-- <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="geo:projectPerson:export">-->
+<!-- <i class="fa fa-download"></i> 瀵煎嚭-->
+<!-- </a>-->
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>
@@ -64,7 +64,7 @@
$(function() {
var options = {
url: prefix + "/list?projectId="+projectId,
- createUrl: prefix + "/add",
+ createUrl: prefix + "/add?projectId="+projectId,
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
@@ -93,17 +93,44 @@
title : '鎵嬫満鍙�'
},
{
- field : 'address',
- title : '鍦板潃'
+ field : 'idCard',
+ title : '韬唤璇佸彿'
},
+ {
+ field : 'personGroup',
+ title : '浜哄憳鍒嗙粍'
+ },
{
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',
@@ -117,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