Sha256: 91ff9030a58173287023d6b0129ea5f56663f5355a40187ac42989eab32ad453
Contents?: true
Size: 1.55 KB
Versions: 412
Compression:
Stored size: 1.55 KB
Contents
<table class="layui-hide" id="eventTable" lay-filter="event_filter"></table> <script type="text/html" id="event_bar"> <!-- <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="edit">编辑</a> --> <!-- <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a> --> </script> <script> layui.use('element', function () { var element = layui.element; }); layui.use(['table', 'element'], function () { var $ = layui.jquery, form = layui.form, table = layui.table, element = layui.element, miniPage = layui.miniPage; table.render({ elem: '#eventTable', url: '/missions/teachers/activities?id=' + parent.teacher_id, defaultToolbar: [], cols: [ [ { field: 'id', title:'序号',type: 'numbers', width: 80, }, { field: 'name', width: 300, title: '活动名称' }, { field: 'start_at', width: 190, title: '开始时间', }, { title: '操作', toolbar: '#event_bar', align: "center" } ] ], page: true }); }); </script>
Version data entries
412 entries across 204 versions & 1 rubygems