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

Version Path
educode_sales-0.9.40 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.39 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.38 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.37 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.36 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.35 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.34 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.33 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.32 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.31 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.30 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.29 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.28 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.27 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.26 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.25 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.24 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.23 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.22 app/views/educode_sales/teachers/add_event.html.erb
educode_sales-0.9.21 app/views/educode_sales/teachers/add_event.html.erb