$(function(){ ua.table.render({ init: init, cols: [[ {type: 'checkbox'}, {field: 'id', title: 'ID'}, {field: 'node_id', title: '节点ID'}, {field: 'ip_address', title: 'IP地址'}, {field: 'status', search: 'select', selectList: ua.getDataBrage('select_list_status'), title: '状态', templet: ua.table.switch}, {field: 'last_heartbeat_at', title: '最后心跳时间'}, {field: 'os_info', title: '系统信息'}, {field: 'php_version', title: 'PHP版本'}, {field: 'cpu_load', title: 'CPU负载'}, {field: 'memory_usage', title: '内存占用'}, {field: 'disk_free', title: '磁盘可用空间'}, {field: 'disk_total', title: '磁盘总空间'}, {field: 'create_time', title: '首次运行时间'}, {width: 250, title: '操作', templet: ua.table.tool , fixed:'right'}, ]], }); ua.listen(); })