update
This commit is contained in:
parent
6bff8f404c
commit
76d97aa53a
@ -156,15 +156,17 @@ class OaFlowLogic extends BaseLogic
|
|||||||
$data['copy_user_names'] = '';
|
$data['copy_user_names'] = '';
|
||||||
}
|
}
|
||||||
$flow_list = unserialize($data['flow_list']);
|
$flow_list = unserialize($data['flow_list']);
|
||||||
foreach ($flow_list as &$v){
|
if(!empty($flow_list)){
|
||||||
if(!empty($v['flow_uids'])){
|
foreach ($flow_list as &$v){
|
||||||
$flow_users = Admin::where('id','in',$v['flow_uids'])->column('name');
|
if(!empty($v['flow_uids'])){
|
||||||
$v['flow_user_names'] = implode(',',$flow_users);
|
$flow_users = Admin::where('id','in',$v['flow_uids'])->column('name');
|
||||||
}else{
|
$v['flow_user_names'] = implode(',',$flow_users);
|
||||||
$v['flow_user_names'] = '';
|
}else{
|
||||||
|
$v['flow_user_names'] = '';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$data['flow_list'] = $flow_list;
|
$data['flow_list'] = $flow_list ?? '';
|
||||||
return $data->toArray();
|
return $data->toArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user