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

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
@@ -29,11 +29,18 @@ class ContactController extends DefaultController
$region = regionCustomer('customer_id_customer');
$cols['actions']['options'] = [[
'name' => '编辑',
'name' => '编辑',
'action' => 'edit',
'display' => $this->access['edit'],
]];
$header['buttons'] = [
['name' => '删除', 'icon' => 'fa-remove', 'action' => 'delete', 'display' => $this->access['delete']],
];
$header['cols'] = $cols;
$header['tabs'] = Contact::$tabs;
$header['bys'] = Contact::$bys;
$search = $header['search_form'];
$query = $search['query'];
@@ -62,14 +69,6 @@ class ContactController extends DefaultController
return Grid::dataFilters($rows, $header);
}
$header['buttons'] = [
['name' => '删除', 'icon' => 'fa-remove', 'action' => 'delete', 'display' => $this->access['delete']],
];
$header['cols'] = $cols;
$header['tabs'] = Contact::$tabs;
$header['bys'] = Contact::$bys;
$header['js'] = Grid::js($header);
return $this->display([
'header' => $header,
]);