|
@@ -6,6 +6,7 @@ namespace App\Http\Logic\Aside\Manage; |
|
@@ -6,6 +6,7 @@ namespace App\Http\Logic\Aside\Manage; |
|
6
|
use App\Http\Logic\Aside\BaseLogic;
|
6
|
use App\Http\Logic\Aside\BaseLogic;
|
|
7
|
use App\Models\Manage\BelongingGroup;
|
7
|
use App\Models\Manage\BelongingGroup;
|
|
8
|
use App\Models\Manage\EntryPosition;
|
8
|
use App\Models\Manage\EntryPosition;
|
|
|
|
9
|
+use App\Models\Manage\JobLevel;
|
|
9
|
use App\Models\Manage\ManageHr;
|
10
|
use App\Models\Manage\ManageHr;
|
|
10
|
|
11
|
|
|
11
|
|
12
|
|
|
@@ -59,13 +60,20 @@ class HrLogic extends BaseLogic |
|
@@ -59,13 +60,20 @@ class HrLogic extends BaseLogic |
|
59
|
return $param;
|
60
|
return $param;
|
|
60
|
}
|
61
|
}
|
|
61
|
|
62
|
|
|
62
|
- public function parms(){
|
|
|
|
63
|
- $data['belong_group'] = $this->model::belongGroup();
|
|
|
|
64
|
- $data['education'] = $this->model::education();
|
|
|
|
65
|
- $data['entry_position'] = $this->model::entryPosition();
|
|
|
|
66
|
- $data['p_level'] = $this->model::pLevel();
|
|
|
|
67
|
- $data['dangyuan'] = $this->model::dangyuan();
|
|
|
|
68
|
- $data['dangzhibu'] = $this->model::dangzhibu();
|
63
|
+ /**
|
|
|
|
64
|
+ * @remark :获取所有搜索参数
|
|
|
|
65
|
+ * @name :getParams
|
|
|
|
66
|
+ * @author :lyh
|
|
|
|
67
|
+ * @method :post
|
|
|
|
68
|
+ * @time :2023/7/24 11:05
|
|
|
|
69
|
+ */
|
|
|
|
70
|
+ public function getSearchParams(){
|
|
|
|
71
|
+ $data['belong_group'] = $this->belongGroupList();
|
|
|
|
72
|
+ $data['education'] = $this->educationList();
|
|
|
|
73
|
+ $data['entry_position'] = $this->entryPositionList();
|
|
|
|
74
|
+ $data['p_level'] = $this->pLevel();
|
|
|
|
75
|
+ $data['political_outlook'] = $this->politicalOutlook();
|
|
|
|
76
|
+ $data['PartyBranch'] = $this->IsPartyBranch();
|
|
69
|
return $data;
|
77
|
return $data;
|
|
70
|
}
|
78
|
}
|
|
71
|
|
79
|
|
|
@@ -76,9 +84,9 @@ class HrLogic extends BaseLogic |
|
@@ -76,9 +84,9 @@ class HrLogic extends BaseLogic |
|
76
|
* @method :post
|
84
|
* @method :post
|
|
77
|
* @time :2023/7/22 17:35
|
85
|
* @time :2023/7/22 17:35
|
|
78
|
*/
|
86
|
*/
|
|
79
|
- public function belongGroupList($map){
|
87
|
+ public function belongGroupList(){
|
|
80
|
$belongingGroupModel = new BelongingGroup();
|
88
|
$belongingGroupModel = new BelongingGroup();
|
|
81
|
- $lists = $belongingGroupModel->list($map);
|
89
|
+ $lists = $belongingGroupModel->list();
|
|
82
|
return $this->success($lists);
|
90
|
return $this->success($lists);
|
|
83
|
}
|
91
|
}
|
|
84
|
|
92
|
|
|
@@ -106,9 +114,9 @@ class HrLogic extends BaseLogic |
|
@@ -106,9 +114,9 @@ class HrLogic extends BaseLogic |
|
106
|
* @method :post
|
114
|
* @method :post
|
|
107
|
* @time :2023/7/22 17:51
|
115
|
* @time :2023/7/22 17:51
|
|
108
|
*/
|
116
|
*/
|
|
109
|
- public function entryPositionList($map){
|
117
|
+ public function entryPositionList(){
|
|
110
|
$entryPositionModel = new EntryPosition();
|
118
|
$entryPositionModel = new EntryPosition();
|
|
111
|
- $lists = $entryPositionModel->list($map);
|
119
|
+ $lists = $entryPositionModel->list();
|
|
112
|
return $this->success($lists);
|
120
|
return $this->success($lists);
|
|
113
|
}
|
121
|
}
|
|
114
|
|
122
|
|
|
@@ -120,7 +128,41 @@ class HrLogic extends BaseLogic |
|
@@ -120,7 +128,41 @@ class HrLogic extends BaseLogic |
|
120
|
* @time :2023/7/22 18:10
|
128
|
* @time :2023/7/22 18:10
|
|
121
|
*/
|
129
|
*/
|
|
122
|
public function pLevel(){
|
130
|
public function pLevel(){
|
|
|
|
131
|
+ $jobLevelModel = new JobLevel();
|
|
|
|
132
|
+ $jobLevelModel->list();
|
|
123
|
$lists = [];
|
133
|
$lists = [];
|
|
124
|
return $this->success($lists);
|
134
|
return $this->success($lists);
|
|
125
|
}
|
135
|
}
|
|
|
|
136
|
+
|
|
|
|
137
|
+ /**
|
|
|
|
138
|
+ * @remark :政治面貌
|
|
|
|
139
|
+ * @name :politicalOutlook
|
|
|
|
140
|
+ * @author :lyh
|
|
|
|
141
|
+ * @method :post
|
|
|
|
142
|
+ * @time :2023/7/24 10:57
|
|
|
|
143
|
+ */
|
|
|
|
144
|
+ public function politicalOutlook(){
|
|
|
|
145
|
+ $data = [
|
|
|
|
146
|
+ 0 => '群众',
|
|
|
|
147
|
+ 1 => '预备党员',
|
|
|
|
148
|
+ 2 => '正式党员',
|
|
|
|
149
|
+ ];
|
|
|
|
150
|
+ return $this->success($data);
|
|
|
|
151
|
+ }
|
|
|
|
152
|
+
|
|
|
|
153
|
+ /**
|
|
|
|
154
|
+ * @remark :是否有党支部
|
|
|
|
155
|
+ * @name :IsPartyBranch
|
|
|
|
156
|
+ * @author :lyh
|
|
|
|
157
|
+ * @method :post
|
|
|
|
158
|
+ * @time :2023/7/24 11:01
|
|
|
|
159
|
+ */
|
|
|
|
160
|
+ public function IsPartyBranch(){
|
|
|
|
161
|
+ $data = [
|
|
|
|
162
|
+ 0 => '无',
|
|
|
|
163
|
+ 1 => '是',
|
|
|
|
164
|
+ 2 => '否',
|
|
|
|
165
|
+ ];
|
|
|
|
166
|
+ return $this->success($data);
|
|
|
|
167
|
+ }
|
|
126
|
} |
168
|
} |