作者 jinglong
1 个管道 的构建 通过 耗费 2 秒

修改后台检索问题

@@ -374,11 +374,11 @@ class Backend extends Controller @@ -374,11 +374,11 @@ class Backend extends Controller
374 374
375 foreach($where as &$w_value){ 375 foreach($where as &$w_value){
376 if($w_value[0] == 'ffg_goods.flag'){ 376 if($w_value[0] == 'ffg_goods.flag'){
377 - if($w_value[2] == '推荐'){ 377 + if($w_value[2] == 1){
378 $w_value[0] = 'ffg_goods.is_recommend'; 378 $w_value[0] = 'ffg_goods.is_recommend';
379 - }else if($w_value[2] == '设计师作品'){ 379 + }else if($w_value[2] == 2){
380 $w_value[0] = 'ffg_goods.is_design'; 380 $w_value[0] = 'ffg_goods.is_design';
381 - }else if($w_value[2] == '新人特惠'){ 381 + }else if($w_value[2] == 3){
382 $w_value[0] = 'ffg_goods.is_new'; 382 $w_value[0] = 'ffg_goods.is_new';
383 } 383 }
384 $w_value[2] = 1; 384 $w_value[2] = 1;
@@ -25,7 +25,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -25,7 +25,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
25 [ 25 [
26 {checkbox: true}, 26 {checkbox: true},
27 {field: 'id', title: __('Id')}, 27 {field: 'id', title: __('Id')},
28 - {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image}, 28 + {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image,operate:false},
29 {field: 'type', title: __('Type'),formatter: Table.api.formatter.label, searchList: {0: __('首页广告位'), 1: __('弹窗广告位')}}, 29 {field: 'type', title: __('Type'),formatter: Table.api.formatter.label, searchList: {0: __('首页广告位'), 1: __('弹窗广告位')}},
30 {field: 'url', title: __('Url')}, 30 {field: 'url', title: __('Url')},
31 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 31 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
@@ -25,7 +25,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -25,7 +25,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
25 [ 25 [
26 {checkbox: true}, 26 {checkbox: true},
27 {field: 'id', title: __('Id')}, 27 {field: 'id', title: __('Id')},
28 - {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image}, 28 + {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image,operate:false},
29 {field: 'url', title: __('Url')}, 29 {field: 'url', title: __('Url')},
30 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 30 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
31 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} 31 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
@@ -71,11 +71,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -71,11 +71,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
71 } 71 }
72 } 72 }
73 }, 73 },
74 - {field: 'coupon_number', title: __('coupon_number')}, 74 + {field: 'coupon_number', title: __('coupon_number'),operate:false},
75 {field: 'is_new', title: __('Is_new'),formatter: Table.api.formatter.label,searchList: {0: __('否'), 1: __('是')}}, 75 {field: 'is_new', title: __('Is_new'),formatter: Table.api.formatter.label,searchList: {0: __('否'), 1: __('是')}},
76 {field: 'end_time', title: __('End_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 76 {field: 'end_time', title: __('End_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
77 {field: 'gift', title: __('Gift'),formatter: Table.api.formatter.label,searchList: {0: __('无'), 1: __('分享人'),2:__('被分享人')}}, 77 {field: 'gift', title: __('Gift'),formatter: Table.api.formatter.label,searchList: {0: __('无'), 1: __('分享人'),2:__('被分享人')}},
78 - {field: 'sort', title: __('Sort'),sortable: true},//排序 78 + {field: 'sort', title: __('Sort'),sortable: true,operate:false},//排序
79 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 79 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
80 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} 80 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
81 ] 81 ]
@@ -25,7 +25,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -25,7 +25,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
25 [ 25 [
26 {checkbox: true}, 26 {checkbox: true},
27 {field: 'id', title: __('Id')}, 27 {field: 'id', title: __('Id')},
28 - {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image}, 28 + {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image,operate:false},
29 {field: 'url', title: __('Url')}, 29 {field: 'url', title: __('Url')},
30 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 30 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
31 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} 31 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
@@ -25,11 +25,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -25,11 +25,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
25 [ 25 [
26 {checkbox: true}, 26 {checkbox: true},
27 {field: 'id', title: __('Id')}, 27 {field: 'id', title: __('Id')},
28 - {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image}, 28 + {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image,operate:false},
29 {field: 'name', title: __('Name')}, 29 {field: 'name', title: __('Name')},
30 {field: 'tag', title: __('Tag')}, 30 {field: 'tag', title: __('Tag')},
31 {field: 'address', title: __('Address')}, 31 {field: 'address', title: __('Address')},
32 - {field: 'introduce', title: __('Introduce')}, 32 + {field: 'introduce', title: __('Introduce'),operate:false},
33 // {field: 'file', title: __('File')}, 33 // {field: 'file', title: __('File')},
34 // {field: 'image_long', title: __('Image_long')}, 34 // {field: 'image_long', title: __('Image_long')},
35 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 35 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
@@ -69,7 +69,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -69,7 +69,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
69 } 69 }
70 } 70 }
71 }, 71 },
72 - {field: 'coupon_number', title: __('Coupon_number')}, 72 + {field: 'coupon_number', title: __('Coupon_number'),operate:false},
73 {field: 'is_new', title: __('Is_new'),formatter: Table.api.formatter.label,searchList: {0: __('否'), 1: __('是')}}, 73 {field: 'is_new', title: __('Is_new'),formatter: Table.api.formatter.label,searchList: {0: __('否'), 1: __('是')}},
74 {field: 'end_time', title: __('End_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 74 {field: 'end_time', title: __('End_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
75 {field: 'gift', title: __('Gift'),formatter: Table.api.formatter.label,searchList: {0: __('无'), 1: __('分享人'),2:__('被分享人')}}, 75 {field: 'gift', title: __('Gift'),formatter: Table.api.formatter.label,searchList: {0: __('无'), 1: __('分享人'),2:__('被分享人')}},
@@ -70,11 +70,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -70,11 +70,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
70 } 70 }
71 } 71 }
72 }, 72 },
73 - {field: 'coupon_number', title: __('coupon_number')}, 73 + {field: 'coupon_number', title: __('coupon_number'),operate:false},
74 {field: 'is_new', title: __('Is_new'),formatter: Table.api.formatter.label,searchList: {0: __('否'), 1: __('是')}}, 74 {field: 'is_new', title: __('Is_new'),formatter: Table.api.formatter.label,searchList: {0: __('否'), 1: __('是')}},
75 {field: 'end_time', title: __('End_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 75 {field: 'end_time', title: __('End_time'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
76 {field: 'gift', title: __('Gift'),formatter: Table.api.formatter.label,searchList: {0: __('无'), 1: __('分享人'),2:__('被分享人')}}, 76 {field: 'gift', title: __('Gift'),formatter: Table.api.formatter.label,searchList: {0: __('无'), 1: __('分享人'),2:__('被分享人')}},
77 - {field: 'sort', title: __('Sort'),sortable: true},//排序 77 + {field: 'sort', title: __('Sort'),sortable: true,operate:false},//排序
78 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 78 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
79 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} 79 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
80 ] 80 ]
@@ -26,11 +26,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -26,11 +26,11 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
26 {checkbox: true}, 26 {checkbox: true},
27 {field: 'id', title: __('Id')}, 27 {field: 'id', title: __('Id')},
28 28
29 - {field: 'gtype.name', title: __('Gtype.name')},//品类名称 29 + {field: 'gtype.name', title: __('Gtype.name'),operate:'LIKE'},//品类名称
30 30
31 - {field: 'name', title: __('Name')},//商品名称  
32 - {field: 'name_en', title: __('Name_en')},//商品名称(英文)  
33 - {field: 'image', title: __('Image'),events: Table.api.events.image, formatter: Table.api.formatter.image},//商品图 31 + {field: 'name', title: __('Name'),operate:'LIKE'},//商品名称
  32 + {field: 'name_en', title: __('Name_en'),operate:'LIKE'},//商品名称(英文)
  33 + {field: 'image', title: __('Image'),events: Table.api.events.image, formatter: Table.api.formatter.image,operate:false},//商品图
34 {field: 'flag', title: __('Flag'),formatter: 34 {field: 'flag', title: __('Flag'),formatter:
35 function(value,row,index){ 35 function(value,row,index){
36 var value1 = ''; 36 var value1 = '';
@@ -47,15 +47,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -47,15 +47,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
47 value1 += '<span style="color:blue">新人特惠</span>'; 47 value1 += '<span style="color:blue">新人特惠</span>';
48 } 48 }
49 return value1; 49 return value1;
50 - } 50 + },searchList: {'': __('选择'), 1: __('推荐'), 2: __('设计师作品'), 3: __('新人特惠')}
51 },//商品标识 51 },//商品标识
52 // {field: 'sale_price', title: __('Sale_price')},//销售价格 52 // {field: 'sale_price', title: __('Sale_price')},//销售价格
53 - {field: 'market_price', title: __('Market_price')},//市场价格  
54 - {field: 'expense_price', title: __('Expense_price')},//运费  
55 - {field: 'hots', title: __('Hots'),sortable: true},//浏览量  
56 - {field: 'sales', title: __('Sales'),sortable: true},//销量  
57 - {field: 'collections', title: __('Collections'),sortable: true},//收藏量  
58 - {field: 'sort', title: __('Sort'),sortable: true},//排序 53 + {field: 'market_price', title: __('Market_price'),operate:false},//市场价格
  54 + {field: 'expense_price', title: __('Expense_price'),operate:false},//运费
  55 + {field: 'hots', title: __('Hots'),sortable: true,operate:false},//浏览量
  56 + {field: 'sales', title: __('Sales'),sortable: true,operate:false},//销量
  57 + {field: 'collections', title: __('Collections'),sortable: true,operate:false},//收藏量
  58 + {field: 'sort', title: __('Sort'),sortable: true,operate:false},//排序
59 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 59 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
60 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} 60 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
61 ] 61 ]
@@ -26,12 +26,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -26,12 +26,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
26 {checkbox: true}, 26 {checkbox: true},
27 {field: 'id', title: __('Id')}, 27 {field: 'id', title: __('Id')},
28 28
29 - {field: 'btype.name', title: __('Btype.name')},//品牌名称 29 + {field: 'btype.name', title: __('Btype.name'),operate:'LIKE'},//品牌名称
30 {field: 'btype.address', title: __('Btype.address')},//品牌产地 30 {field: 'btype.address', title: __('Btype.address')},//品牌产地
31 31
32 - {field: 'name', title: __('Name')},//商品名称  
33 - {field: 'name_en', title: __('Name_en')},//商品名称(英文)  
34 - {field: 'image', title: __('Image'),events: Table.api.events.image, formatter: Table.api.formatter.image},//商品图 32 + {field: 'name', title: __('Name'),operate:'LIKE'},//商品名称
  33 + {field: 'name_en', title: __('Name_en'),operate:'LIKE'},//商品名称(英文)
  34 + {field: 'image', title: __('Image'),events: Table.api.events.image, formatter: Table.api.formatter.image,operate:false},//商品图
35 {field: 'flag', title: __('Flag'),formatter: 35 {field: 'flag', title: __('Flag'),formatter:
36 function(value,row,index){ 36 function(value,row,index){
37 var value1 = ''; 37 var value1 = '';
@@ -48,15 +48,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -48,15 +48,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
48 value1 += '<span style="color:blue">新人特惠</span>'; 48 value1 += '<span style="color:blue">新人特惠</span>';
49 } 49 }
50 return value1; 50 return value1;
51 - } 51 + },searchList: {'': __('选择'), 1: __('推荐'), 2: __('设计师作品'), 3: __('新人特惠')}
52 },//商品标识 52 },//商品标识
53 // {field: 'sale_price', title: __('Sale_price')},//销售价格 53 // {field: 'sale_price', title: __('Sale_price')},//销售价格
54 - {field: 'market_price', title: __('Market_price')},//市场价格  
55 - {field: 'expense_price', title: __('Expense_price')},//运费  
56 - {field: 'hots', title: __('Hots'),sortable: true},//浏览量  
57 - {field: 'sales', title: __('Sales'),sortable: true},//销量  
58 - {field: 'collections', title: __('Collections'),sortable: true},//收藏量  
59 - {field: 'sort', title: __('Sort'),sortable: true},//排序 54 + {field: 'market_price', title: __('Market_price'),operate:false},//市场价格
  55 + {field: 'expense_price', title: __('Expense_price'),operate:false},//运费
  56 + {field: 'hots', title: __('Hots'),sortable: true,operate:false},//浏览量
  57 + {field: 'sales', title: __('Sales'),sortable: true,operate:false},//销量
  58 + {field: 'collections', title: __('Collections'),sortable: true,operate:false},//收藏量
  59 + {field: 'sort', title: __('Sort'),sortable: true,operate:false},//排序
60 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 60 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
61 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} 61 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
62 ] 62 ]
@@ -26,7 +26,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -26,7 +26,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
26 {checkbox: true}, 26 {checkbox: true},
27 {field: 'id', title: __('Id')}, 27 {field: 'id', title: __('Id')},
28 {field: 'name', title: __('Name')}, 28 {field: 'name', title: __('Name')},
29 - {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image}, 29 + {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image,operate:false},
30 // {field: 'images', title: __('Images'), events: Table.api.events.image, formatter: Table.api.formatter.images}, 30 // {field: 'images', title: __('Images'), events: Table.api.events.image, formatter: Table.api.formatter.images},
31 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 31 {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
32 // {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 32 // {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
@@ -27,7 +27,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -27,7 +27,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
27 {field: 'id', title: __('Id')}, 27 {field: 'id', title: __('Id')},
28 {field: 'title', title: __('Title')}, 28 {field: 'title', title: __('Title')},
29 {field: 'nickname', title: __('Nickname')}, 29 {field: 'nickname', title: __('Nickname')},
30 - {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image}, 30 + {field: 'image', title: __('Image'), events: Table.api.events.image, formatter: Table.api.formatter.image,operate:false},
31 {field: 'address', title: __('Address')}, 31 {field: 'address', title: __('Address')},
32 {field: 'goods.name', title: __('Goods.name')}, 32 {field: 'goods.name', title: __('Goods.name')},
33 {field: 'goods.type_name', title: __('Goods.type_name')}, 33 {field: 'goods.type_name', title: __('Goods.type_name')},
@@ -34,12 +34,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -34,12 +34,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
34 // {field: 'level', title: __('Level'), operate: 'BETWEEN', sortable: true}, 34 // {field: 'level', title: __('Level'), operate: 'BETWEEN', sortable: true},
35 // {field: 'gender', title: __('Gender'), visible: false, searchList: {1: __('Male'), 0: __('Female')}}, 35 // {field: 'gender', title: __('Gender'), visible: false, searchList: {1: __('Male'), 0: __('Female')}},
36 // {field: 'score', title: __('Score'), operate: 'BETWEEN', sortable: true}, 36 // {field: 'score', title: __('Score'), operate: 'BETWEEN', sortable: true},
37 - {field: 'successions', title: __('Successions'), visible: false, operate: 'BETWEEN', sortable: true},  
38 - {field: 'maxsuccessions', title: __('Maxsuccessions'), visible: false, operate: 'BETWEEN', sortable: true},  
39 - {field: 'logintime', title: __('Logintime'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},  
40 - {field: 'loginip', title: __('Loginip'), formatter: Table.api.formatter.search},  
41 - {field: 'jointime', title: __('Jointime'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},  
42 - {field: 'joinip', title: __('Joinip'), formatter: Table.api.formatter.search}, 37 + {field: 'successions', title: __('Successions'), visible: false, operate: false, sortable: true},
  38 + {field: 'maxsuccessions', title: __('Maxsuccessions'), visible: false, operate: false, sortable: true},
  39 + {field: 'logintime', title: __('Logintime'), formatter: Table.api.formatter.datetime, operate: false, addclass: 'datetimerange', sortable: true},
  40 + // {field: 'loginip', title: __('Loginip'), formatter: Table.api.formatter.search},
  41 + {field: 'jointime', title: __('Jointime'), formatter: Table.api.formatter.datetime, operate: false, addclass: 'datetimerange', sortable: true},
  42 + // {field: 'joinip', title: __('Joinip'), formatter: Table.api.formatter.search},
43 {field: 'status', title: __('Status'), formatter: Table.api.formatter.status, searchList: {normal: __('Normal'), hidden: __('Hidden')}}, 43 {field: 'status', title: __('Status'), formatter: Table.api.formatter.status, searchList: {normal: __('Normal'), hidden: __('Hidden')}},
44 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} 44 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
45 ] 45 ]