@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/.root25.js
CHANGED
|
@@ -1,281 +1,230 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import '
|
|
5
|
-
import
|
|
6
|
-
import { d as __rest, _ as __awaiter, a as __generator } from './index.js';
|
|
7
|
-
import { formatDate, request } from '@lm_fe/utils';
|
|
8
|
-
import React, { useState, useEffect } from 'react';
|
|
9
|
-
import { mchcLogger } from '@lm_fe/env';
|
|
1
|
+
import { s as styleInject, d as __rest, b as __awaiter, c as __generator, a as __assign } from './index.js';
|
|
2
|
+
import { Form, Modal, Row, Col } from 'antd';
|
|
3
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
4
|
+
import { SMchc_HBvManage } from '@lm_fe/service';
|
|
5
|
+
import { getSearchParamsValue } from '@lm_fe/utils';
|
|
10
6
|
import { MyFormSectionForm } from '@lm_fe/components_m';
|
|
11
|
-
import 'antd/es/row/style';
|
|
12
|
-
import 'antd/es/row';
|
|
13
|
-
import 'antd/es/col/style';
|
|
14
|
-
import 'antd/es/col';
|
|
15
|
-
import 'antd/es/list/style';
|
|
16
|
-
import 'antd/es/list';
|
|
17
|
-
import 'antd/es/tooltip/style';
|
|
18
|
-
import 'antd/es/tooltip';
|
|
19
|
-
import 'lodash/get';
|
|
20
|
-
import '@ant-design/icons';
|
|
21
|
-
import 'classnames';
|
|
22
|
-
import 'antd/es/button/style';
|
|
23
|
-
import 'antd/es/button';
|
|
24
|
-
import 'antd/es/spin/style';
|
|
25
|
-
import 'antd/es/spin';
|
|
26
7
|
import '@lm_fe/components';
|
|
27
|
-
import '
|
|
28
|
-
import '
|
|
29
|
-
import '
|
|
30
|
-
import '
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
import 'antd/es/divider/style';
|
|
38
|
-
import 'antd/es/divider';
|
|
39
|
-
var form_config = [{
|
|
40
|
-
label: "分娩日期",
|
|
41
|
-
name: "deliveryDate",
|
|
42
|
-
inputType: 'DatePicker',
|
|
43
|
-
layout: '1/3'
|
|
44
|
-
}, {
|
|
45
|
-
label: "分娩方式",
|
|
46
|
-
name: "deliveryMode",
|
|
47
|
-
inputType: 'MA',
|
|
48
|
-
inputProps: {
|
|
49
|
-
optionKey: "分娩方式s"
|
|
50
|
-
},
|
|
51
|
-
layout: '1/3'
|
|
52
|
-
}, {
|
|
53
|
-
label: "性别",
|
|
54
|
-
name: "gender",
|
|
55
|
-
inputType: 'MA',
|
|
56
|
-
inputProps: {
|
|
57
|
-
optionKey: "性别3s"
|
|
58
|
-
},
|
|
59
|
-
layout: '1/3'
|
|
60
|
-
}, {
|
|
61
|
-
label: "体重",
|
|
62
|
-
name: "weight",
|
|
63
|
-
inputType: 'MA',
|
|
64
|
-
inputProps: {
|
|
65
|
-
unit: 'g'
|
|
66
|
-
},
|
|
67
|
-
layout: '1/3'
|
|
68
|
-
}, {
|
|
69
|
-
dataIndex: 'returnTo',
|
|
70
|
-
title: '是否转归',
|
|
71
|
-
inputType: 'MA',
|
|
72
|
-
inputProps: {
|
|
73
|
-
options: '是,否'
|
|
74
|
-
},
|
|
75
|
-
layout: '1/3'
|
|
76
|
-
}, {
|
|
77
|
-
label: "转归情况",
|
|
78
|
-
children: [{
|
|
79
|
-
label: "治愈",
|
|
80
|
-
name: "healed",
|
|
81
|
-
inputType: 'MA',
|
|
82
|
-
inputProps: {
|
|
83
|
-
options: '是,否'
|
|
84
|
-
},
|
|
85
|
-
layout: '1/3'
|
|
86
|
-
}, {
|
|
87
|
-
label: "好转",
|
|
88
|
-
name: "improve",
|
|
89
|
-
inputType: 'MA',
|
|
90
|
-
inputProps: {
|
|
91
|
-
options: '是,否'
|
|
92
|
-
},
|
|
93
|
-
layout: '1/3'
|
|
94
|
-
}, {
|
|
95
|
-
label: "未愈",
|
|
96
|
-
name: "cure",
|
|
97
|
-
inputType: 'MA',
|
|
98
|
-
inputProps: {
|
|
99
|
-
options: '是,否'
|
|
100
|
-
},
|
|
101
|
-
layout: '1/3'
|
|
102
|
-
}, {
|
|
103
|
-
label: "死亡",
|
|
104
|
-
children: [{
|
|
105
|
-
label: "母",
|
|
106
|
-
name: "momDeath",
|
|
107
|
-
inputType: 'MA',
|
|
108
|
-
inputProps: {
|
|
109
|
-
options: '是,否'
|
|
110
|
-
},
|
|
111
|
-
layout: '1/3'
|
|
112
|
-
}, {
|
|
113
|
-
label: "婴",
|
|
114
|
-
name: "babyDeath",
|
|
115
|
-
inputType: 'MA',
|
|
116
|
-
inputProps: {
|
|
117
|
-
options: '是,否'
|
|
118
|
-
},
|
|
119
|
-
layout: '1/3'
|
|
120
|
-
}]
|
|
121
|
-
}]
|
|
122
|
-
}, {
|
|
123
|
-
label: "产后42天转归",
|
|
124
|
-
children: [{
|
|
125
|
-
label: "治愈",
|
|
126
|
-
name: "postpartumHealed",
|
|
127
|
-
inputType: 'MA',
|
|
128
|
-
inputProps: {
|
|
129
|
-
options: '是,否'
|
|
130
|
-
},
|
|
131
|
-
layout: '1/3'
|
|
132
|
-
}, {
|
|
133
|
-
label: "好转",
|
|
134
|
-
name: "postpartumImprove",
|
|
135
|
-
inputType: 'MA',
|
|
136
|
-
inputProps: {
|
|
137
|
-
options: '是,否'
|
|
138
|
-
},
|
|
139
|
-
layout: '1/3'
|
|
140
|
-
}, {
|
|
141
|
-
label: "未愈",
|
|
142
|
-
name: "postpartumCure",
|
|
143
|
-
inputType: 'MA',
|
|
144
|
-
inputProps: {
|
|
145
|
-
options: '是,否'
|
|
146
|
-
},
|
|
147
|
-
layout: '1/3'
|
|
148
|
-
}, {
|
|
149
|
-
label: "其他",
|
|
150
|
-
name: "postpartumOther",
|
|
151
|
-
inputType: 'MA',
|
|
152
|
-
layout: '1/3'
|
|
153
|
-
}]
|
|
154
|
-
}, {
|
|
155
|
-
label: "追踪随访内容",
|
|
156
|
-
children: [{
|
|
157
|
-
name: "followupRecords",
|
|
158
|
-
inputType: "MyEditTable",
|
|
159
|
-
props: {
|
|
160
|
-
marshal: 0,
|
|
161
|
-
genRowData: function genRowData(list) {
|
|
162
|
-
return {
|
|
163
|
-
followupDate: formatDate()
|
|
164
|
-
};
|
|
165
|
-
},
|
|
166
|
-
formDescriptions: [{
|
|
167
|
-
dataIndex: 'followupDate',
|
|
168
|
-
title: '日期',
|
|
169
|
-
inputType: 'DatePicker',
|
|
170
|
-
width: 150,
|
|
171
|
-
inputProps: {}
|
|
172
|
-
}, {
|
|
173
|
-
dataIndex: 'followupContent',
|
|
174
|
-
title: '内容',
|
|
175
|
-
inputType: 'MA',
|
|
176
|
-
inputProps: {}
|
|
177
|
-
}, {
|
|
178
|
-
dataIndex: 'pregnancyCase',
|
|
179
|
-
title: '妊娠情况',
|
|
180
|
-
inputType: 'MA',
|
|
181
|
-
inputProps: {}
|
|
182
|
-
}]
|
|
183
|
-
},
|
|
184
|
-
layout: '1/1'
|
|
185
|
-
}]
|
|
186
|
-
}];
|
|
187
|
-
function Test(_a) {
|
|
8
|
+
import 'classnames';
|
|
9
|
+
import 'lodash';
|
|
10
|
+
import '@lm_fe/env';
|
|
11
|
+
import '@lm_fe/provoke';
|
|
12
|
+
var css_248z = ".index-module_syphilis-modal__cyVIA .ant-modal-body {\n max-height: 600px;\n overflow: auto;\n}\n";
|
|
13
|
+
var styles = {
|
|
14
|
+
"syphilis-modal": "index-module_syphilis-modal__cyVIA"
|
|
15
|
+
};
|
|
16
|
+
styleInject(css_248z);
|
|
17
|
+
function Syphilis_Management(props) {
|
|
188
18
|
var _this = this;
|
|
189
|
-
var
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
var
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
19
|
+
var _a;
|
|
20
|
+
var modal_data = props.modal_data,
|
|
21
|
+
close = props.close,
|
|
22
|
+
others = __rest(props, ["modal_data", "close"]);
|
|
23
|
+
var headerInfo = modal_data.headerInfo;
|
|
24
|
+
var _b = useState({}),
|
|
25
|
+
syphilisData = _b[0],
|
|
26
|
+
setSyphilisData = _b[1];
|
|
27
|
+
var datacache = useRef({});
|
|
28
|
+
var _c = useState(''),
|
|
29
|
+
text = _c[0],
|
|
30
|
+
setText = _c[1];
|
|
31
|
+
var id = (_a = headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.id) !== null && _a !== void 0 ? _a : getSearchParamsValue('id');
|
|
32
|
+
var form = Form.useForm()[0];
|
|
199
33
|
useEffect(function () {
|
|
200
|
-
|
|
201
|
-
request.get("/api/highrisk/getFollowupCaseByPregnancyId?pregnancyId=".concat(pregnancyId), {
|
|
202
|
-
unboxing: true
|
|
203
|
-
}).then(function (r) {
|
|
204
|
-
mchcLogger.log('高危随访', r.data);
|
|
205
|
-
setRecordData(r.data);
|
|
206
|
-
});
|
|
207
|
-
}
|
|
208
|
-
return function () {};
|
|
209
|
-
}, [pregnancyId]);
|
|
210
|
-
return /*#__PURE__*/React.createElement(_Modal, _extends({}, others, {
|
|
211
|
-
visible: visible,
|
|
212
|
-
width: '80%',
|
|
213
|
-
onCancel: onCancel,
|
|
214
|
-
style: {
|
|
215
|
-
top: '20px'
|
|
216
|
-
},
|
|
217
|
-
bodyStyle: {
|
|
218
|
-
height: '80vh',
|
|
219
|
-
overflowY: 'scroll'
|
|
220
|
-
},
|
|
221
|
-
destroyOnClose: true,
|
|
222
|
-
className: "diag-record-modal",
|
|
223
|
-
onOk: function onOk() {
|
|
34
|
+
(function () {
|
|
224
35
|
return __awaiter(_this, void 0, void 0, function () {
|
|
225
|
-
var
|
|
36
|
+
var syphilisList, syphilisData;
|
|
226
37
|
return __generator(this, function (_a) {
|
|
227
38
|
switch (_a.label) {
|
|
228
39
|
case 0:
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
mchcLogger.log('高危随访', data);
|
|
234
|
-
_a.label = 1;
|
|
235
|
-
case 1:
|
|
236
|
-
_a.trys.push([1, 6,, 7]);
|
|
237
|
-
if (!data.id) return [3, 3];
|
|
238
|
-
return [4, request.put("/api/highrisk/updateFollowupCase", data, {
|
|
239
|
-
successText: '操作成功'
|
|
240
|
-
})];
|
|
241
|
-
case 2:
|
|
242
|
-
_a.sent();
|
|
243
|
-
return [3, 5];
|
|
244
|
-
case 3:
|
|
245
|
-
close === null || close === void 0 ? void 0 : close(true);
|
|
246
|
-
return [4, request.post("/api/highrisk/addFollowupCase", data, {
|
|
247
|
-
successText: '操作成功'
|
|
40
|
+
return [4, SMchc_HBvManage.getList({
|
|
41
|
+
params: {
|
|
42
|
+
'pregnancyId.equals': id
|
|
43
|
+
}
|
|
248
44
|
})];
|
|
249
|
-
case
|
|
250
|
-
_a.sent();
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
45
|
+
case 1:
|
|
46
|
+
syphilisList = _a.sent();
|
|
47
|
+
syphilisData = syphilisList[0] || {
|
|
48
|
+
pregnancy: {
|
|
49
|
+
id: id
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
handleSuggest(syphilisData);
|
|
53
|
+
datacache.current = syphilisData;
|
|
54
|
+
setSyphilisData(syphilisData);
|
|
259
55
|
return [2];
|
|
260
56
|
}
|
|
261
57
|
});
|
|
262
58
|
});
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
59
|
+
})();
|
|
60
|
+
return function () {};
|
|
61
|
+
}, []);
|
|
62
|
+
function handleCancel() {
|
|
63
|
+
close === null || close === void 0 ? void 0 : close(false);
|
|
64
|
+
}
|
|
65
|
+
function handleOk() {
|
|
66
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
67
|
+
var formData, submit;
|
|
68
|
+
return __generator(this, function (_a) {
|
|
69
|
+
switch (_a.label) {
|
|
70
|
+
case 0:
|
|
71
|
+
formData = form.getFieldsValue();
|
|
72
|
+
submit = __assign(__assign({}, datacache.current), formData);
|
|
73
|
+
if (!submit.id) return [3, 2];
|
|
74
|
+
return [4, SMchc_HBvManage.put(submit)];
|
|
75
|
+
case 1:
|
|
76
|
+
_a.sent();
|
|
77
|
+
return [3, 4];
|
|
78
|
+
case 2:
|
|
79
|
+
return [4, SMchc_HBvManage.post(submit)];
|
|
80
|
+
case 3:
|
|
81
|
+
_a.sent();
|
|
82
|
+
_a.label = 4;
|
|
83
|
+
case 4:
|
|
84
|
+
close === null || close === void 0 ? void 0 : close(true);
|
|
85
|
+
return [2];
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
function config() {
|
|
91
|
+
var config = [{
|
|
92
|
+
name: 'hbsag',
|
|
93
|
+
key: 'hbsag',
|
|
94
|
+
label: 'HBsAg',
|
|
95
|
+
inputType: 'MyAutoComplete',
|
|
96
|
+
span: 24,
|
|
97
|
+
inputProps: {
|
|
98
|
+
uniqueKey: '阴阳3s'
|
|
99
|
+
}
|
|
100
|
+
}, {
|
|
101
|
+
name: 'hbsab',
|
|
102
|
+
key: 'hbsab',
|
|
103
|
+
label: 'HBsAb',
|
|
104
|
+
inputType: 'MyAutoComplete',
|
|
105
|
+
span: 24,
|
|
106
|
+
inputProps: {
|
|
107
|
+
uniqueKey: '阴阳3s'
|
|
108
|
+
}
|
|
109
|
+
}, {
|
|
110
|
+
name: 'hbeag',
|
|
111
|
+
key: 'hbeag',
|
|
112
|
+
label: 'HBeAg',
|
|
113
|
+
inputType: 'MyAutoComplete',
|
|
114
|
+
span: 24,
|
|
115
|
+
inputProps: {
|
|
116
|
+
uniqueKey: '阴阳3s'
|
|
117
|
+
}
|
|
118
|
+
}, {
|
|
119
|
+
name: 'hbeab',
|
|
120
|
+
key: 'hbeab',
|
|
121
|
+
label: 'HBeAb',
|
|
122
|
+
inputType: 'MyAutoComplete',
|
|
123
|
+
span: 24,
|
|
124
|
+
inputProps: {
|
|
125
|
+
uniqueKey: '阴阳3s'
|
|
126
|
+
}
|
|
127
|
+
}, {
|
|
128
|
+
name: 'hbcab',
|
|
129
|
+
key: 'hbcab',
|
|
130
|
+
label: 'HBcAb',
|
|
131
|
+
inputType: 'MyAutoComplete',
|
|
132
|
+
span: 24,
|
|
133
|
+
inputProps: {
|
|
134
|
+
uniqueKey: '阴阳3s'
|
|
135
|
+
}
|
|
136
|
+
}, {
|
|
137
|
+
name: 'hbvDna',
|
|
138
|
+
key: 'hbvDna',
|
|
139
|
+
label: 'HBV DNA',
|
|
140
|
+
inputType: 'MyAutoComplete',
|
|
141
|
+
span: 24,
|
|
142
|
+
unit: 'IU/ml',
|
|
143
|
+
inputProps: {
|
|
144
|
+
options: ['_ * 10 ^ _']
|
|
145
|
+
}
|
|
146
|
+
}, {
|
|
147
|
+
name: 'useDrug',
|
|
148
|
+
key: 'useDrug',
|
|
149
|
+
label: '是否用药',
|
|
150
|
+
inputType: 'MyCheckbox',
|
|
151
|
+
inputProps: {
|
|
152
|
+
uniqueKey: '否是s'
|
|
153
|
+
},
|
|
154
|
+
span: 24
|
|
155
|
+
}, {
|
|
156
|
+
name: 'drugContent',
|
|
157
|
+
key: 'drugContent',
|
|
158
|
+
label: '药物',
|
|
159
|
+
inputType: 'MyCheckbox',
|
|
160
|
+
inputProps: {
|
|
161
|
+
options: [{
|
|
162
|
+
"value": '替诺福伟',
|
|
163
|
+
"label": "替诺福伟"
|
|
164
|
+
}, {
|
|
165
|
+
"value": '提比夫定',
|
|
166
|
+
"label": "提比夫定"
|
|
167
|
+
}, {
|
|
168
|
+
"value": '拉米夫定',
|
|
169
|
+
"label": "拉米夫定"
|
|
170
|
+
}, {
|
|
171
|
+
value: '其他',
|
|
172
|
+
label: '其他',
|
|
173
|
+
inputType: 'MyInput'
|
|
174
|
+
}]
|
|
175
|
+
},
|
|
176
|
+
span: 24
|
|
177
|
+
}, {
|
|
178
|
+
name: 'useDrugWeek',
|
|
179
|
+
key: 'useDrugWeek',
|
|
180
|
+
label: '用药起始孕周',
|
|
181
|
+
inputType: 'input',
|
|
182
|
+
span: 24
|
|
183
|
+
}];
|
|
184
|
+
return config;
|
|
185
|
+
}
|
|
186
|
+
function handleSuggest(b) {
|
|
187
|
+
var _a;
|
|
188
|
+
var hbvDna = (_a = b.hbvDna) !== null && _a !== void 0 ? _a : '';
|
|
189
|
+
var hbeag = b.hbeag;
|
|
190
|
+
hbvDna = hbvDna.replace(/\s/g, '').replace('*10^', 'e');
|
|
191
|
+
console.log('hbvDna', hbvDna);
|
|
192
|
+
var n = +hbvDna;
|
|
193
|
+
if (hbvDna && !isNaN(n)) {
|
|
194
|
+
if (n > 2e5 && n <= 2e9) {
|
|
195
|
+
setText("HBV DNA > 2*10^5 IU/m,建议与感染孕产妇充分海通,在知情同意的基础上,于孕 28 周开始抗病毒治疗");
|
|
196
|
+
} else if (n > 2e9) {
|
|
197
|
+
setText("HBV DNA > 2*10^9 IU/ml,可于孕24周开始抗病害");
|
|
198
|
+
}
|
|
199
|
+
} else if (hbeag === null || hbeag === void 0 ? void 0 : hbeag.includes('阳')) {
|
|
200
|
+
setText("HBeAa阳性,建议与感头孕产妇充分沟通,在知情同意的基础上,于孕 28 周开始抗病毒治疗");
|
|
201
|
+
} else {
|
|
202
|
+
setText('');
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
return /*#__PURE__*/React.createElement(Modal, __assign({}, others, {
|
|
206
|
+
title: "\u4E59\u809D\u4E13\u6848\u7BA1\u7406",
|
|
207
|
+
className: styles["syphilis-modal"],
|
|
208
|
+
width: 1000,
|
|
209
|
+
onCancel: handleCancel,
|
|
210
|
+
onOk: handleOk
|
|
211
|
+
}), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
|
|
212
|
+
span: 14
|
|
213
|
+
}, /*#__PURE__*/React.createElement(MyFormSectionForm, {
|
|
274
214
|
onValuesChange: function onValuesChange(a, b) {
|
|
275
|
-
|
|
215
|
+
handleSuggest(b);
|
|
276
216
|
},
|
|
277
|
-
|
|
278
|
-
|
|
217
|
+
form: form,
|
|
218
|
+
formDescriptions: config(),
|
|
219
|
+
data: syphilisData
|
|
220
|
+
})), /*#__PURE__*/React.createElement(Col, {
|
|
221
|
+
span: 10
|
|
222
|
+
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, "\u5EFA\u8BAE\uFF1A"), /*#__PURE__*/React.createElement("div", {
|
|
223
|
+
style: {
|
|
224
|
+
marginTop: 64,
|
|
225
|
+
fontSize: 18,
|
|
226
|
+
fontWeight: 'bold'
|
|
227
|
+
}
|
|
228
|
+
}, " ", text !== null && text !== void 0 ? text : '--')))));
|
|
279
229
|
}
|
|
280
|
-
export {
|
|
281
|
-
//# sourceMappingURL=.root25.js.map
|
|
230
|
+
export { Syphilis_Management as default };
|