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
3854c0d1
Commit
3854c0d1
authored
Jan 18, 2024
by
汪伟伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
de649a99
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
app/Admin/Controllers/TaskReceiveController.php
+8
-0
app/Admin/routes.php
+2
-0
No files found.
app/Admin/Controllers/TaskReceiveController.php
View file @
3854c0d1
...
...
@@ -21,6 +21,14 @@ class TaskReceiveController extends AdminController
{
protected
$title
=
' '
;
public
function
noDone
(
Content
$content
)
{
return
$content
->
translation
(
$this
->
translation
())
->
title
(
$this
->
title
())
->
description
(
$this
->
description
()[
'index'
]
??
trans
(
'admin.list'
))
->
body
(
$this
->
getData
(
0
));
}
/**
* @return Tab
*/
...
...
app/Admin/routes.php
View file @
3854c0d1
...
...
@@ -27,6 +27,8 @@ Route::group([
$router
->
resource
(
'receives'
,
'TaskReceiveController'
);
$router
->
get
(
'noDone'
,
'TaskReceiveController@noDone'
);
$router
->
resource
(
'approves'
,
'TasksApproveController'
);
$router
->
resource
(
'orders'
,
'TasksOrderController'
);
...
...
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