Commit c17597a1 by 汪伟伟

1

parent 142e09ca
...@@ -62,6 +62,7 @@ class TasksOrderController extends AdminController ...@@ -62,6 +62,7 @@ class TasksOrderController extends AdminController
// $grid->column('id')->sortable(); // $grid->column('id')->sortable();
$grid->column('task.name', '指标名称'); $grid->column('task.name', '指标名称');
if ($user->is_admin == 1) $grid->column('user.name', '用户');
$grid->column('task.city_id', '地区')->display(function ($v){ $grid->column('task.city_id', '地区')->display(function ($v){
return CityAreaService::getAreaName($v); return CityAreaService::getAreaName($v);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment