| | |
| | | }
|
| | | });
|
| | | }
|
| | | if (layEvent === 'addCoin') {
|
| | | febs.modal.open( '拨币', 'modules/member/addCoin/' + data.id, {
|
| | | btn: ['提交', '取消'],
|
| | | yes: function (index, layero) {
|
| | | $('#user-update').find('#submit').trigger('click');
|
| | | },
|
| | | btn2: function () {
|
| | | layer.closeAll();
|
| | | }
|
| | | });
|
| | | }
|
| | | if (layEvent === 'see') {
|
| | | febs.modal.open( '身份认证', 'modules/member/memberDetail/' + data.id, {
|
| | | maxmin: true,
|
| | |
| | | templet: function (d) {
|
| | | if (d.certifyStatus === 1) {
|
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit" shiro:hasPermission="user:update">审核认证</button>'
|
| | | +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addCoin" shiro:hasPermission="user:update">拨币</button>'
|
| | | }else if(d.certifyStatus === 2){
|
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="see" shiro:hasPermission="user:update">查看</button>'
|
| | | +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addCoin" shiro:hasPermission="user:update">拨币</button>'
|
| | | }else{
|
| | | return ''
|
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="addCoin" shiro:hasPermission="user:update">拨币</button>'
|
| | | }
|
| | | }
|
| | | ,minWidth: 200,align:'center'}
|