15 lines
739 B
JavaScript
15 lines
739 B
JavaScript
import XTbl, {Xtc} from '../../components/x-table/index';
|
|||
|
|
|
||
|
|
const tbl = new XTbl('http://hr.asco-intl.com/back/public/api/proposal', 'لیست درخواست ها');
|
||
|
|
tbl.add(new Xtc('name', 'نام و نام خانوادگی').filterText());
|
||
|
|
tbl.add(new Xtc('ncode', 'کد ملی').filterText())
|
||
|
|
tbl.add(new Xtc('fname', 'موبایل').filterText())
|
||
|
|
tbl.add(new Xtc('job_title', 'شغل').filterText())
|
||
|
|
tbl.add(new Xtc('for_cities', 'شهر').filterText().noSort())
|
||
|
|
tbl.add(new Xtc('created_at', 'ثبت نام').filterDate().noSort())
|
||
|
|
tbl.add(new Xtc('updated_at', 'به روز رسانی').filterText().noSort())
|
||
|
|
tbl.add(new Xtc('id', 'عملیات').filterSwitch().renderSlot('operator').noSort())
|
||
|
|
/*tbl.addOpt()*/
|
||
|
|
|
||
|
|
export default tbl;
|