diff --git a/app/login/view/index/index.html b/app/login/view/index/index.html index ba23367b..80521f5b 100644 --- a/app/login/view/index/index.html +++ b/app/login/view/index/index.html @@ -39,13 +39,13 @@

- +

- 学生查询 - 教师查询 + 学生入口 + 教师入口
@@ -70,7 +70,7 @@ }, }) } - + //监听提交 form.on('submit(login)', function(data){ mobile = "{$list['mobile']}"; @@ -121,4 +121,4 @@ - \ No newline at end of file + diff --git a/app/login/view/index/shangma_log.html b/app/login/view/index/shangma_log.html index 996a7185..4be22269 100644 --- a/app/login/view/index/shangma_log.html +++ b/app/login/view/index/shangma_log.html @@ -63,7 +63,7 @@
增加各分数段统计、学生查询成绩、教师查询成绩
- 增加年级最大数、班级最大数、班级别名是否开启、学年节点等配置内容 + 增加年级名称、班级最大数、班级别名是否开启、学年节点等配置
取消录入成绩时对十分位的限制
diff --git a/app/login/view/student/index.html b/app/login/view/student/index.html index 8bc9b126..50e6c872 100644 --- a/app/login/view/student/index.html +++ b/app/login/view/student/index.html @@ -25,7 +25,7 @@ (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?1fe9097e79cfcf0c8d4547c3a1ba50e0"; - var s = document.getElementsByTagName("script")[0]; + var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); @@ -44,8 +44,8 @@

- 管理员 - 教师查询 + 管理入口 + 教师入口
@@ -70,7 +70,7 @@ }, }) } - + //监听提交 form.on('submit(login)', function(data){ mobile = "{$list['mobile']}"; @@ -121,4 +121,4 @@ - \ No newline at end of file + diff --git a/app/login/view/teacher/index.html b/app/login/view/teacher/index.html index e87124c9..c830bf1e 100644 --- a/app/login/view/teacher/index.html +++ b/app/login/view/teacher/index.html @@ -44,8 +44,8 @@

- 管理员 - 学生查询 + 管理入口 + 学生入口
diff --git a/app/system/controller/SystemBase.php b/app/system/controller/SystemBase.php index 846f1202..c26c67e5 100644 --- a/app/system/controller/SystemBase.php +++ b/app/system/controller/SystemBase.php @@ -16,7 +16,7 @@ class SystemBase extends AdminBase // 获取用户信息 $sys = new sysbasemod; $list['data'] = $sys - ->field('id, keywords, description, thinks, danwei, grademax, classmax, classalias, xuenian') + ->field('id, keywords, description, thinks, danwei, gradelist, classmax, classalias, xuenian, teacherrongyu, teacherketi') ->order(['id' => 'desc']) ->find(); @@ -46,10 +46,12 @@ class SystemBase extends AdminBase ,'description' ,'thinks' ,'danwei' - ,'grademax' + ,'gradelist' ,'classmax' ,'classalias' ,'xuenian' + ,'teacherrongyu' + ,'teacherketi' ], 'put'); $list['id'] = $id; @@ -69,10 +71,12 @@ class SystemBase extends AdminBase $sysList->description = $list['description']; $sysList->thinks = $list['thinks']; $sysList->danwei = $list['danwei']; - $sysList->grademax = $list['grademax']; + $sysList->gradelist = $list['gradelist']; $sysList->classmax = $list['classmax']; $sysList->classalias = $list['classalias']; $sysList->xuenian = $list['xuenian']; + $sysList->teacherrongyu = $list['teacherrongyu']; + $sysList->teacherketi = $list['teacherketi']; $data = $sysList->save(); // 根据更新结果设置返回提示信息 diff --git a/app/system/validate/SystemBase.php b/app/system/validate/SystemBase.php index cd2aa7e9..7a506b44 100644 --- a/app/system/validate/SystemBase.php +++ b/app/system/validate/SystemBase.php @@ -19,10 +19,11 @@ class SystemBase extends Validate 'thinks|感谢' => 'require|length:1,80', 'danwei|单位' => 'require|length:2,80', 'xuenian|学年节点' => 'require|date', - 'grademax|年级最大数' => 'require|integer', + 'gradelist|年级最大数' => 'require|length:1,200', 'classmax|年级最大数' => 'require|integer', 'classalias|别名' => 'require|boolean', - + 'teacherrongyu|教师查询荣誉' => 'require|boolean', + 'teacherketi|教师查询课题' => 'require|boolean', ]; /** @@ -41,9 +42,11 @@ class SystemBase extends Validate ,'thinks' ,'danwei' ,'xuenian' - ,'grademax' + ,'gradelist' ,'classmax' ,'classalias' + ,'teacherrongyu' + ,'teacherketi' ], ]; } diff --git a/app/system/view/system_base/edit.html b/app/system/view/system_base/edit.html index f4d795ce..9099197b 100644 --- a/app/system/view/system_base/edit.html +++ b/app/system/view/system_base/edit.html @@ -23,12 +23,12 @@
-
@@ -42,7 +42,7 @@
+
+ +
+ + +
+
+
+ +
+ + +
+