diff --git a/app/kaoshi/model/LuruFengong.php b/app/kaoshi/model/LuruFengong.php index a2576093..572670bc 100644 --- a/app/kaoshi/model/LuruFengong.php +++ b/app/kaoshi/model/LuruFengong.php @@ -187,7 +187,7 @@ class LuruFengong extends BaseModel ->where('banji_id', $src['banji_id']) ->where('admin_id', session('user_id')) ->find(); - if($list && $cnt>0){ + if($list && $cnt > 0){ $data = true; } }else{ diff --git a/app/luru/view/index/online.html b/app/luru/view/index/online.html index 6feb2765..e01e70d2 100644 --- a/app/luru/view/index/online.html +++ b/app/luru/view/index/online.html @@ -26,9 +26,7 @@ -
- +
@@ -70,7 +68,7 @@ layui.use(['form','canyuKaoshi','createInput'], function() { data = form.val("dwform"); delete data.subject_id; if (data.kaoshi_id > 0 && data.school_id > 0 && data.ruxuenian > 0) { - canyu.lrSubjectSelect('subject_id', data); + canyu.lrSubjectCheckbox('subject_id', data); canyu.lrBanjiCheckbox('banji_id', data); } }); diff --git a/app/student/view/index/create_all.html b/app/student/view/index/create_all.html index bb8b8293..c1d07150 100755 --- a/app/student/view/index/create_all.html +++ b/app/student/view/index/create_all.html @@ -28,6 +28,13 @@ {$list.set.butname}
+
+ +
+

1、权限不够:身份需要是对应班级的班主任、教学主任或教学副校长、超级管理员。 +

2、班级名称不对:要与班级列表中的班级名称一致。 +

+
{/block} {block name="myjs"} diff --git a/public/uploads/student/student_template.xlsx b/public/uploads/student/student_template.xlsx index f3d71251..f42e3915 100755 Binary files a/public/uploads/student/student_template.xlsx and b/public/uploads/student/student_template.xlsx differ diff --git a/view/list.html b/view/list.html index 6c45b944..d5d84e2b 100755 --- a/view/list.html +++ b/view/list.html @@ -115,7 +115,6 @@ layui.use(['table', 'form', 'mytable'], function() { //监听排序 table.on('sort(mytable)', function(obj) { val = form.val("search"); - console.log(val); val.field = obj.field; val.order = obj.type; userTable.reload({