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