feat: 增加日志一键删除 数据导出
This commit is contained in:
@@ -55,13 +55,6 @@ class Admin extends AdminController
|
||||
{
|
||||
parent::__construct();
|
||||
$this->model = new AdminModel();
|
||||
$this->jobs = Jobs::select()->toArray();
|
||||
$this->group = AdminGroupModel::select()->toArray();
|
||||
$this->department = Department::getListTree();
|
||||
|
||||
foreach ($this->group as $k => $v) {
|
||||
$this->group[$k]['title'] = __($v['title']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -123,6 +116,10 @@ class Admin extends AdminController
|
||||
return $this->success('查询成功', null, $list, $count);
|
||||
}
|
||||
|
||||
$this->jobs = Jobs::select()->toArray();
|
||||
$this->group = AdminGroupModel::select()->toArray();
|
||||
$this->department = Department::getListTree();
|
||||
|
||||
return view('/system/admin/index', [
|
||||
'jobs' => $this->jobs,
|
||||
'group' => $this->group,
|
||||
|
||||
Reference in New Issue
Block a user