<div class="layui-table-box">
                        <div class="layui-table-header">
                            <table cellspacing="0" cellpadding="0" border="0" class="layui-table">
                                <thead>
                                    <tr class="layui-table-header">
                                        <th width="25"><input type="checkbox" ></div>
                    </div>
 <script >&#xe6e2;</i></a>*@
            </td>
        </tr>
        {{/each}}
    </script>

 
 //分页事件
        function rgpage(totle) {
            layui.use(['laypage', 'layer'], function () {
                var laypage = layui.laypage
                    , layer = layui.layer;
                laypage.render({
                    elem: 'page'
                    , count: totle//$("#total").html()
                    , limit: 20
                    , curr: currentPageAllAppoint
                    , first: '首页'
                    , last: '尾页'
                    , prev: '<em>←</em>'
                    , next: '<em>→</em>'
                    , theme: '#1E9FFF'
                    , jump: function (obj, first) {
                        currentPageAllAppoint = obj.curr;
                        if (!first) {
                            var gguid = $("#gradeid").find("option:selected").val();
                            var cguid = $("#classid").find("option:selected").val();
                            var courseid = $("#course").find("option:selected").val();
                            $RoleManage.getRoleGroupList(gguid, cguid, courseid, obj.curr, 20, $("#key").val());
                        }
                    }
                });
            });
        }
 
 

$.get("/admin/RoleManage/GetRoleGroupList", data, function (out) {
//填充试题总数
var totle = out.message;
$("#total").html(totle);
var html = template('oauthlist', out);
$("#conlist").html(html);
//加载分页方法
rgpage(totle);
})

 

return "{\"code\":\"" + code + "\",\"message\":\"" + message + "\",\"data\":[" + data + "]}";

相关文章:

  • 2022-12-23
  • 2021-06-30
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-02-07
  • 2021-07-01
猜你喜欢
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2021-12-16
  • 2021-12-02
  • 2021-10-20
  • 2022-01-23
相关资源
相似解决方案