@lm_fe/pages-fubao 0.1.201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (537) hide show
  1. package/README.md +58 -0
  2. package/dist/a_chunks/.root.js +1644 -0
  3. package/dist/a_chunks/.root.js.map +1 -0
  4. package/dist/a_chunks/.root10.js +238 -0
  5. package/dist/a_chunks/.root10.js.map +1 -0
  6. package/dist/a_chunks/.root11.js +1719 -0
  7. package/dist/a_chunks/.root11.js.map +1 -0
  8. package/dist/a_chunks/.root12.js +45 -0
  9. package/dist/a_chunks/.root12.js.map +1 -0
  10. package/dist/a_chunks/.root13.js +2753 -0
  11. package/dist/a_chunks/.root13.js.map +1 -0
  12. package/dist/a_chunks/.root14.js +26 -0
  13. package/dist/a_chunks/.root14.js.map +1 -0
  14. package/dist/a_chunks/.root15.js +26 -0
  15. package/dist/a_chunks/.root15.js.map +1 -0
  16. package/dist/a_chunks/.root16.js +214 -0
  17. package/dist/a_chunks/.root16.js.map +1 -0
  18. package/dist/a_chunks/.root17.js +116 -0
  19. package/dist/a_chunks/.root17.js.map +1 -0
  20. package/dist/a_chunks/.root18.js +116 -0
  21. package/dist/a_chunks/.root18.js.map +1 -0
  22. package/dist/a_chunks/.root19.js +482 -0
  23. package/dist/a_chunks/.root19.js.map +1 -0
  24. package/dist/a_chunks/.root2.js +197 -0
  25. package/dist/a_chunks/.root2.js.map +1 -0
  26. package/dist/a_chunks/.root20.js +125 -0
  27. package/dist/a_chunks/.root20.js.map +1 -0
  28. package/dist/a_chunks/.root21.js +170 -0
  29. package/dist/a_chunks/.root21.js.map +1 -0
  30. package/dist/a_chunks/.root22.js +125 -0
  31. package/dist/a_chunks/.root22.js.map +1 -0
  32. package/dist/a_chunks/.root23.js +170 -0
  33. package/dist/a_chunks/.root23.js.map +1 -0
  34. package/dist/a_chunks/.root24.js +553 -0
  35. package/dist/a_chunks/.root24.js.map +1 -0
  36. package/dist/a_chunks/.root25.js +573 -0
  37. package/dist/a_chunks/.root25.js.map +1 -0
  38. package/dist/a_chunks/.root26.js +497 -0
  39. package/dist/a_chunks/.root26.js.map +1 -0
  40. package/dist/a_chunks/.root27.js +482 -0
  41. package/dist/a_chunks/.root27.js.map +1 -0
  42. package/dist/a_chunks/.root28.js +478 -0
  43. package/dist/a_chunks/.root28.js.map +1 -0
  44. package/dist/a_chunks/.root29.js +448 -0
  45. package/dist/a_chunks/.root29.js.map +1 -0
  46. package/dist/a_chunks/.root3.js +84 -0
  47. package/dist/a_chunks/.root3.js.map +1 -0
  48. package/dist/a_chunks/.root30.js +414 -0
  49. package/dist/a_chunks/.root30.js.map +1 -0
  50. package/dist/a_chunks/.root31.js +20 -0
  51. package/dist/a_chunks/.root31.js.map +1 -0
  52. package/dist/a_chunks/.root32.js +169 -0
  53. package/dist/a_chunks/.root32.js.map +1 -0
  54. package/dist/a_chunks/.root33.js +2305 -0
  55. package/dist/a_chunks/.root33.js.map +1 -0
  56. package/dist/a_chunks/.root34.js +70 -0
  57. package/dist/a_chunks/.root34.js.map +1 -0
  58. package/dist/a_chunks/.root35.js +281 -0
  59. package/dist/a_chunks/.root35.js.map +1 -0
  60. package/dist/a_chunks/.root36.js +26 -0
  61. package/dist/a_chunks/.root36.js.map +1 -0
  62. package/dist/a_chunks/.root37.js +1497 -0
  63. package/dist/a_chunks/.root37.js.map +1 -0
  64. package/dist/a_chunks/.root38.js +2956 -0
  65. package/dist/a_chunks/.root38.js.map +1 -0
  66. package/dist/a_chunks/.root39.js +312 -0
  67. package/dist/a_chunks/.root39.js.map +1 -0
  68. package/dist/a_chunks/.root4.js +84 -0
  69. package/dist/a_chunks/.root4.js.map +1 -0
  70. package/dist/a_chunks/.root40.js +9 -0
  71. package/dist/a_chunks/.root40.js.map +1 -0
  72. package/dist/a_chunks/.root41.js +312 -0
  73. package/dist/a_chunks/.root41.js.map +1 -0
  74. package/dist/a_chunks/.root42.js +26 -0
  75. package/dist/a_chunks/.root42.js.map +1 -0
  76. package/dist/a_chunks/.root43.js +1542 -0
  77. package/dist/a_chunks/.root43.js.map +1 -0
  78. package/dist/a_chunks/.root44.js +152 -0
  79. package/dist/a_chunks/.root44.js.map +1 -0
  80. package/dist/a_chunks/.root45.js +313 -0
  81. package/dist/a_chunks/.root45.js.map +1 -0
  82. package/dist/a_chunks/.root46.js +313 -0
  83. package/dist/a_chunks/.root46.js.map +1 -0
  84. package/dist/a_chunks/.root47.js +51 -0
  85. package/dist/a_chunks/.root47.js.map +1 -0
  86. package/dist/a_chunks/.root48.js +91 -0
  87. package/dist/a_chunks/.root48.js.map +1 -0
  88. package/dist/a_chunks/.root49.js +109 -0
  89. package/dist/a_chunks/.root49.js.map +1 -0
  90. package/dist/a_chunks/.root5.js +11 -0
  91. package/dist/a_chunks/.root5.js.map +1 -0
  92. package/dist/a_chunks/.root50.js +263 -0
  93. package/dist/a_chunks/.root50.js.map +1 -0
  94. package/dist/a_chunks/.root51.js +232 -0
  95. package/dist/a_chunks/.root51.js.map +1 -0
  96. package/dist/a_chunks/.root52.js +3129 -0
  97. package/dist/a_chunks/.root52.js.map +1 -0
  98. package/dist/a_chunks/.root53.js +138 -0
  99. package/dist/a_chunks/.root53.js.map +1 -0
  100. package/dist/a_chunks/.root54.js +181 -0
  101. package/dist/a_chunks/.root54.js.map +1 -0
  102. package/dist/a_chunks/.root55.js +488 -0
  103. package/dist/a_chunks/.root55.js.map +1 -0
  104. package/dist/a_chunks/.root56.js +920 -0
  105. package/dist/a_chunks/.root56.js.map +1 -0
  106. package/dist/a_chunks/.root57.js +504 -0
  107. package/dist/a_chunks/.root57.js.map +1 -0
  108. package/dist/a_chunks/.root58.js +775 -0
  109. package/dist/a_chunks/.root58.js.map +1 -0
  110. package/dist/a_chunks/.root59.js +120 -0
  111. package/dist/a_chunks/.root59.js.map +1 -0
  112. package/dist/a_chunks/.root6.js +205 -0
  113. package/dist/a_chunks/.root6.js.map +1 -0
  114. package/dist/a_chunks/.root60.js +46 -0
  115. package/dist/a_chunks/.root60.js.map +1 -0
  116. package/dist/a_chunks/.root61.js +189 -0
  117. package/dist/a_chunks/.root61.js.map +1 -0
  118. package/dist/a_chunks/.root62.js +287 -0
  119. package/dist/a_chunks/.root62.js.map +1 -0
  120. package/dist/a_chunks/.root63.js +29 -0
  121. package/dist/a_chunks/.root63.js.map +1 -0
  122. package/dist/a_chunks/.root64.js +20 -0
  123. package/dist/a_chunks/.root64.js.map +1 -0
  124. package/dist/a_chunks/.root65.js +248 -0
  125. package/dist/a_chunks/.root65.js.map +1 -0
  126. package/dist/a_chunks/.root7.js +58 -0
  127. package/dist/a_chunks/.root7.js.map +1 -0
  128. package/dist/a_chunks/.root8.js +19 -0
  129. package/dist/a_chunks/.root8.js.map +1 -0
  130. package/dist/a_chunks/.root9.js +276 -0
  131. package/dist/a_chunks/.root9.js.map +1 -0
  132. package/dist/a_chunks/Form.js +11 -0
  133. package/dist/a_chunks/Form.js.map +1 -0
  134. package/dist/a_chunks/ModalForm.js +1648 -0
  135. package/dist/a_chunks/ModalForm.js.map +1 -0
  136. package/dist/a_chunks/api.js +1530 -0
  137. package/dist/a_chunks/api.js.map +1 -0
  138. package/dist/a_chunks/common.js +141 -0
  139. package/dist/a_chunks/common.js.map +1 -0
  140. package/dist/a_chunks/config.js +2146 -0
  141. package/dist/a_chunks/config.js.map +1 -0
  142. package/dist/a_chunks/extends.js +11 -0
  143. package/dist/a_chunks/extends.js.map +1 -0
  144. package/dist/a_chunks/form_config.js +825 -0
  145. package/dist/a_chunks/form_config.js.map +1 -0
  146. package/dist/a_chunks/index.js +646 -0
  147. package/dist/a_chunks/index.js.map +1 -0
  148. package/dist/a_chunks/index2.js +66 -0
  149. package/dist/a_chunks/index2.js.map +1 -0
  150. package/dist/a_chunks/index3.js +1170 -0
  151. package/dist/a_chunks/index3.js.map +1 -0
  152. package/dist/a_chunks/index4.js +1048 -0
  153. package/dist/a_chunks/index4.js.map +1 -0
  154. package/dist/a_chunks/style-inject.es.js +26 -0
  155. package/dist/a_chunks/style-inject.es.js.map +1 -0
  156. package/dist/a_chunks/tslib.es6.js +178 -0
  157. package/dist/a_chunks/tslib.es6.js.map +1 -0
  158. package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js +215 -0
  159. package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js.map +1 -0
  160. package/dist/index.d.ts +4 -0
  161. package/dist/index.js +165 -0
  162. package/dist/index.js.map +1 -0
  163. package/dist/pages/fubao/.StupidModal/GlobalModal.d.ts +8 -0
  164. package/dist/pages/fubao/.StupidModal/index.d.ts +3 -0
  165. package/dist/pages/fubao/.StupidModal/meta.d.ts +1 -0
  166. package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/Form0.d.ts +9 -0
  167. package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/Form1.d.ts +4 -0
  168. package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/StepModal.d.ts +21 -0
  169. package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/StupidRadioGroup.d.ts +10 -0
  170. package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/constant.d.ts +16 -0
  171. package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/index.d.ts +8 -0
  172. package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/informedConsentTable/index.d.ts +11 -0
  173. package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/service.d.ts +38 -0
  174. package/dist/pages/fubao/.stupid_model/ModelService.d.ts +1 -0
  175. package/dist/pages/fubao/.stupid_model/enums/index.d.ts +15 -0
  176. package/dist/pages/fubao/.stupid_model/index.d.ts +2 -0
  177. package/dist/pages/fubao/.stupid_model/models/EarlyPregnancyCheckSurgeryType.d.ts +170 -0
  178. package/dist/pages/fubao/.stupid_model/models/EarlyPregnancySurgicalTemplate.d.ts +24 -0
  179. package/dist/pages/fubao/.stupid_model/models/FamilyPlaningSchedulingDetails.d.ts +59 -0
  180. package/dist/pages/fubao/.stupid_model/models/FamilyPlanningDefaultSetting.d.ts +39 -0
  181. package/dist/pages/fubao/.stupid_model/models/Group.d.ts +11 -0
  182. package/dist/pages/fubao/.stupid_model/models/Permission.d.ts +10 -0
  183. package/dist/pages/fubao/.stupid_model/models/PreoperativeExamination.d.ts +28 -0
  184. package/dist/pages/fubao/.stupid_model/models/TemplateTrees.d.ts +19 -0
  185. package/dist/pages/fubao/.stupid_model/models/User.d.ts +22 -0
  186. package/dist/pages/fubao/.stupid_model/models/index.d.ts +10 -0
  187. package/dist/pages/fubao/.stupid_model/models/workQuestions.d.ts +49 -0
  188. package/dist/pages/fubao/data-report/breast-cancer/index.d.ts +2 -0
  189. package/dist/pages/fubao/data-report/cervical-cancer/index.d.ts +2 -0
  190. package/dist/pages/fubao/family-planning/booking-management/.Left/Item.d.ts +12 -0
  191. package/dist/pages/fubao/family-planning/booking-management/.Left/index.d.ts +13 -0
  192. package/dist/pages/fubao/family-planning/booking-management/.Right/DateSelect.d.ts +6 -0
  193. package/dist/pages/fubao/family-planning/booking-management/.Right/MonthSelect.d.ts +6 -0
  194. package/dist/pages/fubao/family-planning/booking-management/.Right/WeekSelect.d.ts +6 -0
  195. package/dist/pages/fubao/family-planning/booking-management/.Right/index.d.ts +22 -0
  196. package/dist/pages/fubao/family-planning/booking-management/DD.d.ts +43 -0
  197. package/dist/pages/fubao/family-planning/booking-management/Inner.d.ts +2 -0
  198. package/dist/pages/fubao/family-planning/booking-management/components/Overlay.d.ts +8 -0
  199. package/dist/pages/fubao/family-planning/booking-management/components/drag-item.d.ts +9 -0
  200. package/dist/pages/fubao/family-planning/booking-management/components/drop-continer.d.ts +14 -0
  201. package/dist/pages/fubao/family-planning/booking-management/constant.d.ts +28 -0
  202. package/dist/pages/fubao/family-planning/booking-management/index.d.ts +3 -0
  203. package/dist/pages/fubao/family-planning/booking-management/type.d.ts +18 -0
  204. package/dist/pages/fubao/family-planning/booking-management/util.d.ts +30 -0
  205. package/dist/pages/fubao/family-planning/curettage-statistics/components/Query.d.ts +47 -0
  206. package/dist/pages/fubao/family-planning/curettage-statistics/components/Table.d.ts +3 -0
  207. package/dist/pages/fubao/family-planning/curettage-statistics/config/form.d.ts +87 -0
  208. package/dist/pages/fubao/family-planning/curettage-statistics/config/table.d.ts +29 -0
  209. package/dist/pages/fubao/family-planning/curettage-statistics/index.d.ts +60 -0
  210. package/dist/pages/fubao/family-planning/file-management/doctor-desk/AppointModal.d.ts +110 -0
  211. package/dist/pages/fubao/family-planning/file-management/doctor-desk/adapter.d.ts +58 -0
  212. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Common/components/Form.d.ts +6 -0
  213. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Common/form_config.d.ts +2 -0
  214. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Common/index.d.ts +26 -0
  215. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/DrugAbortion/components/Form.d.ts +5 -0
  216. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/DrugAbortion/index.d.ts +15 -0
  217. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/PathologicalBiopsy/components/Form.d.ts +6 -0
  218. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/PathologicalBiopsy/form_config.d.ts +2 -0
  219. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/PathologicalBiopsy/index.d.ts +26 -0
  220. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Screening/components/Form.d.ts +5 -0
  221. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Screening/form_config.d.ts +2 -0
  222. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Screening/index.d.ts +29 -0
  223. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/adapter.d.ts +2 -0
  224. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/config.d.ts +26 -0
  225. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/index.d.ts +2 -0
  226. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUp/index.d.ts +5 -0
  227. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUpRecord/components/postpartum.d.ts +2 -0
  228. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUpRecord/config/adapter.d.ts +39 -0
  229. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUpRecord/config/index.d.ts +12 -0
  230. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUpRecord/index.d.ts +30 -0
  231. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/ImageReport/index.d.ts +37 -0
  232. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/ImageReport/intro-steps.d.ts +7 -0
  233. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InformedConsent/index.d.ts +26 -0
  234. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InformedConsent/intro-steps.d.ts +6 -0
  235. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InformedConsent/method.d.ts +4 -0
  236. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InspectionReport/index.d.ts +15 -0
  237. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InspectionReport/method.d.ts +1 -0
  238. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/LaboratoryReport/index.d.ts +26 -0
  239. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/LaboratoryReport/method.d.ts +27 -0
  240. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/components/SecondVisitBlood.d.ts +2 -0
  241. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/components/SecondVisitNormal.d.ts +2 -0
  242. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/components/SecondVisitReduction.d.ts +2 -0
  243. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/config/adapter.d.ts +97 -0
  244. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/config/index.d.ts +17 -0
  245. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/index.d.ts +31 -0
  246. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Curettage/components/Form.d.ts +12 -0
  247. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Curettage/index.d.ts +34 -0
  248. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/HysteroscopicSurgery/components/Form.d.ts +12 -0
  249. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/HysteroscopicSurgery/index.d.ts +34 -0
  250. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Place/components/Form.d.ts +12 -0
  251. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Place/index.d.ts +34 -0
  252. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Pressure/components/Form.d.ts +12 -0
  253. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Pressure/index.d.ts +34 -0
  254. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/TakeOut/components/Form.d.ts +12 -0
  255. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/TakeOut/index.d.ts +34 -0
  256. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Uterosalpingography/components/Form.d.ts +12 -0
  257. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Uterosalpingography/index.d.ts +34 -0
  258. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Uterus/components/Form.d.ts +12 -0
  259. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Uterus/index.d.ts +34 -0
  260. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Vaginoscopy/components/Form.d.ts +12 -0
  261. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Vaginoscopy/index.d.ts +34 -0
  262. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/VulvarCystStoma/components/Form.d.ts +12 -0
  263. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/VulvarCystStoma/index.d.ts +34 -0
  264. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/adapter.d.ts +2 -0
  265. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/config.d.ts +37 -0
  266. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/index.d.ts +19 -0
  267. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurveyReport/components/ExaminationItemCurve/Inner.d.ts +47 -0
  268. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurveyReport/components/ExaminationItemCurve/index.d.ts +2 -0
  269. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurveyReport/index.d.ts +32 -0
  270. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurveyReport/intro-steps.d.ts +6 -0
  271. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/VideoReport/index.d.ts +10 -0
  272. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/VideoReport/method.d.ts +1 -0
  273. package/dist/pages/fubao/family-planning/file-management/doctor-desk/index copy.d.ts +13 -0
  274. package/dist/pages/fubao/family-planning/file-management/doctor-desk/index.d.ts +2 -0
  275. package/dist/pages/fubao/family-planning/file-management/doctor-desk/methods.d.ts +5 -0
  276. package/dist/pages/fubao/family-planning/file-management/doctor-desk2/index.d.ts +2 -0
  277. package/dist/pages/fubao/family-planning/file-management/index.d.ts +2 -0
  278. package/dist/pages/fubao/family-planning/file-management/list/components/Query.d.ts +35 -0
  279. package/dist/pages/fubao/family-planning/file-management/list/components/Table.d.ts +3 -0
  280. package/dist/pages/fubao/family-planning/file-management/list/config/form.d.ts +63 -0
  281. package/dist/pages/fubao/family-planning/file-management/list/config/table.d.ts +22 -0
  282. package/dist/pages/fubao/family-planning/file-management/list/index.d.ts +57 -0
  283. package/dist/pages/fubao/family-planning/file-management/nurse-desk/components/Form.d.ts +11 -0
  284. package/dist/pages/fubao/family-planning/file-management/nurse-desk/index.d.ts +15 -0
  285. package/dist/pages/fubao/family-planning/surgery-management/components/Query.d.ts +47 -0
  286. package/dist/pages/fubao/family-planning/surgery-management/components/Table.d.ts +3 -0
  287. package/dist/pages/fubao/family-planning/surgery-management/config/form.d.ts +87 -0
  288. package/dist/pages/fubao/family-planning/surgery-management/config/table.d.ts +41 -0
  289. package/dist/pages/fubao/family-planning/surgery-management/index.d.ts +75 -0
  290. package/dist/pages/fubao/family-planning/surgery-scheduling/adapter.d.ts +9 -0
  291. package/dist/pages/fubao/family-planning/surgery-scheduling/apis/api.d.ts +1 -0
  292. package/dist/pages/fubao/family-planning/surgery-scheduling/components/Calendar/index.d.ts +18 -0
  293. package/dist/pages/fubao/family-planning/surgery-scheduling/components/GlobalSettingModal/index.d.ts +26 -0
  294. package/dist/pages/fubao/family-planning/surgery-scheduling/components/SettingModal/adapter.d.ts +8 -0
  295. package/dist/pages/fubao/family-planning/surgery-scheduling/components/SettingModal/index.d.ts +28 -0
  296. package/dist/pages/fubao/family-planning/surgery-scheduling/components/SingleCheckBox/index.d.ts +11 -0
  297. package/dist/pages/fubao/family-planning/surgery-scheduling/index.d.ts +23 -0
  298. package/dist/pages/fubao/family-planning/tracing-management/index.d.ts +2 -0
  299. package/dist/pages/fubao/family-planning/tracing-management/list/components/SingleCheckBox/index.d.ts +11 -0
  300. package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/components/ModalForm.d.ts +43 -0
  301. package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/components/Query.d.ts +49 -0
  302. package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/components/Table.d.ts +3 -0
  303. package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/config/adapter.d.ts +2 -0
  304. package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/config/form.d.ts +87 -0
  305. package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/config/table.d.ts +24 -0
  306. package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/index.d.ts +47 -0
  307. package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/components/ModalForm.d.ts +10 -0
  308. package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/components/Query.d.ts +49 -0
  309. package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/components/Table.d.ts +3 -0
  310. package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/config/form.d.ts +87 -0
  311. package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/config/table.d.ts +25 -0
  312. package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/index.d.ts +58 -0
  313. package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/components/ModalForm.d.ts +42 -0
  314. package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/components/Query.d.ts +49 -0
  315. package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/components/Table.d.ts +3 -0
  316. package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/config/adapter.d.ts +2 -0
  317. package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/config/form.d.ts +85 -0
  318. package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/config/table.d.ts +38 -0
  319. package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/index.d.ts +55 -0
  320. package/dist/pages/fubao/family-planning/tracing-management/list/config/form.d.ts +87 -0
  321. package/dist/pages/fubao/family-planning/tracing-management/list/config/table.d.ts +15 -0
  322. package/dist/pages/fubao/family-planning/tracing-management/list/index.d.ts +15 -0
  323. package/dist/pages/fubao/folic-acid/.nurse-desk/components/Form.d.ts +28 -0
  324. package/dist/pages/fubao/folic-acid/.nurse-desk/components/tableColumn.d.ts +4 -0
  325. package/dist/pages/fubao/folic-acid/.nurse-desk/form_config.d.ts +2 -0
  326. package/dist/pages/fubao/folic-acid/.nurse-desk/index.d.ts +14 -0
  327. package/dist/pages/fubao/folic-acid/file-management/add/index.d.ts +2 -0
  328. package/dist/pages/fubao/folic-acid/file-management/edit/index.d.ts +2 -0
  329. package/dist/pages/fubao/folic-acid/file-management/list/components/Query.d.ts +27 -0
  330. package/dist/pages/fubao/folic-acid/file-management/list/components/Table.d.ts +3 -0
  331. package/dist/pages/fubao/folic-acid/file-management/list/config/form.d.ts +37 -0
  332. package/dist/pages/fubao/folic-acid/file-management/list/config/table.d.ts +2 -0
  333. package/dist/pages/fubao/folic-acid/file-management/list/index copy.d.ts +36 -0
  334. package/dist/pages/fubao/folic-acid/file-management/list/index.d.ts +3 -0
  335. package/dist/pages/fubao/follow-up/positive/premarital/const.d.ts +1 -0
  336. package/dist/pages/fubao/follow-up/positive/premarital/index.d.ts +2 -0
  337. package/dist/pages/fubao/follow-up/positive/progestation/const.d.ts +1 -0
  338. package/dist/pages/fubao/follow-up/positive/progestation/index.d.ts +2 -0
  339. package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/components/Query.d.ts +43 -0
  340. package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/components/Table.d.ts +3 -0
  341. package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/config/form.d.ts +73 -0
  342. package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/config/table.d.ts +9 -0
  343. package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/index.d.ts +33 -0
  344. package/dist/pages/fubao/gynecological-diseases/breast/edit/components/Form.d.ts +3 -0
  345. package/dist/pages/fubao/gynecological-diseases/breast/edit/config/adapter.d.ts +5 -0
  346. package/dist/pages/fubao/gynecological-diseases/breast/edit/index.d.ts +15 -0
  347. package/dist/pages/fubao/gynecological-diseases/breast/list/components/Query.d.ts +22 -0
  348. package/dist/pages/fubao/gynecological-diseases/breast/list/components/Table.d.ts +3 -0
  349. package/dist/pages/fubao/gynecological-diseases/breast/list/config/adpater.d.ts +5 -0
  350. package/dist/pages/fubao/gynecological-diseases/breast/list/config/form.d.ts +37 -0
  351. package/dist/pages/fubao/gynecological-diseases/breast/list/config/table.d.ts +11 -0
  352. package/dist/pages/fubao/gynecological-diseases/breast/list/index.d.ts +40 -0
  353. package/dist/pages/fubao/gynecological-diseases/cervical/edit/components/Form.d.ts +3 -0
  354. package/dist/pages/fubao/gynecological-diseases/cervical/edit/config/adapter.d.ts +5 -0
  355. package/dist/pages/fubao/gynecological-diseases/cervical/edit/index.d.ts +15 -0
  356. package/dist/pages/fubao/gynecological-diseases/cervical/list/components/Query.d.ts +22 -0
  357. package/dist/pages/fubao/gynecological-diseases/cervical/list/components/Table.d.ts +3 -0
  358. package/dist/pages/fubao/gynecological-diseases/cervical/list/config/adpater.d.ts +5 -0
  359. package/dist/pages/fubao/gynecological-diseases/cervical/list/config/form.d.ts +37 -0
  360. package/dist/pages/fubao/gynecological-diseases/cervical/list/config/table.d.ts +11 -0
  361. package/dist/pages/fubao/gynecological-diseases/cervical/list/index.d.ts +40 -0
  362. package/dist/pages/fubao/gynecological-diseases/cervical-cancer-report/list/config/table.d.ts +36 -0
  363. package/dist/pages/fubao/gynecological-diseases/cervical-cancer-report/list/index.d.ts +14 -0
  364. package/dist/pages/fubao/gynecological-diseases/hpv-report/list/config/table.d.ts +36 -0
  365. package/dist/pages/fubao/gynecological-diseases/hpv-report/list/index.d.ts +14 -0
  366. package/dist/pages/fubao/gynecological-diseases/mammary-cancer-report/list/config/table.d.ts +32 -0
  367. package/dist/pages/fubao/gynecological-diseases/mammary-cancer-report/list/index.d.ts +14 -0
  368. package/dist/pages/fubao/gynecological-diseases/menopause-management/list/components/Query.d.ts +43 -0
  369. package/dist/pages/fubao/gynecological-diseases/menopause-management/list/components/Table.d.ts +3 -0
  370. package/dist/pages/fubao/gynecological-diseases/menopause-management/list/config/form.d.ts +73 -0
  371. package/dist/pages/fubao/gynecological-diseases/menopause-management/list/config/table.d.ts +9 -0
  372. package/dist/pages/fubao/gynecological-diseases/menopause-management/list/index.d.ts +33 -0
  373. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/components/ModalForm.d.ts +15 -0
  374. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/components/Query.d.ts +42 -0
  375. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/components/SingleCheckBox/index.d.ts +11 -0
  376. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/components/Table.d.ts +3 -0
  377. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/config/form.d.ts +71 -0
  378. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/config/table.d.ts +21 -0
  379. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/form_config.d.ts +2 -0
  380. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/index copy.d.ts +58 -0
  381. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/index.d.ts +2 -0
  382. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/components/ModalForm.d.ts +15 -0
  383. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/components/Query.d.ts +42 -0
  384. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/components/SingleCheckBox/index.d.ts +11 -0
  385. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/components/Table.d.ts +3 -0
  386. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/config/form.d.ts +71 -0
  387. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/config/table.d.ts +21 -0
  388. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/form_config.d.ts +2 -0
  389. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/index copy.d.ts +58 -0
  390. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/index.d.ts +2 -0
  391. package/dist/pages/fubao/gynecological-diseases/public-exam/AndrologyExam.d.ts +18 -0
  392. package/dist/pages/fubao/gynecological-diseases/public-exam/DiseaseHistory.d.ts +18 -0
  393. package/dist/pages/fubao/gynecological-diseases/public-exam/GynecologicalExam.d.ts +18 -0
  394. package/dist/pages/fubao/gynecological-diseases/public-exam/PhysicalExam.d.ts +18 -0
  395. package/dist/pages/fubao/gynecological-diseases/public-exam/PremaritalExam.d.ts +18 -0
  396. package/dist/pages/fubao/gynecological-diseases/public-exam/PremaritalGuidance.d.ts +18 -0
  397. package/dist/pages/fubao/gynecological-diseases/public-exam/adapter.d.ts +5 -0
  398. package/dist/pages/fubao/gynecological-diseases/regular-screening/list/components/Query.d.ts +34 -0
  399. package/dist/pages/fubao/gynecological-diseases/regular-screening/list/components/Table.d.ts +3 -0
  400. package/dist/pages/fubao/gynecological-diseases/regular-screening/list/config/form.d.ts +57 -0
  401. package/dist/pages/fubao/gynecological-diseases/regular-screening/list/config/table.d.ts +16 -0
  402. package/dist/pages/fubao/gynecological-diseases/regular-screening/list/index.d.ts +40 -0
  403. package/dist/pages/fubao/gynecological-diseases/two-cancers/./344/270/244/347/231/214/351/232/217/350/256/277/form_config.d.ts +2 -0
  404. package/dist/pages/fubao/gynecological-diseases/two-cancers/./344/270/244/347/231/214/351/232/217/350/256/277/index.d.ts +5 -0
  405. package/dist/pages/fubao/gynecological-diseases/two-cancers/add/index.d.ts +2 -0
  406. package/dist/pages/fubao/gynecological-diseases/two-cancers/components/Query.d.ts +32 -0
  407. package/dist/pages/fubao/gynecological-diseases/two-cancers/components/Table.d.ts +3 -0
  408. package/dist/pages/fubao/gynecological-diseases/two-cancers/config/form.d.ts +57 -0
  409. package/dist/pages/fubao/gynecological-diseases/two-cancers/config/table.d.ts +22 -0
  410. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/components/Form.d.ts +18 -0
  411. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/config/adapter.d.ts +2 -0
  412. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form/form_config.d.ts +3 -0
  413. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form_config/Form.d.ts +8 -0
  414. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form_config/common.d.ts +2 -0
  415. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form_config/default.d.ts +4 -0
  416. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form_config//345/273/272/347/223/257.d.ts +4 -0
  417. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/index copy.d.ts +15 -0
  418. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/index.d.ts +3 -0
  419. package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/utils.d.ts +6 -0
  420. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/PathologicalBiopsy/components/Form.d.ts +4 -0
  421. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/PathologicalBiopsy/config/adapter.d.ts +2 -0
  422. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/PathologicalBiopsy/form/form_config.d.ts +2 -0
  423. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/PathologicalBiopsy/index.d.ts +26 -0
  424. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/components/Form.d.ts +12 -0
  425. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/config/adapter.d.ts +2 -0
  426. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form/form_config.d.ts +4 -0
  427. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//344/275/223/346/240/274/346/243/200/346/237/245_config.d.ts +2 -0
  428. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//345/246/207/347/247/221/346/243/200/346/237/245_config.d.ts +2 -0
  429. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//345/273/272/347/223/257.d.ts +4 -0
  430. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//346/243/200/351/252/214/346/243/200/346/237/245_config.d.ts +2 -0
  431. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//347/227/205/345/217/262/346/203/205/345/206/265_config.d.ts +2 -0
  432. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//350/257/212/346/226/255/345/217/212/346/214/207/345/257/274_config.d.ts +2 -0
  433. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form_config.d.ts +1 -0
  434. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/index copy.d.ts +26 -0
  435. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/index.d.ts +6 -0
  436. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/config.d.ts +18 -0
  437. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/index.d.ts +8 -0
  438. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/FollowUp/index.d.ts +5 -0
  439. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/ImageReport/index.d.ts +37 -0
  440. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/ImageReport/intro-steps.d.ts +7 -0
  441. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Mammography/components/Form.d.ts +17 -0
  442. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Mammography/config/adapter.d.ts +2 -0
  443. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Mammography/index.d.ts +29 -0
  444. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/PathologicalBiopsy/components/Form.d.ts +4 -0
  445. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/PathologicalBiopsy/config/adapter.d.ts +2 -0
  446. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/PathologicalBiopsy/index.d.ts +26 -0
  447. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/components/Form.d.ts +17 -0
  448. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/config/adapter.d.ts +2 -0
  449. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form/form_config.d.ts +4 -0
  450. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//344/271/263/346/210/277/350/247/246/346/243/200_config.d.ts +2 -0
  451. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//345/273/272/347/223/257.d.ts +6 -0
  452. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//347/227/205/345/217/262/346/203/205/345/206/265_config.d.ts +2 -0
  453. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//350/257/212/346/226/255/345/217/212/346/214/207/345/257/274_config.d.ts +2 -0
  454. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//350/276/205/345/212/251/346/243/200/346/237/245_config.d.ts +2 -0
  455. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form_config.d.ts +1 -0
  456. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/index copy.d.ts +30 -0
  457. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/index.d.ts +6 -0
  458. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/config.d.ts +26 -0
  459. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/index copy.d.ts +21 -0
  460. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/index.d.ts +3 -0
  461. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/SurveyReport/components/ExaminationItemCurve/Inner.d.ts +47 -0
  462. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/SurveyReport/components/ExaminationItemCurve/index.d.ts +2 -0
  463. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/SurveyReport/index.d.ts +32 -0
  464. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/SurveyReport/intro-steps.d.ts +6 -0
  465. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/index copy.d.ts +11 -0
  466. package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/index.d.ts +2 -0
  467. package/dist/pages/fubao/gynecological-diseases/two-cancers/followup/index copy.d.ts +5 -0
  468. package/dist/pages/fubao/gynecological-diseases/two-cancers/followup/index.d.ts +5 -0
  469. package/dist/pages/fubao/gynecological-diseases/two-cancers/index copy.d.ts +57 -0
  470. package/dist/pages/fubao/gynecological-diseases/two-cancers/index.d.ts +2 -0
  471. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/BasicInfo/index.d.ts +9 -0
  472. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/GuidanceEvaluation/form_config.d.ts +4 -0
  473. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/GuidanceEvaluation/index.d.ts +9 -0
  474. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/Inspection/inspection-exam/index.d.ts +9 -0
  475. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/MedicalHistory/form_config.d.ts +4 -0
  476. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/MedicalHistory/index.d.ts +6 -0
  477. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/PhysicalExamination/index.d.ts +9 -0
  478. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/SecondSex/index.d.ts +9 -0
  479. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/config/adapter.d.ts +2 -0
  480. package/dist/pages/fubao/pre-pregnancy-care/file-management/add/index.d.ts +2 -0
  481. package/dist/pages/fubao/pre-pregnancy-care/file-management/components/Query.d.ts +38 -0
  482. package/dist/pages/fubao/pre-pregnancy-care/file-management/components/Table.d.ts +3 -0
  483. package/dist/pages/fubao/pre-pregnancy-care/file-management/config/form.d.ts +69 -0
  484. package/dist/pages/fubao/pre-pregnancy-care/file-management/config/table.d.ts +12 -0
  485. package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/components/Form.d.ts +14 -0
  486. package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/form_config.d.ts +3 -0
  487. package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index.d.ts +18 -0
  488. package/dist/pages/fubao/pre-pregnancy-care/file-management/index.d.ts +2 -0
  489. package/dist/pages/fubao/pre-pregnancy-care/husband/husband-exam/index.d.ts +17 -0
  490. package/dist/pages/fubao/pre-pregnancy-care/wife/wife-exam/index.d.ts +17 -0
  491. package/dist/pages/fubao/premarital-care/.public-exam/BasicInfo/form_config.d.ts +4 -0
  492. package/dist/pages/fubao/premarital-care/.public-exam/BasicInfo/index.d.ts +6 -0
  493. package/dist/pages/fubao/premarital-care/.public-exam/GuidanceEvaluation/form_config.d.ts +4 -0
  494. package/dist/pages/fubao/premarital-care/.public-exam/GuidanceEvaluation/index.d.ts +9 -0
  495. package/dist/pages/fubao/premarital-care/.public-exam/Inspection/form_config.d.ts +4 -0
  496. package/dist/pages/fubao/premarital-care/.public-exam/Inspection/inspection-exam/index.d.ts +9 -0
  497. package/dist/pages/fubao/premarital-care/.public-exam/MedicalHistory/form_config.d.ts +4 -0
  498. package/dist/pages/fubao/premarital-care/.public-exam/MedicalHistory/index.d.ts +6 -0
  499. package/dist/pages/fubao/premarital-care/.public-exam/PhysicalExamination/form_config.d.ts +4 -0
  500. package/dist/pages/fubao/premarital-care/.public-exam/PhysicalExamination/index.d.ts +9 -0
  501. package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/form_config.d.ts +4 -0
  502. package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/index.d.ts +9 -0
  503. package/dist/pages/fubao/premarital-care/.public-exam/config/adapter.d.ts +2 -0
  504. package/dist/pages/fubao/premarital-care/file-management/add/index.d.ts +2 -0
  505. package/dist/pages/fubao/premarital-care/file-management/components/Query.d.ts +38 -0
  506. package/dist/pages/fubao/premarital-care/file-management/components/Table.d.ts +3 -0
  507. package/dist/pages/fubao/premarital-care/file-management/config/form.d.ts +69 -0
  508. package/dist/pages/fubao/premarital-care/file-management/config/search.d.ts +4 -0
  509. package/dist/pages/fubao/premarital-care/file-management/config/table.d.ts +3 -0
  510. package/dist/pages/fubao/premarital-care/file-management/edit/components/Form.d.ts +14 -0
  511. package/dist/pages/fubao/premarital-care/file-management/edit/form_config.d.ts +3 -0
  512. package/dist/pages/fubao/premarital-care/file-management/edit/index copy.d.ts +2 -0
  513. package/dist/pages/fubao/premarital-care/file-management/edit/index.d.ts +17 -0
  514. package/dist/pages/fubao/premarital-care/file-management/index.d.ts +2 -0
  515. package/dist/pages/fubao/premarital-care/husband-v2/husband-exam/index.d.ts +17 -0
  516. package/dist/pages/fubao/premarital-care/wife-v2/wife-exam/index.d.ts +17 -0
  517. package/dist/pages/fubao/report-entry/patients/form_config.d.ts +4 -0
  518. package/dist/pages/fubao/report-entry/patients/index.d.ts +2 -0
  519. package/dist/pages/fubao/report-entry/patients/types.d.ts +14 -0
  520. package/dist/pages/fubao/report-entry/reports/Inner.d.ts +3 -0
  521. package/dist/pages/fubao/report-entry/reports/Template.d.ts +9 -0
  522. package/dist/pages/fubao/report-entry/reports/form_config.d.ts +4 -0
  523. package/dist/pages/fubao/report-entry/reports/index.d.ts +6 -0
  524. package/dist/pages/fubao/report-entry/reports/template_form_config.d.ts +3 -0
  525. package/dist/pages/fubao/report-entry/reports/types.d.ts +46 -0
  526. package/dist/pages/fubao/statistic/breast-cancer/index.d.ts +2 -0
  527. package/dist/pages/fubao/statistic/cervical-cancer/index.d.ts +2 -0
  528. package/dist/pages/fubao/statistic/premarital-checkup/./345/251/232/346/243/200/351/232/217/350/256/277/form_config.d.ts +2 -0
  529. package/dist/pages/fubao/statistic/premarital-checkup/./345/251/232/346/243/200/351/232/217/350/256/277/index.d.ts +5 -0
  530. package/dist/pages/fubao/statistic/premarital-checkup/form_config.d.ts +2 -0
  531. package/dist/pages/fubao/statistic/premarital-checkup/index.d.ts +2 -0
  532. package/dist/pages/fubao/statistic/progestation-checkup/./345/255/225/346/243/200/351/232/217/350/256/277/form_config.d.ts +2 -0
  533. package/dist/pages/fubao/statistic/progestation-checkup/./345/255/225/346/243/200/351/232/217/350/256/277/index.d.ts +5 -0
  534. package/dist/pages/fubao/statistic/progestation-checkup/index.d.ts +2 -0
  535. package/dist/routes/index.d.ts +53 -0
  536. package/dist/routes/meta.d.ts +55 -0
  537. package/package.json +47 -0
@@ -0,0 +1,2305 @@
1
+ import 'antd/es/result/style';
2
+ import _Result from 'antd/es/result';
3
+ import _get from 'lodash/get';
4
+ import { _ as __awaiter, a as __generator, c as __assign, b as __extends } from './tslib.es6.js';
5
+ import { BaseEditPanelFormFC, BaseEditPanelForm, formDescriptionsWithoutSectionApi, BaseEditPanel, PanelWithChildFC, PanelWithChild, LoadingPlaceholder } from '@lm_fe/components_m';
6
+ import React$1, { useState, useEffect } from 'react';
7
+ import Pregnancies from './.root32.js';
8
+ import 'antd/es/row/style';
9
+ import _Row from 'antd/es/row';
10
+ import 'antd/es/modal/style';
11
+ import _Modal from 'antd/es/modal';
12
+ import 'antd/es/button/style';
13
+ import _Button from 'antd/es/button';
14
+ import 'antd/es/col/style';
15
+ import _Col from 'antd/es/col';
16
+ import { _ as _extends } from './extends.js';
17
+ import 'antd/es/card/style';
18
+ import _Card from 'antd/es/card';
19
+ import 'antd/es/popconfirm/style';
20
+ import _Popconfirm from 'antd/es/popconfirm';
21
+ import 'antd/es/message/style';
22
+ import _message from 'antd/es/message';
23
+ import _set from 'lodash/set';
24
+ import _map from 'lodash/map';
25
+ import _cloneDeep from 'lodash/cloneDeep';
26
+ import { PlusCircleOutlined, DeleteOutlined, EditOutlined } from '@ant-design/icons';
27
+ import { SFubao_CervicalCancerScreening, SFubao_CervicalCancerRecord, SFubao_BreastCancerScreening, SMchc_FormDescriptions } from '@lm_fe/service';
28
+ import { request, safe_json_parse, formatDateTime, safe_json_stringify, formatDate, fubaoRequest, getSearchParamsValue, getSearchParamsAll, sleep } from '@lm_fe/utils';
29
+ import { c as classnames } from './index2.js';
30
+ import 'antd/es/form/style';
31
+ import _Form from 'antd/es/form';
32
+ import { BF_Wrap2, mchcModal__ } from '@lm_fe/pages';
33
+ import dayjs from 'dayjs';
34
+ import { mchcEnv, mchcLogger } from '@lm_fe/env';
35
+ import _isEmpty from 'lodash/isEmpty';
36
+ import _isEqual from 'lodash/isEqual';
37
+ import 'antd/es/space/style';
38
+ import _Space from 'antd/es/space';
39
+ import _join from 'lodash/join';
40
+ import _dropRight from 'lodash/dropRight';
41
+ import _isNil from 'lodash/isNil';
42
+ import { s as styleInject } from './style-inject.es.js';
43
+ import { DoctorEnd_SurveyReport, DoctorEnd_ImageReport } from '@lm_fe/pages-mchc';
44
+ import 'lodash/values';
45
+ import 'lodash/keys';
46
+ import './Form.js';
47
+ function form_config$2() {
48
+ if (mchcEnv.is('建瓯')) return import('./.root55.js');
49
+ return import('./.root57.js');
50
+ }
51
+ function Form_宫颈癌筛查(props) {
52
+ var _this = this;
53
+ var onRefresh = props.onRefresh,
54
+ id = props.id,
55
+ activeItem = props.activeItem;
56
+ var _a = useState({}),
57
+ data = _a[0],
58
+ setdata = _a[1];
59
+ var _b = BF_Wrap2({
60
+ default_conf: {
61
+ title: '两癌筛查-宫颈癌筛查',
62
+ tableColumns: form_config$2
63
+ }
64
+ }),
65
+ config = _b.config,
66
+ Wrap = _b.Wrap;
67
+ var form = _Form.useForm()[0];
68
+ var active_id = _get(activeItem, 'id');
69
+ var active_screen_id = _get(activeItem, 'cervicalCancerScreeningId');
70
+ useEffect(function () {
71
+ handleInit();
72
+ return function () {};
73
+ }, [activeItem]);
74
+ function handleInit() {
75
+ return __awaiter(this, void 0, void 0, function () {
76
+ var _a, basicInfo, basicData, system, values;
77
+ return __generator(this, function (_b) {
78
+ switch (_b.label) {
79
+ case 0:
80
+ _a = props, basicInfo = _a.basicInfo, basicData = _a.basicData, _a.siderPanels, system = _a.system;
81
+ form.resetFields();
82
+ values = {};
83
+ if (!(active_screen_id && active_screen_id != -1)) return [3, 2];
84
+ return [4, SFubao_CervicalCancerScreening.getOne(active_screen_id)];
85
+ case 1:
86
+ values = _b.sent();
87
+ return [3, 3];
88
+ case 2:
89
+ _set(values, 'womenHealthcareMenstrualHistory', __assign({}, _get(basicData, 'womenHealthcareMenstrualHistory')));
90
+ _b.label = 3;
91
+ case 3:
92
+ if (!_get(values, 'cervicalCancerDiagnosisAndGuidance.checkUnit')) _set(values, 'cervicalCancerDiagnosisAndGuidance.checkUnit', _get(system, 'config.hospitalName'));
93
+ if (!_get(values, 'cervicalCancerDiagnosisAndGuidance.checkDate')) _set(values, 'cervicalCancerDiagnosisAndGuidance.checkDate', dayjs(new Date()));
94
+ if (!_get(values, 'cervicalCancerDiagnosisAndGuidance.checkDoctorName')) _set(values, 'cervicalCancerDiagnosisAndGuidance.checkDoctorName', _get(basicInfo, 'firstName'));
95
+ setdata(values);
96
+ form.setFieldsValue(values);
97
+ return [2];
98
+ }
99
+ });
100
+ });
101
+ }
102
+ function handleSubmit(values) {
103
+ return __awaiter(this, void 0, void 0, function () {
104
+ var params, params;
105
+ return __generator(this, function (_a) {
106
+ switch (_a.label) {
107
+ case 0:
108
+ if (!_get(data, 'id')) return [3, 2];
109
+ params = __assign(__assign(__assign({}, data), values), {
110
+ screeningType: '宫颈癌筛查'
111
+ });
112
+ return [4, SFubao_CervicalCancerScreening.postOrPut(params)];
113
+ case 1:
114
+ _a.sent();
115
+ console.log('values', {
116
+ values: values,
117
+ data: data,
118
+ params: params
119
+ });
120
+ onRefresh && onRefresh('Screening', activeItem);
121
+ return [3, 4];
122
+ case 2:
123
+ params = {
124
+ cervicalCancerScreening: __assign(__assign({}, values), {
125
+ screeningType: '宫颈癌筛查'
126
+ }),
127
+ twoCancerScreeningId: Number(id)
128
+ };
129
+ return [4, SFubao_CervicalCancerScreening.postOrPut(params)];
130
+ case 3:
131
+ _a.sent();
132
+ console.log('values', {
133
+ values: values,
134
+ data: data,
135
+ params: params
136
+ });
137
+ onRefresh && onRefresh('Screening', activeItem, true);
138
+ _a.label = 4;
139
+ case 4:
140
+ return [2];
141
+ }
142
+ });
143
+ });
144
+ }
145
+ return /*#__PURE__*/React$1.createElement(Wrap, null, /*#__PURE__*/React$1.createElement(BaseEditPanelFormFC, {
146
+ renderExtraBtns: function renderExtraBtns(form) {
147
+ return /*#__PURE__*/React$1.createElement(_Button, {
148
+ size: "large",
149
+ onClick: function onClick() {
150
+ request.post('/api/dataReport/reportCervicalCancerRecord', {
151
+ ids: [active_id]
152
+ });
153
+ }
154
+ }, "\u4E0A\u62A5");
155
+ },
156
+ onPrint: function onPrint() {
157
+ mchcModal__.open('print_modal', {
158
+ modal_data: {
159
+ requestData: {
160
+ url: '/api/two/cancer/screening/printCervicalCancerScreening',
161
+ id: data === null || data === void 0 ? void 0 : data.id
162
+ }
163
+ }
164
+ });
165
+ },
166
+ form: form,
167
+ formDescriptions: config === null || config === void 0 ? void 0 : config.tableColumns,
168
+ onFinish: function onFinish(v) {
169
+ return __awaiter(_this, void 0, void 0, function () {
170
+ return __generator(this, function (_a) {
171
+ return [2, handleSubmit(v)];
172
+ });
173
+ });
174
+ }
175
+ }));
176
+ }
177
+ var AdmissionForm$2 = function (_super) {
178
+ __extends(AdmissionForm, _super);
179
+ function AdmissionForm() {
180
+ var _this = _super !== null && _super.apply(this, arguments) || this;
181
+ _this.renderBtns = function () {
182
+ return /*#__PURE__*/React.createElement(_Space, {
183
+ size: "middle"
184
+ }, _this.renderSubmitBtn(), _this.renderPrintBtn());
185
+ };
186
+ return _this;
187
+ }
188
+ return AdmissionForm;
189
+ }(BaseEditPanelForm);
190
+ var valueToApi$2 = function valueToApi$2(values, nativeFormDescriptions) {
191
+ var result = {};
192
+ _map(nativeFormDescriptions, function (item, key) {
193
+ var inputType = item.inputType;
194
+ var itemVaule = _get(values, key);
195
+ switch (inputType) {
196
+ case 'radio_input':
197
+ var k = key.split('.').pop();
198
+ _set(result, key, _get(itemVaule, "".concat(k)));
199
+ _set(result, "".concat(key, "Note"), _get(itemVaule, "".concat(k, "Note")));
200
+ break;
201
+ case 'checkbox_with_single_input':
202
+ _set(result, key, _get(itemVaule, 'key'));
203
+ _set(result, "".concat(key, "Note"), _get(itemVaule, 'keyNote'));
204
+ break;
205
+ case 'single_date_picker':
206
+ _set(result, key, formatDateTime(itemVaule));
207
+ break;
208
+ case 'checkbox_with_input':
209
+ var valueJson = safe_json_parse(itemVaule);
210
+ _set(result, key, _get(valueJson, 'checkedValues.0'));
211
+ _set(result, "".concat(key, "Note"), _get(valueJson, ['withInputValues', "".concat(_get(valueJson, 'checkedValues.0')), 'value', '0']));
212
+ break;
213
+ case 'pressure':
214
+ var pressure_arr = key.split('.');
215
+ var pressure_key = void 0;
216
+ if (pressure_arr.length > 1) {
217
+ pressure_arr = _dropRight(pressure_arr, 1);
218
+ pressure_key = _join(pressure_arr, '.');
219
+ _set(result, "".concat(pressure_key, ".systolic"), _get(itemVaule, 'systolic'));
220
+ _set(result, "".concat(pressure_key, ".diastolic"), _get(itemVaule, 'diastolic'));
221
+ } else {
222
+ _set(result, 'systolic', _get(itemVaule, 'systolic'));
223
+ _set(result, 'diastolic', _get(itemVaule, 'diastolic'));
224
+ }
225
+ break;
226
+ default:
227
+ _set(result, key, itemVaule);
228
+ break;
229
+ }
230
+ });
231
+ return result;
232
+ };
233
+ var valueToForm$2 = function valueToForm$2(values, nativeFormDescriptions) {
234
+ _map(nativeFormDescriptions, function (item, key) {
235
+ var _a;
236
+ var inputType = item.inputType;
237
+ var itemVaule = _get(values, key);
238
+ switch (inputType) {
239
+ case 'checkbox_with_single_input':
240
+ if (!_isNil(itemVaule)) {
241
+ _set(values, "".concat(key, ".key"), itemVaule);
242
+ _set(values, "".concat(key, ".keyNote"), _get(values, "".concat(key, "Note")));
243
+ }
244
+ break;
245
+ case 'checkbox_with_input':
246
+ if (!_isNil(itemVaule)) {
247
+ var checkBoxValue = {
248
+ checkedValues: [itemVaule],
249
+ withInputValues: (_a = {}, _a[itemVaule] = {
250
+ key: itemVaule,
251
+ value: {
252
+ '0': _get(values, "".concat(key, "Note"))
253
+ }
254
+ }, _a)
255
+ };
256
+ _set(values, key, safe_json_stringify(checkBoxValue));
257
+ }
258
+ break;
259
+ case 'pressure':
260
+ if (!_isNil(itemVaule)) {
261
+ var pressure_arr = key.split('.');
262
+ var pressure_key = void 0;
263
+ if (pressure_arr.length > 1) {
264
+ pressure_arr = _dropRight(pressure_arr, 1);
265
+ pressure_key = _join(pressure_arr, '.');
266
+ _set(values, "".concat(key, ".systolic"), itemVaule);
267
+ _set(values, "".concat(key, ".diastolic"), _get(values, "".concat(pressure_key, ".diastolic")));
268
+ } else {
269
+ _set(values, "".concat(key, ".systolic"), itemVaule);
270
+ _set(values, "".concat(key, ".diastolic"), _get(values, "diastolic"));
271
+ }
272
+ }
273
+ break;
274
+ default:
275
+ if (!_isNil(itemVaule)) {
276
+ _set(values, key, itemVaule);
277
+ }
278
+ break;
279
+ }
280
+ });
281
+ return values;
282
+ };
283
+ function form_config$1() {
284
+ return [{
285
+ "id": 777,
286
+ "moduleName": "pathological-biopsy",
287
+ "name": "体格检查1",
288
+ "flag": "妇女保健-宫颈癌病理活检-体格检查",
289
+ "sort": 0,
290
+ "fields": [{
291
+ "id": 18066,
292
+ "key": "womenHealthcarePhysicalExamination.weight",
293
+ "label": "体重(kg)",
294
+ "inputType": "input_number",
295
+ "rules": [{
296
+ "required": true,
297
+ "message": "体重(kg)是必填项"
298
+ }],
299
+ "span": 8,
300
+ "offset": 0,
301
+ "isNewRow": 0,
302
+ "formItemLayout": {
303
+ "labelCol": {
304
+ "span": 8
305
+ },
306
+ "wrapperCol": {
307
+ "span": 16
308
+ }
309
+ }
310
+ }, {
311
+ "id": 18067,
312
+ "key": "womenHealthcarePhysicalExamination.systolic",
313
+ "label": "血压(mmHg)",
314
+ "inputType": "pressure",
315
+ "rules": [{
316
+ "required": true,
317
+ "message": "血压(mmHg)是必填项"
318
+ }],
319
+ "span": 8,
320
+ "offset": 0,
321
+ "isNewRow": 0,
322
+ "formItemLayout": {
323
+ "labelCol": {
324
+ "span": 8
325
+ },
326
+ "wrapperCol": {
327
+ "span": 16
328
+ }
329
+ }
330
+ }, {
331
+ "id": 18068,
332
+ "key": "womenHealthcarePhysicalExamination.heartRate",
333
+ "label": "心率(次/分钟)",
334
+ "inputType": "input_number",
335
+ "rules": [{
336
+ "required": true,
337
+ "message": "心率(次/分钟)是必填项"
338
+ }],
339
+ "span": 8,
340
+ "offset": 0,
341
+ "isNewRow": 0,
342
+ "formItemLayout": {
343
+ "labelCol": {
344
+ "span": 8
345
+ },
346
+ "wrapperCol": {
347
+ "span": 16
348
+ }
349
+ }
350
+ }]
351
+ }, {
352
+ "id": 778,
353
+ "moduleName": "pathological-biopsy",
354
+ "name": "阴道镜检查",
355
+ "flag": "妇女保健-宫颈癌病理活检-阴道镜检查",
356
+ "sort": 0,
357
+ "fields": [{
358
+ "id": 18069,
359
+ "key": "cervicalCancerColposcopyCheck.colposcopyCheckAppraise",
360
+ "label": "阴道镜检查评价",
361
+ "inputType": "checkbox_group",
362
+ "specialConfig": {
363
+ "type": "single",
364
+ "options": [{
365
+ "value": 1,
366
+ "label": "满意",
367
+ "withInput": false,
368
+ "span": 12
369
+ }, {
370
+ "value": 2,
371
+ "label": "不满意",
372
+ "withInput": false,
373
+ "span": 12
374
+ }]
375
+ },
376
+ "span": 8,
377
+ "offset": 0,
378
+ "isNewRow": 0,
379
+ "formItemLayout": {
380
+ "labelCol": {
381
+ "span": 8
382
+ },
383
+ "wrapperCol": {
384
+ "span": 16
385
+ }
386
+ }
387
+ }, {
388
+ "id": 18070,
389
+ "key": "cervicalCancerColposcopyCheck.colposcopyCheckResult",
390
+ "label": "阴道镜检查结果",
391
+ "inputType": "checkbox_with_single_input",
392
+ "specialConfig": {
393
+ "type": "single",
394
+ "options": [{
395
+ "value": 1,
396
+ "label": "未见异常",
397
+ "withInput": false,
398
+ "span": 12
399
+ }, {
400
+ "value": 2,
401
+ "label": "异常",
402
+ "withInput": true,
403
+ "isIssue": true,
404
+ "inputSpan": 12,
405
+ "span": 12
406
+ }]
407
+ },
408
+ "span": 8,
409
+ "offset": 0,
410
+ "isNewRow": 0,
411
+ "formItemLayout": {
412
+ "labelCol": {
413
+ "span": 8
414
+ },
415
+ "wrapperCol": {
416
+ "span": 16
417
+ }
418
+ }
419
+ }, {
420
+ "id": 18071,
421
+ "key": "cervicalCancerColposcopyCheck.histologicalExamination",
422
+ "label": "是否需要病组织检查",
423
+ "inputType": "checkbox_group",
424
+ "specialConfig": {
425
+ "type": "single",
426
+ "options": [{
427
+ "value": 1,
428
+ "label": "是",
429
+ "withInput": false,
430
+ "span": 12
431
+ }, {
432
+ "value": 2,
433
+ "label": "否",
434
+ "withInput": false,
435
+ "span": 12
436
+ }]
437
+ },
438
+ "span": 8,
439
+ "offset": 0,
440
+ "isNewRow": 0,
441
+ "formItemLayout": {
442
+ "labelCol": {
443
+ "span": 10
444
+ },
445
+ "wrapperCol": {
446
+ "span": 14
447
+ }
448
+ }
449
+ }]
450
+ }, {
451
+ "id": 779,
452
+ "moduleName": "pathological-biopsy",
453
+ "name": "病理活检",
454
+ "flag": "妇女保健-宫颈癌病理活检-病理活检",
455
+ "sort": 0,
456
+ "fields": [{
457
+ "id": 18072,
458
+ "key": "cervicalCancerPathologicalBiopsy.pathologicalBiopsyAppraise",
459
+ "label": "病理活检评价",
460
+ "inputType": "checkbox_group",
461
+ "specialConfig": {
462
+ "type": "single",
463
+ "options": [{
464
+ "value": 1,
465
+ "label": "满意",
466
+ "withInput": false,
467
+ "span": 12
468
+ }, {
469
+ "value": 2,
470
+ "label": "不满意",
471
+ "withInput": false,
472
+ "span": 12
473
+ }]
474
+ },
475
+ "span": 8,
476
+ "offset": 0,
477
+ "isNewRow": 0,
478
+ "formItemLayout": {
479
+ "labelCol": {
480
+ "span": 8
481
+ },
482
+ "wrapperCol": {
483
+ "span": 16
484
+ }
485
+ }
486
+ }, {
487
+ "id": 18073,
488
+ "key": "cervicalCancerPathologicalBiopsy.pathologicalBiopsyResult",
489
+ "label": "病理活检结果",
490
+ "inputType": "checkbox_with_single_input",
491
+ "specialConfig": {
492
+ "type": "single",
493
+ "options": [{
494
+ "value": 1,
495
+ "label": "未见异常",
496
+ "withInput": false,
497
+ "span": 12
498
+ }, {
499
+ "value": 2,
500
+ "label": "异常",
501
+ "withInput": true,
502
+ "isIssue": true,
503
+ "inputSpan": 12,
504
+ "span": 12
505
+ }]
506
+ },
507
+ "span": 8,
508
+ "offset": 0,
509
+ "isNewRow": 0,
510
+ "formItemLayout": {
511
+ "labelCol": {
512
+ "span": 8
513
+ },
514
+ "wrapperCol": {
515
+ "span": 16
516
+ }
517
+ }
518
+ }]
519
+ }, {
520
+ "id": 780,
521
+ "moduleName": "pathological-biopsy",
522
+ "name": "诊断及建议",
523
+ "flag": "妇女保健-宫颈癌病理活检-诊断及建议",
524
+ "sort": 0,
525
+ "fields": [{
526
+ "id": 18074,
527
+ "key": "cervicalCancerDiagnosisAndGuidance.screeningResults",
528
+ "label": "筛查结果",
529
+ "inputType": "checkbox_with_single_input",
530
+ "rules": [{
531
+ "required": true,
532
+ "message": "筛查结果是必填项"
533
+ }],
534
+ "specialConfig": {
535
+ "type": "single",
536
+ "options": [{
537
+ "value": 1,
538
+ "label": "正常",
539
+ "span": 6,
540
+ "withInput": false
541
+ }, {
542
+ "value": 2,
543
+ "label": "异常",
544
+ "withInput": true,
545
+ "isIssue": true,
546
+ "span": 6,
547
+ "inputSpan": 12,
548
+ "inputType": "autoComplete",
549
+ "inputOption": [{
550
+ "value": "低级别病变(原CIN1)"
551
+ }, {
552
+ "value": "高级别病变(原CIN 2及CIN3)"
553
+ }, {
554
+ "value": "宫颈原位腺癌(AIS)"
555
+ }, {
556
+ "value": "宫颈微小浸润癌(鳞癌/腺癌)"
557
+ }, {
558
+ "value": "宫颈浸润癌(鳞癌/腺癌)"
559
+ }, {
560
+ "value": "滴虫性阴道炎"
561
+ }, {
562
+ "value": "外阴阴道假丝酵母菌病"
563
+ }, {
564
+ "value": "细菌性阴道病"
565
+ }, {
566
+ "value": "外生殖器尖锐湿疣"
567
+ }, {
568
+ "value": "子宫肌瘤"
569
+ }, {
570
+ "value": "黏液脓性宫颈炎"
571
+ }, {
572
+ "value": "宫颈息肉"
573
+ }]
574
+ }]
575
+ },
576
+ "span": 16,
577
+ "offset": 0,
578
+ "isNewRow": 0,
579
+ "formItemLayout": {
580
+ "labelCol": {
581
+ "span": 4
582
+ },
583
+ "wrapperCol": {
584
+ "span": 16
585
+ }
586
+ }
587
+ }, {
588
+ "id": 18075,
589
+ "key": "cervicalCancerDiagnosisAndGuidance.screeningSuggest",
590
+ "label": "筛查建议",
591
+ "inputType": "checkbox_group",
592
+ "rules": [{
593
+ "required": true,
594
+ "message": "筛查建议是必填项"
595
+ }],
596
+ "specialConfig": {
597
+ "type": "single",
598
+ "options": [{
599
+ "value": "定期检查",
600
+ "label": "定期检查",
601
+ "withInput": false,
602
+ "span": 6
603
+ }, {
604
+ "value": "治疗",
605
+ "label": "治疗",
606
+ "withInput": false,
607
+ "span": 6
608
+ }]
609
+ },
610
+ "span": 16,
611
+ "offset": 0,
612
+ "isNewRow": 1,
613
+ "formItemLayout": {
614
+ "labelCol": {
615
+ "span": 4
616
+ },
617
+ "wrapperCol": {
618
+ "span": 16
619
+ }
620
+ }
621
+ }, {
622
+ "id": 18076,
623
+ "key": "cervicalCancerDiagnosisAndGuidance.checkUnit",
624
+ "label": "检查单位",
625
+ "inputType": "input",
626
+ "rules": [{
627
+ "required": true,
628
+ "message": "检查单位是必填项"
629
+ }],
630
+ "span": 8,
631
+ "offset": 0,
632
+ "isNewRow": 1,
633
+ "formItemLayout": {
634
+ "labelCol": {
635
+ "span": 8
636
+ },
637
+ "wrapperCol": {
638
+ "span": 12
639
+ }
640
+ }
641
+ }, {
642
+ "id": 18077,
643
+ "key": "cervicalCancerDiagnosisAndGuidance.checkDate",
644
+ "label": "检查日期",
645
+ "inputType": 'DatePicker',
646
+ "required": true,
647
+ "inputProps": {
648
+ format: formatDate.format
649
+ },
650
+ "span": 8,
651
+ "offset": 0,
652
+ "isNewRow": 0,
653
+ "formItemLayout": {
654
+ "labelCol": {
655
+ "span": 8
656
+ },
657
+ "wrapperCol": {
658
+ "span": 12
659
+ }
660
+ }
661
+ }, {
662
+ "id": 18078,
663
+ "key": "cervicalCancerDiagnosisAndGuidance.checkDoctorName",
664
+ "label": "检查医生",
665
+ "inputType": "MA",
666
+ inputProps: {
667
+ memorieskey: '妇保-检查医生'
668
+ },
669
+ "required": true,
670
+ "span": 8,
671
+ "offset": 0,
672
+ "isNewRow": 0,
673
+ "formItemLayout": {
674
+ "labelCol": {
675
+ "span": 8
676
+ },
677
+ "wrapperCol": {
678
+ "span": 12
679
+ }
680
+ }
681
+ }]
682
+ }];
683
+ }
684
+ var AdmissionPanel$2 = function (_super) {
685
+ __extends(AdmissionPanel, _super);
686
+ function AdmissionPanel() {
687
+ var _this = _super !== null && _super.apply(this, arguments) || this;
688
+ _this.state = {
689
+ data: {},
690
+ formDescriptionsWithoutSection: {},
691
+ formDescriptions: [],
692
+ formKey: undefined,
693
+ spinning: true,
694
+ activeItem: {}
695
+ };
696
+ _this.handleInit = function () {
697
+ return __awaiter(_this, void 0, void 0, function () {
698
+ var _a, activeItem, formDescriptionsWithoutSection, _b, basicInfo, system, values, cervicalCancerRecordId, data, formKey;
699
+ return __generator(this, function (_c) {
700
+ switch (_c.label) {
701
+ case 0:
702
+ _a = this.state, activeItem = _a.activeItem, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection;
703
+ _b = this.props, basicInfo = _b.basicInfo, system = _b.system;
704
+ values = {};
705
+ if (!_get(activeItem, 'cervicalCancerBiopsyId')) return [3, 3];
706
+ if (!(_get(activeItem, 'cervicalCancerBiopsyId') != -1)) return [3, 2];
707
+ return [4, fubaoRequest.get("/api/two/cancer/screening/getCervicalCancerBiopsy?id.equals=".concat(_get(activeItem, 'cervicalCancerBiopsyId'), "&deleteFlag.equals=0"))];
708
+ case 1:
709
+ values = _c.sent();
710
+ _c.label = 2;
711
+ case 2:
712
+ cervicalCancerRecordId = _get(activeItem, 'id');
713
+ _c.label = 3;
714
+ case 3:
715
+ values = _get(values, 'data.0');
716
+ data = values ? valueToForm$2(values, formDescriptionsWithoutSection) : {};
717
+ formKey = _get(data, 'id') || Math.random();
718
+ if (!_get(data, 'cervicalCancerDiagnosisAndGuidance.checkUnit')) _set(data, 'cervicalCancerDiagnosisAndGuidance.checkUnit', _get(system, 'config.hospitalName'));
719
+ if (!_get(data, 'cervicalCancerDiagnosisAndGuidance.checkDate')) _set(data, 'cervicalCancerDiagnosisAndGuidance.checkDate', dayjs(new Date()));
720
+ if (!_get(data, 'cervicalCancerDiagnosisAndGuidance.checkDoctorName')) _set(data, 'cervicalCancerDiagnosisAndGuidance.checkDoctorName', _get(basicInfo, 'firstName'));
721
+ this.setState({
722
+ data: data,
723
+ formKey: formKey,
724
+ cervicalCancerRecordId: cervicalCancerRecordId
725
+ });
726
+ return [2];
727
+ }
728
+ });
729
+ });
730
+ };
731
+ _this.handleSubmit = function (values) {
732
+ return __awaiter(_this, void 0, void 0, function () {
733
+ var _a, onRefresh, baseUrl, _b, formDescriptionsWithoutSection, cervicalCancerRecordId, data, activeItem, params;
734
+ return __generator(this, function (_c) {
735
+ switch (_c.label) {
736
+ case 0:
737
+ _a = this.props, onRefresh = _a.onRefresh, _a.id, baseUrl = _a.baseUrl;
738
+ _b = this.state, formDescriptionsWithoutSection = _b.formDescriptionsWithoutSection, cervicalCancerRecordId = _b.cervicalCancerRecordId, data = _b.data, activeItem = _b.activeItem;
739
+ params = valueToApi$2(values, formDescriptionsWithoutSection);
740
+ params = __assign(__assign(__assign({}, data), params), {
741
+ cervicalCancerRecordId: Number(cervicalCancerRecordId),
742
+ screeningType: '宫颈癌筛查'
743
+ });
744
+ if (!_get(values, 'id')) return [3, 2];
745
+ return [4, fubaoRequest.put('/api/two/cancer/screening/updateCervicalCancerBiopsy', params)];
746
+ case 1:
747
+ _c.sent();
748
+ return [3, 4];
749
+ case 2:
750
+ return [4, fubaoRequest.post(baseUrl, params)];
751
+ case 3:
752
+ _c.sent().data;
753
+ _c.label = 4;
754
+ case 4:
755
+ onRefresh && onRefresh('PathologicalBiopsy', activeItem);
756
+ return [2];
757
+ }
758
+ });
759
+ });
760
+ };
761
+ return _this;
762
+ }
763
+ AdmissionPanel.getDerivedStateFromProps = function (nextProps, prevState) {
764
+ var activeItem = nextProps.activeItem;
765
+ if (!_isEqual(activeItem, prevState.activeItem)) {
766
+ return {
767
+ activeItem: activeItem
768
+ };
769
+ }
770
+ return null;
771
+ };
772
+ AdmissionPanel.prototype.componentDidUpdate = function (prevProps, prevState) {
773
+ if (!_isEmpty(_get(prevState, 'activeItem')) && !_isEqual(_get(prevState, 'activeItem'), _get(this.state, 'activeItem'))) {
774
+ this.handleInit();
775
+ }
776
+ };
777
+ AdmissionPanel.prototype.componentDidMount = function () {
778
+ return __awaiter(this, void 0, void 0, function () {
779
+ var formDescriptions, formDescriptionsWithoutSection, formKey;
780
+ return __generator(this, function (_a) {
781
+ this.props.moduleName;
782
+ formDescriptions = form_config$1();
783
+ formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
784
+ formKey = Math.random();
785
+ this.setState({
786
+ spinning: false
787
+ });
788
+ this.setState({
789
+ formDescriptions: formDescriptions,
790
+ formDescriptionsWithoutSection: formDescriptionsWithoutSection,
791
+ formKey: formKey
792
+ });
793
+ this.handleInit();
794
+ return [2];
795
+ });
796
+ });
797
+ };
798
+ AdmissionPanel.defaultProps = {
799
+ baseUrl: '/api/two/cancer/screening/addCervicalCancerBiopsy',
800
+ request: fubaoRequest,
801
+ moduleName: 'pathological-biopsy',
802
+ title: '病理活检',
803
+ Form: AdmissionForm$2
804
+ };
805
+ return AdmissionPanel;
806
+ }(BaseEditPanel);
807
+ var NurseTypesMapping$1 = {
808
+ Screening: {
809
+ key: 'Screening',
810
+ name: '筛查',
811
+ icon: '',
812
+ api: '/api/labour-records',
813
+ component: Form_宫颈癌筛查
814
+ },
815
+ PathologicalBiopsy: {
816
+ key: 'PathologicalBiopsy',
817
+ name: '病理活检',
818
+ icon: '',
819
+ api: '/api/labour-records',
820
+ component: AdmissionPanel$2
821
+ }
822
+ };
823
+ var css_248z$1 = ".two-cancers-list {\n margin-bottom: 8px;\n}\n.two-cancers-list .two-cancers-doctor-desk-first-visit-sider-list_title {\n background-color: #f5f6fa;\n padding: 8px;\n}\n.two-cancers-list .doctor-desk-first-visit-sider-list__item-title {\n color: #1890ff;\n}\n.two-cancers-list .label-result {\n margin-left: 12px;\n color: #1890ff;\n}\n.two-cancers-list .label-result.red {\n color: #cd4839;\n}\n.two-cancers-list .doctor-desk-first-visit-sider-list__item {\n cursor: pointer;\n padding: 6px 12px;\n border-bottom: 2px solid #1890ff;\n margin-bottom: 8px;\n font-size: 13px;\n}\n";
824
+ styleInject(css_248z$1);
825
+ var DEFAULT_ACTIVE_TEMPLETE$1 = 'Screening';
826
+ function Nursing(props) {
827
+ var _a = useState(DEFAULT_ACTIVE_TEMPLETE$1),
828
+ activeTemplate = _a[0],
829
+ set_activeTemplate = _a[1];
830
+ var _b = useState([]),
831
+ siderPanels = _b[0],
832
+ set_siderPanels = _b[1];
833
+ var _c = useState(false),
834
+ visible = _c[0],
835
+ set_visible = _c[1];
836
+ var _d = useState({}),
837
+ activeItem = _d[0],
838
+ set_activeItem = _d[1];
839
+ useEffect(function () {
840
+ handleInit();
841
+ return function () {};
842
+ }, []);
843
+ function handleAdd() {
844
+ set_visible(true);
845
+ }
846
+ function handleClickListItem(item, code) {
847
+ return function () {
848
+ var temp = _get(NurseTypesMapping$1, "".concat(code, ".key"));
849
+ set_activeItem(item);
850
+ set_activeTemplate(temp);
851
+ };
852
+ }
853
+ function handleInit() {
854
+ return __awaiter(this, arguments, void 0, function (type, activeItem, isAdd) {
855
+ var id, cervicalCancerScreeningId, cervicalCancerRecordS, lastOne, aa;
856
+ if (type === void 0) {
857
+ type = DEFAULT_ACTIVE_TEMPLETE$1;
858
+ }
859
+ return __generator(this, function (_a) {
860
+ switch (_a.label) {
861
+ case 0:
862
+ id = _get(props, 'id');
863
+ cervicalCancerScreeningId = _get(props, 'cervicalCancerScreeningId');
864
+ return [4, SFubao_CervicalCancerRecord.getList({
865
+ params: {
866
+ 'fileId.equals': id
867
+ }
868
+ }, 'cervicalCancerRecord')];
869
+ case 1:
870
+ cervicalCancerRecordS = _a.sent();
871
+ if (cervicalCancerRecordS.length > 0) {
872
+ lastOne = cervicalCancerRecordS[cervicalCancerRecordS.length - 1];
873
+ aa = cervicalCancerRecordS.find(function (_) {
874
+ return Number(cervicalCancerScreeningId) === _.cervicalCancerScreeningId;
875
+ });
876
+ if (aa) {
877
+ set_activeItem(aa);
878
+ } else if (isAdd) {
879
+ set_activeItem(lastOne);
880
+ } else {
881
+ set_activeItem(activeItem !== null && activeItem !== void 0 ? activeItem : lastOne);
882
+ }
883
+ set_activeTemplate(type);
884
+ } else {
885
+ cervicalCancerRecordS.push({
886
+ cervicalCancerScreeningId: -1
887
+ });
888
+ }
889
+ set_siderPanels(cervicalCancerRecordS);
890
+ return [2];
891
+ }
892
+ });
893
+ });
894
+ }
895
+ function handleDelete(item, code) {
896
+ var _this = this;
897
+ return function () {
898
+ return __awaiter(_this, void 0, void 0, function () {
899
+ var id, res, id, res;
900
+ return __generator(this, function (_a) {
901
+ switch (_a.label) {
902
+ case 0:
903
+ if (!(code === 'Screening')) return [3, 3];
904
+ id = _get(item, 'cervicalCancerScreeningId');
905
+ return [4, fubaoRequest["delete"]("/api/two/cancer/screening/deleteCervicalCancerScreening/".concat(id))];
906
+ case 1:
907
+ res = _a.sent().data;
908
+ if (_get(res, 'code') === 1) ;
909
+ return [4, handleInit()];
910
+ case 2:
911
+ _a.sent();
912
+ return [3, 6];
913
+ case 3:
914
+ id = _get(item, 'cervicalCancerBiopsyId');
915
+ return [4, fubaoRequest["delete"]("/api/two/cancer/screening/deleteCervicalCancerBiopsy/".concat(id))];
916
+ case 4:
917
+ res = _a.sent().data;
918
+ if (_get(res, 'code') === 1) ;
919
+ return [4, handleInit()];
920
+ case 5:
921
+ _a.sent();
922
+ _a.label = 6;
923
+ case 6:
924
+ return [2];
925
+ }
926
+ });
927
+ });
928
+ };
929
+ }
930
+ function handleChooseTemplate(xxType) {
931
+ return function () {
932
+ var newSiderPanels = _cloneDeep(siderPanels);
933
+ var listData = newSiderPanels[newSiderPanels.length - 1];
934
+ if (xxType !== 'Screening') {
935
+ if (_get(listData, 'cervicalCancerBiopsyId')) ;else {
936
+ _set(listData, 'cervicalCancerBiopsyId', -1);
937
+ set_siderPanels(newSiderPanels);
938
+ }
939
+ set_activeTemplate(xxType);
940
+ set_activeItem(listData);
941
+ } else {
942
+ if (_get(listData, 'cervicalCancerScreeningId') === -1) {
943
+ _message.warning('请先保存上一次筛查!');
944
+ return;
945
+ }
946
+ var newImte = {
947
+ cervicalCancerScreeningId: -1
948
+ };
949
+ newSiderPanels.push(newImte);
950
+ set_siderPanels(newSiderPanels);
951
+ set_activeTemplate(xxType);
952
+ set_activeItem(newImte);
953
+ }
954
+ set_visible(false);
955
+ };
956
+ }
957
+ function renderSider() {
958
+ return /*#__PURE__*/React$1.createElement(_Card, {
959
+ size: "small",
960
+ bordered: false,
961
+ style: {
962
+ height: '100%'
963
+ },
964
+ title: "\u5C31\u8BCA\u8BB0\u5F55",
965
+ extra: /*#__PURE__*/React$1.createElement(PlusCircleOutlined, {
966
+ onClick: handleAdd
967
+ })
968
+ }, _map(siderPanels, function (item, index) {
969
+ return /*#__PURE__*/React$1.createElement("div", {
970
+ key: item.id,
971
+ className: "two-cancers-list"
972
+ }, /*#__PURE__*/React$1.createElement("div", {
973
+ className: "two-cancers-doctor-desk-first-visit-sider-list_title"
974
+ }, "\u7B2C".concat(index + 1, "\u6B21\u7B5B\u67E5")), _get(item, 'cervicalCancerScreeningId') && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("div", {
975
+ className: "doctor-desk-first-visit-sider-list__item",
976
+ style: _get(activeItem, 'id') === _get(item, 'id') && activeTemplate === 'Screening' ? {
977
+ background: '#eaf4fd'
978
+ } : {
979
+ background: 'none'
980
+ },
981
+ onClick: handleClickListItem(item, 'Screening')
982
+ }, /*#__PURE__*/React$1.createElement("span", {
983
+ className: "doctor-desk-first-visit-sider-list__item-title"
984
+ }, "\u7B5B\u67E5", ' ', _get(item, 'cervicalCancerScreeningCheckDate') && '(' + _get(item, 'cervicalCancerScreeningCheckDate') + ')'), _get(item, 'cervicalCancerScreeningScreeningSuggest') && /*#__PURE__*/React$1.createElement("span", {
985
+ className: classnames('label-result', {
986
+ red: _get(item, 'cervicalCancerScreeningScreeningSuggest') === '可疑'
987
+ })
988
+ }, _get(item, 'cervicalCancerScreeningScreeningSuggest')), _get(item, 'cervicalCancerScreeningId') && _get(item, 'cervicalCancerScreeningId') != -1 ? /*#__PURE__*/React$1.createElement(_Popconfirm, {
989
+ title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u75C5\u5386\u5417?",
990
+ onConfirm: handleDelete(item, 'Screening'),
991
+ okText: "\u786E\u5B9A",
992
+ cancelText: "\u53D6\u6D88"
993
+ }, /*#__PURE__*/React$1.createElement(DeleteOutlined, {
994
+ style: {
995
+ color: 'rgb(205,72,57)',
996
+ "float": 'right',
997
+ marginTop: 2
998
+ }
999
+ })) : /*#__PURE__*/React$1.createElement(EditOutlined, {
1000
+ style: {
1001
+ color: 'rgb(24, 144, 255)',
1002
+ "float": 'right',
1003
+ marginTop: 2
1004
+ }
1005
+ }))), _get(item, 'cervicalCancerBiopsyId') && /*#__PURE__*/React$1.createElement("div", {
1006
+ className: "doctor-desk-first-visit-sider-list__item",
1007
+ style: _get(activeItem, 'id') === _get(item, 'id') && activeTemplate === 'PathologicalBiopsy' ? {
1008
+ background: '#eaf4fd'
1009
+ } : {
1010
+ background: 'none'
1011
+ },
1012
+ onClick: handleClickListItem(item, 'PathologicalBiopsy')
1013
+ }, /*#__PURE__*/React$1.createElement("span", {
1014
+ className: "doctor-desk-first-visit-sider-list__item-title"
1015
+ }, "\u75C5\u7406\u6D3B\u68C0", ' ', _get(item, 'cervicalCancerBiopsyCheckDate') && '(' + _get(item, 'cervicalCancerBiopsyCheckDate') + ')'), _get(item, 'cervicalCancerBiopsyScreeningSuggest') && /*#__PURE__*/React$1.createElement("span", {
1016
+ className: classnames('label-result', {
1017
+ red: _get(item, 'cervicalCancerBiopsyScreeningSuggest') === '治疗'
1018
+ })
1019
+ }, _get(item, 'cervicalCancerBiopsyScreeningSuggest')), _get(item, 'cervicalCancerBiopsyId') && _get(item, 'cervicalCancerBiopsyId') != -1 ? /*#__PURE__*/React$1.createElement(_Popconfirm, {
1020
+ title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u75C5\u5386\u5417?",
1021
+ onConfirm: handleDelete(item, 'PathologicalBiopsy'),
1022
+ okText: "\u786E\u5B9A",
1023
+ cancelText: "\u53D6\u6D88"
1024
+ }, /*#__PURE__*/React$1.createElement(DeleteOutlined, {
1025
+ style: {
1026
+ color: 'rgb(205,72,57)',
1027
+ "float": 'right',
1028
+ marginTop: 2
1029
+ }
1030
+ })) : /*#__PURE__*/React$1.createElement(EditOutlined, {
1031
+ style: {
1032
+ color: 'rgb(24, 144, 255)',
1033
+ "float": 'right',
1034
+ marginTop: 2
1035
+ }
1036
+ })));
1037
+ }));
1038
+ }
1039
+ function renderContent() {
1040
+ var reload = props.reload;
1041
+ if (NurseTypesMapping$1[activeTemplate]) {
1042
+ var Component = NurseTypesMapping$1[activeTemplate]['component'];
1043
+ return /*#__PURE__*/React$1.createElement(Component, _extends({}, props, {
1044
+ activeItem: activeItem,
1045
+ onRefresh: handleInit,
1046
+ reload: reload,
1047
+ siderPanels: siderPanels
1048
+ }));
1049
+ } else {
1050
+ return /*#__PURE__*/React$1.createElement("div", null, "\u8BE5", activeTemplate, "\u4E0D\u5B58\u5728\u6B64tab\u4E2D");
1051
+ }
1052
+ }
1053
+ console.log('zzx item', activeItem);
1054
+ return /*#__PURE__*/React$1.createElement(_Row, {
1055
+ style: {
1056
+ height: '100%'
1057
+ }
1058
+ }, /*#__PURE__*/React$1.createElement(_Col, {
1059
+ style: {
1060
+ height: '100%',
1061
+ width: 290,
1062
+ overflow: 'scroll',
1063
+ backgroundColor: '#fff'
1064
+ }
1065
+ }, renderSider()), /*#__PURE__*/React$1.createElement(_Col, {
1066
+ style: {
1067
+ height: '100%',
1068
+ width: 'calc(100% - 290px)',
1069
+ overflow: 'scroll'
1070
+ }
1071
+ }, renderContent()), /*#__PURE__*/React$1.createElement(_Modal, {
1072
+ visible: visible,
1073
+ onCancel: function onCancel() {
1074
+ set_visible(false);
1075
+ }
1076
+ }, _map(NurseTypesMapping$1, function (nurseType, key) {
1077
+ return /*#__PURE__*/React$1.createElement(_Button, {
1078
+ style: {
1079
+ margin: 8
1080
+ },
1081
+ key: key,
1082
+ onClick: handleChooseTemplate(nurseType.key)
1083
+ }, nurseType.name);
1084
+ })));
1085
+ }
1086
+ function form_config() {
1087
+ if (mchcEnv.is('建瓯')) return import('./.root56.js');
1088
+ return import('./.root58.js');
1089
+ }
1090
+ function Form_乳腺癌筛查(props) {
1091
+ var _this = this;
1092
+ var onRefresh = props.onRefresh,
1093
+ id = props.id,
1094
+ activeItem = props.activeItem;
1095
+ var _a = useState({}),
1096
+ data = _a[0],
1097
+ setdata = _a[1];
1098
+ var _b = BF_Wrap2({
1099
+ default_conf: {
1100
+ title: '两癌筛查-乳腺癌筛查',
1101
+ tableColumns: form_config
1102
+ }
1103
+ }),
1104
+ config = _b.config,
1105
+ Wrap = _b.Wrap;
1106
+ var form = _Form.useForm()[0];
1107
+ var active_id = _get(activeItem, 'id');
1108
+ var active_screen_id = _get(activeItem, 'breastCancerScreeningId');
1109
+ useEffect(function () {
1110
+ handleInit();
1111
+ return function () {};
1112
+ }, [activeItem]);
1113
+ function handleInit() {
1114
+ return __awaiter(this, void 0, void 0, function () {
1115
+ var _a, basicInfo, basicData, system, values;
1116
+ return __generator(this, function (_b) {
1117
+ switch (_b.label) {
1118
+ case 0:
1119
+ _a = props, basicInfo = _a.basicInfo, basicData = _a.basicData, _a.siderPanels, system = _a.system;
1120
+ form.resetFields();
1121
+ values = {};
1122
+ if (!(active_screen_id && active_screen_id != -1)) return [3, 2];
1123
+ return [4, SFubao_BreastCancerScreening.getOne(active_screen_id)];
1124
+ case 1:
1125
+ values = _b.sent();
1126
+ return [3, 3];
1127
+ case 2:
1128
+ _set(values, 'womenHealthcareMenstrualHistory', __assign({}, _get(basicData, 'womenHealthcareMenstrualHistory')));
1129
+ _b.label = 3;
1130
+ case 3:
1131
+ if (!_get(values, 'breastCancerDiagnosisAndGuidance.checkUnit')) _set(values, 'breastCancerDiagnosisAndGuidance.checkUnit', _get(system, 'config.hospitalName'));
1132
+ if (!_get(values, 'breastCancerDiagnosisAndGuidance.checkDate')) _set(values, 'breastCancerDiagnosisAndGuidance.checkDate', dayjs(new Date()));
1133
+ if (!_get(values, 'breastCancerDiagnosisAndGuidance.checkDoctor')) _set(values, 'breastCancerDiagnosisAndGuidance.checkDoctor', _get(basicInfo, 'firstName'));
1134
+ setdata(values);
1135
+ form.setFieldsValue(values);
1136
+ return [2];
1137
+ }
1138
+ });
1139
+ });
1140
+ }
1141
+ function handleSubmit(values) {
1142
+ return __awaiter(this, void 0, void 0, function () {
1143
+ var params;
1144
+ return __generator(this, function (_a) {
1145
+ switch (_a.label) {
1146
+ case 0:
1147
+ params = values;
1148
+ if (!_get(data, 'id')) return [3, 2];
1149
+ params = __assign(__assign(__assign({}, data), params), {
1150
+ screeningType: '乳腺癌筛查'
1151
+ });
1152
+ return [4, SFubao_BreastCancerScreening.new_put(params)];
1153
+ case 1:
1154
+ _a.sent();
1155
+ onRefresh && onRefresh('Screening', activeItem);
1156
+ return [3, 4];
1157
+ case 2:
1158
+ params = {
1159
+ breastCancerScreening: __assign(__assign({}, params), {
1160
+ screeningType: '乳腺癌筛查'
1161
+ }),
1162
+ twoCancerScreeningId: Number(id)
1163
+ };
1164
+ return [4, SFubao_BreastCancerScreening.new_post(params)];
1165
+ case 3:
1166
+ _a.sent();
1167
+ onRefresh && onRefresh('Screening', activeItem, true);
1168
+ _a.label = 4;
1169
+ case 4:
1170
+ return [2];
1171
+ }
1172
+ });
1173
+ });
1174
+ }
1175
+ return /*#__PURE__*/React$1.createElement(Wrap, null, /*#__PURE__*/React$1.createElement(BaseEditPanelFormFC, {
1176
+ form: form,
1177
+ formDescriptions: config === null || config === void 0 ? void 0 : config.tableColumns,
1178
+ renderExtraBtns: function renderExtraBtns(form) {
1179
+ return /*#__PURE__*/React$1.createElement(_Button, {
1180
+ size: "large",
1181
+ onClick: function onClick() {
1182
+ request.post('/api/dataReport/reportBreastCancerRecord', {
1183
+ ids: [active_id]
1184
+ });
1185
+ }
1186
+ }, "\u4E0A\u62A5");
1187
+ },
1188
+ onPrint: function onPrint() {
1189
+ mchcModal__.open('print_modal', {
1190
+ modal_data: {
1191
+ requestData: {
1192
+ url: '/api/two/cancer/screening/printBreastCancerScreening',
1193
+ id: data === null || data === void 0 ? void 0 : data.id
1194
+ }
1195
+ }
1196
+ });
1197
+ },
1198
+ onFinish: function onFinish(v) {
1199
+ return __awaiter(_this, void 0, void 0, function () {
1200
+ return __generator(this, function (_a) {
1201
+ return [2, handleSubmit(v)];
1202
+ });
1203
+ });
1204
+ }
1205
+ }));
1206
+ }
1207
+ var AdmissionForm$1 = function (_super) {
1208
+ __extends(AdmissionForm, _super);
1209
+ function AdmissionForm() {
1210
+ var _this = _super !== null && _super.apply(this, arguments) || this;
1211
+ _this.renderBtns = function () {
1212
+ return /*#__PURE__*/React.createElement(_Space, {
1213
+ size: "middle"
1214
+ }, _this.renderSubmitBtn(), _this.renderPrintBtn());
1215
+ };
1216
+ return _this;
1217
+ }
1218
+ return AdmissionForm;
1219
+ }(BaseEditPanelForm);
1220
+ var valueToApi$1 = function valueToApi$1(values, nativeFormDescriptions) {
1221
+ var result = {};
1222
+ _map(nativeFormDescriptions, function (item, key) {
1223
+ var inputType = item.inputType;
1224
+ var itemVaule = _get(values, key);
1225
+ switch (inputType) {
1226
+ case 'radio_input':
1227
+ var k = key.split('.').pop();
1228
+ _set(result, key, _get(itemVaule, "".concat(k)));
1229
+ _set(result, "".concat(key, "Note"), _get(itemVaule, "".concat(k, "Note")));
1230
+ break;
1231
+ case 'checkbox_with_single_input':
1232
+ _set(result, key, _get(itemVaule, 'key'));
1233
+ _set(result, "".concat(key, "Note"), _get(itemVaule, 'keyNote'));
1234
+ break;
1235
+ case 'single_date_picker':
1236
+ _set(result, key, formatDateTime(itemVaule));
1237
+ break;
1238
+ case 'checkbox_with_input':
1239
+ var valueJson = safe_json_parse(itemVaule);
1240
+ _set(result, key, _get(valueJson, 'checkedValues.0'));
1241
+ _set(result, "".concat(key, "Note"), _get(valueJson, ['withInputValues', "".concat(_get(valueJson, 'checkedValues.0')), 'value', '0']));
1242
+ break;
1243
+ case 'pressure':
1244
+ var pressure_arr = key.split('.');
1245
+ var pressure_key = void 0;
1246
+ if (pressure_arr.length > 1) {
1247
+ pressure_arr = _dropRight(pressure_arr, 1);
1248
+ pressure_key = _join(pressure_arr, '.');
1249
+ _set(result, "".concat(pressure_key, ".systolic"), _get(itemVaule, 'systolic'));
1250
+ _set(result, "".concat(pressure_key, ".diastolic"), _get(itemVaule, 'diastolic'));
1251
+ } else {
1252
+ _set(result, 'systolic', _get(itemVaule, 'systolic'));
1253
+ _set(result, 'diastolic', _get(itemVaule, 'diastolic'));
1254
+ }
1255
+ break;
1256
+ default:
1257
+ _set(result, key, itemVaule);
1258
+ break;
1259
+ }
1260
+ });
1261
+ return result;
1262
+ };
1263
+ var valueToForm$1 = function valueToForm$1(values, nativeFormDescriptions) {
1264
+ _map(nativeFormDescriptions, function (item, key) {
1265
+ var _a;
1266
+ var inputType = item.inputType;
1267
+ var itemVaule = _get(values, key);
1268
+ switch (inputType) {
1269
+ case 'checkbox_with_single_input':
1270
+ if (!_isNil(itemVaule)) {
1271
+ _set(values, "".concat(key, ".key"), itemVaule);
1272
+ _set(values, "".concat(key, ".keyNote"), _get(values, "".concat(key, "Note")));
1273
+ }
1274
+ break;
1275
+ case 'checkbox_with_input':
1276
+ if (!_isNil(itemVaule)) {
1277
+ var checkBoxValue = {
1278
+ checkedValues: [itemVaule],
1279
+ withInputValues: (_a = {}, _a[itemVaule] = {
1280
+ key: itemVaule,
1281
+ value: {
1282
+ '0': _get(values, "".concat(key, "Note"))
1283
+ }
1284
+ }, _a)
1285
+ };
1286
+ _set(values, key, safe_json_stringify(checkBoxValue));
1287
+ }
1288
+ break;
1289
+ case 'pressure':
1290
+ if (!_isNil(itemVaule)) {
1291
+ var pressure_arr = key.split('.');
1292
+ var pressure_key = void 0;
1293
+ if (pressure_arr.length > 1) {
1294
+ pressure_arr = _dropRight(pressure_arr, 1);
1295
+ pressure_key = _join(pressure_arr, '.');
1296
+ _set(values, "".concat(key, ".systolic"), itemVaule);
1297
+ _set(values, "".concat(key, ".diastolic"), _get(values, "".concat(pressure_key, ".diastolic")));
1298
+ } else {
1299
+ _set(values, "".concat(key, ".systolic"), itemVaule);
1300
+ _set(values, "".concat(key, ".diastolic"), _get(values, "diastolic"));
1301
+ }
1302
+ }
1303
+ break;
1304
+ default:
1305
+ if (!_isNil(itemVaule)) {
1306
+ _set(values, key, itemVaule);
1307
+ }
1308
+ break;
1309
+ }
1310
+ });
1311
+ return values;
1312
+ };
1313
+ var AdmissionPanel$1 = function (_super) {
1314
+ __extends(AdmissionPanel, _super);
1315
+ function AdmissionPanel() {
1316
+ var _this = _super !== null && _super.apply(this, arguments) || this;
1317
+ _this.state = {
1318
+ data: {},
1319
+ formDescriptionsWithoutSection: {},
1320
+ formDescriptions: [],
1321
+ formKey: undefined,
1322
+ spinning: true,
1323
+ activeItem: {}
1324
+ };
1325
+ _this.handleInit = function () {
1326
+ return __awaiter(_this, void 0, void 0, function () {
1327
+ var _a, activeItem, formDescriptionsWithoutSection, _b, basicInfo, system, values, breastCancerRecordId, data, formKey;
1328
+ return __generator(this, function (_c) {
1329
+ switch (_c.label) {
1330
+ case 0:
1331
+ _a = this.state, activeItem = _a.activeItem, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection;
1332
+ _b = this.props, basicInfo = _b.basicInfo, system = _b.system;
1333
+ values = {};
1334
+ if (!_get(activeItem, 'breastCancerBiopsyId')) return [3, 3];
1335
+ if (!(_get(activeItem, 'breastCancerBiopsyId') != -1)) return [3, 2];
1336
+ return [4, fubaoRequest.get("/api/two/cancer/screening/getBreastCancerBiopsy?id.equals=".concat(_get(activeItem, 'breastCancerBiopsyId'), "&deleteFlag.equals=0"))];
1337
+ case 1:
1338
+ values = _c.sent();
1339
+ _c.label = 2;
1340
+ case 2:
1341
+ breastCancerRecordId = _get(activeItem, 'id');
1342
+ _c.label = 3;
1343
+ case 3:
1344
+ values = _get(values, 'data.0');
1345
+ data = values ? valueToForm$1(values, formDescriptionsWithoutSection) : {};
1346
+ formKey = _get(data, 'id') || Math.random();
1347
+ if (!_get(data, 'breastCancerDiagnosisAndGuidance.checkUnit')) _set(data, 'breastCancerDiagnosisAndGuidance.checkUnit', _get(system, 'config.hospitalName'));
1348
+ if (!_get(data, 'breastCancerDiagnosisAndGuidance.checkDate')) _set(data, 'breastCancerDiagnosisAndGuidance.checkDate', dayjs(new Date()));
1349
+ if (!_get(data, 'breastCancerDiagnosisAndGuidance.checkDoctor')) _set(data, 'breastCancerDiagnosisAndGuidance.checkDoctor', _get(basicInfo, 'firstName'));
1350
+ this.setState({
1351
+ data: data,
1352
+ formKey: formKey,
1353
+ breastCancerRecordId: breastCancerRecordId
1354
+ });
1355
+ return [2];
1356
+ }
1357
+ });
1358
+ });
1359
+ };
1360
+ _this.handleSubmit = function (values) {
1361
+ return __awaiter(_this, void 0, void 0, function () {
1362
+ var _a, onRefresh, baseUrl, _b, formDescriptionsWithoutSection, breastCancerRecordId, data, activeItem, params;
1363
+ return __generator(this, function (_c) {
1364
+ switch (_c.label) {
1365
+ case 0:
1366
+ _a = this.props, onRefresh = _a.onRefresh, baseUrl = _a.baseUrl;
1367
+ _b = this.state, formDescriptionsWithoutSection = _b.formDescriptionsWithoutSection, breastCancerRecordId = _b.breastCancerRecordId, data = _b.data, activeItem = _b.activeItem;
1368
+ params = valueToApi$1(values, formDescriptionsWithoutSection);
1369
+ params = __assign(__assign(__assign({}, data), params), {
1370
+ breastCancerRecordId: Number(breastCancerRecordId),
1371
+ screeningType: '乳腺癌筛查'
1372
+ });
1373
+ if (!_get(values, 'id')) return [3, 2];
1374
+ return [4, fubaoRequest.put('/api/two/cancer/screening/updateBreastCancerBiopsy', params)];
1375
+ case 1:
1376
+ _c.sent();
1377
+ return [3, 4];
1378
+ case 2:
1379
+ return [4, fubaoRequest.post(baseUrl, params)];
1380
+ case 3:
1381
+ _c.sent().data;
1382
+ _c.label = 4;
1383
+ case 4:
1384
+ onRefresh && onRefresh('PathologicalBiopsy', activeItem);
1385
+ return [2];
1386
+ }
1387
+ });
1388
+ });
1389
+ };
1390
+ return _this;
1391
+ }
1392
+ AdmissionPanel.getDerivedStateFromProps = function (nextProps, prevState) {
1393
+ var activeItem = nextProps.activeItem;
1394
+ if (!_isEqual(activeItem, prevState.activeItem)) {
1395
+ return {
1396
+ activeItem: activeItem
1397
+ };
1398
+ }
1399
+ return null;
1400
+ };
1401
+ AdmissionPanel.prototype.componentDidUpdate = function (prevProps, prevState) {
1402
+ if (!_isEmpty(_get(prevState, 'activeItem')) && !_isEqual(_get(prevState, 'activeItem'), _get(this.state, 'activeItem'))) {
1403
+ this.handleInit();
1404
+ }
1405
+ };
1406
+ AdmissionPanel.prototype.componentDidMount = function () {
1407
+ return __awaiter(this, void 0, void 0, function () {
1408
+ var moduleName, formDescriptions, formDescriptionsWithoutSection, formKey;
1409
+ return __generator(this, function (_a) {
1410
+ switch (_a.label) {
1411
+ case 0:
1412
+ moduleName = this.props.moduleName;
1413
+ return [4, SMchc_FormDescriptions.getModuleParseCache(moduleName)];
1414
+ case 1:
1415
+ formDescriptions = _a.sent();
1416
+ formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
1417
+ formKey = Math.random();
1418
+ this.setState({
1419
+ spinning: false
1420
+ });
1421
+ this.setState({
1422
+ formDescriptions: formDescriptions,
1423
+ formDescriptionsWithoutSection: formDescriptionsWithoutSection,
1424
+ formKey: formKey
1425
+ });
1426
+ this.handleInit();
1427
+ return [2];
1428
+ }
1429
+ });
1430
+ });
1431
+ };
1432
+ AdmissionPanel.defaultProps = {
1433
+ baseUrl: '/api/two/cancer/screening/addBreastCancerBiopsy',
1434
+ request: fubaoRequest,
1435
+ moduleName: 'mammary-cancer-pathological-biopsy',
1436
+ title: '病理活检',
1437
+ Form: AdmissionForm$1
1438
+ };
1439
+ return AdmissionPanel;
1440
+ }(BaseEditPanel);
1441
+ var formItemLayout = {
1442
+ labelCol: {
1443
+ span: 10
1444
+ },
1445
+ wrapperCol: {
1446
+ span: 14
1447
+ }
1448
+ };
1449
+ var AdmissionForm = function (_super) {
1450
+ __extends(AdmissionForm, _super);
1451
+ function AdmissionForm() {
1452
+ var _this = _super !== null && _super.apply(this, arguments) || this;
1453
+ _this.renderBtns = function () {
1454
+ return /*#__PURE__*/React.createElement(_Space, {
1455
+ size: "middle"
1456
+ }, _this.renderSubmitBtn(), _this.renderPrintBtn());
1457
+ };
1458
+ _this.handleItemChange = function (changedValues, allValues) {
1459
+ return __awaiter(_this, void 0, void 0, function () {
1460
+ var _a, formDescriptionsWithoutSection, extraEvents, form, checkedValue, checkedValue;
1461
+ return __generator(this, function (_b) {
1462
+ _a = this.props, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection, extraEvents = _a.extraEvents;
1463
+ form = this.form;
1464
+ if (_get(changedValues, 'breastCancerAuxiliaryExamination.breastUltrasoundExamination')) {
1465
+ checkedValue = _get(changedValues, 'breastCancerAuxiliaryExamination.breastUltrasoundExamination');
1466
+ if (_get(checkedValue, 'key') === 2) {
1467
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.leftBiRadsClassification', 'inputProps', 'disabled'], true);
1468
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.rightBiRadsClassification', 'inputProps', 'disabled'], true);
1469
+ extraEvents.handleDisabled(formDescriptionsWithoutSection);
1470
+ form && form.setFieldsValue({
1471
+ breastCancerAuxiliaryExamination: {
1472
+ leftBiRadsClassification: null
1473
+ }
1474
+ });
1475
+ form && form.setFieldsValue({
1476
+ breastCancerAuxiliaryExamination: {
1477
+ rightBiRadsClassification: null
1478
+ }
1479
+ });
1480
+ } else {
1481
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.leftBiRadsClassification', 'inputProps', 'disabled'], false);
1482
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.rightBiRadsClassification', 'inputProps', 'disabled'], false);
1483
+ extraEvents.handleDisabled(formDescriptionsWithoutSection);
1484
+ form && form.setFieldsValue({
1485
+ breastCancerAuxiliaryExamination: {
1486
+ leftBiRadsClassification: ''
1487
+ }
1488
+ });
1489
+ form && form.setFieldsValue({
1490
+ breastCancerAuxiliaryExamination: {
1491
+ rightBiRadsClassification: ''
1492
+ }
1493
+ });
1494
+ }
1495
+ }
1496
+ if (_get(changedValues, 'breastCancerAuxiliaryExamination.breastXBiRadsExamination')) {
1497
+ checkedValue = _get(changedValues, 'breastCancerAuxiliaryExamination.breastXBiRadsExamination');
1498
+ if (_get(checkedValue, 'key') === 2) {
1499
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.leftBreastXBiRadsClassification', 'inputProps', 'disabled'], true);
1500
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.rightBreastXBiRadsClassification', 'inputProps', 'disabled'], true);
1501
+ extraEvents.handleDisabled(formDescriptionsWithoutSection);
1502
+ form && form.setFieldsValue({
1503
+ breastCancerAuxiliaryExamination: {
1504
+ leftBreastXBiRadsClassification: null
1505
+ }
1506
+ });
1507
+ form && form.setFieldsValue({
1508
+ breastCancerAuxiliaryExamination: {
1509
+ rightBreastXBiRadsClassification: null
1510
+ }
1511
+ });
1512
+ } else {
1513
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.leftBreastXBiRadsClassification', 'inputProps', 'disabled'], false);
1514
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.rightBreastXBiRadsClassification', 'inputProps', 'disabled'], false);
1515
+ extraEvents.handleDisabled(formDescriptionsWithoutSection);
1516
+ form && form.setFieldsValue({
1517
+ breastCancerAuxiliaryExamination: {
1518
+ leftBreastXBiRadsClassification: ''
1519
+ }
1520
+ });
1521
+ form && form.setFieldsValue({
1522
+ breastCancerAuxiliaryExamination: {
1523
+ rightBreastXBiRadsClassification: ''
1524
+ }
1525
+ });
1526
+ }
1527
+ }
1528
+ return [2];
1529
+ });
1530
+ });
1531
+ };
1532
+ _this.getEvents = function () {
1533
+ return {
1534
+ handleButton: function handleButton(id, isCheck) {
1535
+ if (id === 'selectBtn' && isCheck) {
1536
+ var form = _this.form;
1537
+ form && form.setFieldsValue({
1538
+ breastCancerBreastPalpation: {}
1539
+ });
1540
+ }
1541
+ if (id === 'selectBtn' && !isCheck) {
1542
+ var form = _this.form;
1543
+ form && form.setFieldsValue({
1544
+ breastCancerBreastPalpation: {}
1545
+ });
1546
+ }
1547
+ }
1548
+ };
1549
+ };
1550
+ return _this;
1551
+ }
1552
+ AdmissionForm.prototype.componentDidMount = function () {
1553
+ var _a = this.props,
1554
+ data = _a.data,
1555
+ formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection;
1556
+ this.form = this.formRef.current;
1557
+ this.form && this.form.setFieldsValue(data);
1558
+ if (_get(data, 'breastCancerAuxiliaryExamination.breastUltrasoundExamination')) {
1559
+ if (_get(data, 'breastCancerAuxiliaryExamination.breastUltrasoundExamination.key') === 2) {
1560
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.leftBiRadsClassification', 'inputProps', 'disabled'], true);
1561
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.rightBiRadsClassification', 'inputProps', 'disabled'], true);
1562
+ }
1563
+ }
1564
+ if (_get(data, 'breastCancerAuxiliaryExamination.breastXBiRadsExamination')) {
1565
+ if (_get(data, 'breastCancerAuxiliaryExamination.breastXBiRadsExamination.key') === 2) {
1566
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.leftBreastXBiRadsClassification', 'inputProps', 'disabled'], true);
1567
+ _set(formDescriptionsWithoutSection, ['breastCancerAuxiliaryExamination.rightBreastXBiRadsClassification', 'inputProps', 'disabled'], true);
1568
+ }
1569
+ }
1570
+ this.renderEditItem = this.generateRenderEditItem(formDescriptionsWithoutSection, {
1571
+ formItemLayout: formItemLayout
1572
+ });
1573
+ this.forceUpdate();
1574
+ };
1575
+ return AdmissionForm;
1576
+ }(BaseEditPanelForm);
1577
+ var valueToApi = function valueToApi(values, nativeFormDescriptions) {
1578
+ var result = {};
1579
+ _map(nativeFormDescriptions, function (item, key) {
1580
+ var inputType = item.inputType;
1581
+ var itemVaule = _get(values, key);
1582
+ switch (inputType) {
1583
+ case 'radio_input':
1584
+ var k = key.split('.').pop();
1585
+ _set(result, key, _get(itemVaule, "".concat(k)));
1586
+ _set(result, "".concat(key, "Note"), _get(itemVaule, "".concat(k, "Note")));
1587
+ break;
1588
+ case 'checkbox_with_single_input':
1589
+ _set(result, key, _get(itemVaule, 'key'));
1590
+ _set(result, "".concat(key, "Note"), _get(itemVaule, 'keyNote'));
1591
+ break;
1592
+ case 'single_date_picker':
1593
+ _set(result, key, formatDateTime(itemVaule));
1594
+ break;
1595
+ case 'checkbox_with_input':
1596
+ var valueJson = safe_json_parse(itemVaule);
1597
+ _set(result, key, _get(valueJson, 'checkedValues.0'));
1598
+ _set(result, "".concat(key, "Note"), _get(valueJson, ['withInputValues', "".concat(_get(valueJson, 'checkedValues.0')), 'value', '0']));
1599
+ break;
1600
+ case 'pressure':
1601
+ var pressure_arr = key.split('.');
1602
+ var pressure_key = void 0;
1603
+ if (pressure_arr.length > 1) {
1604
+ pressure_arr = _dropRight(pressure_arr, 1);
1605
+ pressure_key = _join(pressure_arr, '.');
1606
+ _set(result, "".concat(pressure_key, ".systolic"), _get(itemVaule, 'systolic'));
1607
+ _set(result, "".concat(pressure_key, ".diastolic"), _get(itemVaule, 'diastolic'));
1608
+ } else {
1609
+ _set(result, 'systolic', _get(itemVaule, 'systolic'));
1610
+ _set(result, 'diastolic', _get(itemVaule, 'diastolic'));
1611
+ }
1612
+ break;
1613
+ default:
1614
+ _set(result, key, itemVaule);
1615
+ break;
1616
+ }
1617
+ });
1618
+ return result;
1619
+ };
1620
+ var valueToForm = function valueToForm(values, nativeFormDescriptions) {
1621
+ _map(nativeFormDescriptions, function (item, key) {
1622
+ var _a;
1623
+ var inputType = item.inputType;
1624
+ var itemVaule = _get(values, key);
1625
+ switch (inputType) {
1626
+ case 'checkbox_with_single_input':
1627
+ if (!_isNil(itemVaule)) {
1628
+ _set(values, "".concat(key, ".key"), itemVaule);
1629
+ _set(values, "".concat(key, ".keyNote"), _get(values, "".concat(key, "Note")));
1630
+ }
1631
+ break;
1632
+ case 'checkbox_with_input':
1633
+ if (!_isNil(itemVaule)) {
1634
+ var checkBoxValue = {
1635
+ checkedValues: [itemVaule],
1636
+ withInputValues: (_a = {}, _a[itemVaule] = {
1637
+ key: itemVaule,
1638
+ value: {
1639
+ '0': _get(values, "".concat(key, "Note"))
1640
+ }
1641
+ }, _a)
1642
+ };
1643
+ _set(values, key, safe_json_stringify(checkBoxValue));
1644
+ }
1645
+ break;
1646
+ case 'pressure':
1647
+ if (!_isNil(itemVaule)) {
1648
+ var pressure_arr = key.split('.');
1649
+ var pressure_key = void 0;
1650
+ if (pressure_arr.length > 1) {
1651
+ pressure_arr = _dropRight(pressure_arr, 1);
1652
+ pressure_key = _join(pressure_arr, '.');
1653
+ _set(values, "".concat(key, ".systolic"), itemVaule);
1654
+ _set(values, "".concat(key, ".diastolic"), _get(values, "".concat(pressure_key, ".diastolic")));
1655
+ } else {
1656
+ _set(values, "".concat(key, ".systolic"), itemVaule);
1657
+ _set(values, "".concat(key, ".diastolic"), _get(values, "diastolic"));
1658
+ }
1659
+ }
1660
+ break;
1661
+ default:
1662
+ if (!_isNil(itemVaule)) {
1663
+ _set(values, key, itemVaule);
1664
+ }
1665
+ break;
1666
+ }
1667
+ });
1668
+ return values;
1669
+ };
1670
+ var AdmissionPanel = function (_super) {
1671
+ __extends(AdmissionPanel, _super);
1672
+ function AdmissionPanel() {
1673
+ var _this = _super !== null && _super.apply(this, arguments) || this;
1674
+ _this.state = {
1675
+ data: {},
1676
+ formDescriptionsWithoutSection: {},
1677
+ formDescriptions: [],
1678
+ formKey: undefined,
1679
+ spinning: true,
1680
+ activeItem: {}
1681
+ };
1682
+ _this.extraEvents = {
1683
+ handleDisabled: function handleDisabled(formDescriptionsWithoutSection) {
1684
+ _this.setState({
1685
+ formDescriptionsWithoutSection: formDescriptionsWithoutSection
1686
+ });
1687
+ }
1688
+ };
1689
+ _this.handleInit = function () {
1690
+ return __awaiter(_this, void 0, void 0, function () {
1691
+ var _a, activeItem, formDescriptionsWithoutSection, _b, basicInfo, system, values, breastCancerRecordId, data, formKey;
1692
+ return __generator(this, function (_c) {
1693
+ switch (_c.label) {
1694
+ case 0:
1695
+ _a = this.state, activeItem = _a.activeItem, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection;
1696
+ _b = this.props, basicInfo = _b.basicInfo, system = _b.system;
1697
+ values = {};
1698
+ if (!_get(activeItem, 'breastCancerXRayId')) return [3, 3];
1699
+ if (!(_get(activeItem, 'breastCancerXRayId') != -1)) return [3, 2];
1700
+ return [4, fubaoRequest.get("/api/two/cancer/screening/getBreastCancerXRay?id.equals=".concat(_get(activeItem, 'breastCancerXRayId'), "&deleteFlag.equals=0"))];
1701
+ case 1:
1702
+ values = _c.sent().data;
1703
+ _c.label = 2;
1704
+ case 2:
1705
+ breastCancerRecordId = _get(activeItem, 'id');
1706
+ _c.label = 3;
1707
+ case 3:
1708
+ values = _get(values, 'data.0');
1709
+ data = values ? valueToForm(values, formDescriptionsWithoutSection) : {};
1710
+ formKey = _get(data, 'id') || Math.random();
1711
+ if (!_get(data, 'breastCancerAuxiliaryExamination.breastUltrasoundExamination')) {
1712
+ _set(data, 'breastCancerAuxiliaryExamination.breastUltrasoundExamination', {
1713
+ key: 2,
1714
+ keyNote: undefined
1715
+ });
1716
+ }
1717
+ if (!_get(data, 'breastCancerAuxiliaryExamination.breastXBiRadsExamination')) {
1718
+ _set(data, 'breastCancerAuxiliaryExamination.breastXBiRadsExamination', {
1719
+ key: 2,
1720
+ keyNote: undefined
1721
+ });
1722
+ }
1723
+ if (!_get(data, 'breastCancerDiagnosisAndGuidance.checkUnit')) _set(data, 'breastCancerDiagnosisAndGuidance.checkUnit', _get(system, 'config.hospitalName'));
1724
+ if (!_get(data, 'breastCancerDiagnosisAndGuidance.checkDate')) _set(data, 'breastCancerDiagnosisAndGuidance.checkDate', dayjs(new Date()));
1725
+ if (!_get(data, 'breastCancerDiagnosisAndGuidance.checkDoctor')) _set(data, 'breastCancerDiagnosisAndGuidance.checkDoctor', _get(basicInfo, 'firstName'));
1726
+ this.setState({
1727
+ data: data,
1728
+ formKey: formKey,
1729
+ breastCancerRecordId: breastCancerRecordId
1730
+ });
1731
+ return [2];
1732
+ }
1733
+ });
1734
+ });
1735
+ };
1736
+ _this.handleSubmit = function (values) {
1737
+ return __awaiter(_this, void 0, void 0, function () {
1738
+ var _a, onRefresh, baseUrl, _b, formDescriptionsWithoutSection, breastCancerRecordId, data, activeItem, params;
1739
+ return __generator(this, function (_c) {
1740
+ switch (_c.label) {
1741
+ case 0:
1742
+ _a = this.props, onRefresh = _a.onRefresh, baseUrl = _a.baseUrl;
1743
+ _b = this.state, formDescriptionsWithoutSection = _b.formDescriptionsWithoutSection, breastCancerRecordId = _b.breastCancerRecordId, data = _b.data, activeItem = _b.activeItem;
1744
+ params = valueToApi(values, formDescriptionsWithoutSection);
1745
+ params = __assign(__assign(__assign({}, data), params), {
1746
+ breastCancerRecordId: Number(breastCancerRecordId),
1747
+ screeningType: '乳腺癌筛查'
1748
+ });
1749
+ if (!_get(values, 'id')) return [3, 2];
1750
+ return [4, fubaoRequest.put('/api/two/cancer/screening/updateBreastCancerXRay', params)];
1751
+ case 1:
1752
+ _c.sent();
1753
+ return [3, 4];
1754
+ case 2:
1755
+ return [4, fubaoRequest.post(baseUrl, params)];
1756
+ case 3:
1757
+ _c.sent().data;
1758
+ _c.label = 4;
1759
+ case 4:
1760
+ onRefresh && onRefresh('Mammography', activeItem);
1761
+ return [2];
1762
+ }
1763
+ });
1764
+ });
1765
+ };
1766
+ return _this;
1767
+ }
1768
+ AdmissionPanel.getDerivedStateFromProps = function (nextProps, prevState) {
1769
+ var activeItem = nextProps.activeItem;
1770
+ if (!_isEqual(activeItem, prevState.activeItem)) {
1771
+ return {
1772
+ activeItem: activeItem
1773
+ };
1774
+ }
1775
+ return null;
1776
+ };
1777
+ AdmissionPanel.prototype.componentDidUpdate = function (prevProps, prevState) {
1778
+ if (!_isEmpty(_get(prevState, 'activeItem')) && !_isEqual(_get(prevState, 'activeItem'), _get(this.state, 'activeItem'))) {
1779
+ this.handleInit();
1780
+ }
1781
+ };
1782
+ AdmissionPanel.prototype.componentDidMount = function () {
1783
+ return __awaiter(this, void 0, void 0, function () {
1784
+ var moduleName, formDescriptions, formDescriptionsWithoutSection, formKey;
1785
+ return __generator(this, function (_a) {
1786
+ switch (_a.label) {
1787
+ case 0:
1788
+ moduleName = this.props.moduleName;
1789
+ return [4, SMchc_FormDescriptions.getModuleParseCache(moduleName)];
1790
+ case 1:
1791
+ formDescriptions = _a.sent();
1792
+ formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
1793
+ formKey = Math.random();
1794
+ this.setState({
1795
+ spinning: false
1796
+ });
1797
+ this.setState({
1798
+ formDescriptions: formDescriptions,
1799
+ formDescriptionsWithoutSection: formDescriptionsWithoutSection,
1800
+ formKey: formKey
1801
+ });
1802
+ this.handleInit();
1803
+ return [2];
1804
+ }
1805
+ });
1806
+ });
1807
+ };
1808
+ AdmissionPanel.defaultProps = {
1809
+ baseUrl: '/api/two/cancer/screening/addBreastCancerXRay',
1810
+ request: fubaoRequest,
1811
+ moduleName: 'mammary-cancer-mammography',
1812
+ title: '乳腺X线',
1813
+ Form: AdmissionForm
1814
+ };
1815
+ return AdmissionPanel;
1816
+ }(BaseEditPanel);
1817
+ var NurseTypesMapping = {
1818
+ Screening: {
1819
+ key: 'Screening',
1820
+ name: '筛查',
1821
+ icon: '',
1822
+ api: '/api/labour-records',
1823
+ component: Form_乳腺癌筛查
1824
+ },
1825
+ Mammography: {
1826
+ key: 'Mammography',
1827
+ name: '乳腺X线',
1828
+ icon: '',
1829
+ api: '/api/labour-records',
1830
+ component: AdmissionPanel
1831
+ },
1832
+ PathologicalBiopsy: {
1833
+ key: 'PathologicalBiopsy',
1834
+ name: '病理活检',
1835
+ icon: '',
1836
+ api: '/api/labour-records',
1837
+ component: AdmissionPanel$1
1838
+ }
1839
+ };
1840
+ var css_248z = ".two-cancers-list {\n margin-bottom: 8px;\n}\n.two-cancers-list .two-cancers-doctor-desk-first-visit-sider-list_title {\n background-color: #f5f6fa;\n padding: 8px;\n}\n.two-cancers-list .doctor-desk-first-visit-sider-list__item-title {\n color: #1890ff;\n}\n.two-cancers-list .label-result {\n margin-left: 12px;\n color: #1890ff;\n}\n.two-cancers-list .label-result.red {\n color: #cd4839;\n}\n.two-cancers-list .doctor-desk-first-visit-sider-list__item {\n cursor: pointer;\n padding: 6px 12px;\n border-bottom: 2px solid #1890ff;\n margin-bottom: 8px;\n font-size: 13px;\n}\n";
1841
+ styleInject(css_248z);
1842
+ var DEFAULT_ACTIVE_TEMPLETE = 'Screening';
1843
+ function MammaryCancer(props) {
1844
+ var _a = useState(DEFAULT_ACTIVE_TEMPLETE),
1845
+ activeTemplate = _a[0],
1846
+ set_activeTemplate = _a[1];
1847
+ var _b = useState([]),
1848
+ siderPanels = _b[0],
1849
+ set_siderPanels = _b[1];
1850
+ var _c = useState([]);
1851
+ _c[0];
1852
+ _c[1];
1853
+ var _d = useState(false),
1854
+ visible = _d[0],
1855
+ set_visible = _d[1];
1856
+ var _e = useState({}),
1857
+ activeItem = _e[0],
1858
+ set_activeItem = _e[1];
1859
+ var _f = useState('Screening'),
1860
+ activeType = _f[0],
1861
+ set_activeType = _f[1];
1862
+ useEffect(function () {
1863
+ handleInit();
1864
+ return function () {};
1865
+ }, []);
1866
+ function handleAdd() {
1867
+ set_visible(true);
1868
+ }
1869
+ function handleClickListItem(item, code) {
1870
+ return function () {
1871
+ var activeTemplate = _get(NurseTypesMapping, "".concat(code, ".key"));
1872
+ set_activeItem(item);
1873
+ set_activeTemplate(activeTemplate);
1874
+ set_activeType(code);
1875
+ };
1876
+ }
1877
+ function handleInit(activeType, activeItem, isAdd) {
1878
+ return __awaiter(this, void 0, void 0, function () {
1879
+ var id, breastCancerScreeningId, breastCancerXRayId, data, breastCancerRecord;
1880
+ return __generator(this, function (_a) {
1881
+ switch (_a.label) {
1882
+ case 0:
1883
+ id = _get(props, 'id');
1884
+ breastCancerScreeningId = _get(props, 'breastCancerScreeningId');
1885
+ breastCancerXRayId = _get(props, 'breastCancerXRayId');
1886
+ return [4, fubaoRequest.get("/api/two/cancer/screening/getBreastCancerRecord?fileId.equals=".concat(id, "&deleteFlag.equals=0"))];
1887
+ case 1:
1888
+ data = _a.sent().data;
1889
+ breastCancerRecord = [];
1890
+ if (_get(data, 'data')) {
1891
+ breastCancerRecord = _get(data, 'data.breastCancerRecord');
1892
+ }
1893
+ if (breastCancerRecord.length > 0) {
1894
+ if (breastCancerScreeningId) {
1895
+ _map(breastCancerRecord, function (item, index) {
1896
+ if (Number(breastCancerScreeningId) === _get(item, 'breastCancerScreeningId')) {
1897
+ set_siderPanels(breastCancerRecord);
1898
+ set_activeItem(item);
1899
+ set_activeType('Screening');
1900
+ set_activeTemplate(DEFAULT_ACTIVE_TEMPLETE);
1901
+ }
1902
+ });
1903
+ } else if (breastCancerXRayId) {
1904
+ _map(breastCancerRecord, function (item, index) {
1905
+ if (Number(breastCancerXRayId) === _get(item, 'breastCancerXRayId')) {
1906
+ set_siderPanels(breastCancerRecord);
1907
+ set_activeItem(item);
1908
+ set_activeType('Mammography');
1909
+ set_activeTemplate(_get(NurseTypesMapping, "Mammography.key"));
1910
+ }
1911
+ });
1912
+ } else {
1913
+ set_siderPanels(breastCancerRecord);
1914
+ set_activeItem(activeItem && !isAdd ? activeItem : breastCancerRecord[breastCancerRecord.length - 1]);
1915
+ set_activeType(activeType ? activeType : 'Screening');
1916
+ set_activeTemplate(activeType ? _get(NurseTypesMapping, "".concat(activeType, ".key")) : DEFAULT_ACTIVE_TEMPLETE);
1917
+ }
1918
+ } else {
1919
+ breastCancerRecord.push({
1920
+ breastCancerScreeningId: -1
1921
+ });
1922
+ set_siderPanels(breastCancerRecord);
1923
+ }
1924
+ return [2];
1925
+ }
1926
+ });
1927
+ });
1928
+ }
1929
+ function handleDelete(item, code) {
1930
+ var _this = this;
1931
+ return function () {
1932
+ return __awaiter(_this, void 0, void 0, function () {
1933
+ var id, res, id, res, id, res;
1934
+ return __generator(this, function (_a) {
1935
+ switch (_a.label) {
1936
+ case 0:
1937
+ if (!(code === 'Screening')) return [3, 3];
1938
+ id = _get(item, 'breastCancerScreeningId');
1939
+ return [4, fubaoRequest["delete"]("/api/two/cancer/screening/deleteBreastCancerScreening/".concat(id))];
1940
+ case 1:
1941
+ res = _a.sent().data;
1942
+ if (_get(res, 'code') === 1) ;
1943
+ return [4, handleInit()];
1944
+ case 2:
1945
+ _a.sent();
1946
+ return [3, 9];
1947
+ case 3:
1948
+ if (!(code === 'Mammography')) return [3, 6];
1949
+ id = _get(item, 'breastCancerXRayId');
1950
+ return [4, fubaoRequest["delete"]("/api/two/cancer/screening/deleteBreastCancerXRay/".concat(id))];
1951
+ case 4:
1952
+ res = _a.sent().data;
1953
+ if (_get(res, 'code') === 1) ;
1954
+ return [4, handleInit()];
1955
+ case 5:
1956
+ _a.sent();
1957
+ return [3, 9];
1958
+ case 6:
1959
+ id = _get(item, 'breastCancerBiopsyId');
1960
+ return [4, fubaoRequest["delete"]("/api/two/cancer/screening/deleteBreastCancerBiopsy/".concat(id))];
1961
+ case 7:
1962
+ res = _a.sent().data;
1963
+ if (_get(res, 'code') === 1) ;
1964
+ return [4, handleInit()];
1965
+ case 8:
1966
+ _a.sent();
1967
+ _a.label = 9;
1968
+ case 9:
1969
+ return [2];
1970
+ }
1971
+ });
1972
+ });
1973
+ };
1974
+ }
1975
+ function handleChooseTemplate(nurseType) {
1976
+ return function () {
1977
+ var clickTempKey = _get(nurseType, 'key');
1978
+ var newSiderPanels = _cloneDeep(siderPanels);
1979
+ var listData = newSiderPanels[newSiderPanels.length - 1];
1980
+ if (clickTempKey === 'Screening') {
1981
+ if (_get(listData, 'breastCancerScreeningId') === -1) {
1982
+ _message.warning('请先保存上一次筛查!');
1983
+ return;
1984
+ }
1985
+ var newImte = {
1986
+ breastCancerScreeningId: -1
1987
+ };
1988
+ newSiderPanels.push(newImte);
1989
+ set_siderPanels(newSiderPanels);
1990
+ set_activeTemplate(_get(nurseType, 'key'));
1991
+ set_visible(false);
1992
+ set_activeItem(newImte);
1993
+ set_activeType(clickTempKey);
1994
+ } else if (clickTempKey === 'Mammography') {
1995
+ if (_get(listData, 'breastCancerXRayId')) {
1996
+ set_activeTemplate(_get(nurseType, 'key'));
1997
+ set_visible(false);
1998
+ set_activeItem(listData);
1999
+ set_activeType(clickTempKey);
2000
+ } else {
2001
+ _set(listData, 'breastCancerXRayId', -1);
2002
+ set_siderPanels(newSiderPanels);
2003
+ set_activeTemplate(_get(nurseType, 'key'));
2004
+ set_visible(false);
2005
+ set_activeItem(listData);
2006
+ set_activeType(clickTempKey);
2007
+ }
2008
+ } else {
2009
+ if (_get(listData, 'breastCancerBiopsyId')) {
2010
+ set_activeTemplate(_get(nurseType, 'key'));
2011
+ set_visible(false);
2012
+ set_activeItem(listData);
2013
+ set_activeType(clickTempKey);
2014
+ } else {
2015
+ _set(listData, 'breastCancerBiopsyId', -1);
2016
+ set_siderPanels(newSiderPanels);
2017
+ set_activeTemplate(_get(nurseType, 'key'));
2018
+ set_visible(false);
2019
+ set_activeItem(listData);
2020
+ set_activeType(clickTempKey);
2021
+ }
2022
+ }
2023
+ };
2024
+ }
2025
+ function renderSider() {
2026
+ return /*#__PURE__*/React$1.createElement(_Card, {
2027
+ size: "small",
2028
+ bordered: false,
2029
+ style: {
2030
+ height: '100%'
2031
+ },
2032
+ title: "\u5C31\u8BCA\u8BB0\u5F55",
2033
+ extra: /*#__PURE__*/React$1.createElement(PlusCircleOutlined, {
2034
+ onClick: handleAdd
2035
+ })
2036
+ }, _map(siderPanels, function (data, index) {
2037
+ return /*#__PURE__*/React$1.createElement("div", {
2038
+ key: data.id,
2039
+ className: "two-cancers-list"
2040
+ }, /*#__PURE__*/React$1.createElement("div", {
2041
+ className: "two-cancers-doctor-desk-first-visit-sider-list_title"
2042
+ }, "\u7B2C".concat(index + 1, "\u6B21\u7B5B\u67E5")), _get(data, 'breastCancerScreeningId') && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("div", {
2043
+ className: "doctor-desk-first-visit-sider-list__item",
2044
+ style: _get(activeItem, 'id') === _get(data, 'id') && activeType === 'Screening' ? {
2045
+ background: '#eaf4fd'
2046
+ } : {
2047
+ background: 'none'
2048
+ },
2049
+ onClick: handleClickListItem(data, 'Screening')
2050
+ }, /*#__PURE__*/React$1.createElement("span", {
2051
+ className: "doctor-desk-first-visit-sider-list__item-title"
2052
+ }, "\u7B5B\u67E5", ' ', _get(data, 'breastCancerScreeningCheckDate') && '(' + _get(data, 'breastCancerScreeningCheckDate') + ')'), _get(data, 'breastCancerScreeningScreeningSuggest') && /*#__PURE__*/React$1.createElement("span", {
2053
+ className: classnames('label-result', {
2054
+ red: _get(data, 'breastCancerScreeningScreeningSuggest') === '复查乳腺X线'
2055
+ })
2056
+ }, _get(data, 'breastCancerScreeningScreeningSuggest')), _get(data, 'breastCancerScreeningId') && _get(data, 'breastCancerScreeningId') != -1 ? /*#__PURE__*/React$1.createElement(_Popconfirm, {
2057
+ title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u75C5\u5386\u5417?",
2058
+ onConfirm: handleDelete(data, 'Screening'),
2059
+ okText: "\u786E\u5B9A",
2060
+ cancelText: "\u53D6\u6D88"
2061
+ }, /*#__PURE__*/React$1.createElement(DeleteOutlined, {
2062
+ style: {
2063
+ color: 'rgb(205,72,57)',
2064
+ "float": 'right',
2065
+ marginTop: 2
2066
+ }
2067
+ })) : /*#__PURE__*/React$1.createElement(EditOutlined, {
2068
+ style: {
2069
+ color: 'rgb(24, 144, 255)',
2070
+ "float": 'right',
2071
+ marginTop: 2
2072
+ }
2073
+ }))), _get(data, 'breastCancerXRayId') && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("div", {
2074
+ className: "doctor-desk-first-visit-sider-list__item",
2075
+ style: _get(activeItem, 'id') === _get(data, 'id') && activeType === 'Mammography' ? {
2076
+ background: '#eaf4fd'
2077
+ } : {
2078
+ background: 'none'
2079
+ },
2080
+ onClick: handleClickListItem(data, 'Mammography')
2081
+ }, /*#__PURE__*/React$1.createElement("span", {
2082
+ className: "doctor-desk-first-visit-sider-list__item-title"
2083
+ }, "\u4E73\u817AX\u7EBF", ' ', _get(data, 'breastCancerXRayCheckDate') && '(' + _get(data, 'breastCancerXRayCheckDate') + ')'), _get(data, 'breastCancerXRayScreeningSuggest') && /*#__PURE__*/React$1.createElement("span", {
2084
+ className: classnames('label-result', {
2085
+ red: _get(data, 'breastCancerXRayScreeningSuggest') === '复查乳腺X线'
2086
+ })
2087
+ }, _get(data, 'breastCancerXRayScreeningSuggest')), _get(data, 'breastCancerXRayId') && _get(data, 'breastCancerXRayId') != -1 ? /*#__PURE__*/React$1.createElement(_Popconfirm, {
2088
+ title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u75C5\u5386\u5417?",
2089
+ onConfirm: handleDelete(data, 'Mammography'),
2090
+ okText: "\u786E\u5B9A",
2091
+ cancelText: "\u53D6\u6D88"
2092
+ }, /*#__PURE__*/React$1.createElement(DeleteOutlined, {
2093
+ style: {
2094
+ color: 'rgb(205,72,57)',
2095
+ "float": 'right',
2096
+ marginTop: 2
2097
+ }
2098
+ })) : /*#__PURE__*/React$1.createElement(EditOutlined, {
2099
+ style: {
2100
+ color: 'rgb(24, 144, 255)',
2101
+ "float": 'right',
2102
+ marginTop: 2
2103
+ }
2104
+ }))), _get(data, 'breastCancerBiopsyId') && /*#__PURE__*/React$1.createElement("div", {
2105
+ className: "doctor-desk-first-visit-sider-list__item",
2106
+ style: _get(activeItem, 'id') === _get(data, 'id') && activeType === 'PathologicalBiopsy' ? {
2107
+ background: '#eaf4fd'
2108
+ } : {
2109
+ background: 'none'
2110
+ },
2111
+ onClick: handleClickListItem(data, 'PathologicalBiopsy')
2112
+ }, /*#__PURE__*/React$1.createElement("span", {
2113
+ className: "doctor-desk-first-visit-sider-list__item-title"
2114
+ }, "\u75C5\u7406\u6D3B\u68C0", ' ', _get(data, 'breastCancerBiopsyCheckDate') && '(' + _get(data, 'breastCancerBiopsyCheckDate') + ')'), _get(data, 'breastCancerBiopsyScreeningSuggest') && /*#__PURE__*/React$1.createElement("span", {
2115
+ className: classnames('label-result', {
2116
+ red: _get(data, 'breastCancerBiopsyScreeningSuggest') === '治疗'
2117
+ })
2118
+ }, _get(data, 'breastCancerBiopsyScreeningSuggest')), _get(data, 'breastCancerBiopsyId') && _get(data, 'breastCancerBiopsyId') != -1 ? /*#__PURE__*/React$1.createElement(_Popconfirm, {
2119
+ title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u75C5\u5386\u5417?",
2120
+ onConfirm: handleDelete(data, 'PathologicalBiopsy'),
2121
+ okText: "\u786E\u5B9A",
2122
+ cancelText: "\u53D6\u6D88"
2123
+ }, /*#__PURE__*/React$1.createElement(DeleteOutlined, {
2124
+ style: {
2125
+ color: 'rgb(205,72,57)',
2126
+ "float": 'right',
2127
+ marginTop: 2
2128
+ }
2129
+ })) : /*#__PURE__*/React$1.createElement(EditOutlined, {
2130
+ style: {
2131
+ color: 'rgb(24, 144, 255)',
2132
+ "float": 'right',
2133
+ marginTop: 2
2134
+ }
2135
+ })));
2136
+ }));
2137
+ }
2138
+ function renderContent() {
2139
+ var reload = props.reload;
2140
+ if (NurseTypesMapping[activeTemplate]) {
2141
+ var Component = NurseTypesMapping[activeTemplate]['component'];
2142
+ return /*#__PURE__*/React$1.createElement(Component, _extends({}, props, {
2143
+ activeItem: activeItem,
2144
+ onRefresh: handleInit,
2145
+ reload: reload,
2146
+ siderPanels: siderPanels
2147
+ }));
2148
+ } else {
2149
+ return /*#__PURE__*/React$1.createElement("div", null, "\u8BE5", activeTemplate, "\u4E0D\u5B58\u5728\u6B64tab\u4E2D");
2150
+ }
2151
+ }
2152
+ console.log('zzx item', activeItem);
2153
+ return /*#__PURE__*/React$1.createElement(_Row, {
2154
+ style: {
2155
+ height: '100%'
2156
+ }
2157
+ }, /*#__PURE__*/React$1.createElement(_Col, {
2158
+ style: {
2159
+ height: '100%',
2160
+ width: 290,
2161
+ overflow: 'scroll',
2162
+ backgroundColor: '#fff'
2163
+ }
2164
+ }, renderSider()), /*#__PURE__*/React$1.createElement(_Col, {
2165
+ style: {
2166
+ height: '100%',
2167
+ width: 'calc(100% - 290px)',
2168
+ overflow: 'scroll'
2169
+ }
2170
+ }, renderContent()), /*#__PURE__*/React$1.createElement(_Modal, {
2171
+ visible: visible,
2172
+ onCancel: function onCancel() {
2173
+ set_visible(false);
2174
+ },
2175
+ onOk: function onOk() {
2176
+ set_visible(false);
2177
+ }
2178
+ }, _map(NurseTypesMapping, function (nurseType, key) {
2179
+ return /*#__PURE__*/React$1.createElement(_Button, {
2180
+ style: {
2181
+ margin: 8
2182
+ },
2183
+ key: key,
2184
+ onClick: handleChooseTemplate(nurseType)
2185
+ }, nurseType.name);
2186
+ })));
2187
+ }
2188
+ console.log('PanelWithChild styles', PanelWithChild.styles);
2189
+ function TowCancerExam(props) {
2190
+ var _a = useState(false),
2191
+ loading = _a[0];
2192
+ _a[1];
2193
+ var _b = useState(),
2194
+ data = _b[0],
2195
+ setData = _b[1];
2196
+ var id = getSearchParamsValue('id');
2197
+ var cervicalCancerScreeningId = getSearchParamsValue('cervicalCancerScreeningId');
2198
+ var breastCancerScreeningId = getSearchParamsValue('breastCancerScreeningId');
2199
+ var breastCancerXRayId = getSearchParamsValue('breastCancerXRayId');
2200
+ function fetch_data() {
2201
+ return __awaiter(this, void 0, void 0, function () {
2202
+ var _data, _a;
2203
+ var _b, _c;
2204
+ return __generator(this, function (_d) {
2205
+ switch (_d.label) {
2206
+ case 0:
2207
+ if (!id) return [3, 4];
2208
+ if (!id) return [3, 2];
2209
+ return [4, fubaoRequest.get("/api/two/cancer/screening/getTwoCancerScreeningFile/page?id.equals=".concat(id), {
2210
+ unboxing: true
2211
+ })];
2212
+ case 1:
2213
+ _a = _d.sent().data;
2214
+ return [3, 3];
2215
+ case 2:
2216
+ _a = {};
2217
+ _d.label = 3;
2218
+ case 3:
2219
+ _data = _a;
2220
+ return [2, (_b = _get(_data, 'pageData.0')) !== null && _b !== void 0 ? _b : {}];
2221
+ case 4:
2222
+ if (!__DEV__) return [3, 6];
2223
+ return [4, sleep(2)];
2224
+ case 5:
2225
+ _d.sent();
2226
+ return [2, null];
2227
+ case 6:
2228
+ return [4, fubaoRequest.post("/api/two/cancer/screening/login", getSearchParamsAll())];
2229
+ case 7:
2230
+ return [2, (_c = _d.sent().data) === null || _c === void 0 ? void 0 : _c.twoCancerScreening];
2231
+ }
2232
+ });
2233
+ });
2234
+ }
2235
+ useEffect(function () {
2236
+ fetch_data().then(function (res) {
2237
+ mchcLogger.log('fetch', {
2238
+ res: res
2239
+ });
2240
+ setData(res);
2241
+ });
2242
+ return function () {};
2243
+ }, []);
2244
+ var empty_node = loading ? /*#__PURE__*/React$1.createElement(LoadingPlaceholder, null) : /*#__PURE__*/React$1.createElement(_Result, {
2245
+ status: "warning",
2246
+ title: "\u8BF7\u5148\u5EFA\u6863",
2247
+ extra: null
2248
+ });
2249
+ return data ? /*#__PURE__*/React$1.createElement("div", {
2250
+ style: {
2251
+ height: '100%',
2252
+ overflowY: 'scroll'
2253
+ }
2254
+ }, /*#__PURE__*/React$1.createElement(PanelWithChildFC, {
2255
+ headerItems: [{
2256
+ title: '姓名',
2257
+ value: _get(data, 'name')
2258
+ }, {
2259
+ title: '年龄',
2260
+ value: _get(data, 'age')
2261
+ }, {
2262
+ title: '门诊号',
2263
+ value: _get(data, 'outpatientNo')
2264
+ }],
2265
+ tabItems: [{
2266
+ key: 'CervicalCarcinoma',
2267
+ title: '宫颈癌',
2268
+ node: /*#__PURE__*/React$1.createElement(Nursing, {
2269
+ id: data.id,
2270
+ basicData: data,
2271
+ cervicalCancerScreeningId: cervicalCancerScreeningId
2272
+ })
2273
+ }, {
2274
+ key: 'MammaryCancer',
2275
+ title: '乳腺癌',
2276
+ node: /*#__PURE__*/React$1.createElement(MammaryCancer, {
2277
+ id: data.id,
2278
+ basicData: data,
2279
+ breastCancerScreeningId: breastCancerScreeningId,
2280
+ breastCancerXRayId: breastCancerXRayId
2281
+ })
2282
+ }, {
2283
+ key: 'SurveyReport',
2284
+ title: '检验检查',
2285
+ node: /*#__PURE__*/React$1.createElement(DoctorEnd_SurveyReport, {
2286
+ headerInfo: data
2287
+ })
2288
+ }, {
2289
+ key: 'ImageReport',
2290
+ title: '影像报告',
2291
+ node: /*#__PURE__*/React$1.createElement(DoctorEnd_ImageReport, {
2292
+ headerInfo: data
2293
+ })
2294
+ }, {
2295
+ key: 'BasicInfo',
2296
+ title: '基本信息',
2297
+ node: /*#__PURE__*/React$1.createElement(Pregnancies, {
2298
+ id: data.id,
2299
+ basicData: data
2300
+ })
2301
+ }]
2302
+ })) : empty_node;
2303
+ }
2304
+ export { TowCancerExam as default };
2305
+ //# sourceMappingURL=.root33.js.map