|
@@ -101,7 +101,9 @@
|
|
|
<a-table class="j-table-force-nowrap" ref="table" size="middle" bordered rowKey="pkId" :columns="columns"
|
|
|
:dataSource="dataSource" :pagination="ipagination" :loading="loading" :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
@change="handleTableChange" :scroll="{ x: 2500, y: 600 }">
|
|
|
-
|
|
|
+ <span slot="customTime" slot-scope="text, record, index">
|
|
|
+ <span v-if="text != null ">{{text.slice(10)}}</span>
|
|
|
+ </span>
|
|
|
<a-badge slot="latetimeState" slot-scope="text, record, index">
|
|
|
|
|
|
<!-- <a-tag color="pink" v-if="record.latetimeS < 0 || record.latetimeX > 0
|
|
@@ -238,20 +240,53 @@
|
|
|
dataIndex: 'threeDept'
|
|
|
},
|
|
|
{
|
|
|
- title: '最早打卡时间',
|
|
|
+ title: '最早',
|
|
|
align: 'center',
|
|
|
- dataIndex: 'gotoTime'
|
|
|
+ dataIndex: 'gotoTime',
|
|
|
+ scopedSlots: {
|
|
|
+ customRender: 'customTime'
|
|
|
+ }
|
|
|
},
|
|
|
- // {
|
|
|
- // title: '下班时间',
|
|
|
- // align: 'center',
|
|
|
- // dataIndex: 'shiftTimeX'
|
|
|
- // },
|
|
|
{
|
|
|
- title: '最晚打卡时间',
|
|
|
+ title: '最晚',
|
|
|
align: 'center',
|
|
|
- dataIndex: 'closingTime'
|
|
|
- }, {
|
|
|
+ dataIndex: 'closingTime',
|
|
|
+ scopedSlots: {
|
|
|
+ customRender: 'customTime'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '上班1',
|
|
|
+ align: "center",
|
|
|
+ dataIndex: 'oneTime',
|
|
|
+ scopedSlots: {
|
|
|
+ customRender: 'customTime'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '下班1',
|
|
|
+ align: "center",
|
|
|
+ dataIndex: 'twoTime',
|
|
|
+ scopedSlots: {
|
|
|
+ customRender: 'customTime'
|
|
|
+ }
|
|
|
+ },{
|
|
|
+ title: '上班2',
|
|
|
+ align: "center",
|
|
|
+ dataIndex: 'threeTime',
|
|
|
+ scopedSlots: {
|
|
|
+ customRender: 'customTime'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '下班2',
|
|
|
+ align: "center",
|
|
|
+ dataIndex: 'fourTime',
|
|
|
+ scopedSlots: {
|
|
|
+ customRender: 'customTime'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
title: '打卡次数',
|
|
|
align: 'center',
|
|
|
dataIndex: 'attendanceCount', width: 100
|
|
@@ -318,12 +353,12 @@
|
|
|
},
|
|
|
{
|
|
|
title: '请假开始时间',
|
|
|
- align: 'center',
|
|
|
+ align: 'center',width: 160,
|
|
|
dataIndex: 'holidayStartDate'
|
|
|
},
|
|
|
{
|
|
|
title: '请假结束时间',
|
|
|
- align: 'center',
|
|
|
+ align: 'center',width: 160,
|
|
|
dataIndex: 'holidayEndDate'
|
|
|
},
|
|
|
{
|