|
...
|
...
|
@@ -12,6 +12,7 @@ use App\Http\Requests\Aside\Project\ProjectRequest; |
|
|
|
use App\Models\City;
|
|
|
|
use App\Models\Inquiry\InquirySet;
|
|
|
|
use App\Models\Manage\BelongingGroup;
|
|
|
|
use App\Models\Manage\ManageHr;
|
|
|
|
use App\Models\Project\DeployBuild;
|
|
|
|
use App\Models\Project\DeployOptimize;
|
|
|
|
use App\Models\Project\Payment;
|
|
...
|
...
|
@@ -261,9 +262,12 @@ class ProjectController extends BaseController |
|
|
|
*/
|
|
|
|
public function getManager(){
|
|
|
|
$this->request->validate([
|
|
|
|
'id'=>'required',
|
|
|
|
'belong_group'=>'required',
|
|
|
|
],[
|
|
|
|
'id.required' => '请选择用户组'
|
|
|
|
'belong_group.required' => '请选择用户组'
|
|
|
|
]);
|
|
|
|
$hrManagerModel = new ManageHr();
|
|
|
|
$lists = $hrManagerModel->list(['belong_group'=>$this->param['belong_group']],'id',['id','manage_id','name','entry_position','is_leader']);
|
|
|
|
$this->response('success',Code::SUCCESS,$lists);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|