From 383c3633abc955f912d1b8a49c37aeb48aaa5ae7 Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Fri, 16 May 2025 15:20:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E7=99=BB=E8=AE=B0--=E6=9D=90?= =?UTF-8?q?=E6=96=99=E4=BF=AE=E6=94=B9tab=E5=90=8D=E7=A7=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/system/newdev/apply/applyList.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/newdev/apply/applyList.html b/ruoyi-admin/src/main/resources/templates/system/newdev/apply/applyList.html index f7e41cbd..25522b19 100644 --- a/ruoyi-admin/src/main/resources/templates/system/newdev/apply/applyList.html +++ b/ruoyi-admin/src/main/resources/templates/system/newdev/apply/applyList.html @@ -126,7 +126,7 @@ align: 'center', formatter: function(value, row, index) { var actions = []; - actions.push('<a class="btn btn-info btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detailTab(\'' + row.applyId + '\')"><i class="fa fa-edit"></i>材料提交</a> '); + actions.push('<a class="btn btn-info btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="openFile(\'' + row.applyId + '\')"><i class="fa fa-edit"></i>材料提交</a> '); actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.editTab(\'' + row.applyId + '\')"><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.applyId + '\')"><i class="fa fa-remove"></i>删除</a>'); return actions.join(''); @@ -135,7 +135,10 @@ }; $.table.init(options); }); - + function openFile(id){ + table.set(); + $.modal.openTab("材料提交", $.operate.detailUrl(id)); + } </script> </body> </html>