|
@@ -32,16 +32,36 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'user_id', title: __('User_id')},
|
|
|
{field: 'user.username', title: __('User.username'), operate: 'LIKE'},
|
|
|
|
|
|
-// {field: 'content', title: __('Content'), operate: 'LIKE'},
|
|
|
- {field: 'images', title: __('Images'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.images},
|
|
|
+ {field: 'content', title: __('Content'), operate: 'LIKE',
|
|
|
+ cellStyle: {css: {
|
|
|
+ "white-space": "break-spaces",
|
|
|
+ "max-width": "200px",
|
|
|
+ "min-width": "200px",
|
|
|
+ "word-break": "break-all",
|
|
|
+ "text-overflow": "inherit",
|
|
|
+ "overflow": "visible",
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {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: 'audio_file', title: __('Audio_file'), operate: false},
|
|
|
// {field: 'audio_second', title: __('Audio_second')},
|
|
|
{field: 'type', title: __('Type'), searchList: {"1":__('Type 1'),"2":__('Type 2')}, formatter: Table.api.formatter.normal},
|
|
|
// {field: 'goodnum', title: __('Goodnum')},
|
|
|
// {field: 'answernum', title: __('Answernum')},
|
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
- {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
- {field: 'cityname', title: __('Cityname'), operate: 'LIKE'},
|
|
|
+// {field: 'updatetime', title: __('Updatetime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
+// {field: 'cityname', title: __('Cityname'), operate: 'LIKE'},
|
|
|
// {field: 'longitude', title: __('Longitude'), operate: 'LIKE'},
|
|
|
// {field: 'latitude', title: __('Latitude'), operate: 'LIKE'},
|
|
|
// {field: 'aite', title: __('Aite'), operate: 'LIKE'},
|
|
@@ -49,7 +69,17 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
{field: 'toptime', title: __('toptime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
{field: 'auditstatus', title: __('Auditstatus'), searchList: {"0":__('Auditstatus 0'),"1":__('Auditstatus 1'),"2":__('Auditstatus 2')}, formatter: Table.api.formatter.status},
|
|
|
{field: 'audittime', title: __('Audittime'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
- {field: 'auditremark', title: __('Auditremark'), operate: 'LIKE'},
|
|
|
+ {field: 'auditremark', title: __('Auditremark'), operate: 'LIKE',
|
|
|
+ cellStyle: {css: {
|
|
|
+ "white-space": "break-spaces",
|
|
|
+ "max-width": "100px",
|
|
|
+ "min-width": "100px",
|
|
|
+ "word-break": "break-all",
|
|
|
+ "text-overflow": "inherit",
|
|
|
+ "overflow": "visible",
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
{field: 'operate', title: __('Operate'), table: table,
|
|
|
buttons:[
|
|
|
{
|