|
|
@@ -140,7 +140,11 @@ jQuery( function() {
|
|
|
|
|
|
// 复选框全选
|
|
|
$("#check-all").change(function () {
|
|
|
- $("input[type='checkbox']").prop('checked', $(this).prop("checked"));
|
|
|
+ if ($boxname = $(this).data('name')) {
|
|
|
+ $(this).closest('table').find("input[name='" + $boxname + "']").prop('checked', $(this).prop("checked"));
|
|
|
+ } else {
|
|
|
+ $(this).closest('table').find(".lyear-checkbox input[type='checkbox']").prop('checked', $(this).prop("checked"));
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
// 设置主题配色
|