From 12c0ffda10473c10737b61baa3b131cfcaade685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Wed, 24 Feb 2021 07:26:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Tongbu.php | 2 +- app/login/view/index/shangma_log.html | 2 +- .../controller/Index.php | 0 app/{teacher1 => teacher}/model/Teacher.php | 0 app/{teacher1 => teacher}/route/teacher.php | 0 .../validate/Teacher.php | 0 .../view/index/create.html | 0 .../view/index/create_all.html | 0 .../view/index/del_list.html | 0 .../view/index/index.html | 0 .../view/index/read.html | 0 database/seeds/Rule.php | 208 +++++++++--------- 12 files changed, 106 insertions(+), 106 deletions(-) rename app/{teacher1 => teacher}/controller/Index.php (100%) rename app/{teacher1 => teacher}/model/Teacher.php (100%) rename app/{teacher1 => teacher}/route/teacher.php (100%) rename app/{teacher1 => teacher}/validate/Teacher.php (100%) rename app/{teacher1 => teacher}/view/index/create.html (100%) rename app/{teacher1 => teacher}/view/index/create_all.html (100%) rename app/{teacher1 => teacher}/view/index/del_list.html (100%) rename app/{teacher1 => teacher}/view/index/index.html (100%) rename app/{teacher1 => teacher}/view/index/read.html (100%) diff --git a/app/admin/controller/Tongbu.php b/app/admin/controller/Tongbu.php index 7fad78af..3461df1f 100644 --- a/app/admin/controller/Tongbu.php +++ b/app/admin/controller/Tongbu.php @@ -24,7 +24,7 @@ class Tongbu extends BaseController $list['tjxm'] = [ [ - 'title' => '教师信息(必须最先统计)' + 'title' => '教师信息(必须最先同步,此项同步完成后再进行其它项同步)' ,'url' => '/admin/tongbu/teacher' ,'checked' => ' checked' ] diff --git a/app/login/view/index/shangma_log.html b/app/login/view/index/shangma_log.html index 641d8d99..43f04db2 100755 --- a/app/login/view/index/shangma_log.html +++ b/app/login/view/index/shangma_log.html @@ -55,7 +55,7 @@ 增加:学生帐号显示成绩或等级设置、统计项目、清除演示数据、数据库升级与降级、与初始化、数据库初始数据重新导入、隐藏学生成绩条中学生的全名

- 升级指导:先同步表结构,然后单击这个链接同步数据。将教师信息同步到管理员表中 + 升级指导:升级指导数据同步

diff --git a/app/teacher1/controller/Index.php b/app/teacher/controller/Index.php similarity index 100% rename from app/teacher1/controller/Index.php rename to app/teacher/controller/Index.php diff --git a/app/teacher1/model/Teacher.php b/app/teacher/model/Teacher.php similarity index 100% rename from app/teacher1/model/Teacher.php rename to app/teacher/model/Teacher.php diff --git a/app/teacher1/route/teacher.php b/app/teacher/route/teacher.php similarity index 100% rename from app/teacher1/route/teacher.php rename to app/teacher/route/teacher.php diff --git a/app/teacher1/validate/Teacher.php b/app/teacher/validate/Teacher.php similarity index 100% rename from app/teacher1/validate/Teacher.php rename to app/teacher/validate/Teacher.php diff --git a/app/teacher1/view/index/create.html b/app/teacher/view/index/create.html similarity index 100% rename from app/teacher1/view/index/create.html rename to app/teacher/view/index/create.html diff --git a/app/teacher1/view/index/create_all.html b/app/teacher/view/index/create_all.html similarity index 100% rename from app/teacher1/view/index/create_all.html rename to app/teacher/view/index/create_all.html diff --git a/app/teacher1/view/index/del_list.html b/app/teacher/view/index/del_list.html similarity index 100% rename from app/teacher1/view/index/del_list.html rename to app/teacher/view/index/del_list.html diff --git a/app/teacher1/view/index/index.html b/app/teacher/view/index/index.html similarity index 100% rename from app/teacher1/view/index/index.html rename to app/teacher/view/index/index.html diff --git a/app/teacher1/view/index/read.html b/app/teacher/view/index/read.html similarity index 100% rename from app/teacher1/view/index/read.html rename to app/teacher/view/index/read.html diff --git a/database/seeds/Rule.php b/database/seeds/Rule.php index 11eabf87..0e8b2f3b 100755 --- a/database/seeds/Rule.php +++ b/database/seeds/Rule.php @@ -1724,110 +1724,110 @@ class Rule extends Seeder // ,'url' => '/keti/ketiinfo/tongji' // ], - // 教师管理 - ['id' => 10 - ,'title' => '教师管理' - ,'name' => 'teacher' - ,'paixu' => 4 - ,'ismenu' => 1 - ,'font' => '' - ], - ['id' => 1001 - ,'title' => '教师列表' - ,'name' => 'teacher/index/index' - ,'paixu' => 1 - ,'ismenu' => 1 - ,'pid' => 10 - ,'url' => '/teacher/index/index' - ], - // 教师管理权限 - ['id' => 100101 - ,'title' => '添加' - ,'name' => 'teacher/index/create' - ,'paixu' => 1 - ,'pid' => 1001 - ], - ['id' => 100102 - ,'title' => '保存' - ,'name' => 'teacher/index/save' - ,'paixu' => 2 - ,'pid' => 1001 - ], - ['id' => 100103 - ,'title' => '删除' - ,'name' => 'teacher/index/delete' - ,'paixu' => 3 - ,'pid' => 1001 - ], - ['id' => 100104 - ,'title' => '编辑' - ,'name' => 'teacher/index/edit' - ,'paixu' => 4 - ,'pid' => 1001 - ], - ['id' => 100105 - ,'title' => '更新' - ,'name' => 'teacher/index/update' - ,'paixu' => 5 - ,'pid' => 1001 - ], - ['id' => 100106 - ,'title' => '查看' - ,'name' => 'teacher/index/read' - ,'paixu' => 6 - ,'pid' => 1001 - ], - ['id' => 100107 - ,'title' => '状态' - ,'name' => 'teacher/index/setstatus' - ,'paixu' => 7 - ,'pid' => 1001 - ], - ['id' => 100108 - ,'title' => '查询教师' - ,'name' => 'teacher/index/srcteacher' - ,'paixu' => 8 - ,'pid' => 1001 - ], - ['id' => 100109 - ,'title' => '批量上传' - ,'name' => 'teacher/index/createall' - ,'paixu' => 9 - ,'pid' => 1001 - ], - ['id' => 100110 - ,'title' => '批量保存' - ,'name' => 'teacher/index/saveall' - ,'paixu' => 10 - ,'pid' => 1001 - ], - ['id' => 100111 - ,'title' => '表格模板下载' - ,'name' => 'teacher/index/downloadxls' - ,'paixu' => 11 - ,'pid' => 1001 - ], - ['id' => 100112 - ,'title' => '重置密码' - ,'name' => 'teacher/index/resetpassword' - ,'paixu' => 7 - ,'pid' => 1001 - ], - ['id' => 1002 - ,'title' => '删除教师' - ,'name' => 'teacher/index/dellist' - ,'paixu' => 2 - ,'ismenu' => 1 - ,'pid' => 10 - ,'url' => '/teacher/index/dellist' - ], - // 删除教师 - ['id' => 100201 - ,'title' => '恢复删除' - ,'name' => 'teacher/index/redel' - ,'paixu' => 1 - ,'pid' => 1002 - ], + // // 教师管理 + // ['id' => 10 + // ,'title' => '教师管理' + // ,'name' => 'teacher' + // ,'paixu' => 4 + // ,'ismenu' => 1 + // ,'font' => '' + // ], + // ['id' => 1001 + // ,'title' => '教师列表' + // ,'name' => 'teacher/index/index' + // ,'paixu' => 1 + // ,'ismenu' => 1 + // ,'pid' => 10 + // ,'url' => '/teacher/index/index' + // ], + // // 教师管理权限 + // ['id' => 100101 + // ,'title' => '添加' + // ,'name' => 'teacher/index/create' + // ,'paixu' => 1 + // ,'pid' => 1001 + // ], + // ['id' => 100102 + // ,'title' => '保存' + // ,'name' => 'teacher/index/save' + // ,'paixu' => 2 + // ,'pid' => 1001 + // ], + // ['id' => 100103 + // ,'title' => '删除' + // ,'name' => 'teacher/index/delete' + // ,'paixu' => 3 + // ,'pid' => 1001 + // ], + // ['id' => 100104 + // ,'title' => '编辑' + // ,'name' => 'teacher/index/edit' + // ,'paixu' => 4 + // ,'pid' => 1001 + // ], + // ['id' => 100105 + // ,'title' => '更新' + // ,'name' => 'teacher/index/update' + // ,'paixu' => 5 + // ,'pid' => 1001 + // ], + // ['id' => 100106 + // ,'title' => '查看' + // ,'name' => 'teacher/index/read' + // ,'paixu' => 6 + // ,'pid' => 1001 + // ], + // ['id' => 100107 + // ,'title' => '状态' + // ,'name' => 'teacher/index/setstatus' + // ,'paixu' => 7 + // ,'pid' => 1001 + // ], + // ['id' => 100108 + // ,'title' => '查询教师' + // ,'name' => 'teacher/index/srcteacher' + // ,'paixu' => 8 + // ,'pid' => 1001 + // ], + // ['id' => 100109 + // ,'title' => '批量上传' + // ,'name' => 'teacher/index/createall' + // ,'paixu' => 9 + // ,'pid' => 1001 + // ], + // ['id' => 100110 + // ,'title' => '批量保存' + // ,'name' => 'teacher/index/saveall' + // ,'paixu' => 10 + // ,'pid' => 1001 + // ], + // ['id' => 100111 + // ,'title' => '表格模板下载' + // ,'name' => 'teacher/index/downloadxls' + // ,'paixu' => 11 + // ,'pid' => 1001 + // ], + // ['id' => 100112 + // ,'title' => '重置密码' + // ,'name' => 'teacher/index/resetpassword' + // ,'paixu' => 7 + // ,'pid' => 1001 + // ], + // ['id' => 1002 + // ,'title' => '删除教师' + // ,'name' => 'teacher/index/dellist' + // ,'paixu' => 2 + // ,'ismenu' => 1 + // ,'pid' => 10 + // ,'url' => '/teacher/index/dellist' + // ], + // // 删除教师 + // ['id' => 100201 + // ,'title' => '恢复删除' + // ,'name' => 'teacher/index/redel' + // ,'paixu' => 1 + // ,'pid' => 1002 + // ], ];