|
@@ -25,14 +25,17 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
columns: [
|
|
|
[
|
|
|
{checkbox: true},
|
|
|
-// {field: 'id', title: __('Id')},
|
|
|
-// {field: 'user_id', title: __('User_id')},
|
|
|
- {field: 'user.username', title: __('User.username'), operate: 'LIKE',sortable:true},
|
|
|
- {field: 'user.nickname', title: __('User.nickname'), operate: 'LIKE'},
|
|
|
- {field: 'user.mobile', title: __('User.mobile'), operate: 'LIKE'},
|
|
|
- {field: 'money', title: __('Money'), operate:'BETWEEN',sortable:true},
|
|
|
- {field: 'gold', title: __('Gold'),sortable:true},
|
|
|
- {field: 'vip_endtime', title: __('Vip_endtime'), operate:'RANGE',sortable:true, addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
+ {field: 'id', title: __('Id')},
|
|
|
+ {field: 'user_id', title: __('User_id')},
|
|
|
+ {field: 'user.username', title: __('User.username'), operate: 'LIKE'},
|
|
|
+ {field: 'gold', title: __('Gold'), operate:'BETWEEN'},
|
|
|
+ {field: 'jewel', title: __('Jewel'), operate:'BETWEEN'},
|
|
|
+ {field: 'agentjewel', title: __('Agentjewel'), operate:'BETWEEN'},
|
|
|
+ {field: 'vip_endtime', title: __('Vip_endtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
+ {field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"2":__('Status 2')}, formatter: Table.api.formatter.status},
|
|
|
+ {field: 'audio_sec', title: __('Audio_sec')},
|
|
|
+ {field: 'video_sec', title: __('Video_sec')},
|
|
|
+ {field: 'typing_times', title: __('Typing_times')},
|
|
|
{field: 'operate', title: __('Operate'), table: table,
|
|
|
buttons:[
|
|
|
{
|
|
@@ -47,7 +50,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
return row.status==100 ? false : false;
|
|
|
}*/
|
|
|
},
|
|
|
- {
|
|
|
+ /* {
|
|
|
name:'updatevip',
|
|
|
text:'充值vip会员',
|
|
|
title:'充值vip会员',
|
|
@@ -55,10 +58,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
classname:'btn btn-xs btn-info btn-dialog',
|
|
|
url:'userwallet/updatevip/id/{ids}?dialog=1',
|
|
|
target:'_self',
|
|
|
- /*hidden:function(row){
|
|
|
+ *//*hidden:function(row){
|
|
|
return row.status==100 ? false : false;
|
|
|
- }*/
|
|
|
- }
|
|
|
+ }*//*
|
|
|
+ }*/
|
|
|
],
|
|
|
events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|