新增企业员工列表

This commit is contained in:
yaooo 2023-10-30 14:55:57 +08:00
parent faafe997a0
commit e0187257a4
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class UserPersonal extends ApiController
//调部门列表
public function change()
{
$this->checkAuth();
$param = get_params();
$where = [];
if (!empty($param['keyword'])) {
@ -51,6 +52,7 @@ class UserPersonal extends ApiController
//新增&编辑调部门
public function change_add()
{
$this->checkAuth();
$param = get_params();
if (!empty($param['id']) && $param['id'] > 0) {
$param['update_time'] = time();
@ -115,6 +117,7 @@ class UserPersonal extends ApiController
//添加离职档案
public function leave_add()
{
$this->checkAuth();
$param = get_params();
if (empty($param['uid'])) {
$this->apiError("请选择离职人员");
@ -152,6 +155,7 @@ class UserPersonal extends ApiController
//删除离职档案
public function leave_delete()
{
$this->checkAuth();
$id = get_params("id");
if (empty($id)) {
$this->apiError("请选择离职人员");