待审核筛选
This commit is contained in:
@@ -60,10 +60,12 @@ class InvRequisitionService
|
||||
$config['where']['applicant_id'] = $request->user->uid;
|
||||
} elseif (isset($p['applicant_id']) && $p['applicant_id']) { //指定人员的申请
|
||||
$config['where']['applicant_id'] = $p['applicant_id'];
|
||||
} else { //审批人对应的记录
|
||||
}
|
||||
/* else { //审批人对应的记录
|
||||
$config['with'] = ['approval'];
|
||||
$config['where']['approval.approver_id'] = $request->user->uid;
|
||||
//$config['where']['approval.action'] = 0;
|
||||
}
|
||||
}*/
|
||||
if(isset($p['phase']) && $p['phase'] == 'approve'){//借用审批中
|
||||
$config['where']['status'] = ['in',[10,11]];
|
||||
if(isset($p['scene']) && $p['scene'] == 'approval'){
|
||||
|
||||
Reference in New Issue
Block a user