123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- import { BasicColumn } from '/@/components/Table';
- export const columns: BasicColumn[] = [
- {
- title: '序号',
- width: 60,
- align: 'center',
- customRender: ({ index }: { index: number }) => `${index + 1}`
- },
- {
- title: '当前环节',
- dataIndex: 'name',
- key: 'name',
- align: 'center',
- ellipsis: true,
- },
- {
- title: '审批人',
- dataIndex: 'username',
- key: 'username',
- align: 'center',
- ellipsis: true,
- },
- {
- title: '审批结果',
- dataIndex: 'deleteReason',
- key: 'deleteReason',
- align: 'center',
- ellipsis: true,
- },
- {
- title: '审批开始时间',
- dataIndex: 'startTime',
- key: 'startTime',
- align: 'center',
- ellipsis: true,
- width: 150,
- },
- {
- title: '审批结束时间',
- dataIndex: 'endTime',
- key: 'endTime',
- align: 'center',
- ellipsis: true,
- width: 150
- },
- {
- title: '状态',
- dataIndex: 'status',
- key: 'status',
- align: 'center',
- ellipsis: true,
- },
- ]
|