|
@@ -26,13 +26,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
[
|
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id')},
|
|
|
- {field: 'title', title: __('Title'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
- {field: 'image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
|
|
|
- {field: 'url', title: __('Url'), operate: 'LIKE', formatter: Table.api.formatter.url},
|
|
|
- {field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"0":__('Status 0')}, formatter: Table.api.formatter.status},
|
|
|
- {field: 'weigh', title: __('Weigh'), operate: false},
|
|
|
{field: 'company_id', title: __('Company_id')},
|
|
|
{field: 'company.companyname', title: __('Company.companyname'), operate: 'LIKE'},
|
|
|
+// {field: 'title', title: __('Title'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
+ {field: 'image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
|
|
|
+// {field: 'url', title: __('Url'), operate: 'LIKE', formatter: Table.api.formatter.url},
|
|
|
+// {field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"0":__('Status 0')}, formatter: Table.api.formatter.status},
|
|
|
+// {field: 'weigh', title: __('Weigh'), operate: false},
|
|
|
+
|
|
|
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
|
|
]
|
|
|
]
|