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