Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-collect
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
汪伟伟
data-collect
Commits
440bc69d
Commit
440bc69d
authored
Jan 22, 2024
by
汪伟伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
38902576
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
app/Admin/Controllers/TasksApproveController.php
+5
-1
resources/views/admin/check.blade.php
+0
-0
No files found.
app/Admin/Controllers/TasksApproveController.php
View file @
440bc69d
...
...
@@ -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'
);
...
...
resources/views/admin/check.blade.php
View file @
440bc69d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment