From 931f827913133bf3032a1083cba40c5c5b6dc7cb Mon Sep 17 00:00:00 2001
From: zmk <496160012@qq.com>
Date: 星期四, 18 七月 2024 16:50:50 +0800
Subject: [PATCH] 提交代码
---
javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html
index 1e158f1..7f0a1f3 100644
--- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html
+++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html
@@ -84,29 +84,29 @@
field : 'fullName',
title : '鍦哄湴鍚嶇О',
formatter: function(value, row, index) {
- return '<a onclick="navigate(\'' + row.ids + '\')">'+row.fullName+'</a>'
+ var id = row.ids;
+ var code = row.code;
+ var str = id + "," + code;
+ return '<a onclick="navigate(\'' + str + '\')">'+row.fullName+'</a>'
},
sortable:true
},
{
field : 'laborUnit',
- title : '鍔冲姟鍗曚綅'
+ title : '鍔冲姟鍗曚綅',
+ visible: false
},
{
field : 'district',
title : '鍖哄幙',
},
{
- field : 'leaderName',
+ field : 'leader',
title : '鍦哄湴璐熻矗浜�'
- },
- {
- field : 'createTime',
- title : '鍒涘缓鏃堕棿'
},
{
field : 'status',
- title : '椤圭洰鐘舵��',
+ title : '鍦哄湴鐘舵��',
formatter: function(value, row, index) {
return $.table.selectDictLabel(statusDatas, value);
}
@@ -126,9 +126,11 @@
});
- function navigate(id){
-
- $.modal.openTab("鍦哄湴瀵艰埅",ctx+"/geo/project/navigate?ids="+id);
+ function navigate(idcode){
+ var strs = idcode.split(",");
+ var id =strs[0];
+ var code = strs[1];
+ $.modal.openTab(code + " 鍦哄湴瀵艰埅",ctx+"/geo/project/navigate?ids="+id);
}
</script>
</body>
--
Gitblit v1.9.1