Ver código fonte

20250327 优化调整

贾小兵 1 mês atrás
pai
commit
e10b5256c7

+ 8 - 8
application/admin/controller/teacher/Info.php

@@ -137,10 +137,10 @@ class Info extends Backend
                     }
                     $group = [7];//$this->request->post("group/a");
                     //过滤不允许的组别,避免越权
-                    $group = array_intersect($this->childrenGroupIds, $group);
-                    if (!$group) {
-                        exception(__('The parent group exceeds permission limit'));
-                    }
+//                    $group = array_intersect($this->childrenGroupIds, $group);
+//                    if (!$group) {
+//                        exception(__('The parent group exceeds permission limit'));
+//                    }
 
                     $dataset = [];
                     foreach ($group as $value) {
@@ -205,10 +205,10 @@ class Info extends Backend
                     $group = [7];//$this->request->post("group/a");
 
                     // 过滤不允许的组别,避免越权
-                    $group = array_intersect($this->childrenGroupIds, $group);
-                    if (!$group) {
-                        exception(__('The parent group exceeds permission limit'));
-                    }
+//                    $group = array_intersect($this->childrenGroupIds, $group);
+//                    if (!$group) {
+//                        exception(__('The parent group exceeds permission limit'));
+//                    }
 
                     $dataset = [];
                     foreach ($group as $value) {

+ 1 - 1
application/admin/view/simulator/index.html

@@ -20,7 +20,7 @@
         background-color: #CCE8EB;
         width: 100px;
     }
-    .layui-layer-loading2{width: 330px !important;}
+    .layui-layer-loading2{width: 330px !important;line-height: 36px;padding-left:40px;}
 </style>
 
 <div class="row">