@lm_fe/pages 0.1.201 → 0.2.2

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 (173) hide show
  1. package/README.md +0 -0
  2. package/dist/a_chunks/.root.js +1610 -222
  3. package/dist/a_chunks/.root10.js +494 -462
  4. package/dist/a_chunks/.root11.js +231 -159
  5. package/dist/a_chunks/.root12.js +245 -186
  6. package/dist/a_chunks/.root13.js +1898 -104
  7. package/dist/a_chunks/.root14.js +147 -716
  8. package/dist/a_chunks/.root15.js +27 -44
  9. package/dist/a_chunks/.root16.js +18 -168
  10. package/dist/a_chunks/.root17.js +20 -255
  11. package/dist/a_chunks/.root18.js +168 -385
  12. package/dist/a_chunks/.root19.js +119 -403
  13. package/dist/a_chunks/.root2.js +101 -73
  14. package/dist/a_chunks/.root20.js +74 -945
  15. package/dist/a_chunks/.root21.js +168 -202
  16. package/dist/a_chunks/.root22.js +677 -144
  17. package/dist/a_chunks/.root23.js +27 -956
  18. package/dist/a_chunks/.root24.js +126 -742
  19. package/dist/a_chunks/.root25.js +214 -265
  20. package/dist/a_chunks/.root26.js +391 -0
  21. package/dist/a_chunks/.root27.js +395 -0
  22. package/dist/a_chunks/.root28.js +948 -0
  23. package/dist/a_chunks/.root29.js +214 -0
  24. package/dist/a_chunks/.root3.js +56 -1044
  25. package/dist/a_chunks/.root30.js +130 -0
  26. package/dist/a_chunks/.root31.js +914 -0
  27. package/dist/a_chunks/.root32.js +860 -0
  28. package/dist/a_chunks/.root33.js +102 -0
  29. package/dist/a_chunks/.root34.js +157 -0
  30. package/dist/a_chunks/.root4.js +1004 -581
  31. package/dist/a_chunks/.root5.js +610 -1414
  32. package/dist/a_chunks/.root6.js +1399 -155
  33. package/dist/a_chunks/.root7.js +151 -123
  34. package/dist/a_chunks/.root8.js +82 -504
  35. package/dist/a_chunks/.root9.js +97 -60
  36. package/dist/a_chunks/data.js +572 -0
  37. package/dist/a_chunks/func.js +86 -0
  38. package/dist/a_chunks/index.js +942 -265
  39. package/dist/a_chunks/use_fetus.js +138 -0
  40. package/dist/a_chunks/utils.js +100 -0
  41. package/dist/a_chunks/utils2.js +36 -0
  42. package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/Inner.d.ts +1 -0
  43. package/dist/components/BF_Form/Wrap.d.ts +2 -2
  44. package/dist/components/BF_Form/index.d.ts +4 -2
  45. package/dist/components/BF_Form/types.d.ts +7 -0
  46. package/dist/components/BF_Form/use_table_config.d.ts +1 -5
  47. package/dist/components/Base_List/Helper.d.ts +0 -5
  48. package/dist/components/Base_List/_MyBaseList.d.ts +1 -0
  49. package/dist/components/Base_List/index.d.ts +2 -1
  50. package/dist/components/Base_List/types.d.ts +6 -3
  51. package/dist/components/Base_List/use_MyBaseList.d.ts +10 -0
  52. package/dist/components/Base_List/utils.d.ts +11 -0
  53. package/dist/components/IdNOButton/index copy.d.ts +1 -1
  54. package/dist/components/Layout_Sider/Inner.d.ts +2 -4
  55. package/dist/components/Layout_Sider/index.d.ts +2 -2
  56. package/dist/components/Layout_Sider/utils.d.ts +13 -0
  57. package/dist/components/Layout_TabButton/Inner.d.ts +2 -10
  58. package/dist/components/Layout_TabButton/index.d.ts +3 -8
  59. package/dist/components/Layout_TabButton/types.d.ts +8 -0
  60. package/dist/components/Login/Inner.d.ts +0 -1
  61. package/dist/components/Login/index.d.ts +2 -1
  62. package/dist/components/MenuSearch/Inner.d.ts +6 -0
  63. package/dist/components/MenuSearch/index.d.ts +2 -0
  64. package/dist/components/QuickDocButton/index.d.ts +5 -1
  65. package/dist/components/doctor_end/HeaderInfo/FuckTag.d.ts +6 -0
  66. package/dist/components/doctor_end/HeaderInfo/index.d.ts +1 -0
  67. package/dist/components/doctor_end/HeaderInfo/types.d.ts +1 -3
  68. package/dist/components/doctor_end/HeaderInfo/use_headinfo_color.d.ts +8 -0
  69. package/dist/components/exception/index.d.ts +1 -0
  70. package/dist/components/index.d.ts +1 -0
  71. package/dist/curve/components/BmiCanvas/index.d.ts +11 -0
  72. package/dist/curve/components/FetusCanvas/FetuGrowsEdit.d.ts +7 -0
  73. package/dist/curve/components/FetusCanvas/config.d.ts +3 -0
  74. package/dist/curve/components/FetusCanvas/index.d.ts +4 -0
  75. package/dist/curve/components/FetusCanvas/requestMethods.d.ts +7 -0
  76. package/dist/curve/components/FetusCanvasNICHD/config.d.ts +3 -0
  77. package/dist/curve/components/FetusCanvasNICHD/data.d.ts +84 -0
  78. package/dist/curve/components/FetusCanvasNICHD/index.d.ts +4 -0
  79. package/dist/curve/components/Pregnogram/index.d.ts +11 -0
  80. package/dist/curve/components/api.d.ts +17 -0
  81. package/dist/curve/components-new/FetusCanvas/config.d.ts +2 -0
  82. package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +7 -0
  83. package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +2 -0
  84. package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +84 -0
  85. package/dist/curve/data.d.ts +125 -0
  86. package/dist/curve/func.d.ts +12 -0
  87. package/dist/curve/func.test.d.ts +1 -0
  88. package/dist/curve/index.d.ts +7 -0
  89. package/dist/curve/intro-steps.d.ts +7 -0
  90. package/dist/curve/utils.d.ts +8 -0
  91. package/dist/form_config/conceiveMode.d.ts +2 -0
  92. package/dist/form_config/index.d.ts +4 -0
  93. package/dist/form_config/mlUltrasounds.d.ts +2 -0
  94. package/dist/form_config/not_yes_input.d.ts +4 -0
  95. package/dist/form_config/pressure.d.ts +4 -0
  96. package/dist/hooks/index.d.ts +1 -0
  97. package/dist/index.d.ts +2 -0
  98. package/dist/index.js +8 -33
  99. package/dist/modals/entries/StupidTemplateModal2/index copy.d.ts +22 -0
  100. package/dist/modals/entries/StupidTemplateModal2/index.d.ts +1 -2
  101. package/dist/modals/entries/box/index.d.ts +6 -0
  102. package/dist/modals/entries/modal_form/index.d.ts +1 -1
  103. package/dist/modals/entries/result_template/index.d.ts +24 -0
  104. package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +2 -1
  105. package/dist/modals/entries/template_modal3/index copy 2.d.ts +1 -1
  106. package/dist/modals/entries/template_modal3/index.d.ts +5 -3
  107. package/dist/modals/entries/text_search/index.d.ts +1 -1
  108. package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +1 -1
  109. 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/utils.d.ts +5 -0
  110. 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 +2 -7
  111. 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 +2 -1
  112. 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 +2 -7
  113. 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 +2 -2
  114. 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 +3 -3
  115. 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 +2 -2
  116. 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 +4 -5
  117. 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 +1 -1
  118. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/Tag.d.ts +12 -0
  119. package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/utils.d.ts +8 -0
  120. package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/form_config.d.ts +4 -2
  121. package/dist/modals/index.d.ts +2 -0
  122. package/dist/modals/meta.d.ts +2 -0
  123. package/dist/pages/doc_record/index.d.ts +1 -1
  124. package/dist/pages/index.d.ts +1 -0
  125. package/dist/pages/questionnaire/Inner.d.ts +4 -0
  126. package/dist/pages/questionnaire/Qn.d.ts +3 -0
  127. package/dist/pages/questionnaire/SelectButton.d.ts +4 -0
  128. package/dist/pages/questionnaire/create/Step2Right.d.ts +11 -0
  129. package/dist/pages/questionnaire/create/common.d.ts +46 -0
  130. package/dist/pages/questionnaire/create/fakeData.d.ts +6 -0
  131. package/dist/pages/questionnaire/create/question-item.d.ts +14 -0
  132. package/dist/pages/questionnaire/create/step1.d.ts +12 -0
  133. package/dist/pages/questionnaire/create/step2.d.ts +10 -0
  134. package/dist/pages/questionnaire/create/step3.d.ts +8 -0
  135. package/dist/pages/questionnaire/create/step4.d.ts +8 -0
  136. package/dist/pages/questionnaire/index.d.ts +3 -0
  137. package/dist/pages/questionnaire/types.d.ts +10 -0
  138. package/dist/utils/helper.d.ts +5 -0
  139. package/dist/utils/index.d.ts +2 -1
  140. package/package.json +34 -16
  141. package/dist/a_chunks/.root.js.map +0 -1
  142. package/dist/a_chunks/.root10.js.map +0 -1
  143. package/dist/a_chunks/.root11.js.map +0 -1
  144. package/dist/a_chunks/.root12.js.map +0 -1
  145. package/dist/a_chunks/.root13.js.map +0 -1
  146. package/dist/a_chunks/.root14.js.map +0 -1
  147. package/dist/a_chunks/.root15.js.map +0 -1
  148. package/dist/a_chunks/.root16.js.map +0 -1
  149. package/dist/a_chunks/.root17.js.map +0 -1
  150. package/dist/a_chunks/.root18.js.map +0 -1
  151. package/dist/a_chunks/.root19.js.map +0 -1
  152. package/dist/a_chunks/.root2.js.map +0 -1
  153. package/dist/a_chunks/.root20.js.map +0 -1
  154. package/dist/a_chunks/.root21.js.map +0 -1
  155. package/dist/a_chunks/.root22.js.map +0 -1
  156. package/dist/a_chunks/.root23.js.map +0 -1
  157. package/dist/a_chunks/.root24.js.map +0 -1
  158. package/dist/a_chunks/.root25.js.map +0 -1
  159. package/dist/a_chunks/.root3.js.map +0 -1
  160. package/dist/a_chunks/.root4.js.map +0 -1
  161. package/dist/a_chunks/.root5.js.map +0 -1
  162. package/dist/a_chunks/.root6.js.map +0 -1
  163. package/dist/a_chunks/.root7.js.map +0 -1
  164. package/dist/a_chunks/.root8.js.map +0 -1
  165. package/dist/a_chunks/.root9.js.map +0 -1
  166. package/dist/a_chunks/extends.js +0 -11
  167. package/dist/a_chunks/extends.js.map +0 -1
  168. package/dist/a_chunks/index.js.map +0 -1
  169. package/dist/components/BF_Form/use_table_config copy.d.ts +0 -13
  170. package/dist/index.js.map +0 -1
  171. package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +0 -16
  172. 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 +0 -12
  173. 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" +0 -12
@@ -1,474 +1,506 @@
1
- import 'antd/es/modal/style';
2
- import _Modal from 'antd/es/modal';
3
- import 'antd/es/row/style';
4
- import _Row from 'antd/es/row';
5
- import 'antd/es/empty/style';
6
- import _Empty from 'antd/es/empty';
7
- import 'antd/es/col/style';
8
- import _Col from 'antd/es/col';
9
- import { _ as _extends } from './extends.js';
10
- import 'antd/es/space/style';
11
- import _Space from 'antd/es/space';
12
- import 'antd/es/radio/style';
13
- import _Radio from 'antd/es/radio';
14
- import 'antd/es/button/style';
15
- import _Button from 'antd/es/button';
16
- import 'antd/es/form/style';
17
- import _Form from 'antd/es/form';
18
- import 'antd/es/popconfirm/style';
19
- import _Popconfirm from 'antd/es/popconfirm';
20
- import 'antd/es/message/style';
21
- import _message from 'antd/es/message';
22
- import _map from 'lodash/map';
23
- import _keys from 'lodash/keys';
24
- import _keyBy from 'lodash/keyBy';
25
- import _isNil from 'lodash/isNil';
26
- import _isEmpty from 'lodash/isEmpty';
27
- import _indexOf from 'lodash/indexOf';
28
- import _get from 'lodash/get';
29
- import _compact from 'lodash/compact';
30
- import { b as __assign, s as styleInject, d as __rest, _ as __awaiter, a as __generator, c as __spreadArray } from './index.js';
31
- import { EditOutlined, DeleteOutlined } from '@ant-design/icons';
32
- import { LazyAntd, SimpleForm } from '@lm_fe/components';
33
- import { SLocal_State, SMchc_TemplateTrees } from '@lm_fe/service';
34
- import React, { useState, useEffect } from 'react';
35
- import { getResourcesByID, createResources, updateResources } from '@lm_fe/components_m';
36
- import { mchcEnv } from '@lm_fe/env';
1
+ import { mchcEnv, mchcEvent } from '@lm_fe/env';
2
+ import { defineFormConfig, SMchc_Doctor } from '@lm_fe/service';
3
+ import React, { useEffect } from 'react';
4
+ import { B as BF_Form } from './index.js';
5
+ import '@lm_fe/components';
6
+ import '@lm_fe/provoke';
7
+ import 'antd';
8
+ import '@lm_fe/components_m';
37
9
  import '@lm_fe/utils';
38
- import 'antd/es/list/style';
39
- import 'antd/es/list';
40
- import 'antd/es/tooltip/style';
41
- import 'antd/es/tooltip';
10
+ import 'lodash';
42
11
  import 'classnames';
43
- import 'antd/es/spin/style';
44
- import 'antd/es/spin';
45
- import 'antd/es/result/style';
46
- import 'antd/es/result';
47
- import 'antd/es/menu/style';
48
- import 'antd/es/menu';
49
- import 'antd/es/divider/style';
50
- import 'antd/es/divider';
51
- var rootTemplate = {
52
- id: 0,
53
- key: 0,
54
- value: 0,
55
- title: '顶级',
56
- children: []
57
- };
58
- var _transferTemplates = function transferTemplates(templates, pid) {
59
- if (pid === void 0) {
60
- pid = 0;
61
- }
62
- var temp = [];
63
- _map(templates, function (item) {
64
- var t = {
65
- key: item.id
66
- };
67
- if (item.pid === pid) {
68
- t.key = item.id;
69
- t.value = item.id;
70
- t.title = item.val;
71
- t.children = _transferTemplates(templates, item.id);
72
- if (_isEmpty(t.children)) {
73
- t.isLeaf = true;
74
- } else {
75
- t.isLeaf = false;
76
- }
77
- temp.push(t);
12
+ var form_confg = defineFormConfig([{
13
+ "key": "syncDate",
14
+ "label": "上次同步时间",
15
+ "inputType": 'DatePicker',
16
+ "inputProps": {
17
+ 'disabled': true,
18
+ showTime: true
19
+ },
20
+ layout: '1/3'
21
+ }, {
22
+ "key": "syncBtn",
23
+ "label": "同步数据",
24
+ "inputType": "MyButton",
25
+ "inputProps": {},
26
+ layout: '1/3'
27
+ }, {
28
+ "key": "partnerBg",
29
+ "label": "男方血型",
30
+ "inputType": "select",
31
+ "inputProps": {
32
+ 'options': mchcEnv.get_other_options('aboOptions'),
33
+ marshal: 0,
34
+ 'placeholder': 'ABO血型',
35
+ 'labelSign': {
36
+ 'type': 'iconfont',
37
+ 'value': 'icon-number_light'
78
38
  }
79
- });
80
- return temp;
81
- };
82
- var TreeSelect = LazyAntd.TreeSelect;
83
- function TemplateSelect(props) {
84
- var _a;
85
- var onChange = props.onChange,
86
- templateType = props.templateType,
87
- _b = props.depid,
88
- depid = _b === void 0 ? 1 : _b;
89
- var _c = useState(props.value || 0),
90
- value = _c[0],
91
- setValue = _c[1];
92
- var _d = useState([]),
93
- options = _d[0],
94
- setOptions = _d[1];
95
- var userId = (_a = SLocal_State.getUserData()) === null || _a === void 0 ? void 0 : _a.id;
96
- useEffect(function () {
97
- setValue(props.value);
98
- }, [props.value]);
99
- useEffect(function () {
100
- SMchc_TemplateTrees.getList({
101
- params: {
102
- depid: depid,
103
- type: templateType,
104
- userid: userId,
105
- size: 99999,
106
- page: 0
107
- }
108
- }).then(function (res) {
109
- setOptions([__assign(__assign({}, rootTemplate), {
110
- children: _transferTemplates(res)
111
- })]);
112
- });
113
- }, []);
114
- var handleChange = function handleChange(data) {
115
- setValue(data);
116
- onChange === null || onChange === void 0 ? void 0 : onChange(data);
117
- };
118
- return /*#__PURE__*/React.createElement(TreeSelect, {
119
- treeDefaultExpandAll: true,
120
- value: value,
121
- treeData: options,
122
- onChange: handleChange
123
- });
124
- }
125
- var css_248z = ".index-module_textarea-with-template__SKlMl {\n position: relative;\n}\n.index-module_textarea-with-template__SKlMl .index-module_template-textarea__g8Yos {\n width: 100%;\n}\n.index-module_textarea-with-template__action__b58xo {\n position: absolute;\n right: 1px;\n bottom: 1px;\n width: 0;\n height: 0;\n border-width: 20px 20px 20px 20px;\n border-color: transparent #d8dce6 #d8dce6 transparent;\n border-style: solid;\n border-radius: 4px;\n background: transparent;\n cursor: pointer;\n}\n.index-module_textarea-with-template__action__b58xo span {\n position: relative;\n bottom: 1px;\n word-break: keep-all;\n color: #000;\n font-size: 12px;\n}\n.index-module_textarea-with-template__action_disabled__zr4mc {\n color: rgba(0, 0, 0, 0.25);\n}\n.index-module_textarea-with-template__modal-body__TtU8k {\n margin: 10px 0;\n}\n.index-module_textarea-with-template__modal-body__TtU8k .index-module_ant-tree-treenode__PMdPf .index-module_template-list-item__actions__XDQuN {\n display: none;\n}\n.index-module_textarea-with-template__modal-body__TtU8k .index-module_ant-tree-treenode__PMdPf:hover .index-module_template-list-item__actions__XDQuN {\n display: inline-block;\n}\n.index-module_textarea-with-template__modal-body__TtU8k .index-module_template-list-item__ga3Ai {\n display: flex;\n flex-flow: row;\n align-items: center;\n}\n.index-module_textarea-with-template__modal-body__TtU8k .index-module_template-list-item__ga3Ai .index-module_template-list-item__actions-icon__56bhq {\n font-size: 14px;\n opacity: 0.8;\n cursor: pointer;\n margin-left: 10px;\n}\n.index-module_textarea-with-template__modal__cjuWX .index-module_ant-modal-content__AunIt .index-module_ant-modal-header__JBXcL,\n.index-module_textarea-with-template__modal__cjuWX .index-module_ant-modal-content__AunIt .index-module_ant-modal-body__RoSxP,\n.index-module_textarea-with-template__modal__cjuWX .index-module_ant-modal-content__AunIt .index-module_ant-modal-footer__bMlsy {\n padding: 10px;\n}\n";
126
- var styles = {
127
- "textarea-with-template": "index-module_textarea-with-template__SKlMl",
128
- "template-textarea": "index-module_template-textarea__g8Yos",
129
- "textarea-with-template__action": "index-module_textarea-with-template__action__b58xo",
130
- "textarea-with-template__action_disabled": "index-module_textarea-with-template__action_disabled__zr4mc",
131
- "textarea-with-template__modal-body": "index-module_textarea-with-template__modal-body__TtU8k",
132
- "ant-tree-treenode": "index-module_ant-tree-treenode__PMdPf",
133
- "template-list-item__actions": "index-module_template-list-item__actions__XDQuN",
134
- "template-list-item": "index-module_template-list-item__ga3Ai",
135
- "template-list-item__actions-icon": "index-module_template-list-item__actions-icon__56bhq",
136
- "textarea-with-template__modal": "index-module_textarea-with-template__modal__cjuWX",
137
- "ant-modal-content": "index-module_ant-modal-content__AunIt",
138
- "ant-modal-header": "index-module_ant-modal-header__JBXcL",
139
- "ant-modal-body": "index-module_ant-modal-body__RoSxP",
140
- "ant-modal-footer": "index-module_ant-modal-footer__bMlsy"
141
- };
142
- styleInject(css_248z);
143
- var Tree = LazyAntd.Tree;
144
- var DEFAULT_URL = '/api/template-trees';
145
- function TemplateModal2(props) {
146
- var _this = this;
147
- var _a;
148
- var modal_data = props.modal_data,
149
- onCancel = props.onCancel,
150
- onOk = props.onOk,
151
- getContainer = props.getContainer,
152
- others = __rest(props, ["modal_data", "onCancel", "onOk", "getContainer"]);
153
- var hierarchical = modal_data.hierarchical,
154
- onValueCheck = modal_data.onValueCheck,
155
- _b = modal_data.depid,
156
- depid = _b === void 0 ? 1 : _b,
157
- _c = modal_data.canOperate,
158
- canOperate = _c === void 0 ? mchcEnv.is('广三') ? SLocal_State.isAdmin : false : _c,
159
- _d = modal_data.treeProps,
160
- treeProps = _d === void 0 ? {} : _d,
161
- _e = modal_data.type,
162
- type = _e === void 0 ? 1001 : _e,
163
- _f = modal_data.renderTitle,
164
- renderTitle = _f === void 0 ? function (item) {
165
- return /*#__PURE__*/React.createElement("div", null, item.val);
166
- } : _f,
167
- _g = modal_data.multiple,
168
- multiple = _g === void 0 ? true : _g,
169
- _h = modal_data.editFormItems,
170
- editFormItems = _h === void 0 ? [{
171
- type: 'Input',
172
- outerOptions: {
173
- name: 'val',
174
- label: '标题'
175
- },
176
- id: '0'
177
- }, {
178
- type: 'Input',
179
- outerOptions: {
180
- name: 'mnemonic',
181
- label: '描述'
182
- },
183
- id: '0'
184
- }] : _h;
185
- var userid = mchcEnv.is('广三') ? undefined : (_a = SLocal_State.getUserData()) === null || _a === void 0 ? void 0 : _a.id;
186
- var _j = useState(-1),
187
- curType = _j[0],
188
- setCurType = _j[1];
189
- var _k = useState([]),
190
- result = _k[0],
191
- setResult = _k[1];
192
- var _l = useState([]),
193
- selectedRowKeys = _l[0],
194
- setSelectedRowKeys = _l[1];
195
- var _m = useState([]);
196
- _m[0];
197
- var setSelectedRows = _m[1];
198
- var _o = useState(false),
199
- editModalVisible = _o[0],
200
- setEditModalVisible = _o[1];
201
- var _p = useState(),
202
- activeTemplate = _p[0],
203
- setActiveTemplate = _p[1];
204
- var _q = useState({}),
205
- splitTemplatesMapping = _q[0],
206
- setSplitTemplatesMapping = _q[1];
39
+ },
40
+ layout: '1/3',
41
+ isNewRow: 1
42
+ }, {
43
+ "key": "partnerRh",
44
+ "label": "男方RH血型",
45
+ "inputType": "select",
46
+ "inputProps": {
47
+ 'warningOption': 1,
48
+ marshal: 0,
49
+ 'options': mchcEnv.get_other_options('rhOptions'),
50
+ 'style': {
51
+ 'marginLeft': '-1px'
52
+ }
53
+ },
54
+ layout: '1/3'
55
+ }, {
56
+ key: "partnerThalassemia__",
57
+ "label": "男方地贫",
58
+ "inputType": "checkbox",
59
+ "inputProps": {
60
+ options: '正常,异常i,未查,其他i',
61
+ 'labelSign': {
62
+ 'type': 'iconfont',
63
+ 'value': 'icon-number_light'
64
+ }
65
+ },
66
+ layout: '1/3'
67
+ }, {
68
+ "key": "personalBg",
69
+ "label": "女方血型",
70
+ "inputType": "select",
71
+ "inputProps": {
72
+ 'options': mchcEnv.get_other_options('aboOptions'),
73
+ marshal: 0,
74
+ 'disabled': true,
75
+ 'labelSign': {
76
+ 'type': 'iconfont',
77
+ 'value': 'icon-number_light'
78
+ }
79
+ },
80
+ layout: '1/3',
81
+ "isNewRow": 1
82
+ }, {
83
+ "key": "personalRh",
84
+ "label": "女方RH血型",
85
+ "inputType": "select",
86
+ "inputProps": {
87
+ 'options': mchcEnv.get_other_options('rhOptions'),
88
+ marshal: 0,
89
+ 'warningOption': 1,
90
+ 'style': {
91
+ 'marginLeft': '-1px'
92
+ },
93
+ 'disabled': true
94
+ },
95
+ layout: '1/3'
96
+ }, {
97
+ key: "personalThalassemia__",
98
+ "label": "女方地贫",
99
+ "inputType": "checkbox",
100
+ "inputProps": {
101
+ options: '正常,异常i,未查,其他i'
102
+ },
103
+ layout: '1/3'
104
+ }, {
105
+ "key": "tsh",
106
+ "label": "TSH",
107
+ "inputType": "InputNumber",
108
+ "inputProps": {
109
+ 'unit': 'uIU/ml',
110
+ 'labelSign': {
111
+ 'type': 'iconfont',
112
+ 'value': 'icon-number_light'
113
+ }
114
+ },
115
+ layout: '1/3',
116
+ "isNewRow": 1
117
+ }, {
118
+ "key": "t3",
119
+ "label": "游离T3",
120
+ "inputType": "InputNumber",
121
+ "inputProps": {
122
+ 'unit': 'pmol/L'
123
+ },
124
+ layout: '1/3'
125
+ }, {
126
+ "key": "t4",
127
+ "label": "游离T4",
128
+ "inputType": "InputNumber",
129
+ "inputProps": {
130
+ 'unit': 'pmol/L'
131
+ },
132
+ layout: '1/3'
133
+ }, {
134
+ "key": "hb",
135
+ "label": "HB",
136
+ "inputType": "InputNumber",
137
+ "inputProps": {
138
+ 'unit': 'g/L',
139
+ 'labelSign': {
140
+ 'type': 'iconfont',
141
+ 'value': 'icon-number_light'
142
+ }
143
+ },
144
+ layout: '1/3',
145
+ "isNewRow": 1
146
+ }, {
147
+ "key": "mcv",
148
+ "label": "MCV",
149
+ "inputType": "InputNumber",
150
+ "inputProps": {
151
+ 'unit': 'fL'
152
+ },
153
+ layout: '1/3'
154
+ }, {
155
+ "key": "plt",
156
+ "label": "PLT",
157
+ "inputType": "InputNumber",
158
+ "inputProps": {
159
+ 'unit': 'x10^9/L'
160
+ },
161
+ layout: '1/3'
162
+ }, {
163
+ key: "urokinase__",
164
+ "label": "尿蛋白",
165
+ "inputType": "checkbox",
166
+ "inputProps": {
167
+ options: '阴性,弱阳性,阳性i,未查,其他i',
168
+ 'labelSign': {
169
+ 'type': 'iconfont',
170
+ 'value': 'icon-number_light'
171
+ }
172
+ },
173
+ layout: '1/3'
174
+ }, {
175
+ "key": "hbsag",
176
+ "label": "HBsAg",
177
+ "inputType": "autoComplete",
178
+ "inputProps": {
179
+ 'labelSign': {
180
+ 'type': 'iconfont',
181
+ 'value': 'icon-number_light'
182
+ },
183
+ options: mchcEnv.get_other_options('hbOptions'),
184
+ 'positiveWarning': true
185
+ },
186
+ layout: '1/3'
187
+ }, {
188
+ "key": "hbsab",
189
+ "label": "HBsAb",
190
+ "inputType": "autoComplete",
191
+ "inputProps": {
192
+ 'options': mchcEnv.get_other_options('hbOptions'),
193
+ 'positiveWarning': true
194
+ },
195
+ layout: '1/3'
196
+ }, {
197
+ "key": "hbeag",
198
+ "label": "HBeAg",
199
+ "inputType": "autoComplete",
200
+ "inputProps": {
201
+ 'options': mchcEnv.get_other_options('hbOptions'),
202
+ 'positiveWarning': true
203
+ },
204
+ layout: '1/3'
205
+ }, {
206
+ "key": "hbeab",
207
+ "label": "HBeAb",
208
+ "inputType": "autoComplete",
209
+ "inputProps": {
210
+ 'options': mchcEnv.get_other_options('hbOptions'),
211
+ 'positiveWarning': true
212
+ },
213
+ layout: '1/3',
214
+ "isNewRow": 1
215
+ }, {
216
+ "key": "hbcab",
217
+ "label": "HBcAb",
218
+ "inputType": "autoComplete",
219
+ "inputProps": {
220
+ 'options': mchcEnv.get_other_options('hbOptions'),
221
+ 'positiveWarning': true
222
+ },
223
+ layout: '1/3'
224
+ }, {
225
+ "key": "hbvdna",
226
+ "label": "HBV DNA",
227
+ "inputType": "InputNumber",
228
+ "inputProps": {
229
+ 'labelSign': {
230
+ 'type': 'iconfont',
231
+ 'value': 'icon-number_light'
232
+ },
233
+ 'unit': 'IU/ml'
234
+ },
235
+ layout: '1/3'
236
+ }, {
237
+ "key": "alt",
238
+ "label": "ALT",
239
+ "inputType": "InputNumber",
240
+ "inputProps": {
241
+ 'labelSign': {
242
+ 'type': 'iconfont',
243
+ 'value': 'icon-number_light'
244
+ },
245
+ 'unit': 'U/L'
246
+ },
247
+ layout: '1/3',
248
+ "isNewRow": 1
249
+ }, {
250
+ "key": "ast",
251
+ "label": "AST",
252
+ "inputType": "InputNumber",
253
+ "inputProps": {
254
+ 'unit': 'U/L'
255
+ },
256
+ layout: '1/3'
257
+ }, {
258
+ "key": "pt",
259
+ "label": "PT",
260
+ "inputType": "InputNumber",
261
+ "inputProps": {
262
+ 'labelSign': {
263
+ 'type': 'iconfont',
264
+ 'value': 'icon-number_light'
265
+ },
266
+ 'unit': 'sec',
267
+ 'min': 0,
268
+ 'max': 20,
269
+ 'disabled': true
270
+ },
271
+ layout: '1/3',
272
+ "isNewRow": 1
273
+ }, {
274
+ "key": "inr",
275
+ "label": "INR",
276
+ "inputType": "InputNumber",
277
+ "inputProps": {
278
+ 'min': 0,
279
+ 'max': 2,
280
+ 'step': 0.1,
281
+ 'disabled': true
282
+ },
283
+ layout: '1/3'
284
+ }, {
285
+ "key": "aptt",
286
+ "label": "APTT",
287
+ "inputType": "InputNumber",
288
+ "inputProps": {
289
+ 'unit': 'sec',
290
+ 'min': 0,
291
+ 'max': 50,
292
+ 'disabled': true
293
+ },
294
+ layout: '1/3'
295
+ }, {
296
+ "key": "tt",
297
+ "label": "TT",
298
+ "inputType": "InputNumber",
299
+ "inputProps": {
300
+ 'unit': 'sec',
301
+ 'min': 0,
302
+ 'max': 20,
303
+ 'disabled': true
304
+ },
305
+ layout: '1/3',
306
+ "isNewRow": 1
307
+ }, {
308
+ "key": "fib",
309
+ "label": "FIB",
310
+ "inputType": "InputNumber",
311
+ "inputProps": {
312
+ 'unit': 'g/L',
313
+ 'min': 0,
314
+ 'max': 5,
315
+ 'step': 0.1,
316
+ 'disabled': true
317
+ },
318
+ layout: '1/3'
319
+ }, {
320
+ "key": "sf",
321
+ "label": "SF",
322
+ "inputType": "InputNumber",
323
+ "inputProps": {
324
+ 'unit': 'ng/ml'
325
+ },
326
+ layout: '1/3'
327
+ }, {
328
+ key: "hcvResult__",
329
+ "label": "丙肝抗体",
330
+ "inputType": "checkbox",
331
+ "inputProps": {
332
+ options: '阴性,阳性i,未查',
333
+ 'labelSign': {
334
+ 'type': 'iconfont',
335
+ 'value': 'icon-number_light'
336
+ }
337
+ },
338
+ layout: '1/3'
339
+ }, {
340
+ key: "hcvrnaResult__",
341
+ "label": "丙肝RNA",
342
+ "inputType": "checkbox",
343
+ "inputProps": {
344
+ options: '阴性,阳性i,未查',
345
+ 'labelSign': {
346
+ 'type': 'iconfont',
347
+ 'value': 'icon-number_light'
348
+ }
349
+ },
350
+ layout: '1/3'
351
+ }, {
352
+ key: "syphilisResult__",
353
+ "label": "梅毒",
354
+ "inputType": "checkbox",
355
+ "inputProps": {
356
+ options: '阴性,阳性i,未查',
357
+ 'labelSign': {
358
+ 'type': 'iconfont',
359
+ 'value': 'icon-number_light'
360
+ }
361
+ },
362
+ layout: '1/3'
363
+ }, {
364
+ key: "hivResult__",
365
+ "label": "HIV",
366
+ "inputType": "checkbox",
367
+ "inputProps": {
368
+ options: '阴性,阳性i,未查',
369
+ 'labelSign': {
370
+ 'type': 'iconfont',
371
+ 'value': 'icon-number_light'
372
+ }
373
+ },
374
+ layout: '1/3'
375
+ }, {
376
+ key: "gbsResult__",
377
+ "label": "GBS",
378
+ "inputType": "checkbox",
379
+ "inputProps": {
380
+ options: '阴性,阳性i,未查',
381
+ 'labelSign': {
382
+ 'type': 'iconfont',
383
+ 'value': 'icon-number_light'
384
+ }
385
+ },
386
+ layout: '1/3'
387
+ }, {
388
+ key: "g6pdResult__",
389
+ "label": "G6PD",
390
+ "inputType": "checkbox",
391
+ "inputProps": {
392
+ options: '阴性,阳性i,未查'
393
+ },
394
+ layout: '1/3'
395
+ }, {
396
+ key: "downsScreenEarly",
397
+ "label": "早唐",
398
+ "inputType": "checkbox",
399
+ "inputProps": {
400
+ options: mchcEnv.get_other_options('downsScreenOptions'),
401
+ marshal: 0,
402
+ 'labelSign': {
403
+ 'type': 'iconfont',
404
+ 'value': 'icon-number_light'
405
+ }
406
+ },
407
+ layout: '1/3'
408
+ }, {
409
+ key: "downsScreenMiddle",
410
+ "label": "中唐",
411
+ "inputType": "checkbox",
412
+ "inputProps": {
413
+ options: mchcEnv.get_other_options('downsScreenOptions'),
414
+ marshal: 0,
415
+ 'labelSign': {
416
+ 'type': 'iconfont',
417
+ 'value': 'icon-number_light'
418
+ }
419
+ },
420
+ layout: '1/3'
421
+ }, {
422
+ key: "nipt",
423
+ "label": "NIPT",
424
+ "inputType": "checkbox",
425
+ "inputProps": {
426
+ options: mchcEnv.get_other_options('downsScreenOptions'),
427
+ marshal: 0,
428
+ 'labelSign': {
429
+ 'type': 'iconfont',
430
+ 'value': 'icon-number_light'
431
+ }
432
+ },
433
+ layout: '1/3'
434
+ }, {
435
+ key: "prenatalDiagnosisResult",
436
+ "label": "产前诊断",
437
+ "inputType": "checkbox",
438
+ "inputProps": {
439
+ options: mchcEnv.get_other_options('prenatalDiagnosisOptions'),
440
+ marshal: 0,
441
+ 'labelSign': {
442
+ 'type': 'iconfont',
443
+ 'value': 'icon-number_light'
444
+ }
445
+ },
446
+ layout: '1/3'
447
+ }, {
448
+ key: "ogttResult__",
449
+ "label": "OGTT",
450
+ "inputType": "checkbox",
451
+ "inputProps": {
452
+ options: mchcEnv.get_other_options('ogttOptions'),
453
+ 'labelSign': {
454
+ 'type': 'iconfont',
455
+ 'value': 'icon-number_light'
456
+ }
457
+ },
458
+ layout: '1/3'
459
+ }, {
460
+ "key": "other",
461
+ "label": "其他",
462
+ "inputType": "input",
463
+ layout: '1/3'
464
+ }, {
465
+ "key": "id",
466
+ "inputType": "input",
467
+ form_hidden: true
468
+ }]);
469
+ function DoctorEnd_检验检查_History(props) {
470
+ var pregnancyId = props.pregnancyId,
471
+ form = props.form,
472
+ disabled = props.disabled;
207
473
  useEffect(function () {
208
- var t = Array.isArray(type) ? type[0].value : type;
209
- setCurType(t);
210
474
  return function () {};
211
- }, [type]);
475
+ }, []);
212
476
  useEffect(function () {
213
- getTemplateList(curType);
214
- return function () {};
215
- }, [curType]);
216
- function getTemplateList() {
217
- return __awaiter(this, arguments, void 0, function (t) {
218
- var result, templates, splitTemplates, splitTemplatesMapping;
219
- if (t === void 0) {
220
- t = curType;
221
- }
222
- return __generator(this, function (_a) {
223
- switch (_a.label) {
224
- case 0:
225
- if (t < 0) return [2];
226
- return [4, SMchc_TemplateTrees.getList({
227
- params: {
228
- depid: depid,
229
- type: t,
230
- userid: userid,
231
- size: 99999,
232
- page: 0
233
- }
234
- })];
235
- case 1:
236
- result = _a.sent();
237
- templates = _transferTemplates(result);
238
- splitTemplates = _compact(_map(templates, function (template) {
239
- if (_get(template, 'pid') === 0) {
240
- return __assign(__assign({}, template), {
241
- children: []
242
- });
243
- }
244
- }));
245
- splitTemplatesMapping = _keyBy(splitTemplates, 'id');
246
- _map(result, function (template) {
247
- var templatePid = _get(template, 'pid');
248
- if (_indexOf(_keys(splitTemplatesMapping), String(templatePid)) > -1) {
249
- splitTemplatesMapping[templatePid]['children'].push(template);
250
- }
251
- });
252
- setSplitTemplatesMapping(splitTemplatesMapping);
253
- setResult(result);
254
- return [2];
255
- }
256
- });
257
- });
258
- }
259
- function handleAddTemplate(e) {
260
- e.stopPropagation();
261
- setEditModalVisible(true);
262
- setActiveTemplate({});
263
- }
264
- function handleHideEditModal() {
265
- setEditModalVisible(false);
266
- setActiveTemplate({});
267
- }
268
- function closeModal() {
269
- onCancel === null || onCancel === void 0 ? void 0 : onCancel(null);
270
- setSplitTemplatesMapping({});
271
- }
272
- function handleSubmitEditModal(data) {
273
- return __awaiter(this, void 0, void 0, function () {
274
- return __generator(this, function (_a) {
275
- switch (_a.label) {
276
- case 0:
277
- data.type = curType;
278
- data.userid = userid;
279
- if (!(activeTemplate === null || activeTemplate === void 0 ? void 0 : activeTemplate.id)) return [3, 2];
280
- return [4, updateResources(DEFAULT_URL, __assign(__assign(__assign({}, activeTemplate), data), {
281
- depid: depid
282
- }))];
283
- case 1:
284
- _a.sent();
285
- return [3, 4];
286
- case 2:
287
- return [4, createResources(DEFAULT_URL, __assign(__assign({}, data), {
288
- depid: depid
289
- }))];
290
- case 3:
291
- _a.sent();
292
- _a.label = 4;
293
- case 4:
294
- setEditModalVisible(false);
295
- setActiveTemplate(undefined);
296
- _message.success('提交模板成功');
297
- getTemplateList();
298
- return [2];
477
+ return mchcEvent.on_rm('my_form', function (e) {
478
+ if (e.type === 'onClick') {
479
+ if (e.btnName === 'syncBtn') {
480
+ SMchc_Doctor.syncPatientReport(pregnancyId).then(function (r) {
481
+ form.setFieldsValue(r);
482
+ });
299
483
  }
300
- });
301
- });
302
- }
303
- function handleEditTemplate(template) {
304
- var _this = this;
305
- return function (e) {
306
- return __awaiter(_this, void 0, void 0, function () {
307
- var activeTemplate;
308
- return __generator(this, function (_a) {
309
- switch (_a.label) {
310
- case 0:
311
- e.stopPropagation();
312
- return [4, getResourcesByID(DEFAULT_URL, _get(template, 'id'))];
313
- case 1:
314
- activeTemplate = _a.sent();
315
- setEditModalVisible(true);
316
- setActiveTemplate(activeTemplate);
317
- return [2];
318
- }
319
- });
320
- });
321
- };
322
- }
323
- function handleConfirmDelete(template) {
324
- return function (e) {
325
- e === null || e === void 0 ? void 0 : e.stopPropagation();
326
- deleteResourcesByID(DEFAULT_URL, _get(template, 'id')).then(function () {
327
- _message.success('删除模板成功');
328
- getTemplateList();
329
- });
330
- };
331
- }
332
- function handleSelectTemplates(checked, e) {
333
- console.log('check', checked, e);
334
- var arr = multiple ? checked : checked;
335
- setSelectedRowKeys(arr);
336
- setSelectedRows(e.checkedNodes);
337
- }
338
- function handleOk() {
339
- var content = [];
340
- var treeDataMapping = _keyBy(result, 'id');
341
- _map(selectedRowKeys, function (selectedKey) {
342
- var item = _get(treeDataMapping, selectedKey);
343
- if (!_isEmpty(item) && (_get(item, 'isLeaf') || !hierarchical)) {
344
- content.push(item);
345
- }
346
- });
347
- onValueCheck === null || onValueCheck === void 0 ? void 0 : onValueCheck(content);
348
- onOk === null || onOk === void 0 ? void 0 : onOk(null);
349
- }
350
- function renderTreeNode(templatesTree) {
351
- return _map(templatesTree, function (template) {
352
- var titleWithOperation = /*#__PURE__*/React.createElement("div", {
353
- className: styles["template-list-item"]
354
- }, renderTitle(template), canOperate && /*#__PURE__*/React.createElement("div", {
355
- className: styles["template-list-item__actions"]
356
- }, /*#__PURE__*/React.createElement(EditOutlined, {
357
- className: styles["template-list-item__actions-icon"],
358
- onClick: handleEditTemplate(template)
359
- }), /*#__PURE__*/React.createElement(_Popconfirm, {
360
- title: "\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F",
361
- onConfirm: handleConfirmDelete(template)
362
- }, /*#__PURE__*/React.createElement(DeleteOutlined, {
363
- className: styles["template-list-item__actions-icon"]
364
- }))));
365
- if (!_isEmpty(_get(template, 'children')) && !_isNil(_get(template, 'children'))) {
366
- return /*#__PURE__*/React.createElement(Tree.TreeNode, {
367
- title: titleWithOperation,
368
- key: _get(template, 'id')
369
- }, renderTreeNode(_get(template, 'children')));
484
+ return;
370
485
  }
371
- return /*#__PURE__*/React.createElement(Tree.TreeNode, {
372
- title: titleWithOperation,
373
- key: _get(template, 'id')
374
- });
375
486
  });
376
- }
377
- var modalForm = _Form.useForm()[0];
378
- useEffect(function () {
379
- activeTemplate && modalForm.setFieldsValue(__assign(__assign({}, activeTemplate), {
380
- pid: activeTemplate.pid || 0,
381
- type: curType
382
- }));
383
- }, [activeTemplate]);
384
- var handleSubmit = function handleSubmit() {
385
- return __awaiter(_this, void 0, void 0, function () {
386
- var formData;
387
- return __generator(this, function (_a) {
388
- switch (_a.label) {
389
- case 0:
390
- return [4, modalForm.validateFields()];
391
- case 1:
392
- _a.sent();
393
- formData = modalForm.getFieldsValue();
394
- handleSubmitEditModal(formData);
395
- return [2];
396
- }
397
- });
398
- });
399
- };
400
- return /*#__PURE__*/React.createElement(_Modal, _extends({
401
- className: styles["textarea-with-template__modal"],
402
- width: 1100,
403
- onCancel: closeModal,
404
- onOk: handleOk,
405
- getContainer: getContainer
406
- }, others), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_Space, null, /*#__PURE__*/React.createElement(_Button, {
407
- disabled: !canOperate,
408
- onClick: handleAddTemplate
409
- }, "\u6DFB\u52A0"), Array.isArray(type) ? /*#__PURE__*/React.createElement(_Radio.Group, {
410
- options: type,
411
- onChange: function onChange(e) {
412
- return setCurType(e.target.value);
487
+ }, []);
488
+ return /*#__PURE__*/React.createElement(BF_Form, {
489
+ disabled: disabled,
490
+ form: form,
491
+ fallback_init: function fallback_init() {
492
+ return SMchc_Doctor.getLabExamOfOutpatient(pregnancyId);
493
+ },
494
+ fallback_finish: function fallback_finish(v) {
495
+ return SMchc_Doctor.updateLabExamOfOutpatient(v);
413
496
  },
414
- value: curType,
415
- optionType: "button",
416
- buttonStyle: "solid"
417
- }) : null), /*#__PURE__*/React.createElement(_Row, {
418
- className: styles["textarea-with-template__modal-body"]
419
- }, hierarchical ? _map(splitTemplatesMapping, function (templateTree) {
420
- return /*#__PURE__*/React.createElement(_Col, {
421
- span: 12
422
- }, /*#__PURE__*/React.createElement(Tree, _extends({
423
- checkable: true,
424
- defaultExpandAll: true,
425
- selectable: false,
426
- checkedKeys: selectedRowKeys,
427
- onCheck: handleSelectTemplates
428
- }, treeProps, {
429
- multiple: false
430
- }), renderTreeNode([templateTree])));
431
- }) : /*#__PURE__*/React.createElement(_Col, {
432
- span: 12
433
- }, result.length ? /*#__PURE__*/React.createElement(Tree, _extends({
434
- checkable: true,
435
- defaultExpandAll: true,
436
- selectable: false,
437
- checkedKeys: selectedRowKeys,
438
- onCheck: handleSelectTemplates
439
- }, treeProps, {
440
- multiple: false
441
- }), renderTreeNode(result)) : /*#__PURE__*/React.createElement(_Empty, null))), /*#__PURE__*/React.createElement(_Modal, {
442
- getContainer: getContainer,
443
- visible: editModalVisible,
444
- className: styles["textarea-with-template__modal-edit"],
445
- onCancel: handleHideEditModal,
446
- onOk: handleSubmit,
447
- closable: false,
448
- width: 680
449
- }, editModalVisible && /*#__PURE__*/React.createElement(SimpleForm, {
450
- formProps: {
451
- labelCol: {
452
- span: 4
453
- },
454
- wrapperCol: {
455
- span: 14
456
- },
457
- layout: 'vertical'
497
+ default_conf: {
498
+ tableColumns: form_confg,
499
+ title: "门诊-检验检查"
458
500
  },
459
- form: modalForm,
460
- formItems: __spreadArray([hierarchical ? {
461
- outerOptions: {
462
- name: 'pid',
463
- label: '上级'
464
- },
465
- customNode: /*#__PURE__*/React.createElement(TemplateSelect, {
466
- templateType: curType,
467
- depid: depid
468
- }),
469
- id: ''
470
- } : null], editFormItems, true)
471
- }))));
501
+ history_args: {
502
+ relationId: pregnancyId
503
+ }
504
+ });
472
505
  }
473
- export { DEFAULT_URL, TemplateModal2 as default };
474
- //# sourceMappingURL=.root10.js.map
506
+ export { DoctorEnd_检验检查_History as default };