|  |  | 
 |  |  | </div>
 | 
 |  |  | <!-- 表格操作栏 start -->
 | 
 |  |  | <script type="text/html" id="user-option">
 | 
 |  |  |     <span shiro:lacksPermission="user:view,user:update,user:delete">
 | 
 |  |  |         <span class="layui-badge-dot febs-bg-orange"></span> 无权限
 | 
 |  |  |     </span>
 | 
 |  |  |    <a lay-event="confirm" shiro:hasPermission="user:delete">确认</a>
 | 
 |  |  |    <i class="layui-icon febs-edit-area febs-blue"></i>
 | 
 |  |  |    <a lay-event="cancel" shiro:hasPermission="user:delete">拒绝</a>
 | 
 |  |  | <!--    <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>
 | 
 |  |  |         <a lay-event="examine" >查看</a>
 | 
 |  |  |     {{# } else { }}
 | 
 |  |  |         <a lay-event="examine" >查看</a>
 | 
 |  |  |     {{# } }}
 | 
 |  |  | </script>
 | 
 |  |  | <!-- 表格操作栏 end -->
 | 
 |  |  | <script data-th-inline="none" type="text/javascript">
 | 
 |  |  | 
 |  |  |                                 return '<span style="color:red;">拒绝</span>'
 | 
 |  |  |                             }
 | 
 |  |  |                         },minWidth: 100,align:'center'},
 | 
 |  |  |                     {title: '操作',  | 
 |  |  |                        templet: function (d) {
 | 
 |  |  |                             if (d.status === 1) {
 | 
 |  |  |                                return '<a lay-event="confirm" shiro:hasPermission="user:delete">确认</a>'
 | 
 |  |  |                                +'<i class="layui-icon febs-edit-area febs-blue"></i>'
 | 
 |  |  |                                +'<a lay-event="cancel" shiro:hasPermission="user:delete">拒绝</a>'
 | 
 |  |  |                                +'<a lay-event="examine" shiro:hasPermission="user:delete">查看</a>'
 | 
 |  |  |                             }else {
 | 
 |  |  |                                 return '<a lay-event="examine" shiro:hasPermission="user:delete">查看</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'}
 | 
 |  |  |                 ]]
 | 
 |  |  |             });
 | 
 |  |  |         }
 |