update
This commit is contained in:
parent
b3e30600a8
commit
d0f8f90862
@ -110,7 +110,7 @@ class DeptLogic extends BaseLogic
|
||||
$data['org_name'] = $org->isEmpty() ? '' : $org['name'];
|
||||
$data['status_text'] = $data->status_text;
|
||||
$admin = Admin::field('name')->where('id',$data['leader'])->findOrEmpty();
|
||||
$data['leader'] = $admin['name'];
|
||||
$data['leader_name'] = $admin['name'];
|
||||
return $data->toArray();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user