Helius
2021-06-16 5728be2af515b2200e782aa201ca5d4d67d9ea47
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!--#layout("/common/layout.html",{"jsBase":"/js/admin/setting/itemSetting/"}){ -->
<input type="text" value="${parentId}" id="parentId" hidden />
<table id="childTable" lay-filter="childTable"></table>
<!--#} -->
<script>
    var index;
    layui.use(['child'], function(){
        index = layui.child
        index.init({'delFlag':0,'parentId':$("#parentId").val()});
    });
 
    // 删除
    var delCuserById = function(id, e){
        layer.confirm('确认要删除吗?', {
            btn : [ '确定', '取消' ]//按钮
        }, function(index) {
            layer.close(index);
            $.post(Common.ctxPath+'/admin/setting/item/delItem.json', {'id':id}, null);
            $("tr[data-index='" + e + "']").remove();
        });
    };
    
 
</script>
<!--C端用户管理----用户查询-->