修复显示成绩错误

This commit is contained in:
cxdbz committed 2019-06-17 21:46:34 +08:00
1 parent f39f4982bd
commit 34dae54055
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ class Kaohao extends Base
$data[$key]['school'] = $value->cj_school->jiancheng;
if($value->cj_student != Null){
$data[$key]['student'] = $value->cj_student->xingming;
$data[$key]['sex'] = $stuinfo->sex;
$data[$key]['sex'] = $value->cj_student->sex;
}else{
$stuinfo = $stu::withTrashed()
->where('id',$value->student)
+1 -1
View File
@@ -97,7 +97,7 @@ class Rule extends Seeder
['title'=>'删除考号','name'=>'kaoshi/Kaohao/delete','paixu'=>2,'pid'=>302],
['title'=>'下载试卷标签信息','name'=>'kaoshi/Kaohao/biaoqian','paixu'=>3,'pid'=>302],
['title'=>'下载成绩采集表','name'=>'kaoshi/Kaohao/caiji','paixu'=>4,'pid'=>302],
['title'=>'成绩列表','name'=>'Chengji/Index/stuChengjilist','paixu'=>5,'pid'=>302],
['title'=>'成绩列表','name'=>'Chengji/Index/index','paixu'=>5,'pid'=>302],
['title'=>'录入人信息','name'=>'Chengji/Index/readAdd','paixu'=>6,'pid'=>302],
['title'=>'考号删除','name'=>'Chengji/Index/deletecj','paixu'=>7,'pid'=>302],
['title'=>'成绩状态','name'=>'Chengji/Index/setStatus','paixu'=>8,'pid'=>302],