From f56403152e88acf11c9acecaf6e4298b3e354b3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B7=B4=E6=8E=8C?= Date: Mon, 8 Nov 2021 21:37:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8F=AD=E4=B8=BB=E4=BB=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/Index.php | 7 +- app/admin/view/index/create.html | 438 +++++++++++++------------- app/middleware/Auth.php | 4 +- app/teach/model/BanZhuRen.php | 3 +- app/teach/model/Banji.php | 3 +- app/teach/view/ban_zhu_ren/index.html | 29 ++ 6 files changed, 258 insertions(+), 226 deletions(-) diff --git a/app/admin/controller/Index.php b/app/admin/controller/Index.php index b71c6538..5c2ae7b9 100755 --- a/app/admin/controller/Index.php +++ b/app/admin/controller/Index.php @@ -80,6 +80,7 @@ class Index extends AdminBase ,'formpost' => 'POST' ,'url' => 'save' ); + $list['data']['worktime'] = date('Y-m-d', time()); // 模板赋值 $this->view->assign('list', $list); @@ -222,7 +223,7 @@ class Index extends AdminBase // 整理数据 $id = request()->delete('id'); $id = explode(',', $id); - + // 启动事务 \think\facade\Db::startTrans(); try { @@ -387,7 +388,7 @@ class Index extends AdminBase } } $this->youxiaoxingAll($stuinfo, 'L', $value); - + // // 用户组 // $group = new \app\admin\model\AuthGroup; // $group = $group @@ -466,7 +467,7 @@ class Index extends AdminBase private function youxiaoxingAll($obj, $colmun, $value) { - + $i = 5; while ($i <= 154) { diff --git a/app/admin/view/index/create.html b/app/admin/view/index/create.html index e69bf615..221cc272 100755 --- a/app/admin/view/index/create.html +++ b/app/admin/view/index/create.html @@ -4,234 +4,234 @@ {/block} {block name="form"}
-
- -
- -
-
-
-
- -
- -
-
- -
-
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- -
- -
-
-
- -
- -
-
-
- -
- {php} - $authgroup = new \app\admin\model\AuthGroup; - $authgrouplist = $authgroup->where('status',1)->select(); - {/php} - {volist name="authgrouplist" id="vo"} - {/volist}
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- {if (isset($list.data.tuixiu)) } - {else /} - - {/if} -
-
-
- -
- -
-
-
- -
+
+ +
+ +
+
+
+
+ +
+ +
+
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ {php} + $authgroup = new \app\admin\model\AuthGroup; + $authgrouplist = $authgroup->where('status',1)->select(); + {/php} + {volist name="authgrouplist" id="vo"} + {/volist}
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ {if (isset($list.data.tuixiu)) } + {else /} + + {/if} +
+
+
+ +
+ +
+
+
+ +
{/block} {block name="myjs"}