table.bootstrapTable({
url: $.fn.bootstrapTable.defaults.extend.index_url,
pk: 'id',
sortName: 'id',
fixedColumns: true,
fixedRightNumber: 1,
columns: [
[
{checkbox: true},
{field: 'id', title: __('Id')},
{field: 'proposal_title', title: __('Proposal_title'), operate: 'LIKE'},
{field: 'create_time', title: __('Create_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false},
{field: 'proposal_status', title: __('Proposal_status'), searchList: {"未回复":__('未回复'),"已回复":__('已回复')}, operate:'FIND_IN_SET', formatter: Table.api.formatter.label},
{field: 'proposal_content', title: __('Proposal_content'), operate: 'LIKE'},
{field: 'back_content', title: __('Back_content'),visible:false, operate: 'LIKE'},
{field: 'operate', title: __('Operate'), table: table, events: Table.api.events.operate, formatter: Table.api.formatter.operate}
]
]
});