|
...
|
...
|
@@ -6,6 +6,7 @@ namespace App\Http\Logic\Aside\Manage; |
|
|
|
use App\Http\Logic\Aside\BaseLogic;
|
|
|
|
use App\Models\Manage\BelongingGroup;
|
|
|
|
use App\Models\Manage\EntryPosition;
|
|
|
|
use App\Models\Manage\JobLevel;
|
|
|
|
use App\Models\Manage\ManageHr;
|
|
|
|
|
|
|
|
|
|
...
|
...
|
@@ -59,13 +60,20 @@ class HrLogic extends BaseLogic |
|
|
|
return $param;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function parms(){
|
|
|
|
$data['belong_group'] = $this->model::belongGroup();
|
|
|
|
$data['education'] = $this->model::education();
|
|
|
|
$data['entry_position'] = $this->model::entryPosition();
|
|
|
|
$data['p_level'] = $this->model::pLevel();
|
|
|
|
$data['dangyuan'] = $this->model::dangyuan();
|
|
|
|
$data['dangzhibu'] = $this->model::dangzhibu();
|
|
|
|
/**
|
|
|
|
* @remark :获取所有搜索参数
|
|
|
|
* @name :getParams
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/24 11:05
|
|
|
|
*/
|
|
|
|
public function getSearchParams(){
|
|
|
|
$data['belong_group'] = $this->belongGroupList();
|
|
|
|
$data['education'] = $this->educationList();
|
|
|
|
$data['entry_position'] = $this->entryPositionList();
|
|
|
|
$data['p_level'] = $this->pLevel();
|
|
|
|
$data['political_outlook'] = $this->politicalOutlook();
|
|
|
|
$data['PartyBranch'] = $this->IsPartyBranch();
|
|
|
|
return $data;
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -76,9 +84,9 @@ class HrLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/22 17:35
|
|
|
|
*/
|
|
|
|
public function belongGroupList($map){
|
|
|
|
public function belongGroupList(){
|
|
|
|
$belongingGroupModel = new BelongingGroup();
|
|
|
|
$lists = $belongingGroupModel->list($map);
|
|
|
|
$lists = $belongingGroupModel->list();
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -106,9 +114,9 @@ class HrLogic extends BaseLogic |
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/22 17:51
|
|
|
|
*/
|
|
|
|
public function entryPositionList($map){
|
|
|
|
public function entryPositionList(){
|
|
|
|
$entryPositionModel = new EntryPosition();
|
|
|
|
$lists = $entryPositionModel->list($map);
|
|
|
|
$lists = $entryPositionModel->list();
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -120,7 +128,41 @@ class HrLogic extends BaseLogic |
|
|
|
* @time :2023/7/22 18:10
|
|
|
|
*/
|
|
|
|
public function pLevel(){
|
|
|
|
$jobLevelModel = new JobLevel();
|
|
|
|
$jobLevelModel->list();
|
|
|
|
$lists = [];
|
|
|
|
return $this->success($lists);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :政治面貌
|
|
|
|
* @name :politicalOutlook
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/24 10:57
|
|
|
|
*/
|
|
|
|
public function politicalOutlook(){
|
|
|
|
$data = [
|
|
|
|
0 => '群众',
|
|
|
|
1 => '预备党员',
|
|
|
|
2 => '正式党员',
|
|
|
|
];
|
|
|
|
return $this->success($data);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :是否有党支部
|
|
|
|
* @name :IsPartyBranch
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/7/24 11:01
|
|
|
|
*/
|
|
|
|
public function IsPartyBranch(){
|
|
|
|
$data = [
|
|
|
|
0 => '无',
|
|
|
|
1 => '是',
|
|
|
|
2 => '否',
|
|
|
|
];
|
|
|
|
return $this->success($data);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|