作者 王智

daima

@@ -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 ]