change field
This commit is contained in:
@@ -105,14 +105,14 @@
|
|||||||
<div>
|
<div>
|
||||||
<a-card title="لیست پرسنل استخدام شده در ماه گذشته">
|
<a-card title="لیست پرسنل استخدام شده در ماه گذشته">
|
||||||
<x-table :model="PersonelPastMonth">
|
<x-table :model="PersonelPastMonth">
|
||||||
<template slot="created_at" slot-scope="text">{{text | jdate}}</template>
|
<!-- <template slot="created_at" slot-scope="text">{{text | jdate}}</template>-->
|
||||||
</x-table>
|
</x-table>
|
||||||
</a-card>
|
</a-card>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a-card title="لیست پرسنل استخدام شده در ماه جاری">
|
<a-card title="لیست پرسنل استخدام شده در ماه جاری">
|
||||||
<x-table :model="PersonelCurrentMonth">
|
<x-table :model="PersonelCurrentMonth">
|
||||||
<template slot="created_at" slot-scope="text">{{text | jdate}}</template>
|
<!-- <template slot="created_at" slot-scope="text">{{text | jdate}}</template>-->
|
||||||
</x-table>
|
</x-table>
|
||||||
</a-card>
|
</a-card>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ import XTbl, {Xtc} from '../../components/new-x-table/index';
|
|||||||
const tbl = new XTbl('personelCurrentMonth/table', 'لیست پرسنل');
|
const tbl = new XTbl('personelCurrentMonth/table', 'لیست پرسنل');
|
||||||
tbl.add(new Xtc('id', 'کد پرسنلی').filterText());
|
tbl.add(new Xtc('id', 'کد پرسنلی').filterText());
|
||||||
tbl.add(new Xtc('name', 'نام و نام خانوادگی').filterText())
|
tbl.add(new Xtc('name', 'نام و نام خانوادگی').filterText())
|
||||||
tbl.add(new Xtc('created_at', 'تاریخ استخدام').filterDate().filterKey('created_at').renderSlot('created_at'))
|
tbl.add(new Xtc('contract_first.start_atj', 'تاریخ استخدام').filterDate().filterKey('created_at'))
|
||||||
export default tbl;
|
export default tbl;
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ import XTbl, {Xtc} from '../../components/new-x-table/index';
|
|||||||
const tbl = new XTbl('personelPastMonth/table', 'لیست پرسنل');
|
const tbl = new XTbl('personelPastMonth/table', 'لیست پرسنل');
|
||||||
tbl.add(new Xtc('id', 'کد پرسنلی').filterText());
|
tbl.add(new Xtc('id', 'کد پرسنلی').filterText());
|
||||||
tbl.add(new Xtc('name', 'نام و نام خانوادگی').filterText())
|
tbl.add(new Xtc('name', 'نام و نام خانوادگی').filterText())
|
||||||
tbl.add(new Xtc('created_at', 'تاریخ استخدام').filterDate().filterKey('created_at').renderSlot('created_at'))
|
tbl.add(new Xtc('contract_first.start_atj', 'تاریخ استخدام').filterDate().filterKey('created_at'))
|
||||||
export default tbl;
|
export default tbl;
|
||||||
|
|||||||
Reference in New Issue
Block a user