update 1400-10-09
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import XTbl, {Xtc} from '../../components/x-table/index';
|
||||
import XTbl, {Xtc} from '../../components/new-x-table/index';
|
||||
|
||||
const tbl = new XTbl('http://hr.asco-intl.com/back/public/api/personnel', 'لیست پرسنل');
|
||||
const tbl = new XTbl('http://hr.asco-intl.com:2020/back/public/api/personnel/table', 'لیست پرسنل');
|
||||
tbl.add(new Xtc('name', 'نام و نام خانوادگی').filterText());
|
||||
tbl.add(new Xtc('personel_id', 'کد پرسنلی').filterText())
|
||||
tbl.add(new Xtc('insurance_no', 'شماره بیمه').filterText())
|
||||
tbl.add(new Xtc('ncode', 'کد ملی').filterText())
|
||||
tbl.add(new Xtc('caj', 'ثبت نام').filterDate().noSort())
|
||||
tbl.add(new Xtc('uaj', 'به روز رسانی').filterText().noSort())
|
||||
tbl.add(new Xtc('operator', 'عملیات').filterSwitch().renderSlot('operator').noSort())
|
||||
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())
|
||||
|
||||
export default tbl;
|
||||
|
||||
Reference in New Issue
Block a user