From f6c4c22c49abb86eb9c781166d655e3b7f14874d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=82=E5=BE=92=E5=BC=A0=E4=B8=89?= Date: Sun, 26 Dec 2021 23:00:40 +0800 Subject: [PATCH] student --- app/admin/view/admin_info/read.html | 434 +++++++++--------- app/login/view/index/index.html | 2 +- app/luru/controller/Index.php | 2 +- app/studentSearchChengji/controller/Index.php | 24 + .../view/index/index.html | 194 +------- .../view/index/index2.html | 276 +++++++++++ 6 files changed, 522 insertions(+), 410 deletions(-) create mode 100644 app/studentSearchChengji/view/index/index2.html diff --git a/app/admin/view/admin_info/read.html b/app/admin/view/admin_info/read.html index 27763057..18611dc7 100644 --- a/app/admin/view/admin_info/read.html +++ b/app/admin/view/admin_info/read.html @@ -6,7 +6,8 @@ {php}echo session('webtitle'){/php} - + {load href="__XADMIN__/css/font.css" /} {load href="__XADMIN__/css/xadmin.css" /} {load href="__XADMIN__/js/jquery.min.js" /} @@ -32,7 +33,8 @@ 姓名 - {$list.xingming}        {$list.quanpin}        {$list.shoupin} + {$list.xingming}        {$list.quanpin}        {$list.shoupin} + 性别 {$list.sex} @@ -104,252 +106,252 @@ - + \ No newline at end of file diff --git a/app/login/view/index/index.html b/app/login/view/index/index.html index 54486264..336ecb2e 100755 --- a/app/login/view/index/index.html +++ b/app/login/view/index/index.html @@ -35,7 +35,7 @@
{$list['sys_title']} {$list['version']}
- +

diff --git a/app/luru/controller/Index.php b/app/luru/controller/Index.php index c9507c5d..0a2ad8e2 100755 --- a/app/luru/controller/Index.php +++ b/app/luru/controller/Index.php @@ -796,7 +796,7 @@ class Index extends AdminBase ->only([ 'page' ,'limit' - ,'field' => 'student_xingming' + ,'field' => 'id' ,'order' => 'asc' ,'kaoshi_id' ,'banji_id' => array() diff --git a/app/studentSearchChengji/controller/Index.php b/app/studentSearchChengji/controller/Index.php index 6091eb99..a0c23843 100755 --- a/app/studentSearchChengji/controller/Index.php +++ b/app/studentSearchChengji/controller/Index.php @@ -43,6 +43,30 @@ class Index extends StudentSearchBase $list['sbj'] = $subject->search(['kaoshi' => 1]); $list['tjxm'] = src_tjxm(12207); + + // 查询学生成绩 + // 获取表单参数 + $src = $this->request + ->only([ + 'page' => '1' + ,'limit' => '10' + ,'field' => 'kaoshi_id' + ,'order' => 'desc' + ,'student_id' => session('user_id') + ,'category_id' => '' + ,'xueqi_id' => '' + ,'bfdate' => '' + ,'enddate' => '' + ,'searchval' => '' + ], 'POST'); + + // 获取学生成绩 + $stucj = new \app\tools\model\OneStudentChengji; + $khList = $stucj->oldList($src); + // $data = reset_data($khList, $src); + + // halt($data); + // 模板赋值 $this->view->assign('list', $list); diff --git a/app/studentSearchChengji/view/index/index.html b/app/studentSearchChengji/view/index/index.html index 8ae276a8..b5564001 100755 --- a/app/studentSearchChengji/view/index/index.html +++ b/app/studentSearchChengji/view/index/index.html @@ -55,10 +55,6 @@ 修改密码 -
- - 系统帮助
-
切换帐号
@@ -66,76 +62,19 @@ 退了 -{if (session('student.password') == 123) } +{if (session('password') == 123456) }
您现在使用的是默认密码,为了您的信息不被漏,请及时修改密码。
{/if} -
-
-
-
-

筛选

-
-
- -
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- -
- -
-
- -
-
- -
- -
- -
-
-
-
-
-
-
- {volist name="$list.sbj" id="vo"} -
- {/volist} + asdfasdf

感谢{$list.thinks}提供技术支持。
- 本系统由{$list.danwei}负责管理
@@ -143,134 +82,5 @@ - diff --git a/app/studentSearchChengji/view/index/index2.html b/app/studentSearchChengji/view/index/index2.html new file mode 100644 index 00000000..8ae276a8 --- /dev/null +++ b/app/studentSearchChengji/view/index/index2.html @@ -0,0 +1,276 @@ + + + + + + {$list.sys_title}{$list.version} + + + + + {load href="__XADMIN__/css/font.css" /} + {load href="__XADMIN__/css/xadmin.css" /} + {load href="__STATIC__/mayi/css/studentSearch.css" /} + {load href="__XADMIN__/js/jquery.min.js" /} + {load href="__XADMIN__/lib/layui/layui.js" /} + {load href="__XADMIN__/js/xadmin.js" /} + {load href="__XADMIN__/js/cookie.js" /} + {load href="__XADMIN__/js/md5.min.js" /} + + + + + + + + + + + + +{if (session('student.password') == 123) } +
+ 您现在使用的是默认密码,为了您的信息不被漏,请及时修改密码。 +
+{/if} +
+
+
+
+

筛选

+
+
+ +
+
+
+
+
+
+
+ {volist name="$list.sbj" id="vo"} +
+ {/volist} +
+
+
+
+
+ 感谢{$list.thinks}提供技术支持。
+ 本系统由{$list.danwei}负责管理 +
+
+
+ + + + +