更新审核机制

This commit is contained in:
yaooo 2023-11-18 17:16:01 +08:00
parent 83bda7ae6a
commit 80542f6796
2 changed files with 16 additions and 0 deletions

View File

@ -693,6 +693,14 @@ class OaApprove extends ApiController
$detail['check_user'] = '上级部门负责人';
$check_user_ids = explode(',',$detail['check_admin_ids']);
}
else if($flows['flow_type']==5){
$detail['check_user'] = '部门分管领导';
$check_user_ids = explode(',',$detail['check_admin_ids']);
}
else if($flows['flow_type']==6){
$detail['check_user'] = '上级部门分管领导';
$check_user_ids = explode(',',$detail['check_admin_ids']);
}
else{
$check_user_ids = explode(',',$flows['flow_uids']);
$check_user = Db::name('Admin')->where('id','in',$flows['flow_uids'])->column('name');

View File

@ -493,6 +493,14 @@ class Approve extends BaseController
$detail['check_user'] = '上级部门负责人';
$check_user_ids = explode(',',$detail['check_admin_ids']);
}
else if($flows['flow_type']==5){
$detail['check_user'] = '部门分管领导';
$check_user_ids = explode(',',$detail['check_admin_ids']);
}
else if($flows['flow_type']==6){
$detail['check_user'] = '上级部门分管领导';
$check_user_ids = explode(',',$detail['check_admin_ids']);
}
else{
$check_user_ids = explode(',',$flows['flow_uids']);
$check_user = Db::name('Admin')->where('id','in',$flows['flow_uids'])->column('name');