...
|
...
|
@@ -10,6 +10,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
edit_url: 'product/edit',
|
|
|
del_url: 'product/del',
|
|
|
multi_url: 'product/multi',
|
|
|
dragsort_url: 'ajax/weigh',
|
|
|
table: 'product',
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -20,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',
|
|
|
search: true,
|
|
|
showExport: false,
|
|
|
commonSearch: false,
|
...
|
...
|
@@ -30,7 +31,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
columns: [
|
|
|
[
|
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id'),sortable: true},
|
|
|
{field: 'id', title: __('Id')},
|
|
|
{field: 'name', title: __('Name'),sortable: true},
|
|
|
{field: 'sub_name', title: __('Sub_name'),sortable: true},
|
|
|
{field: 'dateCount', title: __('Datecount'),sortable: true},
|
...
|
...
|
|