Administrator
2025-07-25 ae88bca64d28e91341e00913cc2d816f889c5ec8
src/main/resources/templates/febs/views/modules/mallMember/mallMemberList.html
@@ -127,6 +127,14 @@
    {{# } }}
</script>
<script type="text/html" id="checkLeaderSwitch">
    {{# if(d.checkLeader === 1) { }}
    <input type="checkbox" value={{d.id}} lay-text="是|否" checked lay-skin="switch" lay-filter="checkLeaderSwitch">
    {{# } else { }}
    <input type="checkbox" value={{d.id}} lay-text="是|否" lay-skin="switch" lay-filter="checkLeaderSwitch">
    {{# } }}
</script>
<script type="text/html" id="isDoctorSwitch">
    {{# if(d.doctorState === 1) { }}
    <input type="checkbox" value={{d.id}} lay-text="是|否" checked lay-skin="switch" lay-filter="isDoctorSwitch">
@@ -318,6 +326,14 @@
            }
        })
        form.on('switch(checkLeaderSwitch)', function (data) {
            if (data.elem.checked) {
                checkLeader(data.value);
            } else {
                checkLeader(data.value);
            }
        })
        form.on('switch(isSalesmanSwitch)', function (data) {
            if (data.elem.checked) {
                upSale(data.value);
@@ -343,6 +359,13 @@
        function checkOrder(id) {
            febs.get(ctx + 'admin/mallMember/checkOrder/' + id, null, function () {
                febs.alert.success('操作成功');
                $query.click();
            });
        }
        function checkLeader(id) {
            febs.get(ctx + 'admin/mallMember/checkLeader/' + id, null, function () {
                febs.alert.success('操作成功');
                $query.click();
            });
@@ -385,7 +408,8 @@
                    {type: 'checkbox'},
                    {type: 'numbers', title: '', width: 80},
                    {field: 'checkOrder', title: '状态', templet: '#accountStatusSwitch', minWidth: 100,align:'center'},
                    {field: 'checkOrder', title: '核销员', templet: '#checkOrderSwitch', minWidth: 100,align:'center'},
                    {field: 'checkOrder', title: '活动核销', templet: '#checkOrderSwitch', minWidth: 100,align:'center'},
                    {field: 'checkLeader', title: '自提核销', templet: '#checkLeaderSwitch', minWidth: 100,align:'center'},
                    {field: 'isSalesman', title: '推销员设置', templet: '#isSalesmanSwitch', minWidth: 100,align:'center'},
                    // {title: '操作', toolbar: '#memberOption', minWidth: 200, align: 'center'},
                    {field: 'name', title: '用户名', minWidth: 100,align:'center'},