|
@@ -29,6 +29,17 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
{field: 'id', title: __('Id')},
|
|
{field: 'id', title: __('Id')},
|
|
{field: 'name', title: __('Name'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
{field: 'name', title: __('Name'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
{field: 'key', title: __('Key'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
{field: 'key', title: __('Key'), operate: 'LIKE', table: table, class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
|
+ {field: 'images', title: __('Images'), operate: false,
|
|
|
|
+ cellStyle: {css: {
|
|
|
|
+ "white-space": "break-spaces",
|
|
|
|
+ "max-width": "150px",
|
|
|
|
+ "min-width": "150px",
|
|
|
|
+ "word-break": "break-all",
|
|
|
|
+ "text-overflow": "inherit",
|
|
|
|
+ "overflow": "visible",
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ events: Table.api.events.image, formatter: Table.api.formatter.images},
|
|
{field: 'video_file', title: __('Video_file'), operate: false, formatter: Table.api.formatter.video},
|
|
{field: 'video_file', title: __('Video_file'), operate: false, formatter: Table.api.formatter.video},
|
|
// {field: 'content', title: __('Content')},
|
|
// {field: 'content', title: __('Content')},
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|