Commit 002e09d6 by 杨树贤

设置默认颜色

parent 63165f9d
...@@ -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();
......
...@@ -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(15); $grid->paginate(10);
$grid->setDialogFormDimensions('80%', '90%'); $grid->setDialogFormDimensions('80%', '90%');
$grid->showQuickEditButton(); $grid->showQuickEditButton();
$grid->fixColumns(1); $grid->fixColumns(1);
......
...@@ -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' => [],
......
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 sign in to comment