| | |
| | | </div> |
| | | </form> |
| | | <table lay-filter="agentApplyTable" lay-data="{id: 'agentApplyTable'}"></table> |
| | | <style type="text/css"> |
| | | ::-webkit-scrollbar { |
| | | height: 20px !important; |
| | | background-color: #f4f4f4; |
| | | } |
| | | </style> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | url: ctx + 'admin/mallMember/getAgentApplyList', |
| | | defaultToolbar:[], |
| | | cols: [[ |
| | | {field:'memberName', title:'微信昵称', width:100, rowspan: 3,align: 'center'} |
| | | {field:'memberName', title:'微信昵称', width:100, rowspan: 2,align: 'center'} |
| | | ,{align: 'center', title: '基本信息', colspan: 7} |
| | | ,{field: 'state', title: '申请状态', |
| | | templet: function (d) { |
| | |
| | | }else{ |
| | | return '' |
| | | } |
| | | }, minWidth: 100,rowspan: 3,align:'center'}, |
| | | ,{field:'createdTime', title:'申请时间', width:100,rowspan: 3,align: 'center'} |
| | | }, minWidth: 100,rowspan: 2,align:'center'}, |
| | | ,{field:'createdTime', title:'申请时间', width:100,rowspan: 2,align: 'center'} |
| | | ,{title: '操作', |
| | | templet: function (d) { |
| | | if(d.state === 1 ){ |
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agree" shiro:hasPermission="user:update">同意</button>' |
| | | +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagree" shiro:hasPermission="user:update">拒绝</button>' |
| | | }else{ |
| | | return '' |
| | | } |
| | | },width:200,rowspan: 2,align:'center', fixed:"right" |
| | | } |
| | | ],[ |
| | | // {field: 'memberName', title: '微信昵称', minWidth: 150,align:'left'}, |
| | | {field: 'name', title: '姓名', minWidth: 100,align:'left'}, |
| | |
| | | // } |
| | | // }, minWidth: 100,align:'center'}, |
| | | // {field: 'createdTime', title: '申请时间', minWidth: 180,align:'center'}, |
| | | {title: '操作', |
| | | templet: function (d) { |
| | | if(d.state === 1 ){ |
| | | return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agree" shiro:hasPermission="user:update">同意</button>' |
| | | +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagree" shiro:hasPermission="user:update">拒绝</button>' |
| | | }else{ |
| | | return '' |
| | | } |
| | | },minWidth: 200,align:'center', fixed:"right" |
| | | } |
| | | ]] |
| | | }); |
| | | } |