From 5193f82428ef198595bb55584b7d514458e2f20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=82=E5=BE=92=E5=BC=A0=E4=B8=89?= Date: Tue, 4 Jan 2022 21:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=B9=E9=87=8F=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=88=90=E7=BB=A9=E9=94=99=E8=AF=AF=E5=92=8C=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=8D=95=E6=9D=A1=E6=88=90=E7=BB=A9=E6=9D=83=E9=99=90?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/chengji/controller/Index.php | 3 ++- database/seeds/Rule.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/chengji/controller/Index.php b/app/chengji/controller/Index.php index d5ef4fb2..6d163454 100755 --- a/app/chengji/controller/Index.php +++ b/app/chengji/controller/Index.php @@ -91,9 +91,10 @@ class Index extends AdminBase // 获取参加考试的学校和年级 $cy = new \app\kaohao\model\SearchCanYu; $src['kaoshi_id'] = $kaoshi_id; + $src['all'] = true; $list['school'] = $cy->school($src); $ksset = new \app\kaoshi\model\KaoshiSet; - $list['nianji'] = $ksset->srcGrade($kaoshi_id); + $list['nianji'] = $ksset->srcGrade($src); // 模板赋值 $this->view->assign('list', $list); diff --git a/database/seeds/Rule.php b/database/seeds/Rule.php index 9f112798..8cd70e2a 100755 --- a/database/seeds/Rule.php +++ b/database/seeds/Rule.php @@ -443,7 +443,7 @@ class Rule extends Seeder ,'pid' => 3020401 ], ['id' => 30204011 - ,'title' => '批量删除成绩' + ,'title' => '删除单条成绩' ,'name' => 'chengji/index/delete' ,'paixu' => 3 ,'pid' => 3020401