update
This commit is contained in:
parent
71013b56a6
commit
a282798408
@ -142,7 +142,7 @@ class OaFlowTypeLogic extends BaseLogic
|
||||
public static function all(): array
|
||||
{
|
||||
$data = DictData::field('name,value')->where('type_value', 'oa_approve_cate')->select()->each(function($data){
|
||||
$data['children'] = OaFlowType::field('id,title')->where('type',$data['value'])->select()->toArray();
|
||||
$data['children'] = OaFlowType::field('id,title,icon')->where('type',$data['value'])->select()->toArray();
|
||||
})->toArray();
|
||||
return $data;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user