12 lines
702 B
JavaScript
12 lines
702 B
JavaScript
import XTbl, {Xtc} from '@/components/new-x-table/index';
|
|
|
|
const tbl = new XTbl('/work', 'لیست پرسنل');
|
|
tbl.add(new Xtc('proposal.name', 'نام و نام خانوادگی').filterText())
|
|
tbl.add(new Xtc('history', 'سابقه کار').renderSlot('history').filterText());
|
|
tbl.add(new Xtc('title', 'نام شغل').filterText())
|
|
tbl.add(new Xtc('university', 'مکان').filterText())
|
|
tbl.add(new Xtc('has_certificate_str', 'وضعیت مدرک').filterText())
|
|
tbl.add(new Xtc('start_at', 'تاریخ شروع سابقه').filterDate().filterKey('start_at'))
|
|
tbl.add(new Xtc('end_at', 'تاریخ اتمام سابقه').renderSlot('end').filterDate().filterKey('end_at'))
|
|
export default tbl;
|