From 280001d476b92bf2d14052518e6f69bee9dee43d Mon Sep 17 00:00:00 2001 From: zmk <496160012@qq.com> Date: 星期四, 18 七月 2024 16:13:15 +0800 Subject: [PATCH] 提交代码 --- javaweb-plus/javaweb-cms/src/main/resources/templates/geo/project/project.html | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 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 0293f9e..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,7 +84,10 @@ 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 }, @@ -101,13 +104,9 @@ field : 'leader', title : '鍦哄湴璐熻矗浜�' }, - { - field : 'createTime', - title : '鍒涘缓鏃堕棿' - }, { field : 'status', - title : '椤圭洰鐘舵��', + title : '鍦哄湴鐘舵��', formatter: function(value, row, index) { return $.table.selectDictLabel(statusDatas, value); } @@ -127,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