@lm_fe/pages 0.2.2 → 0.2.6

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 (52) hide show
  1. package/README.md +1 -1
  2. package/dist/a_chunks/{.root5.js → components.doctor_end.HeaderInfo.js} +3 -4
  3. package/dist/a_chunks/index.js +150 -64
  4. package/dist/a_chunks/{.root22.js → modals.entries.template_modal3.js} +5 -5
  5. package/dist/a_chunks/modals.entries./346/213/223/345/261/225/351/207/217/350/241/250.js +257 -0
  6. package/dist/a_chunks/{.root28.js → 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.js} +1 -1
  7. package/dist/a_chunks/{.root32.js → modals.entries./351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206.js} +3 -2
  8. package/dist/a_chunks/{.root33.js → modals.entries./351/253/230/345/215/261/351/232/217/350/256/277.js} +1 -1
  9. package/dist/a_chunks/{.root10.js → src.block./346/243/200/351/252/214/346/243/200/346/237/245.js} +48 -149
  10. package/dist/a_chunks/{.root4.js → src.components.Base_List.js} +14 -3
  11. package/dist/a_chunks/{.root2.js → src.components.Layout_Sider.js} +1 -4
  12. package/dist/a_chunks/{.root3.js → src.components.Layout_TabButton.js} +4 -1
  13. package/dist/components/HighRiskTableEntry/utils.d.ts +4 -3
  14. package/dist/curve/components/FetusCanvas/use_fetus.d.ts +33 -0
  15. package/dist/curve/components-new/BmiCanvas/index.d.ts +23 -0
  16. package/dist/curve/components-new/FetusCanvas/index.d.ts +19 -0
  17. package/dist/curve/components-new/FetusCanvasNICHD/index.d.ts +21 -0
  18. package/dist/curve/components-new/Pregnogram/index.d.ts +13 -0
  19. package/dist/hooks/use_duck_form.d.ts +18 -0
  20. package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +22 -0
  21. package/dist/modals/entries/template_modal3/index.d.ts +1 -0
  22. package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/History.d.ts +10 -0
  23. package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/index.d.ts +9 -0
  24. 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
  25. package/dist/modals/index.d.ts +2 -1
  26. package/dist/modals/meta.d.ts +2 -1
  27. package/package.json +8 -8
  28. /package/dist/a_chunks/{.root6.js → components.doctor_end.ExemplaryCase.js} +0 -0
  29. /package/dist/a_chunks/{.root11.js → curve.components.BmiCanvas.js} +0 -0
  30. /package/dist/a_chunks/{.root12.js → curve.components.FetusCanvas.js} +0 -0
  31. /package/dist/a_chunks/{.root13.js → curve.components.FetusCanvasNICHD.js} +0 -0
  32. /package/dist/a_chunks/{.root14.js → curve.components.Pregnogram.js} +0 -0
  33. /package/dist/a_chunks/{.root15.js → modals.entries.BF_Form.js} +0 -0
  34. /package/dist/a_chunks/{.root16.js → modals.entries.StupidTemplateModal2.js} +0 -0
  35. /package/dist/a_chunks/{.root17.js → modals.entries.box.js} +0 -0
  36. /package/dist/a_chunks/{.root18.js → modals.entries.modal_form.js} +0 -0
  37. /package/dist/a_chunks/{.root19.js → modals.entries.modal_page.js} +0 -0
  38. /package/dist/a_chunks/{.root20.js → modals.entries.print_modal.js} +0 -0
  39. /package/dist/a_chunks/{.root21.js → modals.entries.result_template.js} +0 -0
  40. /package/dist/a_chunks/{.root23.js → modals.entries.test.js} +0 -0
  41. /package/dist/a_chunks/{.root24.js → modals.entries.text_search.js} +0 -0
  42. /package/dist/a_chunks/{.root25.js → modals.entries./344/271/231/350/202/235/347/256/241/347/220/206.js"} +0 -0
  43. /package/dist/a_chunks/{.root26.js → 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.js"} +0 -0
  44. /package/dist/a_chunks/{.root27.js → modals.entries./346/242/205/346/257/222/347/256/241/347/220/206.js"} +0 -0
  45. /package/dist/a_chunks/{.root29.js → 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.js"} +0 -0
  46. /package/dist/a_chunks/{.root30.js → modals.entries./350/257/212/346/226/255/345/216/206/345/217/262.js"} +0 -0
  47. /package/dist/a_chunks/{.root31.js → 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.js"} +0 -0
  48. /package/dist/a_chunks/{.root34.js → modals.entries./351/253/230/345/215/261/351/232/217/350/256/2772.js"} +0 -0
  49. /package/dist/a_chunks/{.root7.js → src.components.Login.js} +0 -0
  50. /package/dist/a_chunks/{.root9.js → src.components.MenuSearch.js} +0 -0
  51. /package/dist/a_chunks/{.root8.js → src.components.QuickDocButton.js} +0 -0
  52. /package/dist/a_chunks/{.root.js → src.pages.questionnaire.js} +0 -0
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # yargs-parser
1
+ # yargs-parser @0@
2
2
 
3
3
 
4
4
 
@@ -9,7 +9,7 @@ import React, { useState, useRef, useEffect } from 'react';
9
9
  import { MyIcon, PatientSelect } from '@lm_fe/components';
10
10
  import { OkButton } from '@lm_fe/components_m';
11
11
  import { use_provoke } from '@lm_fe/provoke';
12
- var css_248z = ".index-module_outpatientNO__Lso6m .ant-select-selector {\n background: rgba(255, 255, 255, 0.4) !important;\n}\n.index-module_header-info-wrapper__ELW9h {\n display: flex;\n padding: 6px;\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 font-size: 18px;\n margin-right: 10px;\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 max-width: 190px;\n font-size: 14px;\n margin-right: 10px;\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-highrisk__MkLlm {\n max-width: 480px;\n overflow: hidden;\n margin-right: 6px;\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.index-module_label__eQPR5 {\n color: #666;\n}\n";
12
+ var css_248z = ".index-module_outpatientNO__Lso6m .ant-select {\n overflow: hidden;\n}\n.index-module_outpatientNO__Lso6m .ant-select-selector {\n border: 2px solid rgba(255, 255, 255, 0.4) !important;\n background: rgba(255, 255, 255, 0.3) !important;\n}\n.index-module_header-info-wrapper__ELW9h {\n display: flex;\n padding: 6px;\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 font-size: 18px;\n margin-right: 10px;\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 max-width: 190px;\n font-size: 14px;\n margin-right: 10px;\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-highrisk__MkLlm {\n max-width: 480px;\n overflow: hidden;\n margin-right: 6px;\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.index-module_label__eQPR5 {\n color: #666;\n}\n";
13
13
  var styles = {
14
14
  "outpatientNO": "index-module_outpatientNO__Lso6m",
15
15
  "header-info-wrapper": "index-module_header-info-wrapper__ELW9h",
@@ -429,10 +429,8 @@ function HeaderInfoInner(props) {
429
429
  }, getValue('age'), "\u5C81")), /*#__PURE__*/React.createElement("div", {
430
430
  className: styles['small-item']
431
431
  }, /*#__PURE__*/React.createElement("span", {
432
- className: styles['label']
433
- }, "\u5B55\u4EA7\uFF1A"), /*#__PURE__*/React.createElement("span", {
434
432
  className: styles['value']
435
- }, getValue('g'), "/", getValue('p'))), get(headerInfo, "labourState") ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
433
+ }, "G", getValue('g'), "P", getValue('p'))), get(headerInfo, "labourState") ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
436
434
  className: styles['small-item']
437
435
  }, /*#__PURE__*/React.createElement("span", {
438
436
  className: styles['label']
@@ -463,6 +461,7 @@ function HeaderInfoInner(props) {
463
461
  }, "\u5C31\u8BCA\u5361\u53F7\uFF1A"), render_select()), info_addon.map(function (_) {
464
462
  var txt = getValue(_.value);
465
463
  return /*#__PURE__*/React.createElement("div", {
464
+ key: _.label,
466
465
  className: styles['small-item'],
467
466
  title: txt
468
467
  }, /*#__PURE__*/React.createElement("span", {
@@ -1,13 +1,13 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import { GlobalModal, MountGlobalModal, MyIcon as MyIcon$1, MyMonaco, MyLazyComponent as MyLazyComponent$1, LazyAntd, useMchcDriverStatus } from '@lm_fe/components';
3
- import { request, getSearchParamsValue, genHappyPath, copyText, expect_array, confirm_operation, getSearchParamsAll, debounce, safe_json_parse_arr, calc_edd_by_IVF, calc_edd_by_ntExam, diff_between, identity, formatDate } from '@lm_fe/utils';
3
+ import { request, getSearchParamsValue, genHappyPath, copyText, expect_array, confirm_operation, getSearchParamsAll, isObject, debounce, safe_json_parse_arr, calc_edd_by_IVF, calc_edd_by_ntExam, diff_between, identity, formatDate } from '@lm_fe/utils';
4
4
  import { Spin, Button, Row, Col, List, Tooltip, Result, Space, message, Form, Menu, Divider } from 'antd';
5
5
  import classnames from 'classnames';
6
6
  import { get, keys, isString } from 'lodash';
7
7
  import React, { lazy, useState, useEffect, useRef, useMemo } from 'react';
8
8
  import { PDFPreview_View, MyIcon, OkButton, MySwitch, LoadingPlaceholder, MyLazyComponent, Dropdown_L, FormSectionForm, MyFormSectionForm } from '@lm_fe/components_m';
9
9
  import { mchcEnv, mchcEvent, mchcLogger, mchcDriver } from '@lm_fe/env';
10
- import { use_provoke, calc_colors } from '@lm_fe/provoke';
10
+ import { use_provoke, calc_colors, peek_provoke } from '@lm_fe/provoke';
11
11
  import { SLocal_History, SMchc_TableConfig, SLocal_Calculator, SLocal_State, mchcEnums, defineFormConfig, ModelService } from '@lm_fe/service';
12
12
 
13
13
  /******************************************************************************
@@ -214,61 +214,64 @@ var css_248z$2 = ".nuser-record {\n border-bottom: 1px solid #ccc;\n}\n.nuser-r
214
214
  styleInject(css_248z$2);
215
215
  var routesData = {
216
216
  "bf_form": /*#__PURE__*/lazy(function () {
217
- return import('./.root15.js');
218
- }),
219
- "stupidtemplatemodal2": /*#__PURE__*/lazy(function () {
220
- return import('./.root16.js');
217
+ return import('./modals.entries.BF_Form.js');
221
218
  }),
222
219
  "box": /*#__PURE__*/lazy(function () {
223
- return import('./.root17.js');
220
+ return import('./modals.entries.box.js');
224
221
  }),
225
222
  "modal_form": /*#__PURE__*/lazy(function () {
226
- return import('./.root18.js');
223
+ return import('./modals.entries.modal_form.js');
227
224
  }),
228
225
  "modal_page": /*#__PURE__*/lazy(function () {
229
- return import('./.root19.js');
226
+ return import('./modals.entries.modal_page.js');
230
227
  }),
231
228
  "print_modal": /*#__PURE__*/lazy(function () {
232
- return import('./.root20.js');
229
+ return import('./modals.entries.print_modal.js');
233
230
  }),
234
231
  "result_template": /*#__PURE__*/lazy(function () {
235
- return import('./.root21.js');
232
+ return import('./modals.entries.result_template.js');
233
+ }),
234
+ "stupidtemplatemodal2": /*#__PURE__*/lazy(function () {
235
+ return import('./modals.entries.StupidTemplateModal2.js');
236
236
  }),
237
237
  "template_modal3": /*#__PURE__*/lazy(function () {
238
- return import('./.root22.js');
238
+ return import('./modals.entries.template_modal3.js');
239
239
  }),
240
240
  "test": /*#__PURE__*/lazy(function () {
241
- return import('./.root23.js');
241
+ return import('./modals.entries.test.js');
242
242
  }),
243
243
  "text_search": /*#__PURE__*/lazy(function () {
244
- return import('./.root24.js');
244
+ return import('./modals.entries.text_search.js');
245
245
  }),
246
246
  "乙肝管理": /*#__PURE__*/lazy(function () {
247
- return import('./.root25.js');
247
+ return import('./modals.entries.乙肝管理.js');
248
248
  }),
249
249
  "子痫前期风险评估表": /*#__PURE__*/lazy(function () {
250
- return import('./.root26.js');
250
+ return import('./modals.entries.子痫前期风险评估表.js');
251
+ }),
252
+ "拓展量表": /*#__PURE__*/lazy(function () {
253
+ return import('./modals.entries.拓展量表.js');
251
254
  }),
252
255
  "梅毒管理": /*#__PURE__*/lazy(function () {
253
- return import('./.root27.js');
256
+ return import('./modals.entries.梅毒管理.js');
254
257
  }),
255
258
  "深静脉血栓高危因素孕期用药筛查表": /*#__PURE__*/lazy(function () {
256
- return import('./.root28.js');
259
+ return import('./modals.entries.深静脉血栓高危因素孕期用药筛查表.js');
257
260
  }),
258
261
  "瘢痕子宫阴道试产表": /*#__PURE__*/lazy(function () {
259
- return import('./.root29.js');
262
+ return import('./modals.entries.瘢痕子宫阴道试产表.js');
260
263
  }),
261
264
  "诊断历史": /*#__PURE__*/lazy(function () {
262
- return import('./.root30.js');
265
+ return import('./modals.entries.诊断历史.js');
263
266
  }),
264
267
  "预警提醒_高危快讯": /*#__PURE__*/lazy(function () {
265
- return import('./.root31.js');
268
+ return import('./modals.entries.预警提醒_高危快讯.js');
266
269
  }),
267
270
  "高危因素管理": /*#__PURE__*/lazy(function () {
268
- return import('./.root32.js');
271
+ return import('./modals.entries.高危因素管理.js');
269
272
  }),
270
273
  "高危随访": /*#__PURE__*/lazy(function () {
271
- return import('./.root33.js');
274
+ return import('./modals.entries.高危随访.js');
272
275
  })
273
276
  };
274
277
  var mchcModal__ = new GlobalModal();
@@ -458,7 +461,7 @@ function Page_DocRecord(props) {
458
461
  }, renderContent()));
459
462
  }
460
463
  var Questionnaire = /*#__PURE__*/lazy(function () {
461
- return import('./.root.js');
464
+ return import('./src.pages.questionnaire.js');
462
465
  });
463
466
  function Inner$1(_a) {
464
467
  var onChange = _a.onChange;
@@ -542,16 +545,16 @@ function QuestionnaireButton(props) {
542
545
  var collapsedWidth = 50;
543
546
  var width = 232;
544
547
  var Inner = /*#__PURE__*/lazy(function () {
545
- return import('./.root2.js');
548
+ return import('./src.components.Layout_Sider.js');
546
549
  });
547
550
  function Layout_Sider(props) {
548
551
  return /*#__PURE__*/React.createElement(Inner, _assign({}, props));
549
552
  }
550
553
  var Layout_TabButton = /*#__PURE__*/lazy(function () {
551
- return import('./.root3.js');
554
+ return import('./src.components.Layout_TabButton.js');
552
555
  });
553
556
  var MyBaseList = /*#__PURE__*/lazy(function () {
554
- return import('./.root4.js');
557
+ return import('./src.components.Base_List.js');
555
558
  });
556
559
  var css_248z$1 = ".error-boundary {\n height: calc(100vh - 108px);\n}\n.error-boundary .react-codemirror2:nth-of-type(2) {\n height: calc(100% - 300px);\n}\n.error-boundary .react-codemirror2:nth-of-type(2) .CodeMirror {\n height: 100%;\n}\n.error-boundary .CodeMirror-scroll {\n padding-bottom: 0;\n}\n.select-tip {\n width: 100%;\n height: 100%;\n}\n.select-tip img {\n height: 143px;\n width: auto;\n}\n.select-tip .ant-result-title {\n font-size: 16px;\n}\n.custom-result {\n height: 100%;\n}\n.custom-result .ant-result-extra {\n margin-top: 12px;\n}\n";
557
560
  styleInject(css_248z$1);
@@ -632,7 +635,7 @@ var config_table_fd = function config_table_fd(props) {
632
635
  inputType: 'MyMonaco',
633
636
  inputProps: {
634
637
  language: 'javascript',
635
- height: '70vh'
638
+ height: '74vh'
636
639
  },
637
640
  dataIndex: 'tableColumns'
638
641
  }]
@@ -679,6 +682,15 @@ var config_table_fd = function config_table_fd(props) {
679
682
  layout: '1/3',
680
683
  inputType: 'MyInput',
681
684
  dataIndex: 'dept'
685
+ }, {
686
+ title: '标签宽度',
687
+ layout: '1/3',
688
+ inputType: 'InputNumber',
689
+ inputProps: {
690
+ min: 2,
691
+ max: 20
692
+ },
693
+ dataIndex: 'targetLabelCol'
682
694
  }, {
683
695
  title: '表单回选前钩子',
684
696
  hidden: true,
@@ -687,7 +699,7 @@ var config_table_fd = function config_table_fd(props) {
687
699
  inputType: 'MyMonaco',
688
700
  inputProps: {
689
701
  language: 'javascript',
690
- height: '50vh'
702
+ height: '56vh'
691
703
  },
692
704
  dataIndex: 'handleBeforePopup'
693
705
  }]
@@ -699,7 +711,7 @@ var config_table_fd = function config_table_fd(props) {
699
711
  inputType: 'MyMonaco',
700
712
  inputProps: {
701
713
  language: 'javascript',
702
- height: '50vh'
714
+ height: '56vh'
703
715
  },
704
716
  dataIndex: 'watchScript'
705
717
  }]
@@ -711,7 +723,7 @@ var config_table_fd = function config_table_fd(props) {
711
723
  inputType: 'MyMonaco',
712
724
  inputProps: {
713
725
  language: 'javascript',
714
- height: '50vh'
726
+ height: '56vh'
715
727
  },
716
728
  dataIndex: 'beforeSubmit'
717
729
  }]
@@ -818,7 +830,7 @@ var config_table_fd = function config_table_fd(props) {
818
830
  inputType: 'MyMonaco',
819
831
  inputProps: {
820
832
  language: 'javascript',
821
- height: '50vh'
833
+ height: '56vh'
822
834
  },
823
835
  dataIndex: 'searchConfig'
824
836
  }]
@@ -830,7 +842,7 @@ var config_table_fd = function config_table_fd(props) {
830
842
  inputType: 'MyMonaco',
831
843
  inputProps: {
832
844
  language: 'javascript',
833
- height: '50vh'
845
+ height: '56vh'
834
846
  },
835
847
  dataIndex: 'searchParams'
836
848
  }]
@@ -842,7 +854,7 @@ var config_table_fd = function config_table_fd(props) {
842
854
  inputType: 'MyMonaco',
843
855
  inputProps: {
844
856
  language: 'javascript',
845
- height: '50vh'
857
+ height: '56vh'
846
858
  },
847
859
  dataIndex: 'initialSearchValue'
848
860
  }]
@@ -854,7 +866,7 @@ var config_table_fd = function config_table_fd(props) {
854
866
  inputType: 'MyMonaco',
855
867
  inputProps: {
856
868
  language: 'javascript',
857
- height: '50vh'
869
+ height: '56vh'
858
870
  },
859
871
  dataIndex: 'genColumns'
860
872
  }]
@@ -866,7 +878,7 @@ var config_table_fd = function config_table_fd(props) {
866
878
  inputType: 'MyMonaco',
867
879
  inputProps: {
868
880
  language: 'javascript',
869
- height: '50vh'
881
+ height: '56vh'
870
882
  },
871
883
  dataIndex: 'RenderBtns'
872
884
  }]
@@ -1299,7 +1311,7 @@ function use_headinfo_color(highriskLable) {
1299
1311
  };
1300
1312
  }
1301
1313
  var HeaderInfoInner = /*#__PURE__*/lazy(function () {
1302
- return import('./.root5.js');
1314
+ return import('./components.doctor_end.HeaderInfo.js');
1303
1315
  });
1304
1316
  function DoctorEnd_HeaderInfo(props) {
1305
1317
  return /*#__PURE__*/React.createElement(MyLazyComponent$1, {
@@ -1318,7 +1330,7 @@ var DoctorEnd_HeaderInfoLayout = function HeaderInfoLayout(props) {
1318
1330
  }, props.children));
1319
1331
  };
1320
1332
  var DoctorEnd_ExemplaryCase = /*#__PURE__*/lazy(function () {
1321
- return import('./.root6.js');
1333
+ return import('./components.doctor_end.ExemplaryCase.js');
1322
1334
  });
1323
1335
  var SelectTip = function SelectTip() {
1324
1336
  return /*#__PURE__*/React.createElement(Result, {
@@ -1327,7 +1339,7 @@ var SelectTip = function SelectTip() {
1327
1339
  });
1328
1340
  };
1329
1341
  var Mchc_Login = /*#__PURE__*/lazy(function () {
1330
- return import('./.root7.js');
1342
+ return import('./src.components.Login.js');
1331
1343
  });
1332
1344
  function quick_doc(page_type, _onSubmit) {
1333
1345
  if (_onSubmit === void 0) {
@@ -1411,7 +1423,7 @@ function quick_doc(page_type, _onSubmit) {
1411
1423
  });
1412
1424
  },
1413
1425
  formDescriptions: function formDescriptions() {
1414
- return import('./.root8.js');
1426
+ return import('./src.components.QuickDocButton.js');
1415
1427
  }
1416
1428
  }
1417
1429
  });
@@ -1539,7 +1551,9 @@ var remindEnum;
1539
1551
  remindEnum[remindEnum["remind"] = isRemid] = "remind";
1540
1552
  remindEnum[remindEnum["no"] = isNoop] = "no";
1541
1553
  })(remindEnum || (remindEnum = {}));
1542
- function highRiskTablePopup(res) {
1554
+ function highRiskTablePopup(res, headerInfo) {
1555
+ var _a, _b;
1556
+ if (peek_provoke().config.禁用量表自动弹出) return;
1543
1557
  var isOpenSCTable = res.isOpenSCTable,
1544
1558
  isOpenEclampsiaTable = res.isOpenEclampsiaTable,
1545
1559
  isOpenVTETable = res.isOpenVTETable;
@@ -1561,32 +1575,71 @@ function highRiskTablePopup(res) {
1561
1575
  modal_name: '深静脉血栓高危因素孕期用药筛查表'
1562
1576
  });
1563
1577
  }
1578
+ var 量表拓展 = (_b = (_a = peek_provoke('config')) === null || _a === void 0 ? void 0 : _a.量表拓展) !== null && _b !== void 0 ? _b : [];
1579
+ Object.keys(res).filter(function (k) {
1580
+ return k.startsWith('isOpen');
1581
+ }).forEach(function (k) {
1582
+ var ext_value = k.replace('isOpen', '');
1583
+ var ext = 量表拓展.find(function (e) {
1584
+ return e.value === ext_value;
1585
+ });
1586
+ if (!ext) return;
1587
+ mchcModal__.open('拓展量表', {
1588
+ modal_data: {
1589
+ headerInfo: headerInfo,
1590
+ ext: ext
1591
+ }
1592
+ });
1593
+ });
1564
1594
  }
1565
1595
  var popupRemindkeyMap = {
1566
1596
  VTE: ['cicatrixLable', 'isOpenVTETable'],
1567
1597
  子痫: ['eclampsiaLable', 'isOpenEclampsiaTable'],
1568
1598
  瘢痕子宫: ['thrombusLable', 'isOpenSCTable']
1569
1599
  };
1570
- function isShowPopupRemind(key, headerInfo, value) {
1600
+ function isShowPopupRemind(key_or_ext, headerInfo, value) {
1571
1601
  if (!headerInfo || !value) return false;
1572
- var item = popupRemindkeyMap[key];
1573
- var valueOfHeaderinfo = headerInfo[item[0]];
1574
- var valueOfRvisit = value[item[1]];
1575
- return !valueOfHeaderinfo && (valueOfRvisit == remindEnum.popup || valueOfRvisit == remindEnum.remind) ? true : false;
1602
+ var head_key;
1603
+ var visit_key;
1604
+ if (isObject(key_or_ext)) {
1605
+ var ext_key = key_or_ext.value;
1606
+ head_key = "".concat(ext_key, "Lable");
1607
+ visit_key = "isOpen".concat(ext_key);
1608
+ } else {
1609
+ var item = popupRemindkeyMap[key_or_ext];
1610
+ head_key = item[0];
1611
+ visit_key = item[1];
1612
+ }
1613
+ var valueOfHeaderinfo = headerInfo[head_key];
1614
+ var valueOfRvisit = value[visit_key];
1615
+ if (valueOfHeaderinfo) return false;
1616
+ return valueOfRvisit == remindEnum.popup || valueOfRvisit == remindEnum.remind;
1576
1617
  }
1577
1618
  var wraning_color = 'rgb(255, 146, 0)';
1578
1619
  function _HighRiskTableEntry(props) {
1579
1620
  var _a, _b, _c;
1621
+ var _d, _e;
1580
1622
  var headerInfo = props.headerInfo,
1581
1623
  data = props.data;
1624
+ var config = use_provoke('config').config;
1625
+ var ext_arr = (_d = config.量表拓展) !== null && _d !== void 0 ? _d : [];
1626
+ var hiden_old_arr = (_e = config.旧版量表隐藏) !== null && _e !== void 0 ? _e : [];
1582
1627
  useEffect(function () {
1583
1628
  return function () {};
1584
1629
  }, []);
1585
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, null, mchcEnv.is('广三') || /*#__PURE__*/React.createElement(Button, {
1630
+ var show_瘢痕子宫 = isShowPopupRemind('瘢痕子宫', headerInfo, data);
1631
+ var show_子痫 = isShowPopupRemind('子痫', headerInfo, data);
1632
+ var show_VTE = isShowPopupRemind('VTE', headerInfo, data);
1633
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Space, {
1586
1634
  style: {
1587
- borderColor: isShowPopupRemind('瘢痕子宫', headerInfo, data) ? wraning_color : undefined
1635
+ flexWrap: 'wrap'
1636
+ }
1637
+ }, /*#__PURE__*/React.createElement(OkButton, {
1638
+ hidden: hiden_old_arr.includes('瘢痕子宫'),
1639
+ style: {
1640
+ borderColor: show_瘢痕子宫 ? wraning_color : undefined
1588
1641
  },
1589
- className: classnames(styles['his-btn'], (_a = {}, _a[styles['btn-risk']] = isShowPopupRemind('瘢痕子宫', headerInfo, data), _a)),
1642
+ className: classnames(styles['his-btn'], (_a = {}, _a[styles['btn-risk']] = show_瘢痕子宫, _a)),
1590
1643
  type: "dashed",
1591
1644
  icon: /*#__PURE__*/React.createElement(MyIcon$1, {
1592
1645
  value: 'TableOutlined'
@@ -1597,10 +1650,13 @@ function _HighRiskTableEntry(props) {
1597
1650
  modal_name: '瘢痕子宫阴道试产表'
1598
1651
  });
1599
1652
  }
1600
- }, "\u7622\u75D5\u5B50\u5BAB\u9634\u9053\u8BD5\u4EA7\u8868", showRisk('瘢痕子宫', props)), /*#__PURE__*/React.createElement(Button, {
1601
- className: classnames(styles['his-btn'], (_b = {}, _b[styles['btn-risk']] = isShowPopupRemind('子痫', headerInfo, data), _b)),
1653
+ }, "\u7622\u75D5\u5B50\u5BAB\u9634\u9053\u8BD5\u4EA7\u8868", /*#__PURE__*/React.createElement(ShowRisk, {
1654
+ show: show_瘢痕子宫
1655
+ })), /*#__PURE__*/React.createElement(OkButton, {
1656
+ hidden: hiden_old_arr.includes('子痫'),
1657
+ className: classnames(styles['his-btn'], (_b = {}, _b[styles['btn-risk']] = show_子痫, _b)),
1602
1658
  style: {
1603
- borderColor: isShowPopupRemind('子痫', headerInfo, data) ? wraning_color : undefined
1659
+ borderColor: show_子痫 ? wraning_color : undefined
1604
1660
  },
1605
1661
  type: "dashed",
1606
1662
  icon: /*#__PURE__*/React.createElement(MyIcon$1, {
@@ -1612,10 +1668,13 @@ function _HighRiskTableEntry(props) {
1612
1668
  modal_name: '子痫前期风险评估表'
1613
1669
  });
1614
1670
  }
1615
- }, "\u5B50\u75EB\u524D\u671F\u98CE\u9669\u8BC4\u4F30\u8868", showRisk('子痫', props)), /*#__PURE__*/React.createElement(Button, {
1616
- className: classnames(styles['his-btn'], (_c = {}, _c[styles['btn-risk']] = isShowPopupRemind('VTE', headerInfo, data), _c)),
1671
+ }, "\u5B50\u75EB\u524D\u671F\u98CE\u9669\u8BC4\u4F30\u8868", /*#__PURE__*/React.createElement(ShowRisk, {
1672
+ show: show_子痫
1673
+ })), /*#__PURE__*/React.createElement(OkButton, {
1674
+ hidden: hiden_old_arr.includes('VTE'),
1675
+ className: classnames(styles['his-btn'], (_c = {}, _c[styles['btn-risk']] = show_VTE, _c)),
1617
1676
  style: {
1618
- borderColor: isShowPopupRemind('VTE', headerInfo, data) ? wraning_color : undefined
1677
+ borderColor: show_VTE ? wraning_color : undefined
1619
1678
  },
1620
1679
  type: "dashed",
1621
1680
  icon: /*#__PURE__*/React.createElement(MyIcon$1, {
@@ -1627,10 +1686,37 @@ function _HighRiskTableEntry(props) {
1627
1686
  modal_name: '深静脉血栓高危因素孕期用药筛查表'
1628
1687
  });
1629
1688
  }
1630
- }, "VTE\u9884\u9632\u7528\u836F\u7B5B\u67E5\u8868", showRisk('VTE', props))));
1689
+ }, "VTE\u9884\u9632\u7528\u836F\u7B5B\u67E5\u8868", /*#__PURE__*/React.createElement(ShowRisk, {
1690
+ show: show_VTE
1691
+ })), ext_arr.map(function (ext) {
1692
+ var _a;
1693
+ if (ext.disabled || !ext.value) return null;
1694
+ var show = isShowPopupRemind(ext, headerInfo, data);
1695
+ return /*#__PURE__*/React.createElement(OkButton, {
1696
+ className: classnames(styles['his-btn'], (_a = {}, _a[styles['btn-risk']] = show, _a)),
1697
+ style: {
1698
+ borderColor: show ? wraning_color : undefined
1699
+ },
1700
+ type: "dashed",
1701
+ icon: /*#__PURE__*/React.createElement(MyIcon$1, {
1702
+ value: 'ExceptionOutlined'
1703
+ }),
1704
+ onClick: function onClick() {
1705
+ mchcModal__.open('拓展量表', {
1706
+ modal_data: {
1707
+ headerInfo: headerInfo,
1708
+ ext: ext
1709
+ }
1710
+ });
1711
+ }
1712
+ }, ext.label, /*#__PURE__*/React.createElement(ShowRisk, {
1713
+ show: show
1714
+ }));
1715
+ })));
1631
1716
  }
1632
- function showRisk(type, props) {
1633
- return isShowPopupRemind(type, props.headerInfo, props.data) ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Divider, {
1717
+ function ShowRisk(_a) {
1718
+ var show = _a.show;
1719
+ return show ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Divider, {
1634
1720
  type: "vertical"
1635
1721
  }), /*#__PURE__*/React.createElement("span", {
1636
1722
  style: {}
@@ -1645,7 +1731,7 @@ var HighRiskTableEntry = Object.assign(_HighRiskTableEntry, {
1645
1731
  highRiskTablePopup: highRiskTablePopup
1646
1732
  });
1647
1733
  var MenuSearch = /*#__PURE__*/lazy(function () {
1648
- return import('./.root9.js');
1734
+ return import('./src.components.MenuSearch.js');
1649
1735
  });
1650
1736
  var __conceive_fuck_edd = debounce({
1651
1737
  delay: 1000
@@ -1959,7 +2045,7 @@ function not_yes_input(key, label, _a, _b, dep_value) {
1959
2045
  };
1960
2046
  }
1961
2047
  var DoctorEnd_检验检查_History = /*#__PURE__*/lazy(function () {
1962
- return import('./.root10.js');
2048
+ return import('./src.block.检验检查.js');
1963
2049
  });
1964
2050
  var curve_api = {
1965
2051
  getBmi: function getBmi(pregnancyId, queryType) {
@@ -2104,16 +2190,16 @@ var curve_api = {
2104
2190
  }
2105
2191
  };
2106
2192
  var BmiCanvas = /*#__PURE__*/lazy(function () {
2107
- return import('./.root11.js');
2193
+ return import('./curve.components.BmiCanvas.js');
2108
2194
  });
2109
2195
  var FetusCanvas = /*#__PURE__*/lazy(function () {
2110
- return import('./.root12.js');
2196
+ return import('./curve.components.FetusCanvas.js');
2111
2197
  });
2112
2198
  var FetusCanvasNICHD = /*#__PURE__*/lazy(function () {
2113
- return import('./.root13.js');
2199
+ return import('./curve.components.FetusCanvasNICHD.js');
2114
2200
  });
2115
2201
  var Pregnogram = /*#__PURE__*/lazy(function () {
2116
- return import('./.root14.js');
2202
+ return import('./curve.components.Pregnogram.js');
2117
2203
  });
2118
2204
  function use_duck_form(props) {
2119
2205
  var init_values = props.init_values,
@@ -291,7 +291,8 @@ function TemplateModal(props) {
291
291
  props.onClose;
292
292
  var others = __rest(props, ["modal_data", "width", "close", "onClose"]);
293
293
  var admissionId = modal_data.admissionId,
294
- on_tpl_check = modal_data.on_tpl_check;
294
+ on_tpl_check = modal_data.on_tpl_check,
295
+ defaultExpandAll = modal_data.defaultExpandAll;
295
296
  modal_data.onOk;
296
297
  var simpleTypes = Array.isArray(modal_data.simpleTypes) ? modal_data.simpleTypes : MODAL_TEMPLATE_TYPES['科室个人'];
297
298
  var user = SLocal_State.getUserData();
@@ -331,7 +332,6 @@ function TemplateModal(props) {
331
332
  var canOperate = mchcEnv.is('广三') ? (_b = (_a = user === null || user === void 0 ? void 0 : user.groups) === null || _a === void 0 ? void 0 : _a.some) === null || _b === void 0 ? void 0 : _b.call(_a, function (_) {
332
333
  return ['ADMIN', 'MASTERNURSE'].includes(_.name.toUpperCase());
333
334
  }) : (_c = modal_data.canOperate) !== null && _c !== void 0 ? _c : true;
334
- var isExpandAll = false;
335
335
  useEffect(function () {
336
336
  getTemplateList();
337
337
  return function () {};
@@ -604,7 +604,7 @@ function TemplateModal(props) {
604
604
  var treeData = transferTemplateData(diagnosisList);
605
605
  return size(treeData) > 0 && /*#__PURE__*/React.createElement(Tree, {
606
606
  checkable: true,
607
- defaultExpandAll: isExpandAll,
607
+ defaultExpandAll: defaultExpandAll,
608
608
  onCheck: handleSelectTemplates,
609
609
  treeData: treeData
610
610
  });
@@ -612,7 +612,7 @@ function TemplateModal(props) {
612
612
  function renderLabexams() {
613
613
  return labexams.length > 0 ? (/*#__PURE__*/React.createElement(Tree, {
614
614
  checkable: true,
615
- defaultExpandAll: isExpandAll,
615
+ defaultExpandAll: defaultExpandAll,
616
616
  treeData: labexams,
617
617
  onCheck: handleSelectTemplates
618
618
  })) : '暂无数据';
@@ -668,7 +668,7 @@ function TemplateModal(props) {
668
668
  span: 12
669
669
  }, /*#__PURE__*/React.createElement(Tree, {
670
670
  checkable: true,
671
- defaultExpandAll: isExpandAll,
671
+ defaultExpandAll: defaultExpandAll,
672
672
  onCheck: handleSelectTemplates
673
673
  }, renderTreeNode([templateTree])));
674
674
  })), (templateConfig.type === 3 || templateConfig.type === 4) && renderLabexams(), templateConfig.type === 5 && renderDiagnosisHistory()), editModalVisible && (/*#__PURE__*/React.createElement(EditModal, {