1
0

HistorySp.data.ts 955 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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: 'id',
  12. key: 'id',
  13. align: 'center',
  14. ellipsis: true,
  15. },
  16. {
  17. title: '审批人',
  18. dataIndex: 'name',
  19. key: 'name',
  20. align: 'center',
  21. ellipsis: true,
  22. },
  23. {
  24. title: '申请人',
  25. dataIndex: 'applyer',
  26. key: 'applyer',
  27. align: 'center',
  28. ellipsis: true,
  29. },
  30. {
  31. title: '标识Key',
  32. dataIndex: 'key',
  33. key: 'key',
  34. align: 'center',
  35. ellipsis: true,
  36. },
  37. {
  38. title: '状态',
  39. dataIndex: 'isSuspended',
  40. key: 'isSuspended',
  41. align: 'center',
  42. ellipsis: true,
  43. },
  44. // {
  45. // title: '操作',
  46. // key: 'action',
  47. // width: 350,
  48. // slots: { customRender: 'action' },
  49. // align: 'center',
  50. // },
  51. ]