...
|
...
|
@@ -29,28 +29,36 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
// {field: 'username', title: __('Username'), operate: 'LIKE'},
|
|
|
{field: 'nickname', title: __('Nickname'), operate: 'LIKE'},
|
|
|
// {field: 'email', title: __('Email'), operate: 'LIKE'},
|
|
|
// {field: 'mobile', title: __('Mobile'), operate: 'LIKE'},
|
|
|
{field: 'mobile', title: __('Mobile'), operate: 'LIKE'},
|
|
|
{field: 'avatar', title: __('Avatar'), events: Table.api.events.image, formatter: Table.api.formatter.image, operate: false},
|
|
|
// {field: 'level', title: __('Level'), operate: 'BETWEEN', sortable: true},
|
|
|
{field: 'gender', title: __('Gender'), visible: false, searchList: {1: __('Male'), 0: __('Female')}},
|
|
|
// {field: 'score', title: __('Score'), operate: 'BETWEEN', sortable: true},
|
|
|
{field: 'successions', title: __('Successions'), visible: false, operate: 'BETWEEN', sortable: true},
|
|
|
{field: 'maxsuccessions', title: __('Maxsuccessions'), visible: false, operate: 'BETWEEN', sortable: true},
|
|
|
{field: 'logintime', title: __('Logintime'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},
|
|
|
{field: 'loginip', title: __('Loginip'), formatter: Table.api.formatter.search},
|
|
|
{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: 'logintime', title: __('Logintime'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},
|
|
|
// {field: 'loginip', title: __('Loginip'), formatter: Table.api.formatter.search},
|
|
|
// {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: __('Hidden')}},
|
|
|
{field: 'money', title: __('账号余额')},
|
|
|
{field: 'id', title: __('按钮组'), table: table, events: Table.api.events.operate, buttons:
|
|
|
[
|
|
|
{
|
|
|
text: '充值信息列表',
|
|
|
title: '充值信息列表',
|
|
|
icon: 'fa fa-list',
|
|
|
classname: 'btn btn-xs btn-primary btn-dialog',
|
|
|
url: 'toporder/index',
|
|
|
extend: 'data-area=\'["80%","80%"]\''
|
|
|
},
|
|
|
{
|
|
|
text: '购买信息列表',
|
|
|
title: '购买信息列表',
|
|
|
icon: 'fa fa-list',
|
|
|
classname: 'btn btn-xs btn-primary btn-dialog',
|
|
|
url: 'order_detail/index',
|
|
|
extend: 'data-area=\'["80%","80%"]\'',
|
|
|
extend: 'data-area=\'["80%","80%"]\''
|
|
|
}
|
|
|
], operate:false, formatter: Table.api.formatter.buttons
|
|
|
},
|
...
|
...
|
|