| | |
| | | layEvent = obj.event; |
| | | |
| | | if (layEvent === 'agree') { |
| | | febs.modal.confirm('通过', '通过用户的代理申请?', function () { |
| | | agree(data.id); |
| | | // febs.modal.confirm('通过', '通过用户的代理申请?', function () { |
| | | // agree(data.id); |
| | | // }); |
| | | |
| | | febs.modal.open('代理申请审核', 'modules/mallMember/agentVerify/' + data.id, { |
| | | btn: ['确认','取消'], |
| | | yes: function (index, layero) { |
| | | $('#agent-verify').find('#submit').trigger('click'); |
| | | $query.click(); |
| | | }, |
| | | btn2: function () { |
| | | layer.closeAll(); |
| | | } |
| | | }); |
| | | } |
| | | if (layEvent === 'disagree') { |
| | |
| | | defaultToolbar:[], |
| | | cols: [[ |
| | | {field:'memberName', title:'微信昵称', width:100, rowspan: 2,align: 'center'} |
| | | ,{align: 'center', title: '基本信息', colspan: 7} |
| | | ,{align: 'center', title: '基本信息', colspan: 9} |
| | | ,{field: 'state', title: '申请状态', |
| | | templet: function (d) { |
| | | if (d.state === 1) { |
| | |
| | | // {field: 'memberName', title: '微信昵称', minWidth: 150,align:'left'}, |
| | | {field: 'name', title: '姓名', minWidth: 100,align:'left'}, |
| | | {field: 'phone', title: '电话', minWidth: 100,align:'left'}, |
| | | {field: 'amount', title: '充值金额', minWidth: 100,align:'left'}, |
| | | {field: 'agentLevelName', title: '等级', minWidth: 100,align:'left'}, |
| | | {field: 'province', title: '省', minWidth: 100,align:'left'}, |
| | | {field: 'city', title: '市', minWidth: 100,align:'left'}, |
| | | {field: 'area', title: '区、县', minWidth: 100,align:'left'}, |