From b9b712a7701eb83c7dbd8367c534d4c880503adb Mon Sep 17 00:00:00 2001 From: zmk <496160012@qq.com> Date: 星期六, 18 五月 2024 16:51:19 +0800 Subject: [PATCH] 提交代码 --- javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html index 50579ed..407098c 100644 --- a/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html +++ b/javaweb-plus/javaweb-cms/src/main/resources/templates/geo/projectData/projectData.html @@ -41,9 +41,9 @@ <!-- <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="geo:projectData:export">--> <!-- <i class="fa fa-download"></i> 瀵煎嚭--> <!-- </a>--> - <a class="btn btn-danger" data-toggle="modal" onclick="uploadZIP();"> - <i class="fa fa-upload"></i>涓婁紶闄勪欢 - </a> +<!-- <a class="btn btn-danger" data-toggle="modal" onclick="uploadZIP();">--> +<!-- <i class="fa fa-upload"></i>涓婁紶闄勪欢--> +<!-- </a>--> </div> <div class="col-sm-12 select-table table-striped"> <table id="bootstrap-table"></table> @@ -94,8 +94,10 @@ align: 'center', formatter: function(value, row, index) { var actions = []; + actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>缂栬緫</a> '); actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>鍒犻櫎</a> '); + actions.push('<a class="btn btn-info btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="uploadZIP(\'' + row.id + '\')"><i class="fa fa-upload"></i>涓婁紶</a> '); actions.push('<a class="btn btn-info btn-xs ' + '" href="javascript:void(0)" onclick="viewImg(\'' + row.dataUrl + '\' , \'' + row.id + '\')"><i class="glyphicon glyphicon-menu-hamburger"></i>鏌ョ湅闄勪欢</a>'); return actions.join(''); } @@ -105,11 +107,9 @@ }); // 涓婁紶闄勪欢 - function uploadZIP(){ - $.modal.open('涓婁紶闄勪欢', prefix + "/importImg"); + function uploadZIP(id){ + $.modal.open('涓婁紶闄勪欢', prefix + "/importImg?projectDataId="+id); } - - // 鏌ョ湅鍥剧墖璇︽儏 function viewImg(path, id) { if(path === null || path === '' || path === 'null'){ @@ -121,4 +121,5 @@ } </script> </body> + </html> \ No newline at end of file -- Gitblit v1.9.1