|
@@ -27,14 +27,16 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id')},
|
|
|
{field: 'type', title: __('Type'), searchList: {"1":__('Type 1'),"2":__('Type 2'),"3":__('Type 3'),"4":__('Type 4')}, formatter: Table.api.formatter.normal},
|
|
|
- {field: 'user_id', title: __('User_id')},
|
|
|
- {field: 'to_user_id', title: __('To_user_id')},
|
|
|
+// {field: 'user_id', title: __('User_id')},
|
|
|
+ {field: 'usera.username', title: __('Usera.username'), operate: 'LIKE'},
|
|
|
+
|
|
|
+// {field: 'to_user_id', title: __('To_user_id')},
|
|
|
+ {field: 'userb.username', title: __('Userb.username'), operate: 'LIKE'},
|
|
|
+
|
|
|
{field: 'content', title: __('Content'), operate: 'LIKE'},
|
|
|
{field: 'audio_file', title: __('Audio_file'), operate: false},
|
|
|
{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: 'user.username', title: __('User.username'), operate: 'LIKE'},
|
|
|
- {field: 'user.username', title: __('User.username'), operate: 'LIKE'},
|
|
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|
|
|
]
|