diff --git a/app/studentSearchChengji/controller/Index.php b/app/studentSearchChengji/controller/Index.php index 4f0688b9..9e8256b1 100755 --- a/app/studentSearchChengji/controller/Index.php +++ b/app/studentSearchChengji/controller/Index.php @@ -41,6 +41,7 @@ class Index extends StudentSearchBase $list['student_id'] = session('user_id'); $list['sbj'] = subjectKaoshiList(); + // 模板赋值 $this->view->assign('list', $list); @@ -78,7 +79,7 @@ class Index extends StudentSearchBase 'webtitle' => '修改密码' ,'butname' => '修改' ,'formpost' => 'PUT' - ,'url' => '/studentsearchchengji/index/updatepassword/' . session('user_id') + ,'url' => '/studentSearchChengji/index/updatepassword/' . session('user_id') ); // 模板赋值 diff --git a/app/studentSearchChengji/view/index/index.html b/app/studentSearchChengji/view/index/index.html index 0f7ae317..2c47a9ce 100755 --- a/app/studentSearchChengji/view/index/index.html +++ b/app/studentSearchChengji/view/index/index.html @@ -53,7 +53,7 @@
- + 修改密码
@@ -219,7 +219,7 @@ var tr = obj.tr; //获得当前行 tr 的DOM对象 switch(layEvent){ case 'detail':// 查看 - cjgl.add(obj.data.kaoshiTitle + '考试成绩','/studentsearchchengji/index/read/' + obj.data.kaohao_id,'','',true); + cjgl.add(obj.data.kaoshiTitle + '考试成绩','/studentSearchChengji/index/read/' + obj.data.kaohao_id,'','',true); break; }; }); diff --git a/app/system/model/SystemBase.php b/app/system/model/SystemBase.php index 37aa146a..518009c9 100755 --- a/app/system/model/SystemBase.php +++ b/app/system/model/SystemBase.php @@ -10,7 +10,7 @@ class SystemBase extends BaseModel static function sysInfo() { $info = self::order(['id' => 'desc']) - ->field('id, keywords, description, sys_title') + ->field('id, keywords, description, sys_title, thinks, danwei') ->find(); return $info; } diff --git a/app/teacherSearchChengji/controller/Index.php b/app/teacherSearchChengji/controller/Index.php index 83a1e4f5..4425d6a6 100755 --- a/app/teacherSearchChengji/controller/Index.php +++ b/app/teacherSearchChengji/controller/Index.php @@ -126,6 +126,7 @@ class Index extends TeacherSearchBase $list['kaoshi'] = 1; $list['teacher'] = 1; $list['student'] = 1; + // 模版赋值 $this->view->assign('list',$list); // 渲染输出 diff --git a/app/teacherSearchChengji/view/index/banji.html b/app/teacherSearchChengji/view/index/banji.html index 9897427c..b035abbd 100755 --- a/app/teacherSearchChengji/view/index/banji.html +++ b/app/teacherSearchChengji/view/index/banji.html @@ -148,7 +148,7 @@ var tr = obj.tr; //获得当前行 tr 的DOM对象 switch(layEvent){ case 'detail':// 查看 - cjgl.addTab('查看学生成绩', '/teachersearchchengji/index/detail/' + data.id, true); + cjgl.addTab('查看学生成绩', '/teacherSearchChengji/index/detail/' + data.id, true); break; case 'del':// 删除 cjgl.del(obj,"/school"); diff --git a/database/migrations/20190430034853_chengji.php b/database/migrations/20190430034853_chengji.php index 368ed004..1c82ec70 100755 --- a/database/migrations/20190430034853_chengji.php +++ b/database/migrations/20190430034853_chengji.php @@ -40,6 +40,10 @@ class Chengji extends Migrator ->addColumn('defenlv','decimal',['precision'=>6,'scale'=>2,'default'=>Null,'null'=>false,'comment'=>'得分率']) ->addColumn('bpaixu','integer',['limit'=>4,'null'=>true,'comment'=>'班级排序']) ->addColumn('njpaixu','integer',['limit'=>4,'null'=>true,'comment'=>'年级排序']) + ->addColumn('qupaixu','integer',['limit'=>4,'null'=>true,'comment'=>'区排序']) + ->addColumn('bweizhi','integer',['limit'=>4,'null'=>true,'comment'=>'班级位置']) + ->addColumn('njweizhi','integer',['limit'=>4,'null'=>true,'comment'=>'年级位置']) + ->addColumn('quweizhi','integer',['limit'=>4,'null'=>true,'comment'=>'区位置']) ->addColumn('create_time','integer',['limit'=>11,'default'=>'1539158918','null'=>false,'comment'=>'创建时间']) ->addColumn('update_time','integer',['limit'=>11,'default'=>'1539158918','null'=>false,'comment'=>'更新时间']) ->addColumn('delete_time','integer',['limit'=>11,'null'=>true,'comment'=>'删除时间'])