diff --git a/app/chengji/view/index/dw_chengji.html b/app/chengji/view/index/dw_chengji.html index 91275a67..2b6ca4fe 100644 --- a/app/chengji/view/index/dw_chengji.html +++ b/app/chengji/view/index/dw_chengji.html @@ -19,8 +19,8 @@
diff --git a/app/kaohao/controller/Index.php b/app/kaohao/controller/Index.php index fdf9d5eb..98ed1bc5 100644 --- a/app/kaohao/controller/Index.php +++ b/app/kaohao/controller/Index.php @@ -195,8 +195,8 @@ class Index extends AdminBase $data = ['msg' => '生成成功', 'val' => 1]; }else{ // 获取参加考试年级数组 - $bfdate = KS::where('id', $list['kaoshi_id'])->value('bfdate'); - $njlist = nianJiNameList($bfdate); + $enddate = KS::where('id', $list['kaoshi_id'])->value('enddate'); + $njlist = nianJiNameList('str', $enddate); // 获取班级信息 $bj = new \app\teach\model\Banji; diff --git a/app/kaohao/view/index/create.html b/app/kaohao/view/index/create.html index 4a9e220d..ec01a5a1 100644 --- a/app/kaohao/view/index/create.html +++ b/app/kaohao/view/index/create.html @@ -95,7 +95,7 @@ { return true; } - cjgl.createSelectOption('banji_id', formval, '/tools/kscy/class', 'id', 'banTitle'); + cjgl.createSelectOption('banji_id', formval, '/teach/banji/mybanji', 'id', 'banTitle'); }