You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.4 KiB
78 lines
1.4 KiB
/** |
|
* //=={Table}==//.php |
|
* Date: //=={date}==// |
|
* User: chenlong <vip_chenlong@163.com> |
|
*/ |
|
|
|
namespace app\admin\page; |
|
|
|
use app\common\BasePage; |
|
use sdModule\layui\TablePage; |
|
use sdModule\layui\tablePage\TableAux; |
|
use sdModule\layuiSearch\Form; |
|
//=={use}==// |
|
|
|
|
|
/** |
|
* Class //=={Table}==// |
|
* @package app\admin\page |
|
*/ |
|
class //=={Table}==// extends BasePage |
|
{ |
|
/** |
|
* 获取创建列表table的数据 |
|
* @return TablePage |
|
*/ |
|
public function getTablePageData(): TablePage |
|
{ |
|
$table = TablePage::create([ |
|
//=={table_page}==// |
|
]); |
|
|
|
$table->setHandleWidth(150); |
|
return $table; |
|
} |
|
|
|
/** |
|
* 生成表单的数据 |
|
* @return array |
|
*/ |
|
public function formData(): array |
|
{ |
|
return [ |
|
//=={form_data}==// |
|
]; |
|
} |
|
|
|
/** |
|
* 列表页面的名字 |
|
* @return string |
|
*/ |
|
public function listPageName(): string |
|
{ |
|
return "//=={page_name}==//"; |
|
} |
|
|
|
/** |
|
* 创建搜索表单的数据 |
|
* @return string |
|
*/ |
|
public function searchFormData():string |
|
{ |
|
$form_data = [ |
|
//=={search_form}==// |
|
]; |
|
return Form::CreateHTML($form_data); |
|
} |
|
|
|
/** |
|
* @return array 设置快捷搜索 |
|
*/ |
|
public function setQuickSearchField():array |
|
{ |
|
return [ |
|
//=={quick_search}==// |
|
]; |
|
} |
|
|
|
}
|
|
|