|
@@ -55,7 +55,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
// {field: 'jointime', title: __('Jointime'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},
|
|
|
// {field: 'joinip', title: __('Joinip'), formatter: Table.api.formatter.search},
|
|
|
{field: 'status', title: __('Status'), formatter: Table.api.formatter.status, searchList: {normal: __('Normal'), hidden: __('封禁'), destruction: __('注销')}},
|
|
|
- // {field: 'is_recommend', title: '推荐', formatter: Table.api.formatter.status, searchList: {1: '推荐', 0: '不推荐'}},
|
|
|
+ {field: 'recommend_weight', title: __('推荐排序'), sortable: true},
|
|
|
{field: 'is_recommend', title: __('推荐'), operate: false, formatter: Controller.api.custom},
|
|
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate,
|
|
|
buttons:[{
|
|
@@ -104,7 +104,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
table.bootstrapTable('refresh');
|
|
|
return false;
|
|
|
}
|
|
|
- },]
|
|
|
+ },{
|
|
|
+ name: '详情',
|
|
|
+ text: '详情',
|
|
|
+ title: __('详情'),
|
|
|
+ classname: 'btn btn-xs btn-warning btn-addtabs',
|
|
|
+ // icon: 'fa fa-folder-o',
|
|
|
+ url: 'user/user/detail'
|
|
|
+ }]
|
|
|
}
|
|
|
]
|
|
|
]
|