待审核筛选

This commit is contained in:
2026-02-26 09:26:05 +08:00
parent ae9dd498af
commit 1951e2333c
2 changed files with 14 additions and 4 deletions
+4 -2
View File
@@ -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'){