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