approvalPend.data.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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: 'fileName',
  12. key: 'fileName',
  13. align: 'center',
  14. ellipsis: true,
  15. },
  16. {
  17. title: '文件类型',
  18. dataIndex: 'fileSuffix',
  19. key: 'fileSuffix',
  20. align: 'center',
  21. ellipsis: true,
  22. },
  23. {
  24. title: '文件来源',
  25. dataIndex: 'fileType_dictText',
  26. key: 'fileType_dictText',
  27. align: 'center',
  28. ellipsis: true,
  29. },
  30. {
  31. title: '上传时间',
  32. dataIndex: 'createTime',
  33. key: 'createTime',
  34. align: 'center',
  35. ellipsis: true,
  36. },
  37. {
  38. title: '审批状态',
  39. dataIndex: 'bpmStatus_dictText',
  40. key: 'bpmStatus_dictText',
  41. align: 'center',
  42. ellipsis: true,
  43. },
  44. {
  45. title: '当前审批人',
  46. dataIndex: 'createBy',
  47. key: 'createBy',
  48. align: 'center',
  49. ellipsis: true,
  50. },
  51. // {
  52. // title: '操作',
  53. // key: 'action',
  54. // width: 200,
  55. // slots: { customRender: 'action' },
  56. // align: 'center',
  57. // },
  58. ]