Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
002e09d6
authored
Nov 03, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
设置默认颜色
parent
63165f9d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
app/Admin/Controllers/InquiryController.php
app/Admin/bootstrap.php
config/admin.php
app/Admin/Controllers/InquiryController.php
View file @
002e09d6
...
@@ -21,8 +21,10 @@ class InquiryController extends AdminController
...
@@ -21,8 +21,10 @@ class InquiryController extends AdminController
$grid
->
showFilter
();
$grid
->
showFilter
();
$grid
->
filter
(
function
(
$filter
){
$grid
->
filter
(
function
(
$filter
){
$filter
->
disableIdFilter
();
$filter
->
expand
(
true
);
$filter
->
expand
(
true
);
$filter
->
like
(
'inquiry_sn'
);
$filter
->
like
(
'id'
)
->
width
(
3
);
$filter
->
like
(
'inquiry_sn'
)
->
width
(
3
);
});
});
$grid
->
column
(
'inquiry_id'
)
->
sortable
();
$grid
->
column
(
'inquiry_id'
)
->
sortable
();
...
...
app/Admin/bootstrap.php
View file @
002e09d6
...
@@ -164,7 +164,7 @@ Grid::resolving(function (Grid $grid) {
...
@@ -164,7 +164,7 @@ Grid::resolving(function (Grid $grid) {
// $grid->disableViewButton();
// $grid->disableViewButton();
$grid
->
disableEditButton
();
$grid
->
disableEditButton
();
$grid
->
toolsWithOutline
(
false
);
$grid
->
toolsWithOutline
(
false
);
$grid
->
paginate
(
1
5
);
$grid
->
paginate
(
1
0
);
$grid
->
setDialogFormDimensions
(
'80%'
,
'90%'
);
$grid
->
setDialogFormDimensions
(
'80%'
,
'90%'
);
$grid
->
showQuickEditButton
();
$grid
->
showQuickEditButton
();
$grid
->
fixColumns
(
1
);
$grid
->
fixColumns
(
1
);
...
...
config/admin.php
View file @
002e09d6
...
@@ -320,7 +320,7 @@ return [
...
@@ -320,7 +320,7 @@ return [
*/
*/
'layout'
=>
[
'layout'
=>
[
// default, blue, blue-light, green
// default, blue, blue-light, green
'color'
=>
'
layui-
green'
,
'color'
=>
'green'
,
// sidebar-separate
// sidebar-separate
'body_class'
=>
[],
'body_class'
=>
[],
...
...
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