@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/.root19.js
CHANGED
|
@@ -1,108 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { s as styleInject, d as __rest, _ as __awaiter, a as __generator } from './index.js';
|
|
10
|
-
import React, { useState, useEffect } from 'react';
|
|
11
|
-
import { LazyAntd } from '@lm_fe/components';
|
|
12
|
-
import { SMchc_SyphilisManage } from '@lm_fe/service';
|
|
13
|
-
import { getSearchParamsValue } from '@lm_fe/utils';
|
|
14
|
-
import { otherOptions } from '@lm_fe/env';
|
|
15
|
-
import { getGesWeek, MyForm, getFormData } from '@lm_fe/components_m';
|
|
16
|
-
import 'antd/es/row/style';
|
|
17
|
-
import 'antd/es/row';
|
|
18
|
-
import 'antd/es/col/style';
|
|
19
|
-
import 'antd/es/col';
|
|
20
|
-
import 'antd/es/list/style';
|
|
21
|
-
import 'antd/es/list';
|
|
22
|
-
import 'antd/es/tooltip/style';
|
|
23
|
-
import 'antd/es/tooltip';
|
|
24
|
-
import '@ant-design/icons';
|
|
1
|
+
import { d as __rest, b as __awaiter, c as __generator, a as __assign } from './index.js';
|
|
2
|
+
import { MyIcon } from '@lm_fe/components';
|
|
3
|
+
import { MyLazyComponent } from '@lm_fe/components_m';
|
|
4
|
+
import { mchcLogger, mchcEnv, mchcRouterContainer__ } from '@lm_fe/env';
|
|
5
|
+
import { use_provoke } from '@lm_fe/provoke';
|
|
6
|
+
import { sleep, getHappyConfig } from '@lm_fe/utils';
|
|
7
|
+
import { Modal, Button } from 'antd';
|
|
8
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
25
9
|
import 'classnames';
|
|
26
|
-
import '
|
|
27
|
-
import '
|
|
28
|
-
|
|
29
|
-
import 'antd/es/spin';
|
|
30
|
-
import 'antd/es/form/style';
|
|
31
|
-
import 'antd/es/form';
|
|
32
|
-
import 'antd/es/result/style';
|
|
33
|
-
import 'antd/es/result';
|
|
34
|
-
import 'antd/es/menu/style';
|
|
35
|
-
import 'antd/es/menu';
|
|
36
|
-
import 'antd/es/message/style';
|
|
37
|
-
import 'antd/es/message';
|
|
38
|
-
import 'antd/es/space/style';
|
|
39
|
-
import 'antd/es/space';
|
|
40
|
-
import 'lodash/keys';
|
|
41
|
-
import 'antd/es/divider/style';
|
|
42
|
-
import 'antd/es/divider';
|
|
43
|
-
var css_248z = ".index-module_syphilis-modal__tfvEm .ant-modal-body {\n max-height: 600px;\n overflow: auto;\n}\n";
|
|
44
|
-
var styles = {
|
|
45
|
-
"syphilis-modal": "index-module_syphilis-modal__tfvEm"
|
|
46
|
-
};
|
|
47
|
-
styleInject(css_248z);
|
|
48
|
-
var Modal = LazyAntd.Modal;
|
|
49
|
-
function SyphilisManagement(props) {
|
|
10
|
+
import 'lodash';
|
|
11
|
+
import '@lm_fe/service';
|
|
12
|
+
function Modal_Page(_a) {
|
|
50
13
|
var _this = this;
|
|
51
|
-
var _a;
|
|
52
|
-
|
|
53
|
-
var
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
var
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
var
|
|
14
|
+
var modal_data = _a.modal_data;
|
|
15
|
+
_a.close;
|
|
16
|
+
var others = __rest(_a, ["modal_data", "close"]);
|
|
17
|
+
var content = modal_data.content,
|
|
18
|
+
iframe_url = modal_data.iframe_url,
|
|
19
|
+
route_conf = modal_data.route_conf;
|
|
20
|
+
var sys_theme = use_provoke(function (s) {
|
|
21
|
+
return s.sys_theme;
|
|
22
|
+
});
|
|
23
|
+
var _b = useState(false);
|
|
24
|
+
_b[0];
|
|
25
|
+
var setVisible = _b[1];
|
|
26
|
+
var el = useRef(null);
|
|
64
27
|
useEffect(function () {
|
|
65
28
|
(function () {
|
|
66
29
|
return __awaiter(_this, void 0, void 0, function () {
|
|
67
|
-
var syphilisList, syphilisData, syphilisTreatments, newData_1;
|
|
68
30
|
return __generator(this, function (_a) {
|
|
69
31
|
switch (_a.label) {
|
|
70
32
|
case 0:
|
|
71
|
-
return [4,
|
|
72
|
-
params: {
|
|
73
|
-
'pregnancyId.equals': id
|
|
74
|
-
}
|
|
75
|
-
})];
|
|
33
|
+
return [4, sleep(.8 * 1000)];
|
|
76
34
|
case 1:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
syphilisTreatments = _get(syphilisData, 'syphilisTreatments');
|
|
80
|
-
if (_size(syphilisTreatments) > 0) {
|
|
81
|
-
newData_1 = [];
|
|
82
|
-
_forEach(syphilisTreatments, function (item) {
|
|
83
|
-
var syphilisInjections = _orderBy(_get(item, 'syphilisInjections'), 'injectionDate', ['asc']);
|
|
84
|
-
var obj = {};
|
|
85
|
-
_set(obj, 'id', _get(item, 'id'));
|
|
86
|
-
_set(obj, 'firstId', _get(syphilisInjections, '0.id'));
|
|
87
|
-
_set(obj, 'firstUserId', _get(syphilisInjections, '0.user.id'));
|
|
88
|
-
_set(obj, 'firstInjectionDate', _get(syphilisInjections, '0.injectionDate'));
|
|
89
|
-
_set(obj, 'firstInjectionGesweek', _get(syphilisInjections, '0.gesweek'));
|
|
90
|
-
_set(obj, 'firstInjectionResult', _get(syphilisInjections, '0.injectionResult'));
|
|
91
|
-
_set(obj, 'secondId', _get(syphilisInjections, '1.id'));
|
|
92
|
-
_set(obj, 'secondUserId', _get(syphilisInjections, '1.user.id'));
|
|
93
|
-
_set(obj, 'secondInjectionDate', _get(syphilisInjections, '1.injectionDate'));
|
|
94
|
-
_set(obj, 'secondInjectionGesweek', _get(syphilisInjections, '1.gesweek'));
|
|
95
|
-
_set(obj, 'secondInjectionResult', _get(syphilisInjections, '1.injectionResult'));
|
|
96
|
-
_set(obj, 'thirdId', _get(syphilisInjections, '2.id'));
|
|
97
|
-
_set(obj, 'thirdUserId', _get(syphilisInjections, '2.user.id'));
|
|
98
|
-
_set(obj, 'thirdInjectionDate', _get(syphilisInjections, '2.injectionDate'));
|
|
99
|
-
_set(obj, 'thirdInjectionGesweek', _get(syphilisInjections, '2.gesweek'));
|
|
100
|
-
_set(obj, 'thirdInjectionResult', _get(syphilisInjections, '2.injectionResult'));
|
|
101
|
-
newData_1.push(obj);
|
|
102
|
-
});
|
|
103
|
-
_set(syphilisData, 'syphilisTreatments', newData_1);
|
|
104
|
-
}
|
|
105
|
-
setSyphilisData(syphilisData);
|
|
35
|
+
_a.sent();
|
|
36
|
+
setVisible(true);
|
|
106
37
|
return [2];
|
|
107
38
|
}
|
|
108
39
|
});
|
|
@@ -111,317 +42,102 @@ function SyphilisManagement(props) {
|
|
|
111
42
|
return function () {};
|
|
112
43
|
}, []);
|
|
113
44
|
useEffect(function () {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
if (item.firstInjectionDate && sureEdd) {
|
|
120
|
-
item.firstInjectionGesweek = getGesWeek(sureEdd, item.firstInjectionDate);
|
|
121
|
-
}
|
|
122
|
-
if (item.secondInjectionDate && sureEdd) {
|
|
123
|
-
item.secondInjectionGesweek = getGesWeek(sureEdd, item.secondInjectionDate);
|
|
124
|
-
}
|
|
125
|
-
if (item.thirdInjectionDate && sureEdd) {
|
|
126
|
-
item.thirdInjectionGesweek = getGesWeek(sureEdd, item.thirdInjectionDate);
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
formHandler.syphilisTreatments.actions.setValue(newVal);
|
|
45
|
+
mchcLogger.log('moda_page', modal_data);
|
|
46
|
+
if (route_conf === null || route_conf === void 0 ? void 0 : route_conf.url) {
|
|
47
|
+
var happy_conf = getHappyConfig(route_conf.url);
|
|
48
|
+
mchcEnv.push_global_cache('happy_conf', happy_conf || {
|
|
49
|
+
usr1: 'unset'
|
|
130
50
|
});
|
|
131
51
|
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
newData_2 = [];
|
|
149
|
-
_forEach(syphilisTreatments, function (item) {
|
|
150
|
-
var obj = {};
|
|
151
|
-
_set(obj, 'id', _get(item, 'id'));
|
|
152
|
-
if (_get(item, 'firstInjectionDate') || _get(item, 'firstInjectionResult')) {
|
|
153
|
-
if (_get(item, 'firstId')) _set(obj, 'syphilisInjections.0.id', _get(item, 'firstId'));
|
|
154
|
-
_set(obj, 'syphilisInjections.0.injectionDate', _get(item, 'firstInjectionDate'));
|
|
155
|
-
_set(obj, 'syphilisInjections.0.gesweek', _get(item, 'firstInjectionGesweek'));
|
|
156
|
-
_set(obj, 'syphilisInjections.0.injectionResult', _get(item, 'firstInjectionResult'));
|
|
157
|
-
if (_get(item, 'firstUserId')) _set(obj, 'syphilisInjections.0.user.id', _get(item, 'firstUserId'));
|
|
158
|
-
}
|
|
159
|
-
if (_get(item, 'secondInjectionDate') || _get(item, 'secondInjectionResult')) {
|
|
160
|
-
if (_get(item, 'secondId')) _set(obj, 'syphilisInjections.1.id', _get(item, 'secondId'));
|
|
161
|
-
_set(obj, 'syphilisInjections.1.injectionDate', _get(item, 'secondInjectionDate'));
|
|
162
|
-
_set(obj, 'syphilisInjections.1.gesweek', _get(item, 'secondInjectionGesweek'));
|
|
163
|
-
_set(obj, 'syphilisInjections.1.injectionResult', _get(item, 'secondInjectionResult'));
|
|
164
|
-
if (_get(item, 'secondUserId')) _set(obj, 'syphilisInjections.1.user.id', _get(item, 'secondUserId'));
|
|
165
|
-
}
|
|
166
|
-
if (_get(item, 'thirdInjectionDate') || _get(item, 'thirdInjectionResult')) {
|
|
167
|
-
if (_get(item, 'thirdId')) _set(obj, 'syphilisInjections.2.id', _get(item, 'thirdId'));
|
|
168
|
-
_set(obj, 'syphilisInjections.2.injectionDate', _get(item, 'thirdInjectionDate'));
|
|
169
|
-
_set(obj, 'syphilisInjections.2.gesweek', _get(item, 'thirdInjectionGesweek'));
|
|
170
|
-
_set(obj, 'syphilisInjections.2.injectionResult', _get(item, 'thirdInjectionResult'));
|
|
171
|
-
if (_get(item, 'thirdUserId')) _set(obj, 'syphilisInjections.2.user.id', _get(item, 'thirdUserId'));
|
|
172
|
-
}
|
|
173
|
-
_set(obj, 'syphilisInjections', _without(_get(obj, 'syphilisInjections'), undefined));
|
|
174
|
-
newData_2.push(obj);
|
|
175
|
-
});
|
|
176
|
-
_set(formData, 'syphilisTreatments', newData_2);
|
|
177
|
-
}
|
|
178
|
-
if (!_get(syphilisData, 'id')) return [3, 3];
|
|
179
|
-
_set(formData, 'id', _get(syphilisData, 'id'));
|
|
180
|
-
_set(formData, 'pregnancy.id', id);
|
|
181
|
-
return [4, SMchc_SyphilisManage.put(formData)];
|
|
182
|
-
case 2:
|
|
183
|
-
_a.sent();
|
|
184
|
-
return [3, 5];
|
|
185
|
-
case 3:
|
|
186
|
-
_set(formData, 'pregnancy.id', id);
|
|
187
|
-
return [4, SMchc_SyphilisManage.post(formData)];
|
|
188
|
-
case 4:
|
|
189
|
-
_a.sent();
|
|
190
|
-
_a.label = 5;
|
|
191
|
-
case 5:
|
|
192
|
-
close === null || close === void 0 ? void 0 : close(true);
|
|
193
|
-
return [2];
|
|
52
|
+
return function () {
|
|
53
|
+
if (route_conf === null || route_conf === void 0 ? void 0 : route_conf.url) {
|
|
54
|
+
mchcEnv.pop_global_cache('happy_conf');
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}, []);
|
|
58
|
+
function render_content() {
|
|
59
|
+
if (content) return content;
|
|
60
|
+
if (route_conf) {
|
|
61
|
+
var params = route_conf.params || {};
|
|
62
|
+
var C = mchcRouterContainer__.get_addon_component(route_conf.url);
|
|
63
|
+
if (!C) return /*#__PURE__*/React.createElement("div", {
|
|
64
|
+
style: {
|
|
65
|
+
textAlign: 'center',
|
|
66
|
+
lineHeight: '48px',
|
|
67
|
+
height: 48
|
|
194
68
|
}
|
|
195
|
-
});
|
|
196
|
-
|
|
69
|
+
}, route_conf.url, " \u8BE5\u9875\u9762\u4E0D\u652F\u6301\u5F39\u7A97\u8BBF\u95EE\uFF0C\u8BF7\u8FD4\u56DE\uFF01 ");
|
|
70
|
+
return /*#__PURE__*/React.createElement(C, __assign({}, params, {
|
|
71
|
+
is_modal: true
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
if (iframe_url) {
|
|
75
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
76
|
+
style: {
|
|
77
|
+
width: '100%',
|
|
78
|
+
height: '100%',
|
|
79
|
+
position: 'relative'
|
|
80
|
+
}
|
|
81
|
+
}, /*#__PURE__*/React.createElement("iframe", {
|
|
82
|
+
width: "100%",
|
|
83
|
+
height: "100%",
|
|
84
|
+
style: {
|
|
85
|
+
border: 'none',
|
|
86
|
+
padding: 0,
|
|
87
|
+
margin: 0
|
|
88
|
+
},
|
|
89
|
+
src: iframe_url
|
|
90
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
91
|
+
style: {
|
|
92
|
+
position: 'absolute',
|
|
93
|
+
right: 24,
|
|
94
|
+
bottom: 24,
|
|
95
|
+
boxShadow: '#444 4px 4px 12px 2px'
|
|
96
|
+
},
|
|
97
|
+
size: 'large',
|
|
98
|
+
type: "primary",
|
|
99
|
+
shape: 'circle',
|
|
100
|
+
icon: /*#__PURE__*/React.createElement(MyIcon, {
|
|
101
|
+
value: 'ExportOutlined'
|
|
102
|
+
}),
|
|
103
|
+
onClick: function onClick() {
|
|
104
|
+
return mchcEnv.open(iframe_url);
|
|
105
|
+
}
|
|
106
|
+
}));
|
|
107
|
+
}
|
|
108
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
109
|
+
style: {
|
|
110
|
+
textAlign: 'center',
|
|
111
|
+
lineHeight: '48px',
|
|
112
|
+
height: 48
|
|
113
|
+
}
|
|
114
|
+
}, "\u8BF7\u8BBE\u7F6E content\u3001route_conf \u6216\u8005 iframe_url");
|
|
197
115
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
116
|
+
var node = render_content();
|
|
117
|
+
return /*#__PURE__*/React.createElement(Modal, __assign({
|
|
118
|
+
width: '92vw',
|
|
119
|
+
footer: null,
|
|
120
|
+
centered: true,
|
|
121
|
+
closeIcon: null,
|
|
122
|
+
styles: {
|
|
123
|
+
header: {},
|
|
124
|
+
content: {
|
|
125
|
+
padding: 4
|
|
207
126
|
},
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
key: 'consent',
|
|
212
|
-
label: '同意治疗',
|
|
213
|
-
input_type: 'checkbox',
|
|
214
|
-
input_props: {
|
|
215
|
-
type: 'group',
|
|
216
|
-
options: otherOptions.nyOptions
|
|
217
|
-
},
|
|
218
|
-
span: 12
|
|
219
|
-
}, {
|
|
220
|
-
name: 'tppa',
|
|
221
|
-
key: 'tppa',
|
|
222
|
-
label: 'TPPA滴度',
|
|
223
|
-
input_type: 'input',
|
|
224
|
-
span: 6
|
|
225
|
-
}, {
|
|
226
|
-
name: 'trust',
|
|
227
|
-
key: 'trust',
|
|
228
|
-
label: 'TRUST滴度',
|
|
229
|
-
input_type: 'input',
|
|
230
|
-
span: 6
|
|
231
|
-
}, {
|
|
232
|
-
name: '',
|
|
233
|
-
key: '',
|
|
234
|
-
label: '疗程',
|
|
235
|
-
header_label: true,
|
|
236
|
-
just_header: true,
|
|
237
|
-
input_type: ''
|
|
238
|
-
}, {
|
|
239
|
-
name: 'syphilisTreatments',
|
|
240
|
-
key: 'syphilisTreatments',
|
|
241
|
-
label: '',
|
|
242
|
-
input_type: 'array-custom',
|
|
243
|
-
is_new_row: true,
|
|
244
|
-
input_props: {
|
|
245
|
-
array_title: '疗程',
|
|
246
|
-
config: [{
|
|
247
|
-
name: 'id',
|
|
248
|
-
key: 'id',
|
|
249
|
-
label: 'id',
|
|
250
|
-
input_type: 'input',
|
|
251
|
-
hidden: true,
|
|
252
|
-
span: 5
|
|
253
|
-
}, {
|
|
254
|
-
name: 'firstId',
|
|
255
|
-
key: 'firstId',
|
|
256
|
-
label: '',
|
|
257
|
-
input_type: 'input',
|
|
258
|
-
hidden: true,
|
|
259
|
-
span: 5
|
|
260
|
-
}, {
|
|
261
|
-
name: 'secondId',
|
|
262
|
-
key: 'secondId',
|
|
263
|
-
label: '',
|
|
264
|
-
input_type: 'input',
|
|
265
|
-
hidden: true,
|
|
266
|
-
span: 5
|
|
267
|
-
}, {
|
|
268
|
-
name: 'thirdId',
|
|
269
|
-
key: 'thirdId',
|
|
270
|
-
label: '',
|
|
271
|
-
input_type: 'input',
|
|
272
|
-
hidden: true,
|
|
273
|
-
span: 5
|
|
274
|
-
}, {
|
|
275
|
-
name: 'firstUserId',
|
|
276
|
-
key: 'firstUserId',
|
|
277
|
-
label: '',
|
|
278
|
-
input_type: 'input',
|
|
279
|
-
hidden: true,
|
|
280
|
-
span: 5
|
|
281
|
-
}, {
|
|
282
|
-
name: 'secondUserId',
|
|
283
|
-
key: 'secondUserId',
|
|
284
|
-
label: '',
|
|
285
|
-
input_type: 'input',
|
|
286
|
-
hidden: true,
|
|
287
|
-
span: 5
|
|
288
|
-
}, {
|
|
289
|
-
name: 'thirdUserId',
|
|
290
|
-
key: 'thirdUserId',
|
|
291
|
-
label: '',
|
|
292
|
-
input_type: 'input',
|
|
293
|
-
hidden: true,
|
|
294
|
-
span: 5
|
|
295
|
-
}, {
|
|
296
|
-
name: 'firstInjectionDate',
|
|
297
|
-
key: 'firstInjectionDate',
|
|
298
|
-
label: '第一针',
|
|
299
|
-
input_type: 'date',
|
|
300
|
-
span: 6
|
|
301
|
-
}, {
|
|
302
|
-
name: 'firstInjectionGesweek',
|
|
303
|
-
key: 'firstInjectionGesweek',
|
|
304
|
-
label: '孕周',
|
|
305
|
-
input_type: 'input',
|
|
306
|
-
input_props: {
|
|
307
|
-
disabled: disabled_yz
|
|
308
|
-
},
|
|
309
|
-
span: 6
|
|
310
|
-
}, {
|
|
311
|
-
name: 'firstInjectionResult',
|
|
312
|
-
key: 'firstInjectionResult',
|
|
313
|
-
label: '执行情况',
|
|
314
|
-
input_type: 'select',
|
|
315
|
-
input_props: {
|
|
316
|
-
options: otherOptions.resultOptions,
|
|
317
|
-
warningOption: '未执行'
|
|
318
|
-
},
|
|
319
|
-
span: 6
|
|
320
|
-
}, {
|
|
321
|
-
name: 'secondInjectionDate',
|
|
322
|
-
key: 'secondInjectionDate',
|
|
323
|
-
label: '第二针',
|
|
324
|
-
input_type: 'date',
|
|
325
|
-
is_new_row: true,
|
|
326
|
-
span: 6
|
|
327
|
-
}, {
|
|
328
|
-
name: 'secondInjectionGesweek',
|
|
329
|
-
key: 'secondInjectionGesweek',
|
|
330
|
-
label: '孕周',
|
|
331
|
-
input_type: 'input',
|
|
332
|
-
input_props: {
|
|
333
|
-
disabled: disabled_yz
|
|
334
|
-
},
|
|
335
|
-
span: 6
|
|
336
|
-
}, {
|
|
337
|
-
name: 'secondInjectionResult',
|
|
338
|
-
key: 'secondInjectionResult',
|
|
339
|
-
label: '执行情况',
|
|
340
|
-
input_type: 'select',
|
|
341
|
-
input_props: {
|
|
342
|
-
options: otherOptions.resultOptions,
|
|
343
|
-
warningOption: '未执行'
|
|
344
|
-
},
|
|
345
|
-
span: 6
|
|
346
|
-
}, {
|
|
347
|
-
name: 'thirdInjectionDate',
|
|
348
|
-
key: 'thirdInjectionDate',
|
|
349
|
-
label: '第三针',
|
|
350
|
-
input_type: 'date',
|
|
351
|
-
is_new_row: true,
|
|
352
|
-
span: 6
|
|
353
|
-
}, {
|
|
354
|
-
name: 'thirdInjectionGesweek',
|
|
355
|
-
key: 'thirdInjectionGesweek',
|
|
356
|
-
label: '孕周',
|
|
357
|
-
input_type: 'input',
|
|
358
|
-
input_props: {
|
|
359
|
-
disabled: disabled_yz
|
|
360
|
-
},
|
|
361
|
-
span: 6
|
|
362
|
-
}, {
|
|
363
|
-
name: 'thirdInjectionResult',
|
|
364
|
-
key: 'thirdInjectionResult',
|
|
365
|
-
label: '执行情况',
|
|
366
|
-
input_type: 'select',
|
|
367
|
-
input_props: {
|
|
368
|
-
options: otherOptions.resultOptions,
|
|
369
|
-
warningOption: '未执行'
|
|
370
|
-
},
|
|
371
|
-
span: 6
|
|
372
|
-
}]
|
|
373
|
-
}
|
|
374
|
-
}, {
|
|
375
|
-
name: '',
|
|
376
|
-
key: '',
|
|
377
|
-
label: 'TRUST随访结果',
|
|
378
|
-
header_label: true,
|
|
379
|
-
just_header: true,
|
|
380
|
-
input_type: ''
|
|
381
|
-
}, {
|
|
382
|
-
name: 'syphilisFollowUps',
|
|
383
|
-
key: 'syphilisFollowUps',
|
|
384
|
-
label: '',
|
|
385
|
-
input_type: 'array-custom',
|
|
386
|
-
is_new_row: true,
|
|
387
|
-
input_props: {
|
|
388
|
-
array_title: '结果',
|
|
389
|
-
config: [{
|
|
390
|
-
name: 'id',
|
|
391
|
-
key: 'id',
|
|
392
|
-
label: 'id',
|
|
393
|
-
input_type: 'input',
|
|
394
|
-
hidden: true,
|
|
395
|
-
span: 5
|
|
396
|
-
}, {
|
|
397
|
-
name: 'reportDate',
|
|
398
|
-
key: 'reportDate',
|
|
399
|
-
label: '报告时间',
|
|
400
|
-
input_type: 'date',
|
|
401
|
-
span: 6
|
|
402
|
-
}, {
|
|
403
|
-
name: 'trust',
|
|
404
|
-
key: 'trust',
|
|
405
|
-
label: 'TRUST滴度',
|
|
406
|
-
input_type: 'input',
|
|
407
|
-
span: 6
|
|
408
|
-
}]
|
|
127
|
+
body: {
|
|
128
|
+
height: '92vh',
|
|
129
|
+
overflow: 'auto'
|
|
409
130
|
}
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
value: syphilisData,
|
|
422
|
-
getFormHandler: setFormHandler,
|
|
423
|
-
submitChange: false
|
|
424
|
-
}));
|
|
131
|
+
},
|
|
132
|
+
destroyOnClose: true
|
|
133
|
+
}, others, {
|
|
134
|
+
maskClosable: true
|
|
135
|
+
}), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MyLazyComponent, null, /*#__PURE__*/React.createElement("div", {
|
|
136
|
+
ref: el,
|
|
137
|
+
style: {
|
|
138
|
+
height: '99%',
|
|
139
|
+
background: sys_theme.bg_color
|
|
140
|
+
}
|
|
141
|
+
}, node))));
|
|
425
142
|
}
|
|
426
|
-
export {
|
|
427
|
-
//# sourceMappingURL=.root19.js.map
|
|
143
|
+
export { Modal_Page as default };
|