From 9ef1f7389587bd35f26bb96935a788784f57cb07 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 01 Dec 2020 14:35:34 +0800 Subject: [PATCH] 20201201 --- src/main/resources/templates/febs/views/modules/member/withdrawCoin.html | 26 +++++++++++--------------- 1 files changed, 11 insertions(+), 15 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html b/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html index 6a721da..1847ca1 100644 --- a/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html +++ b/src/main/resources/templates/febs/views/modules/member/withdrawCoin.html @@ -62,12 +62,9 @@ <!-- <span shiro:lacksPermission="coin:check">--> <!-- <span class="layui-badge-dot febs-bg-orange"></span> 无权限--> <!-- </span>--> - {{# if(d.status === 1) { }} <a lay-event="confirm" shiro:hasPermission="coin:check" >确认</a> <a lay-event="cancel" shiro:hasPermission="coin:check" >拒绝</a> - {{# } else { }} - {{# } }} </script> <!-- 表格操作栏 end --> <script data-th-inline="none" type="text/javascript"> @@ -184,18 +181,17 @@ return '<span style="color:red;">拒绝</span>' } },minWidth: 100,align:'center'}, - // {title: '操作', toolbar: '#user-option' - // templet: function (d) { - // if (d.status === 1) { - // return '<a lay-event="confirm" shiro:hasPermission="coin:check">确认</a>' - // +'<i class="layui-icon febs-edit-area febs-blue"></i>' - // +'<a lay-event="cancel" shiro:hasPermission="coin:check">拒绝</a>' - // +'<a lay-event="examine" >查看</a>' - // }else { - // return '<a lay-event="examine" >查看</a>' - // } - // } - // ,minWidth: 200,align:'center'} + {title: '操作', toolbar: '#user-option',templet: function (d) { + if (d.status === 1) { + return '<a lay-event="confirm" shiro:hasPermission="coin:check">确认</a>' + +'<i class="layui-icon febs-edit-area febs-blue"></i>' + +'<a lay-event="cancel" shiro:hasPermission="coin:check">拒绝</a>' + +'<a lay-event="examine" >查看</a>' + }else { + return '<a lay-event="examine" >查看</a>' + } + } + ,minWidth: 200,align:'center'} ]] }); } -- Gitblit v1.9.1