|
@@ -26,23 +26,24 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
sortName: 'id',
|
|
|
fixedColumns: true,
|
|
|
fixedRightNumber: 1,
|
|
|
+ exportTypes: ['excel'],
|
|
|
columns: [
|
|
|
[
|
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id')},
|
|
|
{field: 'user.nickname', title: __('Nickname'), operate: false},
|
|
|
- {field: 'title', title: __('Title'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
+ {field: 'title', title: __('Title'), operate: 'like'},
|
|
|
{field: 'image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
|
|
|
- {field: 'location', title: __('Location'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'web_site', title: __('Web site'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'chair', title: __('Chair'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'start_time', title: __('Start time'), sortable: true, operate: 'RANGE', addclass: 'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
- {field: 'end_time', title: __('End time'), sortable: true, operate: 'RANGE', addclass: 'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
- {field: 'person_num', title: __('Person num'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'topics', title: __('Topics'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'name', title: __('Name'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'email', title: __('Email'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'affiliation_address', title: __('Affiliation address'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
+ {field: 'location', title: __('Location'), operate: 'like'},
|
|
|
+ {field: 'web_site', title: __('Web site'), operate: 'like'},
|
|
|
+ {field: 'chair', title: __('Chair'), operate: 'like'},
|
|
|
+ {field: 'start_time', title: __('Start time'), sortable: true, operate: 'RANGE', addclass: 'datetimerange', datetimeFormat: "YYYY-MM-DD", formatter: Table.api.formatter.datetime},
|
|
|
+ {field: 'end_time', title: __('End time'), sortable: true, operate: 'RANGE', addclass: 'datetimerange', datetimeFormat: "YYYY-MM-DD", formatter: Table.api.formatter.datetime},
|
|
|
+ {field: 'person_num', title: __('Person num'), operate: 'like'},
|
|
|
+ {field: 'topics', title: __('Topics'), operate: 'like'},
|
|
|
+ {field: 'name', title: __('Name'), operate: 'like'},
|
|
|
+ {field: 'email', title: __('Email'), operate: 'like'},
|
|
|
+ {field: 'affiliation_address', title: __('Affiliation address'), operate: 'like'},
|
|
|
{field: 'status', title: __('Status'), searchList: {"review": __('Review'), "Fault": __('Fault'), "Correct": __('Correct')}, formatter: Table.api.formatter.status},
|
|
|
{field: 'createtime', title: __('Createtime'), sortable: true, operate: 'RANGE', addclass: 'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
{
|
|
@@ -137,20 +138,21 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
sortName: 'id',
|
|
|
fixedColumns: true,
|
|
|
fixedRightNumber: 1,
|
|
|
+ exportTypes: ['excel'],
|
|
|
columns: [
|
|
|
[
|
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id')},
|
|
|
{field: 'user.nickname', title: __('Nickname'), operate: false},
|
|
|
- {field: 'conference.title', title: __('Title'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'email', title: __('Email'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'first_name', title: __('First name'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'middle_name', title: __('Middle name'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'last_name', title: __('Last name'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'is_email', title: __('Is email'), searchList: {"yes": __('Yes'), "no": __('No')}},
|
|
|
- {field: 'is_correspondsing_author', title: __('Is correspondsing author'), searchList: {"yes": __('Yes'), "no": __('No')}},
|
|
|
- {field: 'affiliation', title: __('Affiliation'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
- {field: 'country', title: __('Country'), formatter: Table.api.formatter.search, operate: 'like'},
|
|
|
+ {field: 'conference.title', title: __('Title'), operate: 'like'},
|
|
|
+ {field: 'email', title: __('Email'), operate: 'like'},
|
|
|
+ {field: 'first_name', title: __('First name'), operate: 'like'},
|
|
|
+ {field: 'middle_name', title: __('Middle name'), operate: 'like'},
|
|
|
+ {field: 'last_name', title: __('Last name'), operate: 'like'},
|
|
|
+ {field: 'is_email', title: __('Is email'), searchList: {"yes": __('Yes'), "no": __('No')}, formatter: Table.api.formatter.status},
|
|
|
+ {field: 'is_correspondsing_author', title: __('Is correspondsing author'), searchList: {"yes": __('Yes'), "no": __('No')}, formatter: Table.api.formatter.status},
|
|
|
+ {field: 'affiliation', title: __('Affiliation'), operate: 'like'},
|
|
|
+ {field: 'country', title: __('Country'), operate: 'like'},
|
|
|
{field: 'createtime', title: __('Createtime'), sortable: true, operate: 'RANGE', addclass: 'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
]
|
|
|
]
|