table.data.ts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. import { BasicColumn } from '/@/components/Table';
  2. import { FormSchema } from '/@/components/Table';
  3. import { RoleEnum } from '/@/enums/roleEnum';
  4. export enum KeysTypeEnum {
  5. DISABLED = 'disabled',
  6. ENABLED = 'enabled',
  7. }
  8. export const RoleMenuDictEnum: Recordable<{ key: string; keyType: KeysTypeEnum }> = {
  9. [RoleEnum.PLATFORM_ADMIN]: { key: 'enabled_platform_admin_auth', keyType: KeysTypeEnum.ENABLED },
  10. [RoleEnum.SYS_ADMIN]: { key: 'enabled_sysadmin_auth', keyType: KeysTypeEnum.ENABLED },
  11. [RoleEnum.TENANT_ADMIN]: { key: 'disabled_tenant_auth', keyType: KeysTypeEnum.DISABLED },
  12. [RoleEnum.CUSTOMER_USER]: { key: 'disabled_tenant_auth', keyType: KeysTypeEnum.DISABLED },
  13. };
  14. /**
  15. * 列表显示信息
  16. */
  17. export const columns: BasicColumn[] = [
  18. {
  19. title: '流程环节',
  20. dataIndex: 'NODEDISCRIPTION',
  21. width: 100,
  22. },
  23. // {
  24. // title: '处理岗位',
  25. // dataIndex: 'handleDept',
  26. // width: 110,
  27. // },
  28. {
  29. title: '处理人',
  30. dataIndex: 'CHECKUSERNAEM',
  31. width: 110,
  32. },
  33. {
  34. title: '处理时间',
  35. dataIndex: 'CHECKTIME',
  36. width: 200,
  37. },
  38. {
  39. title: '处理状态',
  40. dataIndex: 'ISPASS',
  41. width: 90,
  42. slots: { customRender: 'ISPASS' },
  43. },
  44. {
  45. title: '处理意见',
  46. dataIndex: 'CHECKINFO',
  47. },
  48. {
  49. title: '说明',
  50. dataIndex: 'illustrate',
  51. }
  52. ];