progressLc.data.ts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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: '流程实例ID',
  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: 'versionC',
  40. key: 'versionC',
  41. align: 'center',
  42. ellipsis: true,
  43. },
  44. {
  45. title: '当前环节',
  46. dataIndex: 'currTaskName',
  47. key: 'currTaskName',
  48. align: 'center',
  49. ellipsis: true,
  50. },
  51. {
  52. title: '状态',
  53. dataIndex: 'isSuspended',
  54. key: 'isSuspended',
  55. align: 'center',
  56. ellipsis: true,
  57. },
  58. {
  59. title: '操作',
  60. key: 'action',
  61. width: 350,
  62. slots: { customRender: 'action' },
  63. align: 'center',
  64. },
  65. ]