作者 王智

daima

@@ -20,11 +20,11 @@ @@ -20,11 +20,11 @@
20 </ul> 20 </ul>
21 </div> 21 </div>
22 22
23 - 23 +
24 </div> 24 </div>
25 <table id="table" class="table table-striped table-bordered table-hover table-nowrap" 25 <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
26 - data-operate-edit="{:$auth->check('seller/edit')}"  
27 - data-operate-del="{:$auth->check('seller/del')}" 26 + data-operate-edit="{:$auth->check('seller/edit')}"
  27 + data-operate-del="{:$auth->check('seller/del')}"
28 width="100%"> 28 width="100%">
29 </table> 29 </table>
30 </div> 30 </div>
@@ -28,14 +28,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin @@ -28,14 +28,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
28 {field: 'title', title: __('Title')}, 28 {field: 'title', title: __('Title')},
29 {field: 'avatar', title: __('Avatar'), events: Table.api.events.image, formatter: Table.api.formatter.image}, 29 {field: 'avatar', title: __('Avatar'), events: Table.api.events.image, formatter: Table.api.formatter.image},
30 {field: 'address', title: __('Address')}, 30 {field: 'address', title: __('Address')},
31 - {field: 'lat', title: __('Lat')},  
32 - {field: 'lng', title: __('Lng')}, 31 + // {field: 'lat', title: __('Lat')},
  32 + // {field: 'lng', title: __('Lng')},
33 {field: 'order', title: __('Order')}, 33 {field: 'order', title: __('Order')},
34 {field: 'talk_num', title: __('Talk_num')}, 34 {field: 'talk_num', title: __('Talk_num')},
35 {field: 'opentime', title: __('Opentime')}, 35 {field: 'opentime', title: __('Opentime')},
36 {field: 'mobile', title: __('Mobile')}, 36 {field: 'mobile', title: __('Mobile')},
37 - {field: 'is_show', title: __('Is_show'), searchList: {"1":__('Is_show 1'),"0":__('Is_show 0')}, formatter: Table.api.formatter.normal},  
38 - {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 37 + {field: 'is_show', title: __('Is_show'), searchList: {"1":__('Is_show 1'),"0":__('Is_show 0')}, formatter:Table.api.formatter.toggle},
  38 + // {field: 'weight', title: __('Weight')},
  39 + // {field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
39 {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime}, 40 {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
40 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate} 41 {field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
41 ] 42 ]