|
@@ -8,7 +8,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
index_url: 'payvipconfig/index' + location.search,
|
|
|
add_url: 'payvipconfig/add',
|
|
|
edit_url: 'payvipconfig/edit',
|
|
|
-// del_url: 'payvipconfig/del',
|
|
|
+ del_url: 'payvipconfig/del',
|
|
|
multi_url: 'payvipconfig/multi',
|
|
|
import_url: 'payvipconfig/import',
|
|
|
table: 'payvip_config',
|
|
@@ -21,7 +21,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
table.bootstrapTable({
|
|
|
url: $.fn.bootstrapTable.defaults.extend.index_url,
|
|
|
pk: 'id',
|
|
|
- sortName: 'id',
|
|
|
+ sortName: 'weigh',
|
|
|
columns: [
|
|
|
[
|
|
|
{checkbox: true},
|
|
@@ -30,8 +30,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'days', title: __('Days')},
|
|
|
{field: 'title', title: __('Title'), operate: 'LIKE'},
|
|
|
{field: 'info', title: __('Info'), operate: 'LIKE'},
|
|
|
- {field: 'is_show', title: __('Is_show'), searchList: {"1":__('Is_show 1'),"0":__('Is_show 0')}, formatter: Table.api.formatter.normal},
|
|
|
- {field: 'weight', title: __('Weight')},
|
|
|
+ {field: 'weigh', title: __('Weigh'), operate: false},
|
|
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|
|
|
]
|