|
|
@ -6,6 +6,7 @@ use App\Admin\Actions\Grid\v3\DataReportOption; |
|
|
|
|
|
|
|
|
use App\Admin\Repositories\v3\GoodsActivityReport; |
|
|
use App\Admin\Repositories\v3\GoodsActivityReport; |
|
|
use App\Admin\Widgets\Charts\OrderGoodsActivityColumnChart; |
|
|
use App\Admin\Widgets\Charts\OrderGoodsActivityColumnChart; |
|
|
|
|
|
use App\Admin\Widgets\Charts\OrderGoodsActivityTotalChart; |
|
|
use Dcat\Admin\Grid; |
|
|
use Dcat\Admin\Grid; |
|
|
use Dcat\Admin\Controllers\AdminController; |
|
|
use Dcat\Admin\Controllers\AdminController; |
|
|
use App\Models\v3\Market as MarketModel; |
|
|
use App\Models\v3\Market as MarketModel; |
|
|
@ -90,6 +91,9 @@ class GoodsActivityReportController extends AdminController |
|
|
public function index(Content $content) |
|
|
public function index(Content $content) |
|
|
{ |
|
|
{ |
|
|
return $content->title('活动商品统计') |
|
|
return $content->title('活动商品统计') |
|
|
|
|
|
->body(function(Row $row){ |
|
|
|
|
|
$row->column(4,new OrderGoodsActivityTotalChart()); |
|
|
|
|
|
}) |
|
|
->body(function(Row $row){ |
|
|
->body(function(Row $row){ |
|
|
$row->column(12,$this->grid()); |
|
|
$row->column(12,$this->grid()); |
|
|
}) |
|
|
}) |
|
|
|