fileDetail.data.ts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import { BasicColumn } from '/@/components/Table';
  2. export const columns: BasicColumn[] = [
  3. {
  4. title: '文件ID',
  5. dataIndex: 'id',
  6. ifShow: false,
  7. align:'center',
  8. },
  9. {
  10. title: '父文件夹ID',
  11. dataIndex: 'parentId',
  12. ifShow: false,
  13. align:'center',
  14. },
  15. {
  16. title: '文件名称',
  17. dataIndex: 'fileName',
  18. align:'center',
  19. },
  20. {
  21. title: '文件类型',
  22. dataIndex: 'fileType_dictText',
  23. width:110,
  24. align:'center',
  25. },
  26. {
  27. title: '文件来源',
  28. dataIndex: 'fileSource',
  29. width:160,
  30. align:'center',
  31. },
  32. // {
  33. // title: '是否需要审批',
  34. // dataIndex: 'isApprove',
  35. // width: 120,
  36. // },
  37. {
  38. title: '上传时间',
  39. dataIndex: 'createTime',
  40. width:180,
  41. align:'center',
  42. },
  43. {
  44. title: '审批状态',
  45. dataIndex: 'bpmStatus_dictText',
  46. width:110,
  47. align:'center',
  48. },
  49. {
  50. title: '当前审批人',
  51. dataIndex: 'createBy',
  52. width:110,
  53. align:'center',
  54. },
  55. {
  56. title: '审批操作',
  57. dataIndex: 'actionSp',
  58. width: 200,
  59. align: 'center',
  60. slots: { customRender: 'actionSp' },
  61. },
  62. {
  63. title: '文件操作',
  64. dataIndex: 'actionWj',
  65. width: 200,
  66. align: 'center',
  67. slots: { customRender: 'actionWj' },
  68. },
  69. ];