From 7d6537cc8dd56ac114b4bd12b6100180b670fced Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 13 May 2019 11:44:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=86=BB=E7=BB=93=E5=88=97?= =?UTF-8?q?=E5=85=A8=E9=80=89=E6=A1=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../extensions/columns/bootstrap-table-fixed-columns.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js index d468be882..67635af56 100644 --- a/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js +++ b/ruoyi-admin/src/main/resources/static/ajax/libs/bootstrap-table/extensions/columns/bootstrap-table-fixed-columns.js @@ -83,6 +83,11 @@ $ltr.append($lths.eq(i).clone(true)); } this.$fixedHeaderColumns.html('').append($ltr); + this.$selectAll = $ltr.find('[name="btSelectAll"]'); + this.$selectAll.on('click', function () { + var checked = $(this).prop('checked'); + $(".left-fixed-table-columns input[name=btSelectItem]").filter(':enabled').prop('checked', checked); + }); } };