修复已知错误
This commit is contained in:
1 parent
d4931d8210
commit
4ae8dec3a5
7 files changed
+16
-13
No files matched your search
@@ -275,7 +275,7 @@ class Luru extends BaseController
|
||||
|
||||
// 读取表格数据
|
||||
$excel = new \app\student\controller\Myexcel;
|
||||
$cjinfo = $excel->readXls(public_path() . 'public\\uploads\\' . $list['url']);
|
||||
$cjinfo = $excel->readXls(public_path() . 'uploads\\' . $list['url']);
|
||||
|
||||
$kaoshi_id = $cjinfo[1][0]; #获取考号
|
||||
$nianji = $cjinfo[1][1]; #获取年级
|
||||
|
||||
@@ -142,6 +142,7 @@ class Excel extends BaseController
|
||||
|
||||
ob_flush();
|
||||
flush();
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
@@ -304,5 +305,6 @@ class Excel extends BaseController
|
||||
$writer->save('php://output');
|
||||
ob_flush();
|
||||
flush();
|
||||
exit();
|
||||
}
|
||||
}
|
||||
@@ -87,8 +87,8 @@
|
||||
// 选中复选框
|
||||
$(mydiv).find("td:eq(0)").children("input").prop('checked',true);
|
||||
// 设置优秀率和及格率
|
||||
$(mydiv).find("td:eq(3)").children("input:eq(0)").val(val*0.9);
|
||||
$(mydiv).find("td:eq(4)").children("input:eq(0)").val(val*0.6);
|
||||
$(mydiv).find("td:eq(3)").children("input:eq(0)").val(Math.round(val*0.9));
|
||||
$(mydiv).find("td:eq(4)").children("input:eq(0)").val(Math.round(val*0.6));
|
||||
}else{
|
||||
// 选中复选框
|
||||
$(mydiv).find("td:eq(0)").children("input").prop('checked',false);
|
||||
|
||||
Loaded 3 of 7 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user