Files
asco_admin/src/views/personel/personelTbl.js
T

13 lines
700 B
JavaScript
Raw Normal View History

2021-12-30 16:13:42 +03:30
import XTbl, {Xtc} from '../../components/new-x-table/index';
2021-01-09 20:53:13 +03:30
2021-12-30 16:13:42 +03:30
const tbl = new XTbl('http://hr.asco-intl.com:2020/back/public/api/personnel/table', 'لیست پرسنل');
2021-01-09 20:53:13 +03:30
tbl.add(new Xtc('name', 'نام و نام خانوادگی').filterText());
2021-03-14 09:40:47 +03:30
tbl.add(new Xtc('personel_id', 'کد پرسنلی').filterText())
tbl.add(new Xtc('insurance_no', 'شماره بیمه').filterText())
2021-01-09 20:53:13 +03:30
tbl.add(new Xtc('ncode', 'کد ملی').filterText())
2021-12-30 16:13:42 +03:30
tbl.add(new Xtc('caj', 'ثبت نام').filterDate().filterKey('created_at'))
tbl.add(new Xtc('uaj', 'به روز رسانی').filterDate().filterKey('updated_at'))
tbl.add(new Xtc('operator', 'عملیات').renderSlot('operator').noSort())
2021-01-09 20:53:13 +03:30
export default tbl;