diff --git a/app/Admin/Actions/Lazy/CsInfo.php b/app/Admin/Actions/Lazy/CsInfo.php index 1fd9f28..0b56742 100644 --- a/app/Admin/Actions/Lazy/CsInfo.php +++ b/app/Admin/Actions/Lazy/CsInfo.php @@ -15,7 +15,6 @@ class CsInfo extends LazyRenderable public function render() { - dd($this->id); return parent::render(); // TODO: Change the autogenerated stub } } diff --git a/app/Admin/Controllers/v3/Salesman.php b/app/Admin/Controllers/v3/Salesman.php index 734c493..fba6611 100644 --- a/app/Admin/Controllers/v3/Salesman.php +++ b/app/Admin/Controllers/v3/Salesman.php @@ -37,12 +37,15 @@ class Salesman extends AdminController }); }else{ return Grid::make(new \App\Admin\Repositories\v3\Salesman(),function (Grid $grid){ - - $grid->tools(new SalesmanOption()); + //$grid->tools(new SalesmanOption()); $grid->paginate(10); $grid->column('person_id','懒ID'); $grid->column('nick_name','拓展员'); - $grid->column('total','社区总数')->modal('222',CsInfo::make());; + //$grid->column('total','社区总数')->modal(CsInfo::make());; + $grid->actions(function (Grid\Displayers\Actions $actions){ + dd($actions->row->toArray()); + }); + $grid->column('user_id','绑定用户数')->display(function ($uid){ return count(explode(',',$uid)); diff --git a/resources/views/orderdetail.php b/resources/views/orderdetail.php index 71e2457..917f026 100644 --- a/resources/views/orderdetail.php +++ b/resources/views/orderdetail.php @@ -71,7 +71,7 @@
¥{{goods.price}}
-{{refund_3}}
{{refund_3}}