|
@@ -7,7 +7,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
extend: {
|
|
|
index_url: 'imcheck/index' + location.search,
|
|
|
add_url: 'imcheck/add',
|
|
|
- edit_url: 'imcheck/edit',
|
|
|
+// edit_url: 'imcheck/edit',
|
|
|
del_url: 'imcheck/del',
|
|
|
multi_url: 'imcheck/multi',
|
|
|
import_url: 'imcheck/import',
|
|
@@ -26,10 +26,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
[
|
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id')},
|
|
|
- {field: 'user_id', title: __('User_id')},
|
|
|
+// {field: 'user_id', title: __('User_id')},
|
|
|
+ {field: 'user.username', title: __('User.username'), operate: 'LIKE'},
|
|
|
+
|
|
|
{field: 'content', title: __('Content'), operate: 'LIKE'},
|
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
- {field: 'user.username', title: __('User.username'), operate: 'LIKE'},
|
|
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|
|
|
]
|