//列表数据
table.render({
    elem: '#LAY-list-manage'
    , url: '/Admin/SysTools/IndexData' //模拟接口
    , cols: [[
        { type: 'checkbox', fixed: 'left' }
        , { field: 'ApplyNo', width: 200, title: '申请订单号', sort: true }
        , { field: 'OrderNo', width: 200, title: '订单号', sort: true }
        , { field: 'MakerCode', width: 200, title: '创客编号', sort: true }
        , { field: 'RealName', width: 200, title: '创客姓名', sort: true }
        , { field: 'ComeSn', width: 200, title: '来源机具SN', sort: true, templet: '#Loop' }
        , { field: 'SendSn', width: 200, title: '发货SN', sort: true, templet: '#Loop' }
        , { field: 'CreateDate', width: 200, title: '申请时间', sort: true }
        , { field: 'Status', width: 200, title: '申请状态', sort: true }
        , { title: '操作', width: 1500, align: 'left', toolbar: '#table-list-tools' }
    ]]
    , where: {
    }
    , page: true
    , limit: 30
    , height: 'full-' + String($('.layui-card-header').height() + 130)
    , text: '对不起，加载出现异常！'
    , done: function (res, curr, count) {
        $(".layui-none").text("无数据");
    }
});

$('.layui-btn').on('click', function () {
    var type = $(this).data('type');
    active[type] ? active[type].call(this) : '';
});