@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.
- package/README.md +0 -0
- package/dist/a_chunks/.root.js +1610 -222
- package/dist/a_chunks/.root10.js +494 -462
- package/dist/a_chunks/.root11.js +231 -159
- package/dist/a_chunks/.root12.js +245 -186
- package/dist/a_chunks/.root13.js +1898 -104
- package/dist/a_chunks/.root14.js +147 -716
- package/dist/a_chunks/.root15.js +27 -44
- package/dist/a_chunks/.root16.js +18 -168
- package/dist/a_chunks/.root17.js +20 -255
- package/dist/a_chunks/.root18.js +168 -385
- package/dist/a_chunks/.root19.js +119 -403
- package/dist/a_chunks/.root2.js +101 -73
- package/dist/a_chunks/.root20.js +74 -945
- package/dist/a_chunks/.root21.js +168 -202
- package/dist/a_chunks/.root22.js +677 -144
- package/dist/a_chunks/.root23.js +27 -956
- package/dist/a_chunks/.root24.js +126 -742
- package/dist/a_chunks/.root25.js +214 -265
- package/dist/a_chunks/.root26.js +391 -0
- package/dist/a_chunks/.root27.js +395 -0
- package/dist/a_chunks/.root28.js +948 -0
- package/dist/a_chunks/.root29.js +214 -0
- package/dist/a_chunks/.root3.js +56 -1044
- package/dist/a_chunks/.root30.js +130 -0
- package/dist/a_chunks/.root31.js +914 -0
- package/dist/a_chunks/.root32.js +860 -0
- package/dist/a_chunks/.root33.js +102 -0
- package/dist/a_chunks/.root34.js +157 -0
- package/dist/a_chunks/.root4.js +1004 -581
- package/dist/a_chunks/.root5.js +610 -1414
- package/dist/a_chunks/.root6.js +1399 -155
- package/dist/a_chunks/.root7.js +151 -123
- package/dist/a_chunks/.root8.js +82 -504
- package/dist/a_chunks/.root9.js +97 -60
- package/dist/a_chunks/data.js +572 -0
- package/dist/a_chunks/func.js +86 -0
- package/dist/a_chunks/index.js +942 -265
- package/dist/a_chunks/use_fetus.js +138 -0
- package/dist/a_chunks/utils.js +100 -0
- package/dist/a_chunks/utils2.js +36 -0
- package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/Inner.d.ts +1 -0
- package/dist/components/BF_Form/Wrap.d.ts +2 -2
- package/dist/components/BF_Form/index.d.ts +4 -2
- package/dist/components/BF_Form/types.d.ts +7 -0
- package/dist/components/BF_Form/use_table_config.d.ts +1 -5
- package/dist/components/Base_List/Helper.d.ts +0 -5
- package/dist/components/Base_List/_MyBaseList.d.ts +1 -0
- package/dist/components/Base_List/index.d.ts +2 -1
- package/dist/components/Base_List/types.d.ts +6 -3
- package/dist/components/Base_List/use_MyBaseList.d.ts +10 -0
- package/dist/components/Base_List/utils.d.ts +11 -0
- package/dist/components/IdNOButton/index copy.d.ts +1 -1
- package/dist/components/Layout_Sider/Inner.d.ts +2 -4
- package/dist/components/Layout_Sider/index.d.ts +2 -2
- package/dist/components/Layout_Sider/utils.d.ts +13 -0
- package/dist/components/Layout_TabButton/Inner.d.ts +2 -10
- package/dist/components/Layout_TabButton/index.d.ts +3 -8
- package/dist/components/Layout_TabButton/types.d.ts +8 -0
- package/dist/components/Login/Inner.d.ts +0 -1
- package/dist/components/Login/index.d.ts +2 -1
- package/dist/components/MenuSearch/Inner.d.ts +6 -0
- package/dist/components/MenuSearch/index.d.ts +2 -0
- package/dist/components/QuickDocButton/index.d.ts +5 -1
- package/dist/components/doctor_end/HeaderInfo/FuckTag.d.ts +6 -0
- package/dist/components/doctor_end/HeaderInfo/index.d.ts +1 -0
- package/dist/components/doctor_end/HeaderInfo/types.d.ts +1 -3
- package/dist/components/doctor_end/HeaderInfo/use_headinfo_color.d.ts +8 -0
- package/dist/components/exception/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/curve/components/BmiCanvas/index.d.ts +11 -0
- package/dist/curve/components/FetusCanvas/FetuGrowsEdit.d.ts +7 -0
- package/dist/curve/components/FetusCanvas/config.d.ts +3 -0
- package/dist/curve/components/FetusCanvas/index.d.ts +4 -0
- package/dist/curve/components/FetusCanvas/requestMethods.d.ts +7 -0
- package/dist/curve/components/FetusCanvasNICHD/config.d.ts +3 -0
- package/dist/curve/components/FetusCanvasNICHD/data.d.ts +84 -0
- package/dist/curve/components/FetusCanvasNICHD/index.d.ts +4 -0
- package/dist/curve/components/Pregnogram/index.d.ts +11 -0
- package/dist/curve/components/api.d.ts +17 -0
- package/dist/curve/components-new/FetusCanvas/config.d.ts +2 -0
- package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +7 -0
- package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +2 -0
- package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +84 -0
- package/dist/curve/data.d.ts +125 -0
- package/dist/curve/func.d.ts +12 -0
- package/dist/curve/func.test.d.ts +1 -0
- package/dist/curve/index.d.ts +7 -0
- package/dist/curve/intro-steps.d.ts +7 -0
- package/dist/curve/utils.d.ts +8 -0
- package/dist/form_config/conceiveMode.d.ts +2 -0
- package/dist/form_config/index.d.ts +4 -0
- package/dist/form_config/mlUltrasounds.d.ts +2 -0
- package/dist/form_config/not_yes_input.d.ts +4 -0
- package/dist/form_config/pressure.d.ts +4 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8 -33
- package/dist/modals/entries/StupidTemplateModal2/index copy.d.ts +22 -0
- package/dist/modals/entries/StupidTemplateModal2/index.d.ts +1 -2
- package/dist/modals/entries/box/index.d.ts +6 -0
- package/dist/modals/entries/modal_form/index.d.ts +1 -1
- package/dist/modals/entries/result_template/index.d.ts +24 -0
- package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +2 -1
- package/dist/modals/entries/template_modal3/index copy 2.d.ts +1 -1
- package/dist/modals/entries/template_modal3/index.d.ts +5 -3
- package/dist/modals/entries/text_search/index.d.ts +1 -1
- package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +1 -1
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/form_config.d.ts +4 -2
- package/dist/modals/index.d.ts +2 -0
- package/dist/modals/meta.d.ts +2 -0
- package/dist/pages/doc_record/index.d.ts +1 -1
- package/dist/pages/index.d.ts +1 -0
- package/dist/pages/questionnaire/Inner.d.ts +4 -0
- package/dist/pages/questionnaire/Qn.d.ts +3 -0
- package/dist/pages/questionnaire/SelectButton.d.ts +4 -0
- package/dist/pages/questionnaire/create/Step2Right.d.ts +11 -0
- package/dist/pages/questionnaire/create/common.d.ts +46 -0
- package/dist/pages/questionnaire/create/fakeData.d.ts +6 -0
- package/dist/pages/questionnaire/create/question-item.d.ts +14 -0
- package/dist/pages/questionnaire/create/step1.d.ts +12 -0
- package/dist/pages/questionnaire/create/step2.d.ts +10 -0
- package/dist/pages/questionnaire/create/step3.d.ts +8 -0
- package/dist/pages/questionnaire/create/step4.d.ts +8 -0
- package/dist/pages/questionnaire/index.d.ts +3 -0
- package/dist/pages/questionnaire/types.d.ts +10 -0
- package/dist/utils/helper.d.ts +5 -0
- package/dist/utils/index.d.ts +2 -1
- package/package.json +34 -16
- package/dist/a_chunks/.root.js.map +0 -1
- package/dist/a_chunks/.root10.js.map +0 -1
- package/dist/a_chunks/.root11.js.map +0 -1
- package/dist/a_chunks/.root12.js.map +0 -1
- package/dist/a_chunks/.root13.js.map +0 -1
- package/dist/a_chunks/.root14.js.map +0 -1
- package/dist/a_chunks/.root15.js.map +0 -1
- package/dist/a_chunks/.root16.js.map +0 -1
- package/dist/a_chunks/.root17.js.map +0 -1
- package/dist/a_chunks/.root18.js.map +0 -1
- package/dist/a_chunks/.root19.js.map +0 -1
- package/dist/a_chunks/.root2.js.map +0 -1
- package/dist/a_chunks/.root20.js.map +0 -1
- package/dist/a_chunks/.root21.js.map +0 -1
- package/dist/a_chunks/.root22.js.map +0 -1
- package/dist/a_chunks/.root23.js.map +0 -1
- package/dist/a_chunks/.root24.js.map +0 -1
- package/dist/a_chunks/.root25.js.map +0 -1
- package/dist/a_chunks/.root3.js.map +0 -1
- package/dist/a_chunks/.root4.js.map +0 -1
- package/dist/a_chunks/.root5.js.map +0 -1
- package/dist/a_chunks/.root6.js.map +0 -1
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root8.js.map +0 -1
- package/dist/a_chunks/.root9.js.map +0 -1
- package/dist/a_chunks/extends.js +0 -11
- package/dist/a_chunks/extends.js.map +0 -1
- package/dist/a_chunks/index.js.map +0 -1
- package/dist/components/BF_Form/use_table_config copy.d.ts +0 -13
- package/dist/index.js.map +0 -1
- package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +0 -16
- 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
- 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
package/dist/a_chunks/.root5.js
CHANGED
|
@@ -1,1440 +1,636 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import
|
|
3
|
-
import '
|
|
4
|
-
import
|
|
5
|
-
import 'antd
|
|
6
|
-
import
|
|
7
|
-
import '
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
width: 40,
|
|
131
|
-
editor: {
|
|
132
|
-
input_type: 'input_number'
|
|
133
|
-
}
|
|
134
|
-
}]
|
|
135
|
-
}, {
|
|
136
|
-
title: '中胰岛素方案',
|
|
137
|
-
children: [{
|
|
138
|
-
key: 'jdrug',
|
|
139
|
-
title: '药名',
|
|
140
|
-
width: 50,
|
|
141
|
-
editor: {
|
|
142
|
-
name: '',
|
|
143
|
-
key: '',
|
|
144
|
-
input_type: 'select_with_options',
|
|
145
|
-
input_props: {
|
|
146
|
-
options: [{
|
|
147
|
-
label: '诺和平',
|
|
148
|
-
value: '诺和平'
|
|
149
|
-
}, {
|
|
150
|
-
label: '诺和锐',
|
|
151
|
-
value: '诺和锐'
|
|
152
|
-
}]
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}, {
|
|
156
|
-
key: 'jdosage',
|
|
157
|
-
title: '用量(U)',
|
|
158
|
-
width: 40,
|
|
159
|
-
editor: {
|
|
160
|
-
input_type: 'input_number'
|
|
161
|
-
}
|
|
162
|
-
}]
|
|
163
|
-
}, {
|
|
164
|
-
title: '晚胰岛素方案',
|
|
165
|
-
children: [{
|
|
166
|
-
key: 'wdrug',
|
|
167
|
-
title: '药名',
|
|
168
|
-
width: 50,
|
|
169
|
-
editor: {
|
|
170
|
-
name: '',
|
|
171
|
-
key: '',
|
|
172
|
-
input_type: 'select_with_options',
|
|
173
|
-
input_props: {
|
|
174
|
-
options: [{
|
|
175
|
-
label: '诺和平',
|
|
176
|
-
value: '诺和平'
|
|
177
|
-
}, {
|
|
178
|
-
label: '诺和锐',
|
|
179
|
-
value: '诺和锐'
|
|
180
|
-
}]
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
}, {
|
|
184
|
-
key: 'wdosage',
|
|
185
|
-
title: '用量(U)',
|
|
186
|
-
width: 40,
|
|
187
|
-
editor: {
|
|
188
|
-
input_type: 'input_number'
|
|
189
|
-
}
|
|
190
|
-
}]
|
|
191
|
-
}]
|
|
1
|
+
import { s as styleInject, a as __assign, u as use_headinfo_color, m as mchcModal__, b as __awaiter, c as __generator, D as DoctorEnd_ExemplaryCase, Q as QuestionnaireButton, e as safe_navigate } from './index.js';
|
|
2
|
+
import { mchcEnv, mchcUtils, mchcEvent, mchcLogger, mchcConfig } from '@lm_fe/env';
|
|
3
|
+
import { SMchc_Doctor } from '@lm_fe/service';
|
|
4
|
+
import { isString, isNil, text_ellipsis, request, EMPTY_PLACEHOLDER, setSearchParamsValue } from '@lm_fe/utils';
|
|
5
|
+
import { Tag, Button, Tooltip } from 'antd';
|
|
6
|
+
import classnames from 'classnames';
|
|
7
|
+
import { keys, get } from 'lodash';
|
|
8
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
9
|
+
import { MyIcon, PatientSelect } from '@lm_fe/components';
|
|
10
|
+
import { OkButton } from '@lm_fe/components_m';
|
|
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";
|
|
13
|
+
var styles = {
|
|
14
|
+
"outpatientNO": "index-module_outpatientNO__Lso6m",
|
|
15
|
+
"header-info-wrapper": "index-module_header-info-wrapper__ELW9h",
|
|
16
|
+
"header-info-content": "index-module_header-info-content__UwPuT",
|
|
17
|
+
"header-info-extra": "index-module_header-info-extra__qa69p",
|
|
18
|
+
"new-flash-content": "index-module_new-flash-content__iGHRu",
|
|
19
|
+
"icon-conetent": "index-module_icon-conetent__si7sz",
|
|
20
|
+
"wrapper-msg": "index-module_wrapper-msg__u5NLW",
|
|
21
|
+
"msg-top": "index-module_msg-top__5IKCc",
|
|
22
|
+
"msg-item": "index-module_msg-item__HMn3X",
|
|
23
|
+
"value": "index-module_value__KIHqO",
|
|
24
|
+
"small-item": "index-module_small-item__lJoX7",
|
|
25
|
+
"msg-bottom": "index-module_msg-bottom__I9xv-",
|
|
26
|
+
"exemplary-case": "index-module_exemplary-case__v1xLs",
|
|
27
|
+
"msg-highrisk": "index-module_msg-highrisk__MkLlm",
|
|
28
|
+
"wrapper-btns": "index-module_wrapper-btns__86BTc",
|
|
29
|
+
"highrisk": "index-module_highrisk__yWGGR",
|
|
30
|
+
"level-btn": "index-module_level-btn__W6GsL",
|
|
31
|
+
"twinkling": "index-module_twinkling__ezoY2",
|
|
32
|
+
"infection-btn": "index-module_infection-btn__DVXBb",
|
|
33
|
+
"signs": "index-module_signs__uvavL",
|
|
34
|
+
"signs-btn": "index-module_signs-btn__Vg84-",
|
|
35
|
+
"trial": "index-module_trial__Ce-Hy",
|
|
36
|
+
"pahr": "index-module_pahr__AUR0Q",
|
|
37
|
+
"preeclampsia-btn": "index-module_preeclampsia-btn__icRxH",
|
|
38
|
+
"label": "index-module_label__eQPR5"
|
|
39
|
+
};
|
|
40
|
+
styleInject(css_248z);
|
|
41
|
+
var infectionNameMap = {
|
|
42
|
+
艾: 'HIV',
|
|
43
|
+
梅: '梅毒',
|
|
44
|
+
乙: '乙肝',
|
|
45
|
+
传染病: '传染病'
|
|
46
|
+
};
|
|
47
|
+
var infectionKeywordMap = {
|
|
48
|
+
艾: ['HIV', 'hiv', '艾滋'],
|
|
49
|
+
梅: ['梅毒'],
|
|
50
|
+
乙: ['乙肝', 'HBsAg阳性', '乙型肝炎', '乙型病毒性肝炎', '小三阳', '大三阳'],
|
|
51
|
+
传染病: ['结核病', '重症感染性肺炎', '特殊病毒感染', '丙型病毒性肝炎', '传染病', '病毒性肝炎']
|
|
52
|
+
};
|
|
53
|
+
var infectionExcludeKeywordMap = {
|
|
54
|
+
艾: [],
|
|
55
|
+
梅: ['史'],
|
|
56
|
+
乙: [],
|
|
57
|
+
传染病: []
|
|
58
|
+
};
|
|
59
|
+
var infectionColorMap = {
|
|
60
|
+
艾: '#C736FF',
|
|
61
|
+
梅: '#8D36FF',
|
|
62
|
+
乙: '#6236FF',
|
|
63
|
+
传染病: '#9340BA'
|
|
64
|
+
};
|
|
65
|
+
var sorting = {
|
|
66
|
+
艾: 1,
|
|
67
|
+
梅: 2,
|
|
68
|
+
乙: 3,
|
|
69
|
+
传染病: -1
|
|
70
|
+
};
|
|
71
|
+
function getTheFuckingLabel(str, isMulti) {
|
|
72
|
+
if (isMulti === void 0) {
|
|
73
|
+
isMulti = false;
|
|
74
|
+
}
|
|
75
|
+
var keys = Object.keys(infectionKeywordMap);
|
|
76
|
+
var type = keys.reduce(function (res, key) {
|
|
77
|
+
if (res) return res;
|
|
78
|
+
var value = infectionKeywordMap[key];
|
|
79
|
+
var exlucdeValue = infectionExcludeKeywordMap[key];
|
|
80
|
+
var isTarget = value.some(function (v) {
|
|
81
|
+
return str.includes(v) && !exlucdeValue.includes(v);
|
|
82
|
+
});
|
|
83
|
+
return isTarget ? key : null;
|
|
84
|
+
}, null);
|
|
85
|
+
if (!type) return null;
|
|
86
|
+
var label = isMulti ? type : infectionNameMap[type];
|
|
87
|
+
var color = infectionColorMap[type];
|
|
88
|
+
var key = sorting[type];
|
|
89
|
+
return {
|
|
90
|
+
label: label,
|
|
91
|
+
type: type,
|
|
92
|
+
color: color,
|
|
93
|
+
key: key,
|
|
94
|
+
allType: []
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function handleFuckinginfectionNoteLabel(infectionNote) {
|
|
98
|
+
if (!infectionNote) return [];
|
|
99
|
+
var arr = infectionNote.split(',').filter(function (_) {
|
|
100
|
+
return _ && !['无', '未查'].includes(_);
|
|
101
|
+
});
|
|
102
|
+
var len = arr.length;
|
|
103
|
+
var result = arr.map(function (str) {
|
|
104
|
+
return getTheFuckingLabel(str, len > 1);
|
|
105
|
+
}).filter(function (_) {
|
|
106
|
+
return _;
|
|
107
|
+
});
|
|
108
|
+
var hash = {};
|
|
109
|
+
result = result.reduce(function (item, next) {
|
|
110
|
+
if (!hash[next.type]) {
|
|
111
|
+
hash[next.type] = true;
|
|
112
|
+
item.push(next);
|
|
113
|
+
}
|
|
114
|
+
return item;
|
|
115
|
+
}, []);
|
|
116
|
+
result = result.map(function (_) {
|
|
117
|
+
return __assign(__assign({}, _), {
|
|
118
|
+
allType: keys(hash)
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
var 传染病item = result.find(function (item) {
|
|
122
|
+
return item.type === '传染病';
|
|
123
|
+
});
|
|
124
|
+
if (传染病item) {
|
|
125
|
+
result = [传染病item];
|
|
126
|
+
} else {
|
|
127
|
+
result.sort(function (a, b) {
|
|
128
|
+
return a.key - b.key;
|
|
129
|
+
});
|
|
192
130
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
131
|
+
return result;
|
|
132
|
+
}
|
|
133
|
+
function hasKeyword(arr, val) {
|
|
134
|
+
if (!val) return false;
|
|
135
|
+
return arr.some(function (_) {
|
|
136
|
+
return (_ === null || _ === void 0 ? void 0 : _.includes(val)) || (val === null || val === void 0 ? void 0 : val.includes(_));
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
function use专案(headerInfo) {
|
|
140
|
+
var is_show_all = false;
|
|
141
|
+
var multipletsArr = ['三胎妊娠', '四胎妊娠', '五胎妊娠', '六胎妊娠', '多胎妊娠'];
|
|
142
|
+
var twinsArr = ['双胎妊娠'];
|
|
143
|
+
var _a = useState(false),
|
|
144
|
+
isShowGdm = _a[0];
|
|
145
|
+
_a[1];
|
|
146
|
+
var _b = useState(false),
|
|
147
|
+
isShowBmi = _b[0];
|
|
148
|
+
_b[1];
|
|
149
|
+
var _c = useState(false),
|
|
150
|
+
isShowSlowGrowing = _c[0];
|
|
151
|
+
_c[1];
|
|
152
|
+
var isShowTwins = hasKeyword(twinsArr, headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.pregnancyCaseLable);
|
|
153
|
+
var isShowMultiplets = hasKeyword(multipletsArr, headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.pregnancyCaseLable);
|
|
154
|
+
var is_show_梅毒 = mchcEnv["in"](['华医']);
|
|
155
|
+
var is_show_乙肝 = mchcEnv["in"](['华医']);
|
|
156
|
+
return {
|
|
157
|
+
isShowGdm: isShowGdm || is_show_all,
|
|
158
|
+
isShowBmi: isShowBmi || is_show_all,
|
|
159
|
+
isShowSlowGrowing: isShowSlowGrowing || is_show_all,
|
|
160
|
+
isShowTwins: isShowTwins || is_show_all,
|
|
161
|
+
isShowMultiplets: isShowMultiplets || is_show_all,
|
|
162
|
+
is_show_梅毒: is_show_梅毒 || is_show_all,
|
|
163
|
+
is_show_乙肝: is_show_乙肝 || is_show_all
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
function FuckTags(props) {
|
|
167
|
+
var str_data = props.str_data;
|
|
168
|
+
if (!str_data || !isString(str_data)) return null;
|
|
169
|
+
var arr = str_data.split(',');
|
|
170
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
171
|
+
style: {
|
|
172
|
+
margin: '0 4px'
|
|
173
|
+
}
|
|
174
|
+
}, arr.map(function (_) {
|
|
175
|
+
return /*#__PURE__*/React.createElement(FuckTagItem, {
|
|
176
|
+
symbol: _
|
|
177
|
+
});
|
|
178
|
+
}));
|
|
179
|
+
}
|
|
180
|
+
function FuckTagItem(props) {
|
|
181
|
+
var _a;
|
|
182
|
+
var symbol = props.symbol;
|
|
183
|
+
if (!symbol || !isString(symbol)) return null;
|
|
184
|
+
var arr = symbol.split(':').filter(function (_) {
|
|
185
|
+
return !isNil(_) && !['null', 'undefined'].includes(_.toLowerCase());
|
|
186
|
+
});
|
|
187
|
+
var len = arr.length;
|
|
188
|
+
if (len == 0) return null;
|
|
189
|
+
if (len == 1) return /*#__PURE__*/React.createElement(Tag, null, arr[0]);
|
|
190
|
+
var title = "".concat(arr[0], ":").concat(arr[1]);
|
|
191
|
+
return /*#__PURE__*/React.createElement(Tag, {
|
|
192
|
+
color: (_a = arr[2]) !== null && _a !== void 0 ? _a : 'default',
|
|
193
|
+
title: title
|
|
194
|
+
}, text_ellipsis(arr[1], 8));
|
|
195
|
+
}
|
|
196
|
+
function HeaderInfoInner(props) {
|
|
197
|
+
var _a;
|
|
198
|
+
var saveHeaderInfo = props.saveHeaderInfo,
|
|
199
|
+
isNurse = props.isNurse;
|
|
200
|
+
props.id;
|
|
201
|
+
var onDobuleClick = props.onDobuleClick;
|
|
202
|
+
var _b = use_provoke('config', 'user_info'),
|
|
203
|
+
config = _b.config;
|
|
204
|
+
_b.user_info;
|
|
205
|
+
var pregnancyId = mchcUtils.single_id(props);
|
|
206
|
+
var _c = useState(),
|
|
207
|
+
headerInfo = _c[0],
|
|
208
|
+
setHeaderInfo = _c[1];
|
|
209
|
+
var highriskLable = (headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.highriskLable) || 'Ⅰ';
|
|
210
|
+
var color_conf = use_headinfo_color(highriskLable);
|
|
211
|
+
var info_addon = (_a = config.头部信息拓展) !== null && _a !== void 0 ? _a : [];
|
|
212
|
+
var _d = use专案(headerInfo),
|
|
213
|
+
isShowBmi = _d.isShowBmi,
|
|
214
|
+
isShowGdm = _d.isShowGdm,
|
|
215
|
+
isShowMultiplets = _d.isShowMultiplets,
|
|
216
|
+
isShowSlowGrowing = _d.isShowSlowGrowing,
|
|
217
|
+
isShowTwins = _d.isShowTwins,
|
|
218
|
+
is_show_乙肝 = _d.is_show_乙肝,
|
|
219
|
+
is_show_梅毒 = _d.is_show_梅毒;
|
|
220
|
+
var _e = useState(true),
|
|
221
|
+
isTwinkling = _e[0],
|
|
222
|
+
setIsTwinkling = _e[1];
|
|
223
|
+
var _f = useState(false),
|
|
224
|
+
exemplaryCaseVisible = _f[0],
|
|
225
|
+
setExemplaryCaseVisible = _f[1];
|
|
226
|
+
var _g = useState('1'),
|
|
227
|
+
tabkey = _g[0],
|
|
228
|
+
setTabkey = _g[1];
|
|
229
|
+
var infectionNoteLabels = handleFuckinginfectionNoteLabel(headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.infectionNote);
|
|
230
|
+
var headerInfoCache = useRef(headerInfo);
|
|
231
|
+
headerInfoCache.current = headerInfo;
|
|
232
|
+
var randomIds = useRef(+new Date());
|
|
233
|
+
useEffect(function () {
|
|
234
|
+
fetchHeaderInfo();
|
|
235
|
+
}, [pregnancyId]);
|
|
236
|
+
useEffect(function () {
|
|
237
|
+
return mchcEvent.on_rm('ws_event', function (e) {
|
|
238
|
+
if (e.type !== 'obis-doctor' || e.event !== 'message' || !e.data) return;
|
|
239
|
+
if (e.data.type === 'RefreshPregnancyHeaderInfo') {
|
|
240
|
+
mchcLogger.log('event !!', {
|
|
241
|
+
e: e
|
|
242
|
+
});
|
|
243
|
+
fetchHeaderInfo();
|
|
222
244
|
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
value: '增多'
|
|
242
|
-
}]
|
|
245
|
+
});
|
|
246
|
+
}, []);
|
|
247
|
+
useEffect(function () {
|
|
248
|
+
var rm = mchcEvent.on_rm('outpatient', function (e) {
|
|
249
|
+
if (e.type === '弹窗' && !isNurse) {
|
|
250
|
+
switch (e.modal_name) {
|
|
251
|
+
case '瘢痕子宫阴道试产表':
|
|
252
|
+
open瘢痕子宫阴道试产表();
|
|
253
|
+
break;
|
|
254
|
+
case '子痫前期风险评估表':
|
|
255
|
+
open子痫前期风险评估表();
|
|
256
|
+
break;
|
|
257
|
+
case '深静脉血栓高危因素孕期用药筛查表':
|
|
258
|
+
open深静脉血栓高危因素孕期用药筛查表();
|
|
259
|
+
break;
|
|
260
|
+
case '梅毒管理':
|
|
261
|
+
open梅毒管理();
|
|
262
|
+
break;
|
|
243
263
|
}
|
|
244
264
|
}
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
title: '血红蛋白(g/L)',
|
|
248
|
-
width: 40,
|
|
249
|
-
editor: {
|
|
250
|
-
input_type: 'input_number'
|
|
251
|
-
}
|
|
252
|
-
}, {
|
|
253
|
-
key: 'bpd',
|
|
254
|
-
title: 'BPD(mm)',
|
|
255
|
-
width: 40,
|
|
256
|
-
editor: {
|
|
257
|
-
input_type: 'input_number'
|
|
258
|
-
}
|
|
259
|
-
}, {
|
|
260
|
-
key: 'hc',
|
|
261
|
-
title: 'HC(mm)',
|
|
262
|
-
width: 40,
|
|
263
|
-
editor: {
|
|
264
|
-
input_type: 'input_number'
|
|
265
|
-
}
|
|
266
|
-
}, {
|
|
267
|
-
key: 'ac',
|
|
268
|
-
title: 'AC(mm)',
|
|
269
|
-
width: 40,
|
|
270
|
-
editor: {
|
|
271
|
-
input_type: 'input_number'
|
|
272
|
-
}
|
|
273
|
-
}, {
|
|
274
|
-
key: 'fl',
|
|
275
|
-
title: 'FL(mm)',
|
|
276
|
-
width: 40,
|
|
277
|
-
editor: {
|
|
278
|
-
input_type: 'input_number'
|
|
279
|
-
}
|
|
280
|
-
}, {
|
|
281
|
-
key: 'hl',
|
|
282
|
-
title: 'HL(mm)',
|
|
283
|
-
width: 40,
|
|
284
|
-
editor: {
|
|
285
|
-
input_type: 'input_number'
|
|
286
|
-
}
|
|
287
|
-
}, {
|
|
288
|
-
key: 'efw',
|
|
289
|
-
title: 'EFW(g)',
|
|
290
|
-
width: 40,
|
|
291
|
-
editor: {
|
|
292
|
-
input_type: 'input_number'
|
|
293
|
-
}
|
|
294
|
-
}, {
|
|
295
|
-
key: 'afv',
|
|
296
|
-
title: 'AFV(uU/L)',
|
|
297
|
-
width: 40,
|
|
298
|
-
editor: {
|
|
299
|
-
input_type: 'input_number'
|
|
300
|
-
}
|
|
301
|
-
}, {
|
|
302
|
-
key: 'ys',
|
|
303
|
-
title: '饮食建议(uU/L)',
|
|
304
|
-
width: 40,
|
|
305
|
-
editor: {
|
|
306
|
-
input_type: 'input'
|
|
307
|
-
}
|
|
308
|
-
}, {
|
|
309
|
-
key: 'yd',
|
|
310
|
-
title: '运动建议(uU/L)',
|
|
311
|
-
width: 40,
|
|
312
|
-
editor: {
|
|
313
|
-
input_type: 'input'
|
|
265
|
+
if (e.type === '刷新头部') {
|
|
266
|
+
fetchHeaderInfo();
|
|
314
267
|
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
}];
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
}],
|
|
326
|
-
三胎: [{
|
|
327
|
-
label: '1',
|
|
328
|
-
value: '1'
|
|
329
|
-
}, {
|
|
330
|
-
label: '2',
|
|
331
|
-
value: '2'
|
|
332
|
-
}, {
|
|
333
|
-
label: '3',
|
|
334
|
-
value: '3'
|
|
335
|
-
}],
|
|
336
|
-
四胎: [{
|
|
337
|
-
label: '1',
|
|
338
|
-
value: '1'
|
|
339
|
-
}, {
|
|
340
|
-
label: '2',
|
|
341
|
-
value: '2'
|
|
342
|
-
}, {
|
|
343
|
-
label: '3',
|
|
344
|
-
value: '3'
|
|
345
|
-
}, {
|
|
346
|
-
label: '4',
|
|
347
|
-
value: '4'
|
|
348
|
-
}],
|
|
349
|
-
五胎: [{
|
|
350
|
-
label: '1',
|
|
351
|
-
value: '1'
|
|
352
|
-
}, {
|
|
353
|
-
label: '2',
|
|
354
|
-
value: '2'
|
|
355
|
-
}, {
|
|
356
|
-
label: '3',
|
|
357
|
-
value: '3'
|
|
358
|
-
}, {
|
|
359
|
-
label: '4',
|
|
360
|
-
value: '4'
|
|
361
|
-
}, {
|
|
362
|
-
label: '5',
|
|
363
|
-
value: '5'
|
|
364
|
-
}],
|
|
365
|
-
六胎: [{
|
|
366
|
-
label: '1',
|
|
367
|
-
value: '1'
|
|
368
|
-
}, {
|
|
369
|
-
label: '2',
|
|
370
|
-
value: '2'
|
|
371
|
-
}, {
|
|
372
|
-
label: '3',
|
|
373
|
-
value: '3'
|
|
374
|
-
}, {
|
|
375
|
-
label: '4',
|
|
376
|
-
value: '4'
|
|
377
|
-
}, {
|
|
378
|
-
label: '5',
|
|
379
|
-
value: '5'
|
|
380
|
-
}, {
|
|
381
|
-
label: '6',
|
|
382
|
-
value: '6'
|
|
383
|
-
}]
|
|
384
|
-
};
|
|
385
|
-
var commonColumns = [{
|
|
386
|
-
key: 'checkdate',
|
|
387
|
-
title: '日期',
|
|
388
|
-
width: 60,
|
|
389
|
-
editor: {
|
|
390
|
-
input_type: 'single_date_picker'
|
|
391
|
-
}
|
|
392
|
-
}, {
|
|
393
|
-
key: 'gestationalWeek',
|
|
394
|
-
title: '孕周',
|
|
395
|
-
width: 40,
|
|
396
|
-
editor: {
|
|
397
|
-
input_type: 'input'
|
|
398
|
-
}
|
|
399
|
-
}, {
|
|
400
|
-
key: 'fetal',
|
|
401
|
-
title: '胎儿',
|
|
402
|
-
width: 40,
|
|
403
|
-
editor: {
|
|
404
|
-
input_type: 'select_with_options_or_input',
|
|
405
|
-
input_props: {
|
|
406
|
-
options: []
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}, {
|
|
410
|
-
key: 'fetalMovement',
|
|
411
|
-
title: '胎动',
|
|
412
|
-
width: 40,
|
|
413
|
-
editor: {
|
|
414
|
-
input_type: 'select_with_options',
|
|
415
|
-
input_props: {
|
|
416
|
-
options: [{
|
|
417
|
-
label: '未有',
|
|
418
|
-
value: '未有'
|
|
419
|
-
}, {
|
|
420
|
-
label: '正常',
|
|
421
|
-
value: '正常'
|
|
422
|
-
}, {
|
|
423
|
-
label: '减少',
|
|
424
|
-
value: '减少'
|
|
425
|
-
}, {
|
|
426
|
-
label: '增多',
|
|
427
|
-
value: '增多'
|
|
428
|
-
}]
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}, {
|
|
432
|
-
key: 'fhr',
|
|
433
|
-
title: '胎心率',
|
|
434
|
-
width: 40,
|
|
435
|
-
editor: {
|
|
436
|
-
input_type: 'input_number'
|
|
437
|
-
}
|
|
438
|
-
}, {
|
|
439
|
-
key: 'fetalMonitor',
|
|
440
|
-
title: '胎监',
|
|
441
|
-
width: 40,
|
|
442
|
-
editor: {
|
|
443
|
-
input_type: 'input'
|
|
444
|
-
}
|
|
445
|
-
}, {
|
|
446
|
-
key: 'bpd',
|
|
447
|
-
title: 'BPD(mm)',
|
|
448
|
-
width: 40,
|
|
449
|
-
editor: {
|
|
450
|
-
input_type: 'input_number'
|
|
451
|
-
}
|
|
452
|
-
}, {
|
|
453
|
-
key: 'hc',
|
|
454
|
-
title: 'HC(mm)',
|
|
455
|
-
width: 40,
|
|
456
|
-
editor: {
|
|
457
|
-
input_type: 'input_number'
|
|
458
|
-
}
|
|
459
|
-
}, {
|
|
460
|
-
key: 'ac',
|
|
461
|
-
title: 'AC(mm)',
|
|
462
|
-
width: 40,
|
|
463
|
-
editor: {
|
|
464
|
-
input_type: 'input_number'
|
|
465
|
-
}
|
|
466
|
-
}, {
|
|
467
|
-
key: 'fl',
|
|
468
|
-
title: 'FL(mm)',
|
|
469
|
-
width: 40,
|
|
470
|
-
editor: {
|
|
471
|
-
input_type: 'input_number'
|
|
472
|
-
}
|
|
473
|
-
}, {
|
|
474
|
-
key: 'hl',
|
|
475
|
-
title: 'HL(mm)',
|
|
476
|
-
width: 40,
|
|
477
|
-
editor: {
|
|
478
|
-
input_type: 'input_number'
|
|
479
|
-
}
|
|
480
|
-
}, {
|
|
481
|
-
key: 'efw',
|
|
482
|
-
title: 'EFW(g)',
|
|
483
|
-
width: 40,
|
|
484
|
-
editor: {
|
|
485
|
-
input_type: 'input_number'
|
|
486
|
-
}
|
|
487
|
-
}, {
|
|
488
|
-
key: 'afv',
|
|
489
|
-
title: 'AFV(mm)',
|
|
490
|
-
width: 40,
|
|
491
|
-
editor: {
|
|
492
|
-
input_type: 'input_number'
|
|
493
|
-
}
|
|
494
|
-
}, {
|
|
495
|
-
key: 'ubf',
|
|
496
|
-
title: '脐血流',
|
|
497
|
-
width: 40,
|
|
498
|
-
editor: {
|
|
499
|
-
input_type: 'input'
|
|
500
|
-
}
|
|
501
|
-
}];
|
|
502
|
-
var slowGrowingConfig = [{
|
|
503
|
-
name: '',
|
|
504
|
-
key: '',
|
|
505
|
-
label: '关键指标',
|
|
506
|
-
header_label: true,
|
|
507
|
-
just_header: true,
|
|
508
|
-
input_type: ''
|
|
509
|
-
}, {
|
|
510
|
-
name: 'slowGrowing',
|
|
511
|
-
key: '.*',
|
|
512
|
-
label: '',
|
|
513
|
-
input_type: 'table',
|
|
514
|
-
input_props: {
|
|
515
|
-
editable: true,
|
|
516
|
-
hiddenSelection: true,
|
|
517
|
-
tableColumns: commonColumns
|
|
518
|
-
}
|
|
519
|
-
}, {
|
|
520
|
-
name: '',
|
|
521
|
-
key: '',
|
|
522
|
-
label: '病理因素',
|
|
523
|
-
header_label: true,
|
|
524
|
-
just_header: true,
|
|
525
|
-
input_type: ''
|
|
526
|
-
}, {
|
|
527
|
-
name: 'allergyHistory',
|
|
528
|
-
key: '.allergyHistory',
|
|
529
|
-
label: '母体因素',
|
|
530
|
-
span: 24,
|
|
531
|
-
input_type: 'checkbox',
|
|
532
|
-
input_props: {
|
|
533
|
-
type: 'multiple',
|
|
534
|
-
radio: false,
|
|
535
|
-
renderData: [{
|
|
536
|
-
key: 'drsdug',
|
|
537
|
-
label: '紫绀型心脏病'
|
|
538
|
-
}, {
|
|
539
|
-
key: 'foodfsf',
|
|
540
|
-
label: '慢性肾病'
|
|
541
|
-
}, {
|
|
542
|
-
key: 'ogdsgther',
|
|
543
|
-
label: '慢性高血压'
|
|
544
|
-
}, {
|
|
545
|
-
key: 'fgsgood',
|
|
546
|
-
label: '糖尿病'
|
|
547
|
-
}, {
|
|
548
|
-
key: 'othegsgr',
|
|
549
|
-
label: '甲状腺疾病'
|
|
550
|
-
}, {
|
|
551
|
-
key: 'foogsgd',
|
|
552
|
-
label: '系统性红斑狼疮'
|
|
553
|
-
}, {
|
|
554
|
-
key: 'othhdher',
|
|
555
|
-
label: '抗磷脂抗体综合征'
|
|
556
|
-
}, {
|
|
557
|
-
key: 'fdhhood',
|
|
558
|
-
label: '子痫前期'
|
|
559
|
-
}, {
|
|
560
|
-
key: 'othhegsgr',
|
|
561
|
-
label: '妊娠期肝内胆汁淤积症'
|
|
562
|
-
}]
|
|
563
|
-
}
|
|
564
|
-
}, {
|
|
565
|
-
name: 'hypertension',
|
|
566
|
-
key: '.diseaseHistory.hypertdfgension(Note)',
|
|
567
|
-
label: '胎儿结构异常',
|
|
568
|
-
input_type: 'checkbox',
|
|
569
|
-
span: 18,
|
|
570
|
-
input_props: {
|
|
571
|
-
type: 'custom',
|
|
572
|
-
renderData: [{
|
|
573
|
-
key: 'hypertension',
|
|
574
|
-
label: '',
|
|
575
|
-
options: [{
|
|
576
|
-
label: '无',
|
|
577
|
-
value: 1
|
|
578
|
-
}, {
|
|
579
|
-
label: '先天性心脏病',
|
|
580
|
-
value: 2
|
|
581
|
-
}, {
|
|
582
|
-
label: '腹壁裂',
|
|
583
|
-
value: 3
|
|
584
|
-
}, {
|
|
585
|
-
label: '未查',
|
|
586
|
-
value: 4
|
|
587
|
-
}]
|
|
588
|
-
}]
|
|
589
|
-
}
|
|
590
|
-
}, {
|
|
591
|
-
name: 'diabetes',
|
|
592
|
-
key: '.diseaseHistory.diagdbetes(Note)',
|
|
593
|
-
label: '胎盘异常',
|
|
594
|
-
input_type: 'checkbox',
|
|
595
|
-
span: 18,
|
|
596
|
-
input_props: {
|
|
597
|
-
type: 'custom',
|
|
598
|
-
renderData: [{
|
|
599
|
-
key: 'diabetes',
|
|
600
|
-
label: '',
|
|
601
|
-
options: [{
|
|
602
|
-
label: '无',
|
|
603
|
-
value: 1
|
|
604
|
-
}, {
|
|
605
|
-
label: '轮廓胎盘',
|
|
606
|
-
value: 2
|
|
607
|
-
}, {
|
|
608
|
-
label: '胎盘血管瘤',
|
|
609
|
-
value: 3
|
|
610
|
-
}, {
|
|
611
|
-
label: '绒毛膜下血肿',
|
|
612
|
-
value: 4
|
|
613
|
-
}, {
|
|
614
|
-
label: '小胎盘',
|
|
615
|
-
value: 5
|
|
616
|
-
}, {
|
|
617
|
-
label: '副胎盘',
|
|
618
|
-
value: 6
|
|
619
|
-
}, {
|
|
620
|
-
label: '未查',
|
|
621
|
-
value: 7
|
|
622
|
-
}, {
|
|
623
|
-
label: '其他',
|
|
624
|
-
value: 8
|
|
625
|
-
}],
|
|
626
|
-
extraEditors: [{
|
|
627
|
-
key: 8,
|
|
628
|
-
editors: [{
|
|
629
|
-
input_type: 'input'
|
|
630
|
-
}]
|
|
631
|
-
}]
|
|
632
|
-
}]
|
|
633
|
-
}
|
|
634
|
-
}, {
|
|
635
|
-
name: 'cardiacDisease',
|
|
636
|
-
key: '.diseaseHistory.cardiacDgaisease(Note)',
|
|
637
|
-
label: '脐带异常',
|
|
638
|
-
input_type: 'checkbox',
|
|
639
|
-
span: 18,
|
|
640
|
-
input_props: {
|
|
641
|
-
type: 'custom',
|
|
642
|
-
renderData: [{
|
|
643
|
-
key: 'cardiacDisease',
|
|
644
|
-
label: '',
|
|
645
|
-
options: [{
|
|
646
|
-
label: '无',
|
|
647
|
-
value: 1
|
|
648
|
-
}, {
|
|
649
|
-
label: '单脐动脉',
|
|
650
|
-
value: 2
|
|
651
|
-
}, {
|
|
652
|
-
label: '脐带过细',
|
|
653
|
-
value: 3
|
|
654
|
-
}, {
|
|
655
|
-
label: '脐带扭转',
|
|
656
|
-
value: 4
|
|
657
|
-
}, {
|
|
658
|
-
label: '脐带打结',
|
|
659
|
-
value: 5
|
|
660
|
-
}, {
|
|
661
|
-
label: '未查',
|
|
662
|
-
value: 6
|
|
663
|
-
}, {
|
|
664
|
-
label: '其他',
|
|
665
|
-
value: 7
|
|
666
|
-
}],
|
|
667
|
-
extraEditors: [{
|
|
668
|
-
key: 7,
|
|
669
|
-
editors: [{
|
|
670
|
-
input_type: 'input'
|
|
671
|
-
}]
|
|
672
|
-
}]
|
|
673
|
-
}]
|
|
674
|
-
}
|
|
675
|
-
}, {
|
|
676
|
-
name: 'cardiacDisease',
|
|
677
|
-
key: '.diseaseHistory.cardiacgarDisease(Note)',
|
|
678
|
-
label: '其他因素',
|
|
679
|
-
input_type: 'checkbox',
|
|
680
|
-
span: 18,
|
|
681
|
-
input_props: {
|
|
682
|
-
type: 'custom',
|
|
683
|
-
renderData: [{
|
|
684
|
-
key: 'cardiacDisease',
|
|
685
|
-
label: '',
|
|
686
|
-
options: [{
|
|
687
|
-
label: '无',
|
|
688
|
-
value: 1
|
|
689
|
-
}, {
|
|
690
|
-
label: '吸烟',
|
|
691
|
-
value: 2
|
|
692
|
-
}, {
|
|
693
|
-
label: '喝酒',
|
|
694
|
-
value: 3
|
|
695
|
-
}, {
|
|
696
|
-
label: '接触放射线',
|
|
697
|
-
value: 4
|
|
698
|
-
}, {
|
|
699
|
-
label: '其他',
|
|
700
|
-
value: 5
|
|
701
|
-
}],
|
|
702
|
-
extraEditors: [{
|
|
703
|
-
key: 5,
|
|
704
|
-
editors: [{
|
|
705
|
-
input_type: 'input'
|
|
706
|
-
}]
|
|
707
|
-
}]
|
|
708
|
-
}]
|
|
709
|
-
}
|
|
710
|
-
}, {
|
|
711
|
-
name: 'cardiacDisease',
|
|
712
|
-
key: '.diseaseHistory.cardiacDisgagease(Note)',
|
|
713
|
-
label: '产前诊断',
|
|
714
|
-
input_type: 'checkbox',
|
|
715
|
-
span: 18,
|
|
716
|
-
input_props: {
|
|
717
|
-
type: 'custom',
|
|
718
|
-
renderData: [{
|
|
719
|
-
key: 'cardiacDisease',
|
|
720
|
-
label: '',
|
|
721
|
-
options: [{
|
|
722
|
-
label: '正常',
|
|
723
|
-
value: 1
|
|
724
|
-
}, {
|
|
725
|
-
label: '异常',
|
|
726
|
-
value: 2
|
|
727
|
-
}, {
|
|
728
|
-
label: '拒绝产前诊断',
|
|
729
|
-
value: 3
|
|
730
|
-
}]
|
|
731
|
-
}]
|
|
732
|
-
}
|
|
733
|
-
}, {
|
|
734
|
-
name: 'cardiacDisease',
|
|
735
|
-
key: '.diseaseHistory.cardiacDigagsease(Note)',
|
|
736
|
-
label: '巨细胞病毒',
|
|
737
|
-
input_type: 'checkbox',
|
|
738
|
-
span: 8,
|
|
739
|
-
input_props: {
|
|
740
|
-
type: 'custom',
|
|
741
|
-
renderData: [{
|
|
742
|
-
key: 'cardiacagDisease',
|
|
743
|
-
label: '',
|
|
744
|
-
options: [{
|
|
745
|
-
label: '阴性',
|
|
746
|
-
value: 1
|
|
747
|
-
}, {
|
|
748
|
-
label: '阳性',
|
|
749
|
-
value: 2
|
|
750
|
-
}, {
|
|
751
|
-
label: '未查',
|
|
752
|
-
value: 3
|
|
753
|
-
}]
|
|
754
|
-
}]
|
|
755
|
-
}
|
|
756
|
-
}, {
|
|
757
|
-
name: 'cardiacDisease',
|
|
758
|
-
key: '.diseaseHistory.cardiacDigazgsease(Note)',
|
|
759
|
-
label: '风疹病毒',
|
|
760
|
-
input_type: 'checkbox',
|
|
761
|
-
span: 8,
|
|
762
|
-
input_props: {
|
|
763
|
-
type: 'custom',
|
|
764
|
-
renderData: [{
|
|
765
|
-
key: 'cardiacggDisease',
|
|
766
|
-
label: '',
|
|
767
|
-
options: [{
|
|
768
|
-
label: '阴性',
|
|
769
|
-
value: 1
|
|
770
|
-
}, {
|
|
771
|
-
label: '阳性',
|
|
772
|
-
value: 2
|
|
773
|
-
}, {
|
|
774
|
-
label: '未查',
|
|
775
|
-
value: 3
|
|
776
|
-
}]
|
|
777
|
-
}]
|
|
778
|
-
}
|
|
779
|
-
}, {
|
|
780
|
-
name: 'cardiacDisease',
|
|
781
|
-
key: '.diseaseHistory.cardiacDgagisease(Note)',
|
|
782
|
-
label: '弓形虫',
|
|
783
|
-
input_type: 'checkbox',
|
|
784
|
-
span: 8,
|
|
785
|
-
input_props: {
|
|
786
|
-
type: 'custom',
|
|
787
|
-
renderData: [{
|
|
788
|
-
key: 'cardiacDisease',
|
|
789
|
-
label: '',
|
|
790
|
-
options: [{
|
|
791
|
-
label: '阴性',
|
|
792
|
-
value: 1
|
|
793
|
-
}, {
|
|
794
|
-
label: '阳性',
|
|
795
|
-
value: 2
|
|
796
|
-
}, {
|
|
797
|
-
label: '未查',
|
|
798
|
-
value: 3
|
|
799
|
-
}]
|
|
800
|
-
}]
|
|
801
|
-
}
|
|
802
|
-
}, {
|
|
803
|
-
name: 'cardiacDisease',
|
|
804
|
-
key: '.diseaseHistory.cardiacDigazgsease(Note)',
|
|
805
|
-
label: 'HIV',
|
|
806
|
-
input_type: 'checkbox',
|
|
807
|
-
span: 8,
|
|
808
|
-
input_props: {
|
|
809
|
-
type: 'custom',
|
|
810
|
-
renderData: [{
|
|
811
|
-
key: 'cardiacDgaisease',
|
|
812
|
-
label: '',
|
|
813
|
-
options: [{
|
|
814
|
-
label: '阴性',
|
|
815
|
-
value: 1
|
|
816
|
-
}, {
|
|
817
|
-
label: '阳性',
|
|
818
|
-
value: 2
|
|
819
|
-
}, {
|
|
820
|
-
label: '未查',
|
|
821
|
-
value: 3
|
|
822
|
-
}]
|
|
823
|
-
}]
|
|
824
|
-
}
|
|
825
|
-
}, {
|
|
826
|
-
name: 'cardiacDisease',
|
|
827
|
-
key: '.diseaseHistory.cardiacDisease(Note)',
|
|
828
|
-
label: '丙肝',
|
|
829
|
-
input_type: 'checkbox',
|
|
830
|
-
span: 8,
|
|
831
|
-
input_props: {
|
|
832
|
-
type: 'custom',
|
|
833
|
-
renderData: [{
|
|
834
|
-
key: 'cardiacDisease',
|
|
835
|
-
label: '',
|
|
836
|
-
options: [{
|
|
837
|
-
label: '阴性',
|
|
838
|
-
value: 1
|
|
839
|
-
}, {
|
|
840
|
-
label: '阳性',
|
|
841
|
-
value: 2
|
|
842
|
-
}, {
|
|
843
|
-
label: '未查',
|
|
844
|
-
value: 3
|
|
845
|
-
}]
|
|
846
|
-
}]
|
|
847
|
-
}
|
|
848
|
-
}, {
|
|
849
|
-
name: 'cardiacDisease',
|
|
850
|
-
key: '.diseaseHistory.cardiafhshgacDisease(Note)',
|
|
851
|
-
label: '梅毒',
|
|
852
|
-
input_type: 'checkbox',
|
|
853
|
-
span: 8,
|
|
854
|
-
input_props: {
|
|
855
|
-
type: 'custom',
|
|
856
|
-
renderData: [{
|
|
857
|
-
key: 'cardiacgrgDisease',
|
|
858
|
-
label: '',
|
|
859
|
-
options: [{
|
|
860
|
-
label: '阴性',
|
|
861
|
-
value: 1
|
|
862
|
-
}, {
|
|
863
|
-
label: '阳性',
|
|
864
|
-
value: 2
|
|
865
|
-
}, {
|
|
866
|
-
label: '未查',
|
|
867
|
-
value: 3
|
|
868
|
-
}]
|
|
869
|
-
}]
|
|
870
|
-
}
|
|
871
|
-
}];
|
|
872
|
-
var twinsConfig = [{
|
|
873
|
-
name: '',
|
|
874
|
-
key: '',
|
|
875
|
-
label: '双胎情况',
|
|
876
|
-
header_label: true,
|
|
877
|
-
just_header: true,
|
|
878
|
-
input_type: ''
|
|
879
|
-
}, {
|
|
880
|
-
name: 'twinPregnancyType',
|
|
881
|
-
key: 'twinPregnancyType',
|
|
882
|
-
label: '双胎妊娠类型',
|
|
883
|
-
span: 8,
|
|
884
|
-
input_type: 'select',
|
|
885
|
-
input_props: {
|
|
886
|
-
options: [{
|
|
887
|
-
label: '双绒毛膜双羊膜囊双胎',
|
|
888
|
-
value: '双绒毛膜双羊膜囊双胎'
|
|
889
|
-
}, {
|
|
890
|
-
label: '单绒毛膜双羊膜囊双胎',
|
|
891
|
-
value: '单绒毛膜双羊膜囊双胎'
|
|
892
|
-
}, {
|
|
893
|
-
label: '单绒毛膜单羊膜囊双胎',
|
|
894
|
-
value: '单绒毛膜单羊膜囊双胎'
|
|
895
|
-
}, {
|
|
896
|
-
label: '未确认',
|
|
897
|
-
value: '未确认'
|
|
898
|
-
}]
|
|
899
|
-
}
|
|
900
|
-
}, {
|
|
901
|
-
name: 'multipleComplications',
|
|
902
|
-
key: 'multipleComplications',
|
|
903
|
-
label: '双胎并发症',
|
|
904
|
-
input_type: 'checkbox',
|
|
905
|
-
span: 18,
|
|
906
|
-
input_props: {
|
|
907
|
-
type: 'group',
|
|
908
|
-
options: [{
|
|
909
|
-
label: '双胎输血综合征(TTTS)',
|
|
910
|
-
value: 1
|
|
911
|
-
}, {
|
|
912
|
-
label: '无心畸胎序列征(TRAPS)',
|
|
913
|
-
value: 2
|
|
914
|
-
}, {
|
|
915
|
-
label: '选择性胎儿生长受限(sIUGR)',
|
|
916
|
-
value: 3
|
|
917
|
-
}]
|
|
918
|
-
}
|
|
919
|
-
}, {
|
|
920
|
-
name: 'reduction(Note)',
|
|
921
|
-
key: 'reduction(Note)',
|
|
922
|
-
label: '减胎',
|
|
923
|
-
input_type: 'checkbox',
|
|
924
|
-
span: 18,
|
|
925
|
-
input_props: {
|
|
926
|
-
type: 'custom',
|
|
927
|
-
renderData: [{
|
|
928
|
-
key: 'reduction',
|
|
929
|
-
label: '',
|
|
930
|
-
options: [{
|
|
931
|
-
label: '无',
|
|
932
|
-
value: 1
|
|
933
|
-
}, {
|
|
934
|
-
label: '有',
|
|
935
|
-
value: 2
|
|
936
|
-
}],
|
|
937
|
-
extraEditors: [{
|
|
938
|
-
key: 2,
|
|
939
|
-
editors: [{
|
|
940
|
-
label: '减胎对象',
|
|
941
|
-
name: 'reductionObject',
|
|
942
|
-
key: 'reductionObject',
|
|
943
|
-
input_type: 'input'
|
|
944
|
-
}, {
|
|
945
|
-
label: '减胎原因',
|
|
946
|
-
name: 'reductionReason',
|
|
947
|
-
key: 'reductionReason',
|
|
948
|
-
input_type: 'input'
|
|
949
|
-
}]
|
|
950
|
-
}]
|
|
951
|
-
}]
|
|
268
|
+
});
|
|
269
|
+
return rm;
|
|
270
|
+
}, []);
|
|
271
|
+
function open瘢痕子宫阴道试产表() {
|
|
272
|
+
mchcModal__.openOne(randomIds.current + 1, '瘢痕子宫阴道试产表', {
|
|
273
|
+
modal_data: {
|
|
274
|
+
headerInfo: headerInfoCache.current
|
|
275
|
+
},
|
|
276
|
+
onClose: fetchHeaderInfo
|
|
277
|
+
});
|
|
952
278
|
}
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
type: 'custom',
|
|
961
|
-
renderData: [{
|
|
962
|
-
key: 'stillbornFoetus',
|
|
963
|
-
label: '',
|
|
964
|
-
options: [{
|
|
965
|
-
label: '无',
|
|
966
|
-
value: 1
|
|
967
|
-
}, {
|
|
968
|
-
label: '有',
|
|
969
|
-
value: 2
|
|
970
|
-
}],
|
|
971
|
-
extraEditors: [{
|
|
972
|
-
key: 2,
|
|
973
|
-
editors: [{
|
|
974
|
-
label: '死胎对象',
|
|
975
|
-
name: 'stillbornFoetusObject',
|
|
976
|
-
key: 'stillbornFoetusObject',
|
|
977
|
-
input_type: 'input'
|
|
978
|
-
}, {
|
|
979
|
-
label: '死胎原因',
|
|
980
|
-
name: 'stillbornFoetusReason',
|
|
981
|
-
key: 'stillbornFoetusReason',
|
|
982
|
-
input_type: 'input'
|
|
983
|
-
}]
|
|
984
|
-
}]
|
|
985
|
-
}]
|
|
279
|
+
function open子痫前期风险评估表() {
|
|
280
|
+
mchcModal__.openOne(randomIds.current + 2, '子痫前期风险评估表', {
|
|
281
|
+
modal_data: {
|
|
282
|
+
headerInfo: headerInfoCache.current
|
|
283
|
+
},
|
|
284
|
+
onClose: fetchHeaderInfo
|
|
285
|
+
});
|
|
986
286
|
}
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
}, {
|
|
995
|
-
name: 'mlUltrasounds',
|
|
996
|
-
key: 'mlUltrasounds',
|
|
997
|
-
label: '',
|
|
998
|
-
input_type: 'table',
|
|
999
|
-
input_props: {
|
|
1000
|
-
editable: true,
|
|
1001
|
-
hiddenSelection: true,
|
|
1002
|
-
tableColumns: commonColumns
|
|
287
|
+
function open深静脉血栓高危因素孕期用药筛查表() {
|
|
288
|
+
mchcModal__.openOne(randomIds.current + 3, '深静脉血栓高危因素孕期用药筛查表', {
|
|
289
|
+
modal_data: {
|
|
290
|
+
headerInfo: headerInfoCache.current
|
|
291
|
+
},
|
|
292
|
+
onClose: fetchHeaderInfo
|
|
293
|
+
});
|
|
1003
294
|
}
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
input_type: ''
|
|
1012
|
-
}, {
|
|
1013
|
-
name: 'fetalCount',
|
|
1014
|
-
key: 'fetalCount',
|
|
1015
|
-
label: '胎数',
|
|
1016
|
-
span: 8,
|
|
1017
|
-
input_type: 'select',
|
|
1018
|
-
input_props: {
|
|
1019
|
-
options: [{
|
|
1020
|
-
label: '三胎',
|
|
1021
|
-
value: '三胎'
|
|
1022
|
-
}, {
|
|
1023
|
-
label: '四胎',
|
|
1024
|
-
value: '四胎'
|
|
1025
|
-
}, {
|
|
1026
|
-
label: '五胎',
|
|
1027
|
-
value: '五胎'
|
|
1028
|
-
}, {
|
|
1029
|
-
label: '六胎',
|
|
1030
|
-
value: '六胎'
|
|
1031
|
-
}]
|
|
295
|
+
function open梅毒管理() {
|
|
296
|
+
mchcModal__.openOne(randomIds.current + 4, '梅毒管理', {
|
|
297
|
+
modal_data: {
|
|
298
|
+
headerInfo: headerInfoCache.current
|
|
299
|
+
},
|
|
300
|
+
onClose: fetchHeaderInfo
|
|
301
|
+
});
|
|
1032
302
|
}
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
type: 'group',
|
|
1041
|
-
options: [{
|
|
1042
|
-
label: '无心畸胎序列征(TRAPS)',
|
|
1043
|
-
value: 2
|
|
1044
|
-
}, {
|
|
1045
|
-
label: '选择性胎儿生长受限(sIUGR)',
|
|
1046
|
-
value: 3
|
|
1047
|
-
}]
|
|
303
|
+
function open乙肝管理() {
|
|
304
|
+
mchcModal__.openOne(randomIds.current + 5, '乙肝管理', {
|
|
305
|
+
modal_data: {
|
|
306
|
+
headerInfo: headerInfoCache.current
|
|
307
|
+
},
|
|
308
|
+
onClose: fetchHeaderInfo
|
|
309
|
+
});
|
|
1048
310
|
}
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
options: [{
|
|
1061
|
-
label: '无',
|
|
1062
|
-
value: 1
|
|
1063
|
-
}, {
|
|
1064
|
-
label: '有',
|
|
1065
|
-
value: 2
|
|
1066
|
-
}],
|
|
1067
|
-
extraEditors: [{
|
|
1068
|
-
key: 2,
|
|
1069
|
-
editors: [{
|
|
1070
|
-
label: '减胎对象',
|
|
1071
|
-
name: 'reductionObject',
|
|
1072
|
-
key: 'reductionObject',
|
|
1073
|
-
input_type: 'input'
|
|
1074
|
-
}, {
|
|
1075
|
-
label: '减胎原因',
|
|
1076
|
-
name: 'reductionReason',
|
|
1077
|
-
key: 'reductionReason',
|
|
1078
|
-
input_type: 'input'
|
|
1079
|
-
}]
|
|
1080
|
-
}]
|
|
1081
|
-
}]
|
|
311
|
+
function open高危因素管理() {
|
|
312
|
+
var is护士端_禁止编辑高危因素_传染病 = mchcConfig.get('护士端_禁止编辑高危因素_传染病');
|
|
313
|
+
if (is护士端_禁止编辑高危因素_传染病 && isNurse) return;
|
|
314
|
+
setIsTwinkling(false);
|
|
315
|
+
mchcModal__.open('高危因素管理', {
|
|
316
|
+
modal_data: {
|
|
317
|
+
data: headerInfo,
|
|
318
|
+
pregnancyId: pregnancyId,
|
|
319
|
+
handleSubmit: fetchHeaderInfo
|
|
320
|
+
}
|
|
321
|
+
});
|
|
1082
322
|
}
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
span: 18,
|
|
1089
|
-
input_props: {
|
|
1090
|
-
type: 'custom',
|
|
1091
|
-
renderData: [{
|
|
1092
|
-
key: 'stillbornFoetus',
|
|
1093
|
-
label: '',
|
|
1094
|
-
options: [{
|
|
1095
|
-
label: '无',
|
|
1096
|
-
value: 1
|
|
1097
|
-
}, {
|
|
1098
|
-
label: '有',
|
|
1099
|
-
value: 2
|
|
1100
|
-
}],
|
|
1101
|
-
extraEditors: [{
|
|
1102
|
-
key: 2,
|
|
1103
|
-
editors: [{
|
|
1104
|
-
label: '死胎对象',
|
|
1105
|
-
name: 'stillbornFoetusObject',
|
|
1106
|
-
key: 'stillbornFoetusObject',
|
|
1107
|
-
input_type: 'input'
|
|
1108
|
-
}, {
|
|
1109
|
-
label: '死胎原因',
|
|
1110
|
-
name: 'stillbornFoetusReason',
|
|
1111
|
-
key: 'stillbornFoetusReason',
|
|
1112
|
-
input_type: 'input'
|
|
1113
|
-
}]
|
|
1114
|
-
}]
|
|
1115
|
-
}]
|
|
323
|
+
function switch_page() {
|
|
324
|
+
var path = isNurse ? '/prenatal-visit/pregnancy/doctor-end' : '/prenatal-visit/pregnancy/nurse-end';
|
|
325
|
+
safe_navigate("".concat(path, "?id=").concat(pregnancyId), props, {
|
|
326
|
+
id: pregnancyId
|
|
327
|
+
});
|
|
1116
328
|
}
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
key: '',
|
|
1120
|
-
label: '超声指标',
|
|
1121
|
-
header_label: true,
|
|
1122
|
-
just_header: true,
|
|
1123
|
-
input_type: ''
|
|
1124
|
-
}, {
|
|
1125
|
-
name: 'mlUltrasounds',
|
|
1126
|
-
key: 'mlUltrasounds',
|
|
1127
|
-
label: '',
|
|
1128
|
-
input_type: 'table',
|
|
1129
|
-
input_props: {
|
|
1130
|
-
editable: true,
|
|
1131
|
-
hiddenSelection: true,
|
|
1132
|
-
tableColumns: commonColumns
|
|
329
|
+
function showSpan(key) {
|
|
330
|
+
return (headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo[key]) ? true : false;
|
|
1133
331
|
}
|
|
1134
|
-
|
|
1135
|
-
var
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
case 0:
|
|
1146
|
-
return [4, request.get('/api/doctor/getPregnancyCaseOfOutpatient?id=' + id)];
|
|
1147
|
-
case 1:
|
|
1148
|
-
res = _a.sent();
|
|
1149
|
-
return [2, res.data];
|
|
1150
|
-
}
|
|
1151
|
-
});
|
|
1152
|
-
});
|
|
1153
|
-
}
|
|
1154
|
-
function updatePregnancyCaseOfOutpatient(data) {
|
|
1155
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1156
|
-
var res;
|
|
1157
|
-
return __generator(this, function (_a) {
|
|
1158
|
-
switch (_a.label) {
|
|
1159
|
-
case 0:
|
|
1160
|
-
return [4, request.put('/api/doctor/updatePregnancyCaseOfOutpatient', data)];
|
|
1161
|
-
case 1:
|
|
1162
|
-
res = _a.sent();
|
|
1163
|
-
return [2, res.data];
|
|
332
|
+
function getValue(key) {
|
|
333
|
+
var _a;
|
|
334
|
+
return (_a = headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo[key]) !== null && _a !== void 0 ? _a : EMPTY_PLACEHOLDER;
|
|
335
|
+
}
|
|
336
|
+
function check_week_show(curgesweek) {
|
|
337
|
+
var bool = true;
|
|
338
|
+
if (typeof curgesweek == 'string') {
|
|
339
|
+
var index = curgesweek.indexOf('+');
|
|
340
|
+
var week = curgesweek;
|
|
341
|
+
if (index != -1) {
|
|
342
|
+
week = curgesweek.substr(0, index);
|
|
1164
343
|
}
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
var DoctorEnd_ExemplaryCase = function (_super) {
|
|
1169
|
-
__extends(DoctorEnd_ExemplaryCase, _super);
|
|
1170
|
-
function DoctorEnd_ExemplaryCase() {
|
|
1171
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1172
|
-
_this.state = {
|
|
1173
|
-
activeKey: _this.props.tabkey,
|
|
1174
|
-
gdmData: [],
|
|
1175
|
-
bmiData: [],
|
|
1176
|
-
formHandlerObj: {},
|
|
1177
|
-
formValue: {},
|
|
1178
|
-
formConfig: {
|
|
1179
|
-
4: _cloneDeep(twinsConfig),
|
|
1180
|
-
5: _cloneDeep(multipletsConfig)
|
|
344
|
+
var week_ = parseInt(week);
|
|
345
|
+
if (week_ >= 42) {
|
|
346
|
+
bool = false;
|
|
1181
347
|
}
|
|
1182
|
-
};
|
|
1183
|
-
_this.handleClose = function () {
|
|
1184
|
-
var onClose = _this.props.onClose;
|
|
1185
|
-
onClose();
|
|
1186
|
-
};
|
|
1187
|
-
_this.handleSure = function () {
|
|
1188
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
1189
|
-
var onClose, _a, formHandlerObj, activeKey, formHandler, _b, validCode, res;
|
|
1190
|
-
return __generator(this, function (_c) {
|
|
1191
|
-
switch (_c.label) {
|
|
1192
|
-
case 0:
|
|
1193
|
-
onClose = this.props.onClose;
|
|
1194
|
-
_a = this.state, formHandlerObj = _a.formHandlerObj, activeKey = _a.activeKey;
|
|
1195
|
-
formHandler = _get(formHandlerObj, "".concat(activeKey));
|
|
1196
|
-
return [4, formHandler.submit()];
|
|
1197
|
-
case 1:
|
|
1198
|
-
_b = _c.sent(), validCode = _b.validCode, res = _b.res;
|
|
1199
|
-
if (validCode) {
|
|
1200
|
-
this.updataMethods(res);
|
|
1201
|
-
} else {
|
|
1202
|
-
_message.destroy();
|
|
1203
|
-
_message.error('请完善表单项!');
|
|
1204
|
-
}
|
|
1205
|
-
onClose();
|
|
1206
|
-
return [2];
|
|
1207
|
-
}
|
|
1208
|
-
});
|
|
1209
|
-
});
|
|
1210
|
-
};
|
|
1211
|
-
_this.handlePrint = function () {
|
|
1212
|
-
var onClose = _this.props.onClose;
|
|
1213
|
-
onClose();
|
|
1214
|
-
};
|
|
1215
|
-
return _this;
|
|
1216
|
-
}
|
|
1217
|
-
DoctorEnd_ExemplaryCase.prototype.componentDidMount = function () {
|
|
1218
|
-
var _a = this.state,
|
|
1219
|
-
activeKey = _a.activeKey;
|
|
1220
|
-
_a.formHandlerObj;
|
|
1221
|
-
this.initData(activeKey);
|
|
1222
|
-
};
|
|
1223
|
-
DoctorEnd_ExemplaryCase.prototype.componentDidUpdate = function () {
|
|
1224
|
-
var _this = this;
|
|
1225
|
-
var _a = this.state;
|
|
1226
|
-
_a.activeKey;
|
|
1227
|
-
var formHandlerObj = _a.formHandlerObj;
|
|
1228
|
-
_a.formValue;
|
|
1229
|
-
var formHandler = _get(formHandlerObj, "5");
|
|
1230
|
-
if (formHandler && formHandler.subscribe) {
|
|
1231
|
-
formHandler.subscribe('fetalCount', 'change', function (val) {
|
|
1232
|
-
var fetalCont = formHandler.fetalCount.actions.getValue().value;
|
|
1233
|
-
_this.changeConfig(fetalCont);
|
|
1234
|
-
var newvalue = _cloneDeep(_get(_this.state.formValue, "5"));
|
|
1235
|
-
_set(newvalue, "fetalCount", fetalCont);
|
|
1236
|
-
_this.setState({
|
|
1237
|
-
formValue: __assign(__assign({}, _this.state.formValue), {
|
|
1238
|
-
5: newvalue
|
|
1239
|
-
})
|
|
1240
|
-
});
|
|
1241
|
-
});
|
|
1242
348
|
}
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
return
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
349
|
+
return bool;
|
|
350
|
+
}
|
|
351
|
+
function showTitle(bool) {
|
|
352
|
+
var title = bool ? getValue('highriskNote') : getValue('highRiskDiagnosis');
|
|
353
|
+
var a = title && title.length > 25 ? title : '';
|
|
354
|
+
return a;
|
|
355
|
+
}
|
|
356
|
+
function renderInfo() {
|
|
357
|
+
var _a, _b, _c;
|
|
358
|
+
var is_show_note = mchcConfig.get('highriskType') == 'highriskNote';
|
|
359
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
360
|
+
className: classnames(styles['header-info-wrapper']),
|
|
361
|
+
onDoubleClick: function onDoubleClick(e) {},
|
|
362
|
+
style: {
|
|
363
|
+
background: color_conf.高危背景
|
|
364
|
+
}
|
|
365
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
366
|
+
className: styles['header-info-content']
|
|
367
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
368
|
+
className: styles['wrapper-btns']
|
|
369
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
370
|
+
className: styles['highrisk']
|
|
371
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
372
|
+
style: {
|
|
373
|
+
background: color_conf.高危颜色
|
|
374
|
+
},
|
|
375
|
+
className: classnames(styles['level-btn'], isTwinkling && highriskLable === 'Ⅴ' && !mchcEnv.is('广三') ? styles['twinkling'] : ''),
|
|
376
|
+
title: JSON.stringify(props.id),
|
|
377
|
+
onClick: open高危因素管理
|
|
378
|
+
}, color_conf.高危文字), showSpan('infectionLable') && !!infectionNoteLabels.length ? (/*#__PURE__*/React.createElement("span", {
|
|
379
|
+
style: {
|
|
380
|
+
padding: 0,
|
|
381
|
+
display: 'flex',
|
|
382
|
+
flexDirection: 'column',
|
|
383
|
+
writingMode: 'unset',
|
|
384
|
+
fontSize: infectionNoteLabels.length >> 1 ? 14 : 16
|
|
385
|
+
},
|
|
386
|
+
className: styles['infection-btn'],
|
|
387
|
+
title: get(headerInfo, 'infectionLable')
|
|
388
|
+
}, infectionNoteLabels.map(function (_) {
|
|
389
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
390
|
+
key: _.key,
|
|
391
|
+
onClick: function onClick() {
|
|
392
|
+
return (_.type === '梅' || _.type === '传染病' && _.allType.includes('梅')) && open梅毒管理();
|
|
393
|
+
},
|
|
394
|
+
style: {
|
|
395
|
+
background: _.color,
|
|
396
|
+
flex: 1,
|
|
397
|
+
display: 'flex',
|
|
398
|
+
alignItems: 'center',
|
|
399
|
+
justifyContent: 'center',
|
|
400
|
+
writingMode: 'vertical-lr'
|
|
1270
401
|
}
|
|
1271
|
-
});
|
|
1272
|
-
})
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
402
|
+
}, _.label);
|
|
403
|
+
}))) : null), /*#__PURE__*/React.createElement("div", {
|
|
404
|
+
className: styles['signs']
|
|
405
|
+
}, showSpan('thrombusLable') && (/*#__PURE__*/React.createElement("span", {
|
|
406
|
+
className: classnames(styles['signs-btn'], styles['trial']),
|
|
407
|
+
onClick: open瘢痕子宫阴道试产表
|
|
408
|
+
}, "\u75A4")), showSpan('cicatrixLable') && (/*#__PURE__*/React.createElement("span", {
|
|
409
|
+
className: classnames(styles['signs-btn'], styles['pahr']),
|
|
410
|
+
style: {
|
|
411
|
+
flexDirection: 'column'
|
|
412
|
+
},
|
|
413
|
+
onClick: open深静脉血栓高危因素孕期用药筛查表
|
|
414
|
+
}, /*#__PURE__*/React.createElement("span", null, "VTE", /*#__PURE__*/React.createElement("em", null, (_c = (_b = (_a = headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.alertAssessment) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.length) !== null && _c !== void 0 ? _c : ''))))), showSpan('eclampsiaLable') && (/*#__PURE__*/React.createElement("div", {
|
|
415
|
+
className: styles['preeclampsia-btn'],
|
|
416
|
+
onClick: open子痫前期风险评估表
|
|
417
|
+
}, "\u5B50\u75EB"))), /*#__PURE__*/React.createElement("div", {
|
|
418
|
+
className: styles['wrapper-msg']
|
|
419
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
420
|
+
className: styles['msg-top']
|
|
421
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
422
|
+
className: styles['msg-item']
|
|
423
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
424
|
+
className: styles['value']
|
|
425
|
+
}, getValue('name'))), /*#__PURE__*/React.createElement("div", {
|
|
426
|
+
className: styles['small-item']
|
|
427
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
428
|
+
className: styles['value']
|
|
429
|
+
}, getValue('age'), "\u5C81")), /*#__PURE__*/React.createElement("div", {
|
|
430
|
+
className: styles['small-item']
|
|
431
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
432
|
+
className: styles['label']
|
|
433
|
+
}, "\u5B55\u4EA7\uFF1A"), /*#__PURE__*/React.createElement("span", {
|
|
434
|
+
className: styles['value']
|
|
435
|
+
}, getValue('g'), "/", getValue('p'))), get(headerInfo, "labourState") ? (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
436
|
+
className: styles['small-item']
|
|
437
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
438
|
+
className: styles['label']
|
|
439
|
+
}, "\u4EA7\u540E\uFF1A"), /*#__PURE__*/React.createElement("span", {
|
|
440
|
+
className: styles['value']
|
|
441
|
+
}, getValue('daysAfterDelivery'))), /*#__PURE__*/React.createElement("div", {
|
|
442
|
+
className: styles['small-item']
|
|
443
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
444
|
+
className: styles['label']
|
|
445
|
+
}, "\u5206\u5A29\u5B55\u5468\uFF1A"), /*#__PURE__*/React.createElement("span", {
|
|
446
|
+
className: styles['value']
|
|
447
|
+
}, getValue('labourWeek'))))) : (/*#__PURE__*/React.createElement(React.Fragment, null, check_week_show(getValue('curgesweek')) && (/*#__PURE__*/React.createElement("div", {
|
|
448
|
+
className: styles['small-item']
|
|
449
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
450
|
+
className: styles['label']
|
|
451
|
+
}, "\u5B55\u5468\uFF1A"), /*#__PURE__*/React.createElement("span", {
|
|
452
|
+
className: styles['value']
|
|
453
|
+
}, getValue('curgesweek')))), /*#__PURE__*/React.createElement("div", {
|
|
454
|
+
className: styles['small-item']
|
|
455
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
456
|
+
className: styles['label']
|
|
457
|
+
}, "\u9884\u4EA7\u671F\uFF1A"), /*#__PURE__*/React.createElement("span", {
|
|
458
|
+
className: styles['value']
|
|
459
|
+
}, getValue('edd'))))), /*#__PURE__*/React.createElement("div", {
|
|
460
|
+
className: styles['small-item']
|
|
461
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
462
|
+
className: styles['label']
|
|
463
|
+
}, "\u5C31\u8BCA\u5361\u53F7\uFF1A"), render_select()), info_addon.map(function (_) {
|
|
464
|
+
var txt = getValue(_.value);
|
|
465
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
466
|
+
className: styles['small-item'],
|
|
467
|
+
title: txt
|
|
468
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
469
|
+
className: styles['label']
|
|
470
|
+
}, _.label, "\uFF1A"), /*#__PURE__*/React.createElement("span", {
|
|
471
|
+
className: styles['value']
|
|
472
|
+
}, txt));
|
|
473
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
474
|
+
className: styles['msg-bottom']
|
|
475
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
476
|
+
className: styles['exemplary-case']
|
|
477
|
+
}, is_show_乙肝 && (/*#__PURE__*/React.createElement(Button, {
|
|
478
|
+
hidden: infectionNoteLabels.some(function (_) {
|
|
479
|
+
return _.type === '乙';
|
|
480
|
+
}),
|
|
481
|
+
type: "text",
|
|
482
|
+
size: "small",
|
|
483
|
+
onClick: open乙肝管理
|
|
484
|
+
}, "\u4E59\u809D\u4E13\u6848\u7BA1\u7406")), is_show_梅毒 && (/*#__PURE__*/React.createElement(Button, {
|
|
485
|
+
hidden: infectionNoteLabels.some(function (_) {
|
|
486
|
+
return _.type === '梅';
|
|
487
|
+
}),
|
|
488
|
+
type: "text",
|
|
489
|
+
size: "small",
|
|
490
|
+
onClick: open梅毒管理
|
|
491
|
+
}, "\u6885\u6BD2\u4E13\u6848\u7BA1\u7406")), isShowGdm && (/*#__PURE__*/React.createElement(Button, {
|
|
492
|
+
size: "small",
|
|
493
|
+
type: "text",
|
|
494
|
+
onClick: function onClick() {
|
|
495
|
+
setExemplaryCaseVisible(true);
|
|
496
|
+
setTabkey('1');
|
|
497
|
+
}
|
|
498
|
+
}, "GDM\u4E13\u6848")), isShowSlowGrowing && (/*#__PURE__*/React.createElement(Button, {
|
|
499
|
+
size: "small",
|
|
500
|
+
type: "text",
|
|
501
|
+
onClick: function onClick() {
|
|
502
|
+
setExemplaryCaseVisible(true);
|
|
503
|
+
setTabkey('2');
|
|
504
|
+
}
|
|
505
|
+
}, "\u80CE\u513F\u751F\u957F\u7F13\u6162\u4E13\u6848")), isShowBmi && (/*#__PURE__*/React.createElement(Button, {
|
|
506
|
+
size: "small",
|
|
507
|
+
type: "text",
|
|
508
|
+
onClick: function onClick() {
|
|
509
|
+
setExemplaryCaseVisible(true);
|
|
510
|
+
setTabkey('3');
|
|
511
|
+
}
|
|
512
|
+
}, "BMI\u9AD8\u5371\u4E13\u6848")), isShowMultiplets && (/*#__PURE__*/React.createElement(Button, {
|
|
513
|
+
size: "small",
|
|
514
|
+
type: "text",
|
|
515
|
+
onClick: function onClick() {
|
|
516
|
+
setExemplaryCaseVisible(true);
|
|
517
|
+
setTabkey('5');
|
|
518
|
+
}
|
|
519
|
+
}, get(props, "headerInfo.pregnancyCaseLable") || '多胎', "\u598A\u5A20\u4E13\u6848"))), showSpan('infectionNote') ? (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
|
|
520
|
+
style: {
|
|
521
|
+
color: color_conf.传染病颜色
|
|
522
|
+
}
|
|
523
|
+
}, "\u4F20\u67D3\u75C5:", getValue('infectionNote') || '无'), /*#__PURE__*/React.createElement("span", {
|
|
524
|
+
style: {
|
|
525
|
+
margin: '0 4px'
|
|
526
|
+
}
|
|
527
|
+
}, "/"))) : null, /*#__PURE__*/React.createElement(Tooltip, {
|
|
528
|
+
placement: "bottomLeft",
|
|
529
|
+
title: showTitle(is_show_note)
|
|
530
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
531
|
+
className: styles['msg-highrisk'],
|
|
532
|
+
style: {
|
|
533
|
+
color: color_conf.高危文字颜色
|
|
534
|
+
}
|
|
535
|
+
}, is_show_note ? (/*#__PURE__*/React.createElement("span", null, "\u9AD8\u5371\u56E0\u7D20:", getValue('highriskNote') || '无')) : (/*#__PURE__*/React.createElement("span", null, "\u9AD8\u5371\u8BCA\u65AD:", getValue('highRiskDiagnosis') || '无')))), /*#__PURE__*/React.createElement(FuckTags, {
|
|
536
|
+
str_data: get(headerInfo, 'tags')
|
|
537
|
+
})))), render_extra());
|
|
538
|
+
}
|
|
539
|
+
function fetchHeaderInfo() {
|
|
1290
540
|
return __awaiter(this, void 0, void 0, function () {
|
|
1291
|
-
var
|
|
1292
|
-
return __generator(this, function (
|
|
1293
|
-
switch (
|
|
541
|
+
var data;
|
|
542
|
+
return __generator(this, function (_a) {
|
|
543
|
+
switch (_a.label) {
|
|
1294
544
|
case 0:
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
if (!['4', '5'].includes(activeKey)) return [3, 2];
|
|
1298
|
-
postData = __assign(__assign(__assign(__assign({}, newData), newData.reduction), newData.stillbornFoetus), {
|
|
1299
|
-
fetalCount: activeKey == 4 ? '二胎' : newData.fetalCount,
|
|
1300
|
-
id: _get(formValue, "".concat(activeKey, ".id"))
|
|
1301
|
-
});
|
|
1302
|
-
return [4, updatePregnancyCaseOfOutpatient(postData)];
|
|
545
|
+
if (!pregnancyId) return [2];
|
|
546
|
+
return [4, SMchc_Doctor.getOutpatientHeaderInfo(pregnancyId)];
|
|
1303
547
|
case 1:
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
548
|
+
data = _a.sent();
|
|
549
|
+
saveHeaderInfo === null || saveHeaderInfo === void 0 ? void 0 : saveHeaderInfo(data);
|
|
550
|
+
setHeaderInfo(data);
|
|
1307
551
|
return [2];
|
|
1308
552
|
}
|
|
1309
553
|
});
|
|
1310
554
|
});
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
width: 1400,
|
|
1358
|
-
visible: true,
|
|
1359
|
-
footer: footer,
|
|
1360
|
-
onCancel: this.handleClose,
|
|
1361
|
-
className: styles['exemplary-case-container']
|
|
1362
|
-
}, /*#__PURE__*/React.createElement(_Tabs, {
|
|
1363
|
-
onChange: this.tabsOnChange.bind(this),
|
|
1364
|
-
activeKey: activeKey
|
|
1365
|
-
}, isShowGdm && /*#__PURE__*/React.createElement(_Tabs.TabPane, {
|
|
1366
|
-
tab: "GDM\u4E13\u6848",
|
|
1367
|
-
key: "1"
|
|
1368
|
-
}, /*#__PURE__*/React.createElement(MyForm, {
|
|
1369
|
-
config: gdmConfig,
|
|
1370
|
-
value: gdmData,
|
|
1371
|
-
getFormHandler: function getFormHandler(formHandler) {
|
|
1372
|
-
return _this.setState({
|
|
1373
|
-
formHandlerObj: __assign(__assign({}, formHandlerObj), {
|
|
1374
|
-
1: formHandler
|
|
1375
|
-
})
|
|
1376
|
-
});
|
|
1377
|
-
},
|
|
1378
|
-
submitChange: false
|
|
1379
|
-
})), isShowSlowGrowing && /*#__PURE__*/React.createElement(_Tabs.TabPane, {
|
|
1380
|
-
tab: "\u80CE\u513F\u751F\u957F\u7F13\u6162\u4E13\u6848",
|
|
1381
|
-
key: "2"
|
|
1382
|
-
}, /*#__PURE__*/React.createElement(MyForm, {
|
|
1383
|
-
config: slowGrowingConfig,
|
|
1384
|
-
value: gdmData,
|
|
1385
|
-
getFormHandler: function getFormHandler(formHandler) {
|
|
1386
|
-
return _this.setState({
|
|
1387
|
-
formHandlerObj: __assign(__assign({}, formHandlerObj), {
|
|
1388
|
-
2: formHandler
|
|
1389
|
-
})
|
|
1390
|
-
});
|
|
1391
|
-
},
|
|
1392
|
-
submitChange: false
|
|
1393
|
-
})), isShowBmi && /*#__PURE__*/React.createElement(_Tabs.TabPane, {
|
|
1394
|
-
tab: "BMI\u9AD8\u5371\u4E13\u6848",
|
|
1395
|
-
key: "3"
|
|
1396
|
-
}, /*#__PURE__*/React.createElement(MyForm, {
|
|
1397
|
-
config: bmiConfig,
|
|
1398
|
-
value: bmiData,
|
|
1399
|
-
getFormHandler: function getFormHandler(formHandler) {
|
|
1400
|
-
return _this.setState({
|
|
1401
|
-
formHandlerObj: __assign(__assign({}, formHandlerObj), {
|
|
1402
|
-
3: formHandler
|
|
1403
|
-
})
|
|
1404
|
-
});
|
|
1405
|
-
},
|
|
1406
|
-
submitChange: false
|
|
1407
|
-
})), isShowTwins && /*#__PURE__*/React.createElement(_Tabs.TabPane, {
|
|
1408
|
-
tab: "\u53CC\u80CE\u4E13\u6848",
|
|
1409
|
-
key: "4"
|
|
1410
|
-
}, /*#__PURE__*/React.createElement(MyForm, {
|
|
1411
|
-
config: _get(formConfig, "4"),
|
|
1412
|
-
value: _get(formValue, "".concat(4)),
|
|
1413
|
-
getFormHandler: function getFormHandler(formHandler) {
|
|
1414
|
-
return _this.setState({
|
|
1415
|
-
formHandlerObj: __assign(__assign({}, formHandlerObj), {
|
|
1416
|
-
4: formHandler
|
|
1417
|
-
})
|
|
1418
|
-
});
|
|
1419
|
-
},
|
|
1420
|
-
submitChange: false
|
|
1421
|
-
})), isShowMultiplets && /*#__PURE__*/React.createElement(_Tabs.TabPane, {
|
|
1422
|
-
tab: "".concat(_get(this.props, "headerInfo.pregnancyCaseLable") || '多胎', "\u4E13\u6848"),
|
|
1423
|
-
key: "5"
|
|
1424
|
-
}, /*#__PURE__*/React.createElement(MyForm, {
|
|
1425
|
-
config: _get(formConfig, "5"),
|
|
1426
|
-
value: _get(formValue, "".concat(5)),
|
|
1427
|
-
getFormHandler: function getFormHandler(formHandler) {
|
|
1428
|
-
return _this.setState({
|
|
1429
|
-
formHandlerObj: __assign(__assign({}, formHandlerObj), {
|
|
1430
|
-
5: formHandler
|
|
1431
|
-
})
|
|
555
|
+
}
|
|
556
|
+
function render_extra() {
|
|
557
|
+
if (!headerInfo) return null;
|
|
558
|
+
var common_props = {
|
|
559
|
+
shape: 'circle',
|
|
560
|
+
style: {
|
|
561
|
+
opacity: 0.6,
|
|
562
|
+
marginLeft: 6
|
|
563
|
+
}
|
|
564
|
+
};
|
|
565
|
+
var wrap_style = {
|
|
566
|
+
display: 'flex',
|
|
567
|
+
alignItems: 'flex-start',
|
|
568
|
+
justifyContent: 'flex-end'
|
|
569
|
+
};
|
|
570
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
571
|
+
style: {
|
|
572
|
+
flex: 1
|
|
573
|
+
}
|
|
574
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
575
|
+
style: __assign(__assign({}, wrap_style), {
|
|
576
|
+
marginBottom: 4
|
|
577
|
+
})
|
|
578
|
+
}, /*#__PURE__*/React.createElement(OkButton, __assign({}, common_props, {
|
|
579
|
+
icon: /*#__PURE__*/React.createElement(MyIcon, {
|
|
580
|
+
value: "ThunderboltOutlined"
|
|
581
|
+
}),
|
|
582
|
+
onClick: onDobuleClick
|
|
583
|
+
})), /*#__PURE__*/React.createElement(OkButton, __assign({}, common_props, {
|
|
584
|
+
icon: /*#__PURE__*/React.createElement(MyIcon, {
|
|
585
|
+
value: "ReloadOutlined"
|
|
586
|
+
}),
|
|
587
|
+
onClick: fetchHeaderInfo
|
|
588
|
+
})), mchcEnv.is_single ? null : (/*#__PURE__*/React.createElement(OkButton, __assign({}, common_props, {
|
|
589
|
+
icon: /*#__PURE__*/React.createElement(MyIcon, {
|
|
590
|
+
value: "RetweetOutlined"
|
|
591
|
+
}),
|
|
592
|
+
onClick: switch_page
|
|
593
|
+
})))), /*#__PURE__*/React.createElement("div", {
|
|
594
|
+
style: wrap_style
|
|
595
|
+
}, /*#__PURE__*/React.createElement(QuestionnaireButton, __assign({
|
|
596
|
+
onOk: function onOk(qs) {
|
|
597
|
+
return request.post('/api/send/questionnaire', {
|
|
598
|
+
type: 1,
|
|
599
|
+
id: pregnancyId,
|
|
600
|
+
questionnaire: qs
|
|
1432
601
|
});
|
|
1433
|
-
}
|
|
1434
|
-
|
|
602
|
+
}
|
|
603
|
+
}, common_props, {
|
|
604
|
+
btn_text: "\u95EE\u5377",
|
|
605
|
+
shape: "round"
|
|
1435
606
|
}))));
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
607
|
+
}
|
|
608
|
+
function render_select() {
|
|
609
|
+
if (!headerInfo) return EMPTY_PLACEHOLDER;
|
|
610
|
+
if (mchcEnv.isSp) return headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.outpatientNO;
|
|
611
|
+
return /*#__PURE__*/React.createElement(PatientSelect, {
|
|
612
|
+
size: "small",
|
|
613
|
+
style: {
|
|
614
|
+
width: 120
|
|
615
|
+
},
|
|
616
|
+
className: styles['outpatientNO'],
|
|
617
|
+
value: headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.outpatientNO,
|
|
618
|
+
onPatientSelect: function onPatientSelect(v, form) {
|
|
619
|
+
var new_url = setSearchParamsValue('id', v.id);
|
|
620
|
+
mchcEnv.reload(new_url);
|
|
621
|
+
}
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, renderInfo(), exemplaryCaseVisible && (/*#__PURE__*/React.createElement(DoctorEnd_ExemplaryCase, __assign({
|
|
625
|
+
onClose: function onClose() {
|
|
626
|
+
return setExemplaryCaseVisible(false);
|
|
627
|
+
},
|
|
628
|
+
isShowGdm: isShowGdm || true,
|
|
629
|
+
isShowBmi: isShowBmi || true,
|
|
630
|
+
isShowSlowGrowing: isShowSlowGrowing || true,
|
|
631
|
+
isShowTwins: isShowTwins || true,
|
|
632
|
+
isShowMultiplets: isShowMultiplets || true,
|
|
633
|
+
tabkey: tabkey
|
|
634
|
+
}, props))));
|
|
635
|
+
}
|
|
636
|
+
export { HeaderInfoInner as default };
|