Commit 440bc69d by 汪伟伟

1

parent 38902576
......@@ -16,6 +16,7 @@ use Dcat\Admin\Show;
use Dcat\Admin\Http\Controllers\AdminController;
use Dcat\Admin\Widgets\Card;
use Dcat\Admin\Widgets\Table;
use Illuminate\Http\Request;
class TasksApproveController extends AdminController
{
......@@ -23,8 +24,11 @@ class TasksApproveController extends AdminController
protected $title = '未审核';
public function checkData($page =1,$pageSize= 10)
public function checkData(Request $request)
{
$page = $request->input('page',1);
$pageSize = $request->input('per_page',115);
// var_dump($request->input());
$data = Task::query()
->whereHas('receives',function ($query){
$query->where('status', 1)->orderBy('created_at', 'desc');
......
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