作者 王智

修改

@@ -26,20 +26,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -26,20 +26,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
26 [ 26 [
27 {checkbox: true}, 27 {checkbox: true},
28 {field: 'id', title: __('Id')}, 28 {field: 'id', title: __('Id')},
29 - {field: 'UnionID', title: __('Unionid'), operate: 'LIKE'},  
30 - {field: 'token', title: __('Token'), operate: 'LIKE'}, 29 + // {field: 'UnionID', title: __('Unionid'), operate: 'LIKE'},
  30 + // {field: 'token', title: __('Token'), operate: 'LIKE'},
31 {field: 'nickname', title: __('Nickname'), operate: 'LIKE'}, 31 {field: 'nickname', title: __('Nickname'), operate: 'LIKE'},
32 {field: 'avatar', title: __('Avatar'), operate: 'LIKE', events: Table.api.events.image, formatter: Table.api.formatter.image}, 32 {field: 'avatar', title: __('Avatar'), operate: 'LIKE', events: Table.api.events.image, formatter: Table.api.formatter.image},
33 {field: 'is_new', title: __('Is_new'), searchList: {"0":__('Is_new 0'),"1":__('Is_new 1')}, formatter: Table.api.formatter.normal}, 33 {field: 'is_new', title: __('Is_new'), searchList: {"0":__('Is_new 0'),"1":__('Is_new 1')}, formatter: Table.api.formatter.normal},
34 {field: 'level', title: __('Level'), searchList: {"1":__('Level 1'),"2":__('Level 2'),"3":__('Level 3'),"4":__('Level 4'),"5":__('Level 5'),"6":__('Level 6'),"7":__('Level 7'),"8":__('Level 8')}, formatter: Table.api.formatter.normal}, 34 {field: 'level', title: __('Level'), searchList: {"1":__('Level 1'),"2":__('Level 2'),"3":__('Level 3'),"4":__('Level 4'),"5":__('Level 5'),"6":__('Level 6'),"7":__('Level 7'),"8":__('Level 8')}, formatter: Table.api.formatter.normal},
35 {field: 'invite_num', title: __('Invite_num')}, 35 {field: 'invite_num', title: __('Invite_num')},
36 - {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},  
37 - {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},  
38 {field: 'num', title: __('Num')}, 36 {field: 'num', title: __('Num')},
39 {field: 'money', title: __('Money'), operate:'BETWEEN'}, 37 {field: 'money', title: __('Money'), operate:'BETWEEN'},
40 {field: 'mobile', title: __('Mobile'), operate: 'LIKE'}, 38 {field: 'mobile', title: __('Mobile'), operate: 'LIKE'},
41 {field: 'openid', title: __('Openid'), operate: 'LIKE'}, 39 {field: 'openid', title: __('Openid'), operate: 'LIKE'},
42 {field: 'sex', title: __('Sex'), searchList: {"1":__('Sex 1'),"2":__('Sex 2')}, formatter: Table.api.formatter.normal}, 40 {field: 'sex', title: __('Sex'), searchList: {"1":__('Sex 1'),"2":__('Sex 2')}, formatter: Table.api.formatter.normal},
  41 + {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
  42 + {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
43 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} 43 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
44 ] 44 ]
45 ] 45 ]