mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-03 00:12:49 +08:00
20 lines
881 B
PHP
20 lines
881 B
PHP
$(function () {
|
|
|
|
ua.table.render({
|
|
init: init,
|
|
cols: [[
|
|
{type: "checkbox"},
|
|
{field: 'id', width: 80, title: 'ID'},
|
|
{field: 'sort', width: 80, title: '排序', edit: 'text'},
|
|
{field: 'title', minWidth: 80, title: '权限名称'},
|
|
{field: 'icon', width: 80, title: '图标', templet: ua.table.icon},
|
|
{field: 'href', minWidth: 120, title: '快捷链接'},
|
|
{field: 'remark', minWidth: 80, title: '备注信息'},
|
|
{field: 'status', title: '状态', width: 85, search: 'select', selectList: {0: '禁用', 1: '启用'}, templet: ua.table.switch},
|
|
{field: 'create_time', minWidth: 80, title: '创建时间', search: 'range'},
|
|
{width: 250, title: '操作', templet: ua.table.tool, operat: ['edit', 'delete']}
|
|
]],
|
|
});
|
|
|
|
ua.listen();
|
|
}); |