From caf9f27b80b5c16df1c13e1c456e701df6481152 Mon Sep 17 00:00:00 2001 From: dshclm <3321914460@qq.com> Date: Thu, 5 Jun 2025 15:00:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=9B=9E=E6=84=8F=E8=A7=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/system/newdev/leave/leaveList.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/newdev/leave/leaveList.html b/ruoyi-admin/src/main/resources/templates/system/newdev/leave/leaveList.html index 68b74474..f110255c 100644 --- a/ruoyi-admin/src/main/resources/templates/system/newdev/leave/leaveList.html +++ b/ruoyi-admin/src/main/resources/templates/system/newdev/leave/leaveList.html @@ -102,14 +102,22 @@ align: 'center', formatter: function(value, row, index) { var actions = []; - actions.push('材料提交 '); + + if (row.applyStatus == 8){ + actions.push('材料提交 '); + actions.push('退回意见 '); + }else{ + actions.push('材料提交 '); + } return actions.join(''); } }] }; $.table.init(options); }); - + function openMsg(row){ + $.modal.alertError(row); + }