合并one

This commit is contained in:
狂徒张三 committed 2022-01-10 22:52:35 +08:00
commit a2aa5f5aeb
28 files changed
+1065 -96

No files matched your search

+1
View File
@@ -452,6 +452,7 @@ class Index extends AdminBase
}
// 表格有效性
private function youxiaoxing($obj, $cell, $value)
{
$yxx = $obj->getCell($cell)
+10
View File
@@ -535,6 +535,8 @@ class Admin extends BaseModel
,'zhiwu' => true
,'zuzhang' => true
,'banzhuren' => true
,'renke' => true
,'time' => 0
];
$src = array_cover($srcfrom, $src);
@@ -580,6 +582,14 @@ class Admin extends BaseModel
$data['banji_id'] = array_merge($data['banji_id'], $banji_id);
}
// 获取任课教师权限
if ($src['renke'] === true) {
$auth = new \app\teach\model\FenGong;
$banji_id = $auth->teacherFengong(session('user_id'), $src['time']);
$banji_id = array_keys($banji_id);
$data['banji_id'] = array_merge($data['banji_id'], $banji_id);
}
// 去重
$data['banji_id'] = array_unique($data['banji_id']);
+4
View File
@@ -25,6 +25,10 @@
{$list.set.butname}
</button>
</div>
<div>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
</form>
{/block}
{block name="myjs"}
Loaded 3 of 28 files, more files were not shown because too many files have changed in this diff. Show more