继续重构模块列表前端样式

This commit is contained in:
2021-03-17 03:15:10 +08:00
parent 181fa17fdd
commit cd3a44340e
192 changed files with 3321 additions and 4596 deletions
@@ -8,7 +8,6 @@ use Gdoo\Model\Grid;
use Gdoo\Model\Form;
use Gdoo\Customer\Models\CustomerApply;
use Gdoo\User\Models\User;
use Gdoo\Index\Controllers\WorkflowController;
@@ -32,11 +31,15 @@ class CustomerApplyController extends WorkflowController
'name' => '显示',
'action' => 'show',
'display' => $this->access['show'],
]/*,[
'name' => '编辑',
'action' => 'edit',
'display' => $this->access['edit'],
]*/];
]];
$header['buttons'] = [
['name' => '导出', 'icon' => 'fa-mail-reply', 'action' => 'export', 'display' => 1],
];
$header['cols'] = $cols;
$header['tabs'] = CustomerApply::$tabs;
$header['bys'] = CustomerApply::$bys;
$search = $header['search_form'];
$query = $search['query'];
@@ -77,15 +80,6 @@ class CustomerApplyController extends WorkflowController
});
}
$header['buttons'] = [
['name' => '导出', 'icon' => 'fa-mail-reply', 'action' => 'export', 'display' => 1],
];
$header['cols'] = $cols;
$header['tabs'] = CustomerApply::$tabs;
$header['bys'] = CustomerApply::$bys;
$header['js'] = Grid::js($header);
return $this->display([
'header' => $header,
]);