更新审核机制
This commit is contained in:
parent
83bda7ae6a
commit
80542f6796
|
@ -693,6 +693,14 @@ class OaApprove extends ApiController
|
||||||
$detail['check_user'] = '上级部门负责人';
|
$detail['check_user'] = '上级部门负责人';
|
||||||
$check_user_ids = explode(',',$detail['check_admin_ids']);
|
$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{
|
else{
|
||||||
$check_user_ids = explode(',',$flows['flow_uids']);
|
$check_user_ids = explode(',',$flows['flow_uids']);
|
||||||
$check_user = Db::name('Admin')->where('id','in',$flows['flow_uids'])->column('name');
|
$check_user = Db::name('Admin')->where('id','in',$flows['flow_uids'])->column('name');
|
||||||
|
|
|
@ -493,6 +493,14 @@ class Approve extends BaseController
|
||||||
$detail['check_user'] = '上级部门负责人';
|
$detail['check_user'] = '上级部门负责人';
|
||||||
$check_user_ids = explode(',',$detail['check_admin_ids']);
|
$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{
|
else{
|
||||||
$check_user_ids = explode(',',$flows['flow_uids']);
|
$check_user_ids = explode(',',$flows['flow_uids']);
|
||||||
$check_user = Db::name('Admin')->where('id','in',$flows['flow_uids'])->column('name');
|
$check_user = Db::name('Admin')->where('id','in',$flows['flow_uids'])->column('name');
|
||||||
|
|
Loading…
Reference in New Issue