|
@@ -27,17 +27,21 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
{checkbox: true},
|
|
{checkbox: true},
|
|
{field: 'id', title: __('Id')},
|
|
{field: 'id', title: __('Id')},
|
|
{field: 'user_id', title: __('User_id')},
|
|
{field: 'user_id', title: __('User_id')},
|
|
- {field: 'question_id', title: __('Question_id')},
|
|
|
|
- {field: 'is_right', title: __('Is_right'), searchList: {"1":__('Is_right 1'),"2":__('Is_right 2')}, formatter: Table.api.formatter.normal},
|
|
|
|
- {field: 'player_id', title: __('Player_id')},
|
|
|
|
- {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
|
- {field: 'createdate', title: __('Createdate')},
|
|
|
|
{field: 'user.nickname', title: __('User.nickname'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
{field: 'user.nickname', title: __('User.nickname'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
{field: 'user.mobile', title: __('User.mobile'), operate: 'LIKE'},
|
|
{field: 'user.mobile', title: __('User.mobile'), operate: 'LIKE'},
|
|
{field: 'user.avatar', title: __('User.avatar'), operate: 'LIKE', events: Table.api.events.image, formatter: Table.api.formatter.image},
|
|
{field: 'user.avatar', title: __('User.avatar'), operate: 'LIKE', events: Table.api.events.image, formatter: Table.api.formatter.image},
|
|
- {field: 'question.title', title: __('Question.title'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ {field: 'player_id', title: __('Player_id')},
|
|
{field: 'player.title', title: __('Player.title'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
{field: 'player.title', title: __('Player.title'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
- {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
|
|
|
+
|
|
|
|
+ {field: 'is_right', title: __('Is_right'), searchList: {"1":__('Is_right 1'),"0":__('Is_right 0')}, formatter: Table.api.formatter.normal},
|
|
|
|
+
|
|
|
|
+ {field: 'question_id', title: __('Question_id')},
|
|
|
|
+ {field: 'question.title', title: __('Question.title'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
|
+// {field: 'createdate', title: __('Createdate')},
|
|
|
|
+ {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
|
+// {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
]
|
|
]
|
|
]
|
|
]
|
|
});
|
|
});
|