如图所示
特点
使用RBAC权限管理,所有操作基于权限控制
视图使用JS控制,数据显示使用的jquery.DataTables
基于数据表的增、删、改、查都有封装,添加新的数据表操作方便
安装
提示:...* @return array 需要返回一个数组
*/
return [
'where' => [['=', 'status', 1]], // 默认查询条件(查询数组),没有不用填写
'id' =>..."中国", "1": "湖南"};
/**
* 简单配置说明
* title 配置表格名称
* table DataTables 的配置
* --- aoColumns 中的 value, search..., edit, defaultOrder, isHide 是 meTables 的配置
* ------ value 为编辑表单radio、select, checkbox, 搜索的表单的select...---- edit 编辑表单配置(不配置不会生成编辑表单),
* --------- type 类型支持hidden, text, password, file, radio, select, checkbox