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); + }