From ca56ee14b1b9306996cd9dbf03cba5814d9e70c5 Mon Sep 17 00:00:00 2001 From: win10 Date: Mon, 7 Sep 2020 13:09:40 +0800 Subject: [PATCH] 0 --- app/chengji/view/index/dw_chengji.html | 4 ++-- app/kaohao/controller/Index.php | 4 ++-- app/kaohao/view/index/create.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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'); }