column.ts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. import { DICT_TYPE } from '@/utils/dict'
  2. // =================入住申请=====================
  3. export const CheckInRequestColumns = reactive([
  4. {
  5. label: '所属机构',
  6. field: 'tenantName',
  7. type: '99'
  8. },
  9. {
  10. label: '姓名',
  11. field: 'elderName'
  12. },
  13. {
  14. label: '性别',
  15. field: 'elderSex',
  16. dictArr: DICT_TYPE.SYSTEM_USER_SEX,
  17. type: '1'
  18. },
  19. {
  20. label: '信息完整度',
  21. field: 'infoPercentage',
  22. type: '4',
  23. componentName: 'el-progress'
  24. },
  25. {
  26. label: '入住类别',
  27. field: 'inStatusType',
  28. dictArr: DICT_TYPE.IN_STATUS_TYPE,
  29. type: '1'
  30. },
  31. {
  32. label: '状态',
  33. field: 'inStatus',
  34. dictArr: DICT_TYPE.IN_STATUS_ARR,
  35. type: '1'
  36. },
  37. {
  38. label: '申请日期',
  39. field: 'createTime',
  40. format: true
  41. },
  42. {
  43. label: '申请状态',
  44. field: 'bpmStatus',
  45. dictArr: DICT_TYPE.APPROVAL_STATUS,
  46. type: '11',
  47. content: '入住申请审批通过,方可办理入住'
  48. },
  49. ])
  50. // =================入住办理============================
  51. export const CheckInColumns = reactive([
  52. {
  53. label: '所属机构',
  54. field: 'tenantName',
  55. type: '99'
  56. },
  57. {
  58. label: '姓名',
  59. field: 'elderName'
  60. },
  61. {
  62. label: '性别',
  63. field: 'elderSex',
  64. dictArr: DICT_TYPE.SYSTEM_USER_SEX,
  65. type: '1'
  66. },
  67. {
  68. label: '入住类别',
  69. field: 'inStatusType',
  70. dictArr: DICT_TYPE.IN_STATUS_TYPE,
  71. type: '1'
  72. },
  73. {
  74. label: '实际入住日期',
  75. field: 'checkInTime',
  76. format: true
  77. },
  78. {
  79. label: '状态',
  80. field: 'status',
  81. dictArr: DICT_TYPE.HANDLE_STATUS,
  82. type: '1'
  83. },
  84. {
  85. label: '护理级别',
  86. field: 'nurseLevelName'
  87. },
  88. {
  89. label: '费用审批',
  90. field: 'bpmStatus',
  91. dictArr: DICT_TYPE.APPROVAL_STATUS,
  92. type: '2'
  93. }
  94. ])