修正因自定义单据时漏掉权限变量
This commit is contained in:
@@ -25,7 +25,8 @@ class MailController extends DefaultController
|
||||
'simple_search_form' => 1,
|
||||
'table' => 'mail',
|
||||
'master_table' => 'mail',
|
||||
'create_btn' => 0,
|
||||
'create_btn' => 1,
|
||||
'access' => $this->access,
|
||||
];
|
||||
|
||||
$search = search_form([
|
||||
|
||||
@@ -20,6 +20,7 @@ class MenuController extends DefaultController
|
||||
'table' => 'menu',
|
||||
'master_table' => 'menu',
|
||||
'create_btn' => 1,
|
||||
'access' => $this->access,
|
||||
];
|
||||
|
||||
$search = search_form([
|
||||
|
||||
@@ -22,6 +22,7 @@ class OptionController extends DefaultController
|
||||
'table' => 'option',
|
||||
'master_table' => 'option',
|
||||
'create_btn' => 1,
|
||||
'access' => $this->access,
|
||||
];
|
||||
|
||||
$search = search_form([
|
||||
|
||||
@@ -24,6 +24,7 @@ class SettingController extends DefaultController
|
||||
'table' => 'setting',
|
||||
'master_table' => 'setting',
|
||||
'create_btn' => 1,
|
||||
'access' => $this->access,
|
||||
];
|
||||
|
||||
$search = search_form([
|
||||
|
||||
@@ -24,7 +24,8 @@ class SmsController extends DefaultController
|
||||
'simple_search_form' => 1,
|
||||
'table' => 'sms',
|
||||
'master_table' => 'sms',
|
||||
'create_btn' => 0,
|
||||
'create_btn' => 1,
|
||||
'access' => $this->access,
|
||||
];
|
||||
|
||||
$search = search_form([
|
||||
|
||||
@@ -24,7 +24,7 @@ class WidgetController extends DefaultController
|
||||
'simple_search_form' => 1,
|
||||
'table' => 'widget',
|
||||
'master_table' => 'widget',
|
||||
'create_btn' => 1,
|
||||
'create_btn' => 0,
|
||||
];
|
||||
|
||||
$search = search_form([
|
||||
|
||||
Reference in New Issue
Block a user