@lm_fe/pages 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 (149) hide show
  1. package/README.md +31 -0
  2. package/dist/a_chunks/.root.js +245 -0
  3. package/dist/a_chunks/.root.js.map +1 -0
  4. package/dist/a_chunks/.root10.js +474 -0
  5. package/dist/a_chunks/.root10.js.map +1 -0
  6. package/dist/a_chunks/.root11.js +170 -0
  7. package/dist/a_chunks/.root11.js.map +1 -0
  8. package/dist/a_chunks/.root12.js +200 -0
  9. package/dist/a_chunks/.root12.js.map +1 -0
  10. package/dist/a_chunks/.root13.js +113 -0
  11. package/dist/a_chunks/.root13.js.map +1 -0
  12. package/dist/a_chunks/.root14.js +735 -0
  13. package/dist/a_chunks/.root14.js.map +1 -0
  14. package/dist/a_chunks/.root15.js +58 -0
  15. package/dist/a_chunks/.root15.js.map +1 -0
  16. package/dist/a_chunks/.root16.js +172 -0
  17. package/dist/a_chunks/.root16.js.map +1 -0
  18. package/dist/a_chunks/.root17.js +258 -0
  19. package/dist/a_chunks/.root17.js.map +1 -0
  20. package/dist/a_chunks/.root18.js +416 -0
  21. package/dist/a_chunks/.root18.js.map +1 -0
  22. package/dist/a_chunks/.root19.js +427 -0
  23. package/dist/a_chunks/.root19.js.map +1 -0
  24. package/dist/a_chunks/.root2.js +76 -0
  25. package/dist/a_chunks/.root2.js.map +1 -0
  26. package/dist/a_chunks/.root20.js +958 -0
  27. package/dist/a_chunks/.root20.js.map +1 -0
  28. package/dist/a_chunks/.root21.js +235 -0
  29. package/dist/a_chunks/.root21.js.map +1 -0
  30. package/dist/a_chunks/.root22.js +158 -0
  31. package/dist/a_chunks/.root22.js.map +1 -0
  32. package/dist/a_chunks/.root23.js +959 -0
  33. package/dist/a_chunks/.root23.js.map +1 -0
  34. package/dist/a_chunks/.root24.js +759 -0
  35. package/dist/a_chunks/.root24.js.map +1 -0
  36. package/dist/a_chunks/.root25.js +281 -0
  37. package/dist/a_chunks/.root25.js.map +1 -0
  38. package/dist/a_chunks/.root3.js +1054 -0
  39. package/dist/a_chunks/.root3.js.map +1 -0
  40. package/dist/a_chunks/.root4.js +629 -0
  41. package/dist/a_chunks/.root4.js.map +1 -0
  42. package/dist/a_chunks/.root5.js +1440 -0
  43. package/dist/a_chunks/.root5.js.map +1 -0
  44. package/dist/a_chunks/.root6.js +164 -0
  45. package/dist/a_chunks/.root6.js.map +1 -0
  46. package/dist/a_chunks/.root7.js +123 -0
  47. package/dist/a_chunks/.root7.js.map +1 -0
  48. package/dist/a_chunks/.root8.js +544 -0
  49. package/dist/a_chunks/.root8.js.map +1 -0
  50. package/dist/a_chunks/.root9.js +69 -0
  51. package/dist/a_chunks/.root9.js.map +1 -0
  52. package/dist/a_chunks/extends.js +11 -0
  53. package/dist/a_chunks/extends.js.map +1 -0
  54. package/dist/a_chunks/index.js +1492 -0
  55. package/dist/a_chunks/index.js.map +1 -0
  56. package/dist/block/index.d.ts +1 -0
  57. package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/Inner.d.ts +9 -0
  58. package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/form_config.d.ts +3 -0
  59. package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/index.d.ts +3 -0
  60. package/dist/components/BF_Form/Wrap.d.ts +9 -0
  61. package/dist/components/BF_Form/index.d.ts +14 -0
  62. package/dist/components/BF_Form/use_table_config copy.d.ts +13 -0
  63. package/dist/components/BF_Form/use_table_config.d.ts +13 -0
  64. package/dist/components/BF_Form/utils.d.ts +2 -0
  65. package/dist/components/Base_List/Helper.d.ts +13 -0
  66. package/dist/components/Base_List/_MyBaseList.d.ts +9 -0
  67. package/dist/components/Base_List/index.d.ts +3 -0
  68. package/dist/components/Base_List/types.d.ts +129 -0
  69. package/dist/components/HighRiskTableEntry/index.d.ts +8 -0
  70. package/dist/components/HighRiskTableEntry/utils.d.ts +23 -0
  71. package/dist/components/IdNOButton/index copy.d.ts +6 -0
  72. package/dist/components/IdNOButton/index.d.ts +12 -0
  73. package/dist/components/Layout_Sider/Inner.d.ts +17 -0
  74. package/dist/components/Layout_Sider/index.d.ts +4 -0
  75. package/dist/components/Layout_Sider/utils.d.ts +1 -0
  76. package/dist/components/Layout_TabButton/Inner.d.ts +11 -0
  77. package/dist/components/Layout_TabButton/index.d.ts +8 -0
  78. package/dist/components/Login/Inner.d.ts +8 -0
  79. package/dist/components/Login/index.d.ts +1 -0
  80. package/dist/components/QuickDocButton/form_config.d.ts +4 -0
  81. package/dist/components/QuickDocButton/index.d.ts +6 -0
  82. package/dist/components/doctor_end/ExemplaryCase/Inner.d.ts +33 -0
  83. package/dist/components/doctor_end/ExemplaryCase/config.d.ts +27 -0
  84. package/dist/components/doctor_end/ExemplaryCase/index.d.ts +3 -0
  85. package/dist/components/doctor_end/ExemplaryCase/request.d.ts +2 -0
  86. package/dist/components/doctor_end/HeaderInfo/Inner.d.ts +3 -0
  87. package/dist/components/doctor_end/HeaderInfo/index.d.ts +4 -0
  88. package/dist/components/doctor_end/HeaderInfo/types.d.ts +10 -0
  89. package/dist/components/doctor_end/HeaderInfo/utils.d.ts +20 -0
  90. package/dist/components/doctor_end/HeaderInfoLayout/index.d.ts +3 -0
  91. package/dist/components/doctor_end/index.d.ts +3 -0
  92. package/dist/components/exception/403.d.ts +4 -0
  93. package/dist/components/exception/404.d.ts +4 -0
  94. package/dist/components/exception/500.d.ts +6 -0
  95. package/dist/components/exception/ErrorBoundary.d.ts +11 -0
  96. package/dist/components/exception/ErrorBoundarySmall.d.ts +16 -0
  97. package/dist/components/exception/SelectTip.d.ts +2 -0
  98. package/dist/components/exception/index.d.ts +1 -0
  99. package/dist/components/index.d.ts +10 -0
  100. package/dist/form_config/config_table.d.ts +2 -0
  101. package/dist/form_config/index.d.ts +1 -0
  102. package/dist/index.d.ts +6 -0
  103. package/dist/index.js +36 -0
  104. package/dist/index.js.map +1 -0
  105. package/dist/modals/entries/BF_Form/index.d.ts +4 -0
  106. package/dist/modals/entries/StupidTemplateModal2/components/TemplateSelect.d.ts +2 -0
  107. package/dist/modals/entries/StupidTemplateModal2/index.d.ts +22 -0
  108. package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +16 -0
  109. package/dist/modals/entries/modal_form/index.d.ts +29 -0
  110. package/dist/modals/entries/modal_page/index.d.ts +12 -0
  111. package/dist/modals/entries/print_modal/index.d.ts +3 -0
  112. package/dist/modals/entries/template_modal3/EditModal.d.ts +2 -0
  113. package/dist/modals/entries/template_modal3/common.d.ts +4 -0
  114. package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +1 -0
  115. package/dist/modals/entries/template_modal3/index copy 2.d.ts +19 -0
  116. package/dist/modals/entries/template_modal3/index copy.d.ts +22 -0
  117. package/dist/modals/entries/template_modal3/index.d.ts +17 -0
  118. package/dist/modals/entries/template_modal3/methods/index.d.ts +15 -0
  119. package/dist/modals/entries/template_modal3/types.d.ts +27 -0
  120. package/dist/modals/entries/test/index.d.ts +6 -0
  121. package/dist/modals/entries/text_search/index.d.ts +8 -0
  122. package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +8 -0
  123. package/dist/modals/entries//345/255/220/347/227/253/345/211/215/346/234/237/351/243/216/351/231/251/350/257/204/344/274/260/350/241/250/index.d.ts +9 -0
  124. package/dist/modals/entries//346/242/205/346/257/222/347/256/241/347/220/206/index.d.ts +8 -0
  125. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/ThrombusGysy.d.ts +9 -0
  126. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/components.d.ts +7 -0
  127. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/config.d.ts +28 -0
  128. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/utils.d.ts +9 -0
  129. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/Default/ThrombusDefault.d.ts +8 -0
  130. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/index.d.ts +3 -0
  131. package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/types.d.ts +5 -0
  132. package/dist/modals/entries//347/230/242/347/227/225/345/255/220/345/256/253/351/230/264/351/201/223/350/257/225/344/272/247/350/241/250/index.d.ts +7 -0
  133. package/dist/modals/entries//350/257/212/346/226/255/345/216/206/345/217/262/index.d.ts +8 -0
  134. package/dist/modals/entries//351/242/204/350/255/246/346/217/220/351/206/222_/351/253/230/345/215/261/345/277/253/350/256/257/add-diagnoses/add-diagnoses.d.ts +12 -0
  135. package/dist/modals/entries//351/242/204/350/255/246/346/217/220/351/206/222_/351/253/230/345/215/261/345/277/253/350/256/257/index.d.ts +20 -0
  136. package/dist/modals/entries//351/242/204/350/255/246/346/217/220/351/206/222_/351/253/230/345/215/261/345/277/253/350/256/257/util.d.ts +60 -0
  137. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/HighriskSign.d.ts +13 -0
  138. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/HighriskTimeline.d.ts +9 -0
  139. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/index copy.d.ts" +12 -0
  140. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/index.d.ts +13 -0
  141. package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/form_config.d.ts +2 -0
  142. package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/index.d.ts +8 -0
  143. package/dist/modals/index.d.ts +22 -0
  144. package/dist/modals/meta.d.ts +21 -0
  145. package/dist/pages/doc_record/Right.d.ts +6 -0
  146. package/dist/pages/doc_record/index.d.ts +7 -0
  147. package/dist/pages/index.d.ts +1 -0
  148. package/dist/utils/index.d.ts +2 -0
  149. package/package.json +46 -0
@@ -0,0 +1,629 @@
1
+ import { _ as _extends } from './extends.js';
2
+ import 'antd/es/tooltip/style';
3
+ import _Tooltip from 'antd/es/tooltip';
4
+ import 'antd/es/button/style';
5
+ import _Button from 'antd/es/button';
6
+ import 'antd/es/message/style';
7
+ import _message from 'antd/es/message';
8
+ import 'lodash/set';
9
+ import 'lodash/isEmpty';
10
+ import _get from 'lodash/get';
11
+ import 'lodash/forEach';
12
+ import { s as styleInject, b as __assign, m as mchcModal__, _ as __awaiter, a as __generator, D as DoctorEnd_ExemplaryCase } from './index.js';
13
+ import { ThunderboltOutlined, ReloadOutlined } from '@ant-design/icons';
14
+ import { mchcEnv, mchcEvent, mchcLogger, mchcConfig } from '@lm_fe/env';
15
+ import { SMchc_Common, SMchc_Doctor } from '@lm_fe/service';
16
+ import { getSearchParamsValue, ROMAN_NUMERALS } from '@lm_fe/utils';
17
+ import classnames from 'classnames';
18
+ import 'dayjs';
19
+ import React, { useState, useRef, useEffect } from 'react';
20
+ import _keys from 'lodash/keys';
21
+ import 'antd/es/row/style';
22
+ import 'antd/es/row';
23
+ import 'antd/es/col/style';
24
+ import 'antd/es/col';
25
+ import 'antd/es/list/style';
26
+ import 'antd/es/list';
27
+ import 'antd/es/spin/style';
28
+ import 'antd/es/spin';
29
+ import '@lm_fe/components_m';
30
+ import '@lm_fe/components';
31
+ import 'antd/es/form/style';
32
+ import 'antd/es/form';
33
+ import 'antd/es/result/style';
34
+ import 'antd/es/result';
35
+ import 'antd/es/menu/style';
36
+ import 'antd/es/menu';
37
+ import 'antd/es/space/style';
38
+ import 'antd/es/space';
39
+ import 'antd/es/divider/style';
40
+ import 'antd/es/divider';
41
+ var css_248z = ".index-module_levelBgc0__IsgwU {\n background-color: #fff;\n}\n.index-module_levelBgc1__Zostp {\n background-color: #cbf5d1;\n}\n.index-module_levelBgc2__hXzIV {\n background-color: #f7edd6;\n}\n.index-module_levelBgc3__iXLO3 {\n background-color: #fad9b1;\n}\n.index-module_levelBgc4__tk-PA {\n background-color: #fce5e5;\n}\n.index-module_levelBgc5__XERWb {\n background-color: #f0baba;\n}\n.index-module_header-info-wrapper__ELW9h {\n display: flex;\n height: 84px;\n padding: 8px 12px;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_header-info-content__UwPuT {\n display: flex;\n justify-content: left;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_header-info-extra__qa69p {\n flex: 1;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_header-info-extra__qa69p .index-module_new-flash-content__iGHRu {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_header-info-extra__qa69p .index-module_new-flash-content__iGHRu .index-module_icon-conetent__si7sz {\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 30px;\n height: 30px;\n margin-right: 10px;\n background-color: #fff;\n border-radius: 50%;\n transition: all 0.4s;\n opacity: 0.6;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_header-info-extra__qa69p .index-module_new-flash-content__iGHRu .index-module_icon-conetent__si7sz:hover {\n opacity: 1;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_wrapper-msg__u5NLW {\n padding: 6px 0;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_msg-top__5IKCc {\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_msg-top__5IKCc .index-module_msg-item__HMn3X {\n margin-right: 24px;\n color: #150f55;\n font-size: 16px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n word-break: break-all;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_msg-top__5IKCc .index-module_msg-item__HMn3X .index-module_value__KIHqO {\n font-weight: bold;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_msg-top__5IKCc .index-module_small-item__lJoX7 {\n margin-right: 12px;\n color: #5a6676;\n font-size: 14px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n word-break: break-all;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_msg-top__5IKCc .index-module_small-item__lJoX7 .index-module_value__KIHqO {\n font-weight: bold;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_msg-bottom__I9xv- {\n display: flex;\n font-weight: 600;\n font-size: 14px;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_msg-bottom__I9xv- .index-module_exemplary-case__v1xLs button {\n margin-right: 6px;\n color: #0aa4a2;\n outline: 1px solid #0aa4a2;\n background-color: #e6fffb;\n border: 0 none;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_msg-bottom__I9xv- .index-module_msg-infection__4NKKU {\n margin-right: 6px;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_msg-bottom__I9xv- .index-module_msg-highrisk__MkLlm {\n width: 700px;\n overflow: hidden;\n color: #932c3f;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_wrapper-btns__86BTc {\n display: flex;\n height: 66px;\n margin-right: 20px;\n overflow: hidden;\n border-radius: 4px;\n cursor: pointer;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_highrisk__yWGGR {\n display: flex;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_highrisk__yWGGR .index-module_level-btn__W6GsL {\n display: flex;\n flex-direction: column;\n justify-content: center;\n width: 44px;\n height: 66px;\n color: #fff;\n font-weight: 600;\n font-size: 18px;\n line-height: 66px;\n text-align: center;\n writing-mode: vertical-rl;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_highrisk__yWGGR .index-module_twinkling__ezoY2 {\n animation: index-module_twinkling__ezoY2 500ms ease-in-out 0s infinite normal;\n}\n@keyframes index-module_twinkling__ezoY2 {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n.index-module_header-info-wrapper__ELW9h .index-module_highrisk__yWGGR .index-module_infection-btn__DVXBb {\n display: inline-block;\n width: 44px;\n height: 66px;\n padding: 0 9px;\n color: #fff;\n font-weight: 600;\n font-size: 16px;\n text-align: center;\n writing-mode: vertical-lr;\n /*从左向右 从右向左是 writing-mode: vertical-rl;*/\n writing-mode: tb-lr;\n /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl;*/\n}\n.index-module_header-info-wrapper__ELW9h .index-module_signs__uvavL {\n display: flex;\n flex-direction: column;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_signs__uvavL .index-module_signs-btn__Vg84- {\n display: flex;\n flex: 1;\n align-items: center;\n justify-content: center;\n width: 44px;\n color: #fff;\n font-weight: 600;\n font-size: 14px;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_signs__uvavL .index-module_trial__Ce-Hy {\n background-color: #4e1303;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_signs__uvavL .index-module_pahr__AUR0Q {\n background-color: #57c5f7;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_signs__uvavL .index-module_pahr__AUR0Q em {\n color: #A83A08;\n font-size: 12px;\n}\n.index-module_header-info-wrapper__ELW9h .index-module_preeclampsia-btn__icRxH {\n width: 44px;\n height: 66px;\n padding: 0 9px;\n color: #fff;\n font-weight: 600;\n font-size: 16px;\n text-align: center;\n background-color: #cdc673;\n writing-mode: vertical-lr;\n writing-mode: tb-lr;\n}\n";
42
+ var styles = {
43
+ "levelBgc0": "index-module_levelBgc0__IsgwU",
44
+ "levelBgc1": "index-module_levelBgc1__Zostp",
45
+ "levelBgc2": "index-module_levelBgc2__hXzIV",
46
+ "levelBgc3": "index-module_levelBgc3__iXLO3",
47
+ "levelBgc4": "index-module_levelBgc4__tk-PA",
48
+ "levelBgc5": "index-module_levelBgc5__XERWb",
49
+ "header-info-wrapper": "index-module_header-info-wrapper__ELW9h",
50
+ "header-info-content": "index-module_header-info-content__UwPuT",
51
+ "header-info-extra": "index-module_header-info-extra__qa69p",
52
+ "new-flash-content": "index-module_new-flash-content__iGHRu",
53
+ "icon-conetent": "index-module_icon-conetent__si7sz",
54
+ "wrapper-msg": "index-module_wrapper-msg__u5NLW",
55
+ "msg-top": "index-module_msg-top__5IKCc",
56
+ "msg-item": "index-module_msg-item__HMn3X",
57
+ "value": "index-module_value__KIHqO",
58
+ "small-item": "index-module_small-item__lJoX7",
59
+ "msg-bottom": "index-module_msg-bottom__I9xv-",
60
+ "exemplary-case": "index-module_exemplary-case__v1xLs",
61
+ "msg-infection": "index-module_msg-infection__4NKKU",
62
+ "msg-highrisk": "index-module_msg-highrisk__MkLlm",
63
+ "wrapper-btns": "index-module_wrapper-btns__86BTc",
64
+ "highrisk": "index-module_highrisk__yWGGR",
65
+ "level-btn": "index-module_level-btn__W6GsL",
66
+ "twinkling": "index-module_twinkling__ezoY2",
67
+ "infection-btn": "index-module_infection-btn__DVXBb",
68
+ "signs": "index-module_signs__uvavL",
69
+ "signs-btn": "index-module_signs-btn__Vg84-",
70
+ "trial": "index-module_trial__Ce-Hy",
71
+ "pahr": "index-module_pahr__AUR0Q",
72
+ "preeclampsia-btn": "index-module_preeclampsia-btn__icRxH"
73
+ };
74
+ styleInject(css_248z);
75
+ var infectionNameMap = {
76
+ 艾: 'HIV',
77
+ 梅: '梅毒',
78
+ 乙: '乙肝',
79
+ 传染病: '传染病'
80
+ };
81
+ var infectionKeywordMap = {
82
+ 艾: ['HIV', 'hiv', '艾滋'],
83
+ 梅: ['梅毒'],
84
+ 乙: ['乙肝', 'HBsAg阳性', '乙型肝炎', '乙型病毒性肝炎', '小三阳', '大三阳'],
85
+ 传染病: ['结核病', '重症感染性肺炎', '特殊病毒感染', '丙型病毒性肝炎', '传染病', '病毒性肝炎', 'AIDS']
86
+ };
87
+ var infectionExcludeKeywordMap = {
88
+ 艾: [],
89
+ 梅: ['史'],
90
+ 乙: [],
91
+ 传染病: []
92
+ };
93
+ var infectionColorMap = {
94
+ 艾: '#C736FF',
95
+ 梅: '#8D36FF',
96
+ 乙: '#6236FF',
97
+ 传染病: '#9340BA'
98
+ };
99
+ var sorting = {
100
+ 艾: 1,
101
+ 梅: 2,
102
+ 乙: 3,
103
+ 传染病: -1
104
+ };
105
+ function getTheFuckingLabel(str, isMulti) {
106
+ if (isMulti === void 0) {
107
+ isMulti = false;
108
+ }
109
+ var keys = Object.keys(infectionKeywordMap);
110
+ var type = keys.reduce(function (res, key) {
111
+ if (res) return res;
112
+ var value = infectionKeywordMap[key];
113
+ var exlucdeValue = infectionExcludeKeywordMap[key];
114
+ var isTarget = value.some(function (v) {
115
+ return str.includes(v) && !exlucdeValue.includes(v);
116
+ });
117
+ return isTarget ? key : null;
118
+ }, null);
119
+ if (!type) return null;
120
+ var label = isMulti ? type : infectionNameMap[type];
121
+ var color = infectionColorMap[type];
122
+ var key = sorting[type];
123
+ return {
124
+ label: label,
125
+ type: type,
126
+ color: color,
127
+ key: key,
128
+ allType: []
129
+ };
130
+ }
131
+ function handleFuckinginfectionNoteLabel(infectionNote) {
132
+ if (!infectionNote) return [];
133
+ var arr = infectionNote.split(',').filter(function (_) {
134
+ return _ && _ !== '无';
135
+ });
136
+ var len = arr.length;
137
+ var result = arr.map(function (str) {
138
+ return getTheFuckingLabel(str, len > 1);
139
+ }).filter(function (_) {
140
+ return _;
141
+ });
142
+ var hash = {};
143
+ result = result.reduce(function (item, next) {
144
+ if (!hash[next.type]) {
145
+ hash[next.type] = true;
146
+ item.push(next);
147
+ }
148
+ return item;
149
+ }, []);
150
+ result = result.map(function (_) {
151
+ return __assign(__assign({}, _), {
152
+ allType: _keys(hash)
153
+ });
154
+ });
155
+ var 传染病item = result.find(function (item) {
156
+ return item.type === '传染病';
157
+ });
158
+ if (传染病item) {
159
+ result = [传染病item];
160
+ } else {
161
+ result.sort(function (a, b) {
162
+ return a.key - b.key;
163
+ });
164
+ }
165
+ return result;
166
+ }
167
+ function hasKeyword(arr, val) {
168
+ if (!val) return false;
169
+ return arr.some(function (_) {
170
+ return (_ === null || _ === void 0 ? void 0 : _.includes(val)) || (val === null || val === void 0 ? void 0 : val.includes(_));
171
+ });
172
+ }
173
+ function use专案(headerInfo) {
174
+ var is_show_all = false;
175
+ var multipletsArr = ['三胎妊娠', '四胎妊娠', '五胎妊娠', '六胎妊娠', '多胎妊娠'];
176
+ var twinsArr = ['双胎妊娠'];
177
+ var _a = useState(false),
178
+ isShowGdm = _a[0];
179
+ _a[1];
180
+ var _b = useState(false),
181
+ isShowBmi = _b[0];
182
+ _b[1];
183
+ var _c = useState(false),
184
+ isShowSlowGrowing = _c[0];
185
+ _c[1];
186
+ var isShowTwins = hasKeyword(twinsArr, headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.pregnancyCaseLable);
187
+ var isShowMultiplets = hasKeyword(multipletsArr, headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.pregnancyCaseLable);
188
+ var is_show_梅毒 = mchcEnv["in"](['华医']);
189
+ var is_show_乙肝 = mchcEnv["in"](['华医']);
190
+ return {
191
+ isShowGdm: isShowGdm || is_show_all,
192
+ isShowBmi: isShowBmi || is_show_all,
193
+ isShowSlowGrowing: isShowSlowGrowing || is_show_all,
194
+ isShowTwins: isShowTwins || is_show_all,
195
+ isShowMultiplets: isShowMultiplets || is_show_all,
196
+ is_show_梅毒: is_show_梅毒 || is_show_all,
197
+ is_show_乙肝: is_show_乙肝 || is_show_all
198
+ };
199
+ }
200
+ function HeaderInfoInner(props) {
201
+ var saveHeaderInfo = props.saveHeaderInfo,
202
+ isNurse = props.isNurse,
203
+ pregnancyData = props.pregnancyData;
204
+ props.getPregnancyData;
205
+ var _id = props.id;
206
+ props.basicInfo;
207
+ var onDobuleClick = props.onDobuleClick;
208
+ var pregnancyId = _id !== null && _id !== void 0 ? _id : getSearchParamsValue('id');
209
+ var _a = useState(),
210
+ headerInfo = _a[0],
211
+ setHeaderInfo = _a[1];
212
+ var _b = use专案(headerInfo),
213
+ isShowBmi = _b.isShowBmi,
214
+ isShowGdm = _b.isShowGdm,
215
+ isShowMultiplets = _b.isShowMultiplets,
216
+ isShowSlowGrowing = _b.isShowSlowGrowing,
217
+ isShowTwins = _b.isShowTwins,
218
+ is_show_乙肝 = _b.is_show_乙肝,
219
+ is_show_梅毒 = _b.is_show_梅毒;
220
+ var _c = useState(true),
221
+ isTwinkling = _c[0],
222
+ setIsTwinkling = _c[1];
223
+ var _d = useState(''),
224
+ contagionColor = _d[0],
225
+ setContagionColor = _d[1];
226
+ var _e = useState(false),
227
+ exemplaryCaseVisible = _e[0],
228
+ setExemplaryCaseVisible = _e[1];
229
+ var _f = useState('1'),
230
+ tabkey = _f[0],
231
+ setTabkey = _f[1];
232
+ var _g = useState([]),
233
+ highriskGradeConfig = _g[0],
234
+ setHighriskGradeConfig = _g[1];
235
+ var highriskLable = (headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.highriskLable) || ROMAN_NUMERALS[1];
236
+ var infectionNoteLabels = handleFuckinginfectionNoteLabel(headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.infectionNote);
237
+ var headerInfoCache = useRef(headerInfo);
238
+ headerInfoCache.current = headerInfo;
239
+ var randomIds = useRef(+new Date());
240
+ useEffect(function () {
241
+ SMchc_Common.getHighriskContagionConfig().then(function (r) {
242
+ setContagionColor(r.color);
243
+ });
244
+ SMchc_Common.getHighriskGradeConfig().then(function (r) {
245
+ setHighriskGradeConfig(r);
246
+ });
247
+ }, []);
248
+ useEffect(function () {
249
+ fetchHeaderInfo();
250
+ }, [pregnancyId]);
251
+ useEffect(function () {
252
+ return mchcEvent.on_rm('ws_event', function (e) {
253
+ if (e.type !== 'obis-doctor' || e.event !== 'message' || !e.data) return;
254
+ if (e.data.type === 'RefreshPregnancyHeaderInfo') {
255
+ mchcLogger.log('event !!', {
256
+ e: e
257
+ });
258
+ fetchHeaderInfo();
259
+ }
260
+ });
261
+ }, []);
262
+ useEffect(function () {
263
+ var rm = mchcEvent.on_rm('outpatient', function (e) {
264
+ if (e.type === '弹窗' && !isNurse) {
265
+ switch (e.modal_name) {
266
+ case '瘢痕子宫阴道试产表':
267
+ open瘢痕子宫阴道试产表();
268
+ break;
269
+ case '子痫前期风险评估表':
270
+ open子痫前期风险评估表();
271
+ break;
272
+ case '深静脉血栓高危因素孕期用药筛查表':
273
+ open深静脉血栓高危因素孕期用药筛查表();
274
+ break;
275
+ case '梅毒管理':
276
+ open梅毒管理();
277
+ break;
278
+ }
279
+ }
280
+ if (e.type === '刷新头部') {
281
+ fetchHeaderInfo();
282
+ }
283
+ });
284
+ return rm;
285
+ }, []);
286
+ function open瘢痕子宫阴道试产表() {
287
+ var _a;
288
+ mchcModal__.openOne(randomIds.current + 1, '瘢痕子宫阴道试产表', {
289
+ modal_data: {
290
+ pregnancyId: (_a = headerInfoCache.current) === null || _a === void 0 ? void 0 : _a.id
291
+ },
292
+ onClose: fetchHeaderInfo
293
+ });
294
+ }
295
+ function open子痫前期风险评估表() {
296
+ mchcModal__.openOne(randomIds.current + 2, '子痫前期风险评估表', {
297
+ modal_data: {
298
+ headerInfo: headerInfoCache.current
299
+ },
300
+ onClose: fetchHeaderInfo
301
+ });
302
+ }
303
+ function open深静脉血栓高危因素孕期用药筛查表() {
304
+ var _a;
305
+ mchcModal__.openOne(randomIds.current + 3, '深静脉血栓高危因素孕期用药筛查表', {
306
+ modal_data: {
307
+ pregnancyId: (_a = headerInfoCache.current) === null || _a === void 0 ? void 0 : _a.id
308
+ },
309
+ onClose: fetchHeaderInfo
310
+ });
311
+ }
312
+ function open梅毒管理() {
313
+ mchcModal__.openOne(randomIds.current + 4, '梅毒管理', {
314
+ modal_data: {
315
+ headerInfo: headerInfoCache.current
316
+ },
317
+ onClose: fetchHeaderInfo
318
+ });
319
+ }
320
+ function open乙肝管理() {
321
+ mchcModal__.openOne(randomIds.current + 5, '乙肝管理', {
322
+ modal_data: {
323
+ headerInfo: headerInfoCache.current
324
+ },
325
+ onClose: fetchHeaderInfo
326
+ });
327
+ }
328
+ function open高危因素管理() {
329
+ var _a;
330
+ var is护士端_禁止编辑高危因素_传染病 = mchcConfig.get('护士端_禁止编辑高危因素_传染病');
331
+ if (is护士端_禁止编辑高危因素_传染病 && isNurse) return;
332
+ setIsTwinkling(false);
333
+ mchcModal__.open('高危因素管理', {
334
+ modal_data: {
335
+ data: headerInfo,
336
+ pregnancyId: (_a = pregnancyData === null || pregnancyData === void 0 ? void 0 : pregnancyData.id) !== null && _a !== void 0 ? _a : headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.id,
337
+ handleSubmit: fetchHeaderInfo
338
+ }
339
+ });
340
+ }
341
+ function getBackGroundColor(grade) {
342
+ var backGroundColor = '';
343
+ switch (grade) {
344
+ case 'Ⅰ':
345
+ backGroundColor = styles['levelBgc1'];
346
+ break;
347
+ case 'Ⅱ':
348
+ backGroundColor = styles['levelBgc2'];
349
+ break;
350
+ case 'Ⅲ':
351
+ backGroundColor = styles['levelBgc3'];
352
+ break;
353
+ case 'Ⅳ':
354
+ backGroundColor = styles['levelBgc4'];
355
+ break;
356
+ case 'Ⅴ':
357
+ backGroundColor = styles['levelBgc5'];
358
+ break;
359
+ default:
360
+ backGroundColor = styles['levelBgc0'];
361
+ break;
362
+ }
363
+ return backGroundColor;
364
+ }
365
+ function showSpan(key) {
366
+ return (headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo[key]) ? true : false;
367
+ }
368
+ function getValue(key) {
369
+ var _a;
370
+ return (_a = headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo[key]) !== null && _a !== void 0 ? _a : '--';
371
+ }
372
+ function isHide(curgesweek) {
373
+ var bool = true;
374
+ if (typeof curgesweek == 'string') {
375
+ var index = curgesweek.indexOf('+');
376
+ var week = curgesweek;
377
+ if (index != -1) {
378
+ week = curgesweek.substr(0, index);
379
+ }
380
+ var week_ = parseInt(week);
381
+ if (week_ >= 42) {
382
+ bool = false;
383
+ }
384
+ }
385
+ return bool;
386
+ }
387
+ function showTitle(bool) {
388
+ var title = bool ? getValue('highriskNote') : getValue('highRiskDiagnosis');
389
+ var a = title && title.length > 25 ? title : '';
390
+ return a;
391
+ }
392
+ function renderInfo() {
393
+ var _a, _b, _c, _d, _e;
394
+ var highriskType = mchcConfig.get('highriskType') == 'highriskNote';
395
+ return /*#__PURE__*/React.createElement("div", {
396
+ className: classnames(styles['header-info-wrapper'], getBackGroundColor(highriskLable))
397
+ }, /*#__PURE__*/React.createElement("div", {
398
+ className: styles["header-info-content"]
399
+ }, /*#__PURE__*/React.createElement("div", {
400
+ className: styles["wrapper-btns"]
401
+ }, /*#__PURE__*/React.createElement("div", {
402
+ className: styles["highrisk"]
403
+ }, !!highriskLable && /*#__PURE__*/React.createElement("span", {
404
+ style: {
405
+ background: (_a = highriskGradeConfig.find(function (_) {
406
+ return _.label === highriskLable;
407
+ })) === null || _a === void 0 ? void 0 : _a.note
408
+ },
409
+ className: classnames(styles['level-btn'], isTwinkling && highriskLable === 'Ⅴ' && !mchcEnv.is('广三') ? styles['twinkling'] : ''),
410
+ title: JSON.stringify(props.id),
411
+ onClick: open高危因素管理
412
+ }, (_b = highriskGradeConfig.find(function (_) {
413
+ return _.label === highriskLable;
414
+ })) === null || _b === void 0 ? void 0 : _b.colorText), showSpan('infectionLable') && !!infectionNoteLabels.length ? /*#__PURE__*/React.createElement("span", {
415
+ style: {
416
+ padding: 0,
417
+ display: 'flex',
418
+ flexDirection: 'column',
419
+ writingMode: 'unset',
420
+ fontSize: infectionNoteLabels.length >> 1 ? 14 : 16
421
+ },
422
+ className: styles["infection-btn"],
423
+ title: _get(headerInfo, 'infectionLable')
424
+ }, infectionNoteLabels.map(function (_) {
425
+ return /*#__PURE__*/React.createElement("span", {
426
+ key: _.key,
427
+ onClick: function onClick() {
428
+ return (_.type === '梅' || _.type === '传染病' && _.allType.includes('梅')) && open梅毒管理();
429
+ },
430
+ style: {
431
+ background: _.color,
432
+ flex: 1,
433
+ display: 'flex',
434
+ alignItems: 'center',
435
+ justifyContent: 'center',
436
+ writingMode: 'vertical-lr'
437
+ }
438
+ }, _.label);
439
+ })) : null), /*#__PURE__*/React.createElement("div", {
440
+ className: styles["signs"]
441
+ }, showSpan('thrombusLable') && /*#__PURE__*/React.createElement("span", {
442
+ className: classnames(styles["signs-btn"], styles['trial']),
443
+ onClick: open瘢痕子宫阴道试产表
444
+ }, "\u75A4"), showSpan('cicatrixLable') && /*#__PURE__*/React.createElement("span", {
445
+ className: classnames(styles["signs-btn"], styles['pahr']),
446
+ style: {
447
+ flexDirection: 'column'
448
+ },
449
+ onClick: open深静脉血栓高危因素孕期用药筛查表
450
+ }, /*#__PURE__*/React.createElement("span", null, "VTE", /*#__PURE__*/React.createElement("em", null, (_e = (_d = (_c = headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.alertAssessment) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : '')))), showSpan('eclampsiaLable') && /*#__PURE__*/React.createElement("div", {
451
+ className: styles["preeclampsia-btn"],
452
+ onClick: open子痫前期风险评估表
453
+ }, "\u5B50\u75EB")), /*#__PURE__*/React.createElement("div", {
454
+ className: styles["wrapper-msg"]
455
+ }, /*#__PURE__*/React.createElement("div", {
456
+ className: styles["msg-top"]
457
+ }, /*#__PURE__*/React.createElement("div", {
458
+ className: styles["msg-item"]
459
+ }, /*#__PURE__*/React.createElement("span", {
460
+ className: styles["label"],
461
+ onDoubleClick: function onDoubleClick() {
462
+ return mchcModal__.open('高危因素管理', {
463
+ modal_data: {
464
+ data: headerInfo,
465
+ pregnancyId: pregnancyData === null || pregnancyData === void 0 ? void 0 : pregnancyData.id,
466
+ handleSubmit: fetchHeaderInfo
467
+ }
468
+ });
469
+ }
470
+ }, "\u59D3\u540D\uFF1A"), /*#__PURE__*/React.createElement("span", {
471
+ className: styles["value"]
472
+ }, getValue('name'))), /*#__PURE__*/React.createElement("div", {
473
+ className: styles["msg-item"]
474
+ }, /*#__PURE__*/React.createElement("span", {
475
+ className: styles["label"]
476
+ }, "\u5E74\u9F84\uFF1A"), /*#__PURE__*/React.createElement("span", {
477
+ className: styles["value"]
478
+ }, getValue('age'))), /*#__PURE__*/React.createElement("div", {
479
+ className: styles["msg-item"]
480
+ }, /*#__PURE__*/React.createElement("span", {
481
+ className: styles["label"]
482
+ }, "\u5B55\u4EA7:"), /*#__PURE__*/React.createElement("span", {
483
+ className: styles["value"]
484
+ }, getValue('g'), "/", getValue('p'))), _get(headerInfo, "labourState") ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
485
+ className: styles["msg-item"]
486
+ }, /*#__PURE__*/React.createElement("span", {
487
+ className: styles["label"]
488
+ }, "\u4EA7\u540E\uFF1A"), /*#__PURE__*/React.createElement("span", {
489
+ className: styles["value"]
490
+ }, getValue('daysAfterDelivery'))), /*#__PURE__*/React.createElement("div", {
491
+ className: styles["msg-item"]
492
+ }, /*#__PURE__*/React.createElement("span", {
493
+ className: styles["label"]
494
+ }, "\u5206\u5A29\u5B55\u5468\uFF1A"), /*#__PURE__*/React.createElement("span", {
495
+ className: styles["value"]
496
+ }, getValue('labourWeek')))) : /*#__PURE__*/React.createElement(React.Fragment, null, isHide(getValue('curgesweek')) && /*#__PURE__*/React.createElement("div", {
497
+ className: styles["msg-item"]
498
+ }, /*#__PURE__*/React.createElement("span", {
499
+ className: styles["label"]
500
+ }, "\u5B55\u5468\uFF1A"), /*#__PURE__*/React.createElement("span", {
501
+ className: styles["value"]
502
+ }, getValue('curgesweek'))), /*#__PURE__*/React.createElement("div", {
503
+ className: styles["msg-item"]
504
+ }, /*#__PURE__*/React.createElement("span", {
505
+ className: styles["label"]
506
+ }, "\u9884\u4EA7\u671F\uFF1A"), /*#__PURE__*/React.createElement("span", {
507
+ className: styles["value"]
508
+ }, getValue('edd')))), /*#__PURE__*/React.createElement("div", {
509
+ className: styles["small-item"]
510
+ }, /*#__PURE__*/React.createElement("span", {
511
+ className: styles["label"]
512
+ }, "\u5C31\u8BCA\u5361\u53F7\uFF1A"), /*#__PURE__*/React.createElement("span", {
513
+ className: styles["value"]
514
+ }, getValue('outpatientNO'))), /*#__PURE__*/React.createElement("div", {
515
+ className: styles["small-item"]
516
+ }, /*#__PURE__*/React.createElement("span", {
517
+ className: styles["label"]
518
+ }, "\u4EA7\u68C0\u7F16\u53F7\uFF1A"), /*#__PURE__*/React.createElement("span", {
519
+ className: styles["value"]
520
+ }, getValue('checkupNO')))), /*#__PURE__*/React.createElement("div", {
521
+ className: styles["msg-bottom"]
522
+ }, /*#__PURE__*/React.createElement("div", {
523
+ className: styles["exemplary-case"]
524
+ }, is_show_乙肝 && /*#__PURE__*/React.createElement(_Button, {
525
+ hidden: infectionNoteLabels.some(function (_) {
526
+ return _.type === '乙';
527
+ }),
528
+ type: "text",
529
+ size: "small",
530
+ onClick: open乙肝管理
531
+ }, "\u4E59\u809D\u4E13\u6848\u7BA1\u7406"), is_show_梅毒 && /*#__PURE__*/React.createElement(_Button, {
532
+ hidden: infectionNoteLabels.some(function (_) {
533
+ return _.type === '梅';
534
+ }),
535
+ type: "text",
536
+ size: "small",
537
+ onClick: open梅毒管理
538
+ }, "\u6885\u6BD2\u4E13\u6848\u7BA1\u7406"), isShowGdm && /*#__PURE__*/React.createElement(_Button, {
539
+ size: "small",
540
+ type: "text",
541
+ onClick: function onClick() {
542
+ setExemplaryCaseVisible(true);
543
+ setTabkey('1');
544
+ }
545
+ }, "GDM\u4E13\u6848"), isShowSlowGrowing && /*#__PURE__*/React.createElement(_Button, {
546
+ size: "small",
547
+ type: "text",
548
+ onClick: function onClick() {
549
+ setExemplaryCaseVisible(true);
550
+ setTabkey('2');
551
+ }
552
+ }, "\u80CE\u513F\u751F\u957F\u7F13\u6162\u4E13\u6848"), isShowBmi && /*#__PURE__*/React.createElement(_Button, {
553
+ size: "small",
554
+ type: "text",
555
+ onClick: function onClick() {
556
+ setExemplaryCaseVisible(true);
557
+ setTabkey('3');
558
+ }
559
+ }, "BMI\u9AD8\u5371\u4E13\u6848"), isShowMultiplets && /*#__PURE__*/React.createElement(_Button, {
560
+ size: "small",
561
+ type: "text",
562
+ onClick: function onClick() {
563
+ setExemplaryCaseVisible(true);
564
+ setTabkey('5');
565
+ }
566
+ }, _get(props, "headerInfo.pregnancyCaseLable") || '多胎', "\u598A\u5A20\u4E13\u6848")), showSpan('infectionNote') ? /*#__PURE__*/React.createElement("div", {
567
+ style: {
568
+ color: contagionColor
569
+ },
570
+ className: styles["msg-infection"]
571
+ }, "\u4F20\u67D3\u75C5\uFF1A", getValue('infectionNote') || '无', " /") : null, /*#__PURE__*/React.createElement(_Tooltip, {
572
+ placement: "bottomLeft",
573
+ title: showTitle(highriskType)
574
+ }, highriskType ? /*#__PURE__*/React.createElement("div", {
575
+ className: styles["msg-highrisk"]
576
+ }, "\u9AD8\u5371\u56E0\u7D20\uFF1A", getValue('highriskNote') || '无') : /*#__PURE__*/React.createElement("div", {
577
+ className: styles["msg-highrisk"]
578
+ }, "\u9AD8\u5371\u8BCA\u65AD\uFF1A", getValue('highRiskDiagnosis') || '无'))))), /*#__PURE__*/React.createElement("div", {
579
+ className: styles["header-info-extra"]
580
+ }, /*#__PURE__*/React.createElement("div", {
581
+ className: styles["new-flash-content"]
582
+ }, /*#__PURE__*/React.createElement("div", {
583
+ hidden: isNurse,
584
+ className: styles["icon-conetent"],
585
+ onClick: onDobuleClick
586
+ }, /*#__PURE__*/React.createElement(ThunderboltOutlined, {
587
+ style: {
588
+ color: 'red'
589
+ }
590
+ })), /*#__PURE__*/React.createElement("div", {
591
+ className: styles["icon-conetent"],
592
+ onClick: function onClick() {
593
+ return fetchHeaderInfo().then(function () {
594
+ return _message.info('刷新成功');
595
+ });
596
+ }
597
+ }, /*#__PURE__*/React.createElement(ReloadOutlined, null)))));
598
+ }
599
+ function fetchHeaderInfo() {
600
+ return __awaiter(this, void 0, void 0, function () {
601
+ var data;
602
+ return __generator(this, function (_a) {
603
+ switch (_a.label) {
604
+ case 0:
605
+ if (!pregnancyId) return [2];
606
+ return [4, SMchc_Doctor.getOutpatientHeaderInfo(pregnancyId)];
607
+ case 1:
608
+ data = _a.sent();
609
+ saveHeaderInfo === null || saveHeaderInfo === void 0 ? void 0 : saveHeaderInfo(data);
610
+ setHeaderInfo(data);
611
+ return [2];
612
+ }
613
+ });
614
+ });
615
+ }
616
+ return /*#__PURE__*/React.createElement(React.Fragment, null, renderInfo(), exemplaryCaseVisible && /*#__PURE__*/React.createElement(DoctorEnd_ExemplaryCase, _extends({
617
+ onClose: function onClose() {
618
+ return setExemplaryCaseVisible(false);
619
+ },
620
+ isShowGdm: isShowGdm || true,
621
+ isShowBmi: isShowBmi || true,
622
+ isShowSlowGrowing: isShowSlowGrowing || true,
623
+ isShowTwins: isShowTwins || true,
624
+ isShowMultiplets: isShowMultiplets || true,
625
+ tabkey: tabkey
626
+ }, props)));
627
+ }
628
+ export { HeaderInfoInner as default };
629
+ //# sourceMappingURL=.root4.js.map