修复数据备份、总分仪表、下载成绩错误

This commit is contained in:
瓜哥 committed 2021-07-10 23:31:29 +08:00
1 parent 2f2bec5201
commit f15a5d3f06
5 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -354,12 +354,12 @@ class Index extends AdminBase
if(isset($value[$val['lieming'] . 'defen']))
{
$sheet->setCellValue($colname[$i] . $row_temp, $value[$val['lieming'] . 'defen']);
$i++;
foreach ($tjxm_left as $tjxml_k => $tjxml_v) {
$sheet->setCellValue($colname[$i] . $row_temp, $value[$val['lieming'] . $tjxml_v['biaoshi']]);
$i++;
}
}
$i++;
}
$sheet->setCellValue($colname[$i] . $row_temp, $value['avg']);
$i++;
+6 -1
View File
@@ -24,8 +24,13 @@
{block name="table"}
<table id="tabledemo" lay-filter="mytable" lay-size="sm"></table>
<div>
<span>Enter 换下一行 Shift+Eenter 移动到上一行</span><br>
<fieldset class="layui-elem-field">
<legend>键盘操作提示</legend>
<div class="layui-field-box">
<span>Enter 换下一行 Shift+Eenter 移动到上一行</span><br>
<span>Tab 移动移动到下一列 Shift+Tab 移动到下一列</span>
</div>
</fieldset>
</div>
{/block}
{block name="myjs"}
+1 -1
View File
@@ -67,7 +67,7 @@ class OneStudentChengji extends BaseController
// 获取学生成绩
$stucj = new STUCJ;
$data = $stucj->yiBiao($src);
return json($data);
}
Loaded 3 of 5 files, more files were not shown because too many files have changed in this diff. Show more