HistorySp.data.ts 1000 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import { BasicColumn } from '/@/components/Table';
  2. export const columns:BasicColumn[]=[
  3. {
  4. title: '序号',
  5. width: 60,
  6. align: 'center',
  7. customRender: ({ index }: { index: number }) => `${index + 1}`
  8. },
  9. {
  10. title: '当前环节',
  11. dataIndex: 'name',
  12. key: 'name',
  13. align: 'center',
  14. ellipsis: true,
  15. },
  16. {
  17. title: '审批人',
  18. dataIndex: 'username',
  19. key: 'username',
  20. align: 'center',
  21. ellipsis: true,
  22. },
  23. {
  24. title: '审批结果',
  25. dataIndex: 'deleteReason',
  26. key: 'deleteReason',
  27. align: 'center',
  28. ellipsis: true,
  29. },
  30. {
  31. title: '',
  32. dataIndex: 'comment',
  33. key: 'comment',
  34. align: 'center',
  35. ellipsis: true,
  36. },
  37. {
  38. title: '审批开始时间',
  39. dataIndex: 'startTime',
  40. key: 'startTime',
  41. align: 'center',
  42. ellipsis: true,
  43. width:180,
  44. },
  45. {
  46. title: '审批结束时间',
  47. dataIndex: 'endTime',
  48. key: 'endTime',
  49. align: 'center',
  50. ellipsis: true,
  51. width:180
  52. },
  53. ]