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
fe9fe498
Commit
fe9fe498
authored
Jan 26, 2024
by
汪伟伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
表格边框
parent
af9389db
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
app/Admin/Controllers/AlreadyApproveController.php
+5
-5
app/Admin/bootstrap.php
+6
-0
resources/views/admin/check.blade.php
+1
-1
No files found.
app/Admin/Controllers/AlreadyApproveController.php
View file @
fe9fe498
...
...
@@ -68,13 +68,13 @@ class AlreadyApproveController extends AdminController
// $grid->tools('<a class="btn btn-primary disable-outline">测试按钮</a>');
$grid
->
disableEditButton
()
->
disableDeleteButton
()
->
disableCreateButton
()
->
disableBatchDelete
();
$grid
->
disableEditButton
()
->
disableDeleteButton
()
->
disableCreateButton
()
->
disableBatchDelete
()
->
disableFilterButton
()
;
$grid
->
filter
(
function
(
Grid\Filter
$filter
)
{
//
$filter->expand();
//
$filter->panel();
$filter
->
expand
();
$filter
->
panel
();
$filter
->
equal
(
'user.id'
,
'用户'
)
->
select
(
'/getUsers'
);
$filter
->
like
(
'task.name'
,
'指标名称'
);
$filter
->
equal
(
'user.id'
,
'用户'
)
->
select
(
'/getUsers'
)
->
width
(
2
)
;
$filter
->
like
(
'task.name'
,
'指标名称'
)
->
width
(
2
)
;
});
$grid
->
actions
(
function
(
Grid\Displayers\Actions
$actions
)
{
...
...
app/Admin/bootstrap.php
View file @
fe9fe498
...
...
@@ -22,3 +22,9 @@
use
Dcat\Admin\Show\Field
;
Field
::
extend
(
'unserialize'
,
\App\Admin\Extensions\UnSerialize
::
class
);
\Dcat\Admin\Grid
::
resolving
(
function
(
\Dcat\Admin\Grid
$grid
)
{
$grid
->
withBorder
();
// $grid->tableCollapse(false);
});
resources/views/admin/check.blade.php
View file @
fe9fe498
...
...
@@ -142,7 +142,7 @@
<div class="
table
-
responsive
table
-
wrapper
complex
-
container
table
-
middle
mt
-
1
table
-
collapse
">
@foreach(
$data['data']
as
$key
=>
$item
)
<table style="" class="
table
custom
-
data
-
table
data
-
table
table
-
text
-
center
"
<table style="" class="
table
custom
-
data
-
table
data
-
table
table
-
text
-
center
table
-
bordered
complex
-
headers
"
id="
grid
-
table_
{{
$key
}}
">
<thead>
<tr>
...
...
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