...
|
...
|
@@ -35,7 +35,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
{field: 'teacher_name', title: __('Teacher_name')},
|
|
|
{field: 'teacher_desc', title: __('Teacher_desc')},
|
|
|
// {field: 'is_top', title: __('Is_top'), searchList: {"0":__('Is_top 0'),"1":__('Is_top 1')}, formatter: Table.api.formatter.toggle},
|
|
|
{field: 'pay_times', title: __('Pay_times')},
|
|
|
{field: 'pay_num', title: __('Pay_num')},
|
|
|
//操作栏,默认有编辑、删除或排序按钮,可自定义配置buttons来扩展按钮
|
|
|
{
|
|
|
field: 'operate',
|
...
|
...
|
@@ -47,7 +47,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
name: 'top',
|
|
|
text: '置顶',
|
|
|
title: '置顶',
|
|
|
classname: 'btn btn-xs btn-danger btn-ajax',
|
|
|
classname: 'btn btn-xs btn-primary btn-ajax',
|
|
|
icon: 'fa fa-long-arrow-up',
|
|
|
url: 'mobile/course/course/top?course_id={id}&is_top=1',
|
|
|
visible: function (row) {
|
...
|
...
|
@@ -63,7 +63,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
name: 'top',
|
|
|
text: '取消置顶',
|
|
|
title: '取消置顶',
|
|
|
classname: 'btn btn-xs btn-primary btn-ajax',
|
|
|
classname: 'btn btn-xs btn-danger btn-ajax',
|
|
|
icon: 'fa fa-long-arrow-down',
|
|
|
url: 'mobile/course/course/top?course_id={id}&is_top=0',
|
|
|
visible: function (row) {
|
...
|
...
|
|