|
@@ -330,6 +330,7 @@ export const verificationRecordColumns: TableColumnType[] = [
|
|
dataIndex: 'familyUserName',
|
|
dataIndex: 'familyUserName',
|
|
title: '上课时间',
|
|
title: '上课时间',
|
|
align: 'center',
|
|
align: 'center',
|
|
|
|
+ width: 220,
|
|
customRender: ({ record }) => {
|
|
customRender: ({ record }) => {
|
|
return `${dayjs(record.coursesStartTime).format('YYYY-MM-DD HH:mm')} ${dayjs(record.coursesEndTime).format('HH:mm')}`;
|
|
return `${dayjs(record.coursesStartTime).format('YYYY-MM-DD HH:mm')} ${dayjs(record.coursesEndTime).format('HH:mm')}`;
|
|
},
|
|
},
|
|
@@ -338,16 +339,20 @@ export const verificationRecordColumns: TableColumnType[] = [
|
|
dataIndex: 'coursesName',
|
|
dataIndex: 'coursesName',
|
|
title: '课时名称',
|
|
title: '课时名称',
|
|
align: 'center',
|
|
align: 'center',
|
|
|
|
+ width: 420,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
dataIndex: 'useUserName',
|
|
dataIndex: 'useUserName',
|
|
title: '使用人',
|
|
title: '使用人',
|
|
align: 'center',
|
|
align: 'center',
|
|
|
|
+ width: 180,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
dataIndex: 'verifyStatus',
|
|
dataIndex: 'verifyStatus',
|
|
title: '核销状态',
|
|
title: '核销状态',
|
|
align: 'left',
|
|
align: 'left',
|
|
|
|
+ width: 180,
|
|
|
|
+
|
|
customRender: ({ text, record }) => {
|
|
customRender: ({ text, record }) => {
|
|
const Viewtext = h('div', { class: 'mr2' }, text == 1 ? '已核销' : '未核销');
|
|
const Viewtext = h('div', { class: 'mr2' }, text == 1 ? '已核销' : '未核销');
|
|
return record.orPostpone == 0 ? Viewtext : h('div', { class: 'flex items-center' }, [Viewtext, h(Tag, { color: 'green' }, () => '已延课')]);
|
|
return record.orPostpone == 0 ? Viewtext : h('div', { class: 'flex items-center' }, [Viewtext, h(Tag, { color: 'green' }, () => '已延课')]);
|
|
@@ -357,11 +362,14 @@ export const verificationRecordColumns: TableColumnType[] = [
|
|
dataIndex: 'verifyUserName',
|
|
dataIndex: 'verifyUserName',
|
|
title: '核验人',
|
|
title: '核验人',
|
|
align: 'center',
|
|
align: 'center',
|
|
|
|
+ width: 180,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
dataIndex: 'isinCode',
|
|
dataIndex: 'isinCode',
|
|
title: '核验照片',
|
|
title: '核验照片',
|
|
align: 'center',
|
|
align: 'center',
|
|
|
|
+ width: 180,
|
|
|
|
+
|
|
customRender: ({ record }) => {
|
|
customRender: ({ record }) => {
|
|
return record.verifyImage ? h(Image, { src: record.verifyImage, width: 100, height: 100 }) : '';
|
|
return record.verifyImage ? h(Image, { src: record.verifyImage, width: 100, height: 100 }) : '';
|
|
},
|
|
},
|
|
@@ -370,6 +378,7 @@ export const verificationRecordColumns: TableColumnType[] = [
|
|
dataIndex: 'verifyTime',
|
|
dataIndex: 'verifyTime',
|
|
title: '核验时间',
|
|
title: '核验时间',
|
|
align: 'center',
|
|
align: 'center',
|
|
|
|
+ width: 280,
|
|
},
|
|
},
|
|
];
|
|
];
|
|
|
|
|