...
|
...
|
@@ -7,8 +7,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
extend: {
|
|
|
index_url: 'user/index' + location.search,
|
|
|
add_url: 'user/add',
|
|
|
edit_url: 'user/edit',
|
|
|
del_url: 'user/del',
|
|
|
// edit_url: 'user/edit',
|
|
|
// del_url: 'user/del',
|
|
|
multi_url: 'user/multi',
|
|
|
import_url: 'user/import',
|
|
|
table: 'user',
|
...
|
...
|
@@ -29,10 +29,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
{field: 'nickname', title: __('Nickname'), operate: 'LIKE'},
|
|
|
{field: 'avatar', title: __('Avatar'), operate: 'LIKE', events: Table.api.events.image, formatter: Table.api.formatter.image},
|
|
|
{field: 'money', title: __('Money'), operate:'BETWEEN'},
|
|
|
{field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1')}, formatter: Table.api.formatter.status},
|
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
{field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
{field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1')}, formatter: Table.api.formatter.status},
|
|
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
// {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|
|
|
]
|
|
|
});
|
...
|
...
|
|