From e260f89a20728ac5070e663a765c811703d5fccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E8=BF=9E=E5=B7=B4=E6=8E=8C?= Date: Fri, 26 Jan 2024 10:13:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=B7=E6=B6=9B=E5=A4=9A=E7=8F=AD=E7=BA=A7?= =?UTF-8?q?=E6=88=90=E7=BB=A9=E7=BB=9F=E8=AE=A1=E3=80=81=E9=94=81=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chengji/model/TongjiNj.php | 1 + app/student/view/index/index.html | 2 ++ app/system/controller/BackUp.php | 1 + 3 files changed, 4 insertions(+) diff --git a/app/chengji/model/TongjiNj.php b/app/chengji/model/TongjiNj.php index 318e5799..3b4cd60e 100755 --- a/app/chengji/model/TongjiNj.php +++ b/app/chengji/model/TongjiNj.php @@ -71,6 +71,7 @@ class TongjiNj extends BaseModel ,'auth' => [ 'check' => false ] + ,'all' => true ]; $src['banji_id'] = array_column($cy->class($src), 'id'); $subject = $ksset->srcSubject($src); diff --git a/app/student/view/index/index.html b/app/student/view/index/index.html index b94d6c10..fd2af68b 100755 --- a/app/student/view/index/index.html +++ b/app/student/view/index/index.html @@ -144,6 +144,8 @@ layui.use(['table', 'mytable', 'createInput', 'form'], function() { // 获取筛选条件并加载表格 options.where = form.val("search"); + options.limits = [55, 10, 25, 50, 75, 100]; + options.limit = 55; userTable = table.render(options); //获取数据并渲染 //表头工具栏事件 diff --git a/app/system/controller/BackUp.php b/app/system/controller/BackUp.php index 048cef99..387e597a 100755 --- a/app/system/controller/BackUp.php +++ b/app/system/controller/BackUp.php @@ -152,6 +152,7 @@ class BackUp extends AdminBase ]; } else { //备份完成,清空缓存 unlink(session('lock')); + $db->delFile(session('backup_file')); session('backup_tables',null); session('backup_file',null); $data = [