作者 郭文星

'123'

@@ -131,7 +131,6 @@ class Staff extends Backend @@ -131,7 +131,6 @@ class Staff extends Backend
131 $verification_store_id = request()->param('verification_store_id'); 131 $verification_store_id = request()->param('verification_store_id');
132 $send_user_id = request()->param('send_user_id'); 132 $send_user_id = request()->param('send_user_id');
133 133
134 -  
135 $this->request->filter(['strip_tags', 'trim']); 134 $this->request->filter(['strip_tags', 'trim']);
136 if ($this->request->isAjax()) { 135 if ($this->request->isAjax()) {
137 136
@@ -39,7 +39,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -39,7 +39,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
39 {field: 'phone', title: __('Phone'), operate: 'LIKE'}, 39 {field: 'phone', title: __('Phone'), operate: 'LIKE'},
40 {field: 'store.name', title: __('Store.name'), operate: 'LIKE'}, 40 {field: 'store.name', title: __('Store.name'), operate: 'LIKE'},
41 {field: 'coupon.name', title: __('Coupon.name'), operate: 'LIKE'}, 41 {field: 'coupon.name', title: __('Coupon.name'), operate: 'LIKE'},
42 - {field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1')}, formatter: Table.api.formatter.toggle,yes:"0",no:"1"}, 42 + {field: 'status', title: __('Status'), searchList: {"0":__('Status 0'),"1":__('Status 1')}, formatter: Table.api.formatter.normal},
  43 +
43 {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}
44 ] 45 ]
45 ] 46 ]