data.ts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. import { BasicColumn } from '/@/components/Table';
  2. import { FormSchema } from '@/components/Form';
  3. import { listDictModel } from '/@/api/common';
  4. export const disinfectRecordColumns: BasicColumn[] = [
  5. {
  6. title: '病区/床位',
  7. dataIndex: 'inpatientWard',
  8. width: 100,
  9. },
  10. {
  11. title: '班次',
  12. dataIndex: 'sailingSort',
  13. width: 100,
  14. },
  15. {
  16. title: '开始时间',
  17. dataIndex: 'beginTime',
  18. width: 170,
  19. },
  20. {
  21. title: '设备编号',
  22. dataIndex: 'deviceCode',
  23. width: 110,
  24. },
  25. {
  26. title: '设备型号',
  27. dataIndex: 'deviceModel',
  28. width: 110,
  29. },
  30. {
  31. title: '内部消毒类型',
  32. dataIndex: 'disinfectionType',
  33. width: 150,
  34. },
  35. {
  36. title: '内部消毒液',
  37. dataIndex: 'disinfectant',
  38. width: 150,
  39. },
  40. {
  41. title: '物表消毒',
  42. dataIndex: 'disinfectantName',
  43. width: 150,
  44. },
  45. {
  46. title: '细菌过滤器',
  47. dataIndex: 'otherMaintenanceBacterialFilter',
  48. width: 120,
  49. },
  50. {
  51. title: '消毒液',
  52. dataIndex: 'otherMaintenanceDisinfectant',
  53. width: 120,
  54. },
  55. {
  56. title: '操作人',
  57. dataIndex: 'updatorName',
  58. width: 150,
  59. },
  60. ];
  61. export const dataDisinfectMaintenanceFormSchema: FormSchema[] = [
  62. {
  63. field: 'ddt_disinfectant_hot',
  64. component: 'PlainTitle',
  65. defaultValue: '热消毒',
  66. colProps: {
  67. span: 24,
  68. },
  69. },
  70. {
  71. label: '消毒剂',
  72. field: 'hot_disinfectant',
  73. required: true,
  74. component: 'ApiSelect',
  75. componentProps: {
  76. api: listDictModel,
  77. params: {
  78. dictCode: 'ddt_disinfectant_hot',
  79. },
  80. },
  81. },
  82. {
  83. label: '消毒时间(min)',
  84. field: 'hot_disinfectionTime',
  85. required: true,
  86. component: 'InputNumber',
  87. componentProps: {
  88. placeholder: '请输入消毒时间(min)',
  89. min: 1,
  90. },
  91. },
  92. {
  93. field: 'ddt_disinfectant_chemistry',
  94. component: 'PlainTitle',
  95. defaultValue: '化学消毒',
  96. colProps: {
  97. span: 24,
  98. },
  99. },
  100. {
  101. label: '消毒剂',
  102. field: 'chemistry_disinfectant',
  103. required: true,
  104. component: 'ApiSelect',
  105. componentProps: {
  106. api: listDictModel,
  107. params: {
  108. dictCode: 'ddt_disinfectant_chemistry',
  109. },
  110. },
  111. },
  112. {
  113. label: '消毒时间(min)',
  114. field: 'chemistry_disinfectionTime',
  115. required: true,
  116. component: 'InputNumber',
  117. componentProps: {
  118. placeholder: '请输入消毒时间(min)',
  119. min: 1,
  120. },
  121. },
  122. {
  123. field: 'ddt_disinfectant_chemistry_hot',
  124. component: 'PlainTitle',
  125. defaultValue: '热化学消毒',
  126. colProps: {
  127. span: 24,
  128. },
  129. },
  130. {
  131. label: '消毒剂',
  132. field: 'chemistryHot_disinfectant',
  133. required: true,
  134. component: 'ApiSelect',
  135. componentProps: {
  136. api: listDictModel,
  137. params: {
  138. dictCode: 'ddt_disinfectant_chemistry_hot',
  139. },
  140. },
  141. },
  142. {
  143. label: '消毒时间(min)',
  144. field: 'chemistryHot_disinfectionTime',
  145. required: true,
  146. component: 'InputNumber',
  147. componentProps: {
  148. placeholder: '请输入消毒时间(min)',
  149. min: 1,
  150. },
  151. },
  152. {
  153. field: 'ddt_disinfectant_other',
  154. component: 'PlainTitle',
  155. defaultValue: '其他消毒',
  156. colProps: {
  157. span: 24,
  158. },
  159. },
  160. {
  161. label: '消毒剂',
  162. field: 'other_disinfectant',
  163. required: true,
  164. component: 'ApiSelect',
  165. componentProps: {
  166. api: listDictModel,
  167. params: {
  168. dictCode: 'ddt_disinfectant_other',
  169. },
  170. },
  171. },
  172. {
  173. label: '消毒时间(min)',
  174. field: 'other_disinfectionTime',
  175. required: true,
  176. component: 'InputNumber',
  177. componentProps: {
  178. placeholder: '请输入消毒时间(min)',
  179. min: 1,
  180. },
  181. },
  182. ];