@lm_fe/pages-fubao 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 +4 -2
- package/dist/a_chunks/.root.js +240 -280
- package/dist/a_chunks/.root10.js +9 -15
- package/dist/a_chunks/.root11.js +210 -244
- package/dist/a_chunks/.root12.js +2 -33
- package/dist/a_chunks/.root13.js +300 -331
- package/dist/a_chunks/.root14.js +2 -16
- package/dist/a_chunks/.root15.js +2 -16
- package/dist/a_chunks/.root16.js +4 -6
- package/dist/a_chunks/.root17.js +11 -2
- package/dist/a_chunks/.root18.js +10 -1
- package/dist/a_chunks/.root19.js +16 -27
- package/dist/a_chunks/.root2.js +22 -30
- package/dist/a_chunks/.root20.js +34 -38
- package/dist/a_chunks/.root21.js +16 -18
- package/dist/a_chunks/.root22.js +34 -38
- package/dist/a_chunks/.root23.js +16 -18
- package/dist/a_chunks/.root24.js +10 -14
- package/dist/a_chunks/.root25.js +10 -14
- package/dist/a_chunks/.root26.js +10 -14
- package/dist/a_chunks/.root27.js +16 -27
- package/dist/a_chunks/.root28.js +15 -19
- package/dist/a_chunks/.root29.js +15 -19
- package/dist/a_chunks/.root3.js +4 -6
- package/dist/a_chunks/.root30.js +9 -14
- package/dist/a_chunks/.root31.js +2 -10
- package/dist/a_chunks/.root32.js +11 -19
- package/dist/a_chunks/.root33.js +308 -335
- package/dist/a_chunks/.root34.js +1 -2
- package/dist/a_chunks/.root35.js +14 -154
- package/dist/a_chunks/.root36.js +7 -21
- package/dist/a_chunks/.root37.js +183 -1481
- package/dist/a_chunks/.root38.js +32 -2496
- package/dist/a_chunks/.root39.js +56 -83
- package/dist/a_chunks/.root4.js +4 -6
- package/dist/a_chunks/.root40.js +3 -3
- package/dist/a_chunks/.root41.js +56 -83
- package/dist/a_chunks/.root42.js +6 -20
- package/dist/a_chunks/.root43.js +183 -1526
- package/dist/a_chunks/.root44.js +13 -19
- package/dist/a_chunks/.root45.js +55 -82
- package/dist/a_chunks/.root46.js +55 -82
- package/dist/a_chunks/.root47.js +5 -8
- package/dist/a_chunks/.root48.js +30 -22
- package/dist/a_chunks/.root49.js +30 -43
- package/dist/a_chunks/.root5.js +3 -3
- package/dist/a_chunks/.root50.js +53 -226
- package/dist/a_chunks/.root51.js +64 -188
- package/dist/a_chunks/.root52.js +113 -3122
- package/dist/a_chunks/.root53.js +85 -134
- package/dist/a_chunks/.root54.js +3071 -175
- package/dist/a_chunks/.root55.js +127 -478
- package/dist/a_chunks/.root56.js +170 -910
- package/dist/a_chunks/.root57.js +376 -399
- package/dist/a_chunks/.root58.js +808 -687
- package/dist/a_chunks/.root59.js +495 -118
- package/dist/a_chunks/.root6.js +6 -9
- package/dist/a_chunks/.root60.js +773 -45
- package/dist/a_chunks/.root61.js +738 -97
- package/dist/a_chunks/.root62.js +105 -273
- package/dist/a_chunks/.root63.js +38 -22
- package/dist/a_chunks/.root64.js +184 -16
- package/dist/a_chunks/.root65.js +107 -241
- package/dist/a_chunks/.root66.js +132 -0
- package/dist/a_chunks/.root67.js +286 -0
- package/dist/a_chunks/.root68.js +817 -0
- package/dist/a_chunks/.root69.js +28 -0
- package/dist/a_chunks/.root7.js +2 -42
- package/dist/a_chunks/.root70.js +19 -0
- package/dist/a_chunks/.root71.js +247 -0
- package/dist/a_chunks/.root8.js +2 -12
- package/dist/a_chunks/.root9.js +16 -26
- package/dist/a_chunks/Form.js +3 -5
- package/dist/a_chunks/ModalForm.js +254 -280
- package/dist/a_chunks/api.js +311 -325
- package/dist/a_chunks/common.js +0 -1
- package/dist/a_chunks/config.js +135 -164
- package/dist/a_chunks/form_config.js +11 -130
- package/dist/a_chunks/index.js +43 -57
- package/dist/a_chunks/index2.js +148 -64
- package/dist/a_chunks/index3.js +131 -1151
- package/dist/a_chunks/index4.js +57 -1040
- package/dist/a_chunks/index5.js +142 -0
- package/dist/a_chunks/index6.js +1169 -0
- package/dist/a_chunks/index7.js +1006 -0
- package/dist/a_chunks/style-inject.es.js +0 -1
- package/dist/a_chunks/tslib.es6.js +1 -2
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js +0 -1
- package/dist/index.js +10 -5
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Curettage/index.d.ts +1 -1
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/VideoReport/method.d.ts +1 -1
- package/dist/pages/fubao/folic-acid/file-management/list/index copy.d.ts +1 -1
- package/dist/pages/fubao/gynecological-diseases/two-cancers/./344/270/244/347/231/214/351/232/217/350/256/277/index.d.ts +1 -1
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/form_config.d.ts +2 -1
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index copy.d.ts +18 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index.d.ts +3 -18
- package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/form_config_nv.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/file-management/config/table.d.ts +1 -1
- package/dist/pages/fubao/premarital-care/file-management/edit/form_config.d.ts +2 -1
- package/dist/pages/fubao/premarital-care/file-management/edit/index copy 2.d.ts +17 -0
- package/dist/pages/fubao/premarital-care/file-management/edit/index.d.ts +3 -17
- package/dist/pages/fubao/statistic/abnormal-breast-cancer/index.d.ts +2 -0
- package/dist/pages/fubao/statistic/abnormal-cervical-cancer/index.d.ts +2 -0
- package/dist/pages/fubao/statistic/premarital-checkup/./345/251/232/346/243/200/351/232/217/350/256/277/index.d.ts +1 -1
- package/dist/pages/fubao/statistic/progestation-checkup/./345/255/225/346/243/200/351/232/217/350/256/277/index.d.ts +1 -1
- package/dist/routes/index.d.ts +2 -0
- package/dist/routes/meta.d.ts +2 -0
- package/package.json +19 -14
- 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/.root26.js.map +0 -1
- package/dist/a_chunks/.root27.js.map +0 -1
- package/dist/a_chunks/.root28.js.map +0 -1
- package/dist/a_chunks/.root29.js.map +0 -1
- package/dist/a_chunks/.root3.js.map +0 -1
- package/dist/a_chunks/.root30.js.map +0 -1
- package/dist/a_chunks/.root31.js.map +0 -1
- package/dist/a_chunks/.root32.js.map +0 -1
- package/dist/a_chunks/.root33.js.map +0 -1
- package/dist/a_chunks/.root34.js.map +0 -1
- package/dist/a_chunks/.root35.js.map +0 -1
- package/dist/a_chunks/.root36.js.map +0 -1
- package/dist/a_chunks/.root37.js.map +0 -1
- package/dist/a_chunks/.root38.js.map +0 -1
- package/dist/a_chunks/.root39.js.map +0 -1
- package/dist/a_chunks/.root4.js.map +0 -1
- package/dist/a_chunks/.root40.js.map +0 -1
- package/dist/a_chunks/.root41.js.map +0 -1
- package/dist/a_chunks/.root42.js.map +0 -1
- package/dist/a_chunks/.root43.js.map +0 -1
- package/dist/a_chunks/.root44.js.map +0 -1
- package/dist/a_chunks/.root45.js.map +0 -1
- package/dist/a_chunks/.root46.js.map +0 -1
- package/dist/a_chunks/.root47.js.map +0 -1
- package/dist/a_chunks/.root48.js.map +0 -1
- package/dist/a_chunks/.root49.js.map +0 -1
- package/dist/a_chunks/.root5.js.map +0 -1
- package/dist/a_chunks/.root50.js.map +0 -1
- package/dist/a_chunks/.root51.js.map +0 -1
- package/dist/a_chunks/.root52.js.map +0 -1
- package/dist/a_chunks/.root53.js.map +0 -1
- package/dist/a_chunks/.root54.js.map +0 -1
- package/dist/a_chunks/.root55.js.map +0 -1
- package/dist/a_chunks/.root56.js.map +0 -1
- package/dist/a_chunks/.root57.js.map +0 -1
- package/dist/a_chunks/.root58.js.map +0 -1
- package/dist/a_chunks/.root59.js.map +0 -1
- package/dist/a_chunks/.root6.js.map +0 -1
- package/dist/a_chunks/.root60.js.map +0 -1
- package/dist/a_chunks/.root61.js.map +0 -1
- package/dist/a_chunks/.root62.js.map +0 -1
- package/dist/a_chunks/.root63.js.map +0 -1
- package/dist/a_chunks/.root64.js.map +0 -1
- package/dist/a_chunks/.root65.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/Form.js.map +0 -1
- package/dist/a_chunks/ModalForm.js.map +0 -1
- package/dist/a_chunks/api.js.map +0 -1
- package/dist/a_chunks/common.js.map +0 -1
- package/dist/a_chunks/config.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/form_config.js.map +0 -1
- package/dist/a_chunks/index.js.map +0 -1
- package/dist/a_chunks/index2.js.map +0 -1
- package/dist/a_chunks/index3.js.map +0 -1
- package/dist/a_chunks/index4.js.map +0 -1
- package/dist/a_chunks/style-inject.es.js.map +0 -1
- package/dist/a_chunks/tslib.es6.js.map +0 -1
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/config/adapter.d.ts +0 -2
- package/dist/pages/fubao/premarital-care/.public-exam/config/adapter.d.ts +0 -2
- /package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/{form_config.d.ts → form_config_nan.d.ts} +0 -0
package/dist/a_chunks/.root37.js
CHANGED
|
@@ -1,1497 +1,199 @@
|
|
|
1
|
-
import
|
|
2
|
-
import _omit from 'lodash/omit';
|
|
3
|
-
import _map from 'lodash/map';
|
|
4
|
-
import _isNil from 'lodash/isNil';
|
|
5
|
-
import _isEmpty from 'lodash/isEmpty';
|
|
6
|
-
import _get from 'lodash/get';
|
|
7
|
-
import { b as __extends, _ as __awaiter, a as __generator, c as __assign } from './tslib.es6.js';
|
|
8
|
-
import { safe_json_parse, formatDate, safe_json_stringify, getSearchParamsValue, fubaoRequest } from '@lm_fe/utils';
|
|
9
|
-
import { getBMI, resolveFubaoPath, BaseEditPanelForm, formDescriptionsWithoutSectionApi, BaseEditPanel } from '@lm_fe/components_m';
|
|
1
|
+
import { b as __assign, _ as __awaiter, a as __generator } from './tslib.es6.js';
|
|
10
2
|
import dayjs from 'dayjs';
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import 'antd/es/space/style';
|
|
14
|
-
import _Space from 'antd/es/space';
|
|
15
|
-
import 'antd/es/button/style';
|
|
16
|
-
import _Button from 'antd/es/button';
|
|
17
|
-
import 'antd/es/message/style';
|
|
18
|
-
import _message from 'antd/es/message';
|
|
19
|
-
import _size from 'lodash/size';
|
|
20
|
-
import { SaveOutlined, CloseOutlined } from '@ant-design/icons';
|
|
3
|
+
import { get, set } from 'lodash';
|
|
4
|
+
import { BaseEditPanelFormFC } from '@lm_fe/components_m';
|
|
21
5
|
import { mchcUtils, mchcDriver } from '@lm_fe/env';
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
_set(result, key, _get(itemVaule, 'key'));
|
|
37
|
-
_set(result, "".concat(key, "Note"), _get(itemVaule, 'keyNote'));
|
|
38
|
-
break;
|
|
39
|
-
case 'single_date_picker':
|
|
40
|
-
_set(result, key, formatDate(itemVaule));
|
|
41
|
-
break;
|
|
42
|
-
case 'checkbox_with_input':
|
|
43
|
-
var valueJson = safe_json_parse(itemVaule);
|
|
44
|
-
_set(result, key, _get(valueJson, 'checkedValues.0'));
|
|
45
|
-
_set(result, "".concat(key, "Note"), _get(valueJson, ['withInputValues', "".concat(_get(valueJson, 'checkedValues.0')), 'value', '0']));
|
|
46
|
-
break;
|
|
47
|
-
case 'pressure':
|
|
48
|
-
var pressure_arr = key.split('.');
|
|
49
|
-
var pressure_key = void 0;
|
|
50
|
-
if (pressure_arr.length > 1) {
|
|
51
|
-
pressure_arr = _dropRight(pressure_arr, 1);
|
|
52
|
-
pressure_key = _join(pressure_arr, '.');
|
|
53
|
-
_set(result, "".concat(pressure_key, ".systolic"), _get(itemVaule, 'systolic'));
|
|
54
|
-
_set(result, "".concat(pressure_key, ".diastolic"), _get(itemVaule, 'diastolic'));
|
|
55
|
-
} else {
|
|
56
|
-
_set(result, 'systolic', _get(itemVaule, 'systolic'));
|
|
57
|
-
_set(result, 'diastolic', _get(itemVaule, 'diastolic'));
|
|
58
|
-
}
|
|
59
|
-
break;
|
|
60
|
-
default:
|
|
61
|
-
_set(result, key, itemVaule);
|
|
62
|
-
break;
|
|
63
|
-
}
|
|
64
|
-
});
|
|
65
|
-
return result;
|
|
6
|
+
import { use_provoke } from '@lm_fe/provoke';
|
|
7
|
+
import { request } from '@lm_fe/utils';
|
|
8
|
+
import { Form } from 'antd';
|
|
9
|
+
import React, { useState, useEffect } from 'react';
|
|
10
|
+
import { BF_Wrap2 } from '@lm_fe/pages';
|
|
11
|
+
var baseUrl = '/api/progestation/check/addProgestationCheckArchives';
|
|
12
|
+
var w_vm = 'womanProgestationCheckArchivesDetailVM';
|
|
13
|
+
var m_vm = 'manProgestationCheckArchivesDetailVM';
|
|
14
|
+
var baseinfo_k = 'progestationCheckArchivesBasicInformation';
|
|
15
|
+
var medical_history_k = 'progestationCheckArchivesMedicalHistory';
|
|
16
|
+
var physical_exam_k = 'progestationCheckArchivesPhysicalExamination';
|
|
17
|
+
var fuck_keys = ['name', 'outpatientNo', 'telephone', 'age'];
|
|
18
|
+
var form_fn = function form_fn() {
|
|
19
|
+
return import('./.root61.js');
|
|
66
20
|
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
if (!_isNil(itemVaule)) {
|
|
81
|
-
var checkBoxValue = {
|
|
82
|
-
checkedValues: [itemVaule],
|
|
83
|
-
withInputValues: (_a = {}, _a[itemVaule] = {
|
|
84
|
-
key: itemVaule,
|
|
85
|
-
value: {
|
|
86
|
-
'0': _get(values, "".concat(key, "Note"))
|
|
87
|
-
}
|
|
88
|
-
}, _a)
|
|
89
|
-
};
|
|
90
|
-
_set(values, key, safe_json_stringify(checkBoxValue));
|
|
91
|
-
}
|
|
92
|
-
break;
|
|
93
|
-
case 'pressure':
|
|
94
|
-
if (!_isNil(itemVaule)) {
|
|
95
|
-
var pressure_arr = key.split('.');
|
|
96
|
-
var pressure_key = void 0;
|
|
97
|
-
if (pressure_arr.length > 1) {
|
|
98
|
-
pressure_arr = _dropRight(pressure_arr, 1);
|
|
99
|
-
pressure_key = _join(pressure_arr, '.');
|
|
100
|
-
_set(values, "".concat(key, ".systolic"), itemVaule);
|
|
101
|
-
_set(values, "".concat(key, ".diastolic"), _get(values, "".concat(pressure_key, ".diastolic")));
|
|
102
|
-
} else {
|
|
103
|
-
_set(values, "".concat(key, ".systolic"), itemVaule);
|
|
104
|
-
_set(values, "".concat(key, ".diastolic"), _get(values, "diastolic"));
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
break;
|
|
108
|
-
default:
|
|
109
|
-
if (!_isNil(itemVaule)) {
|
|
110
|
-
_set(values, key, itemVaule);
|
|
111
|
-
}
|
|
112
|
-
break;
|
|
113
|
-
}
|
|
21
|
+
function WifePanel_new(props) {
|
|
22
|
+
var _this = this;
|
|
23
|
+
var id = mchcUtils.single_id(props);
|
|
24
|
+
var _a = BF_Wrap2({
|
|
25
|
+
default_conf: {
|
|
26
|
+
title: '孕前检查-档案编辑',
|
|
27
|
+
tableColumns: form_fn
|
|
28
|
+
}
|
|
29
|
+
}),
|
|
30
|
+
config = _a.config,
|
|
31
|
+
Wrap = _a.Wrap;
|
|
32
|
+
var user = use_provoke(function (s) {
|
|
33
|
+
return s.user_info;
|
|
114
34
|
});
|
|
115
|
-
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
function
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
nationality: '中国',
|
|
174
|
-
permanentResidence: checkData.province
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
womanAge: checkData.age
|
|
35
|
+
var form = Form.useForm()[0];
|
|
36
|
+
var _b = useState({}),
|
|
37
|
+
data = _b[0],
|
|
38
|
+
set_data = _b[1];
|
|
39
|
+
useEffect(function () {
|
|
40
|
+
handleInit();
|
|
41
|
+
return mchcDriver.on_rm('data', function (e) {
|
|
42
|
+
var _a, _b;
|
|
43
|
+
var _c;
|
|
44
|
+
if (e.type === 'ReadCard') {
|
|
45
|
+
var res = e.data;
|
|
46
|
+
(_c = form.setFieldsValue) === null || _c === void 0 ? void 0 : _c.call(form, (_a = {}, _a[w_vm] = (_b = {}, _b[baseinfo_k] = __assign({}, res), _b), _a));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}, []);
|
|
50
|
+
function init_baseinfo(data, key, iswoman) {
|
|
51
|
+
if (iswoman === void 0) {
|
|
52
|
+
iswoman = true;
|
|
53
|
+
}
|
|
54
|
+
var vm = iswoman ? w_vm : m_vm;
|
|
55
|
+
var prefix = iswoman ? 'woman' : 'man';
|
|
56
|
+
var upppercase_key = key[0].toUpperCase() + key.slice(1);
|
|
57
|
+
if (!get(data, "".concat(vm, ".").concat(baseinfo_k, ".").concat(key))) {
|
|
58
|
+
set(data, "".concat(vm, ".").concat(baseinfo_k, ".").concat(key), get(data, "".concat(prefix).concat(upppercase_key)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function revert_init_baseinfo(data, key, iswoman) {
|
|
62
|
+
if (iswoman === void 0) {
|
|
63
|
+
iswoman = true;
|
|
64
|
+
}
|
|
65
|
+
var vm = iswoman ? w_vm : m_vm;
|
|
66
|
+
var prefix = iswoman ? 'woman' : 'man';
|
|
67
|
+
var upppercase_key = key[0].toUpperCase() + key.slice(1);
|
|
68
|
+
if (!get(data, "".concat(prefix).concat(upppercase_key))) {
|
|
69
|
+
set(data, "".concat(prefix).concat(upppercase_key), get(data, "".concat(vm, ".").concat(baseinfo_k, ".").concat(key)));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function handleInit() {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
74
|
+
var data, _a;
|
|
75
|
+
return __generator(this, function (_b) {
|
|
76
|
+
switch (_b.label) {
|
|
77
|
+
case 0:
|
|
78
|
+
if (!id) return [3, 2];
|
|
79
|
+
return [4, request.get("/api/progestation/check/getByProgestationCheckArchivesId?progestationCheckArchivesId.equals=".concat(id, "&childrenSign.equals=0"), {
|
|
80
|
+
unboxing: true
|
|
81
|
+
})];
|
|
82
|
+
case 1:
|
|
83
|
+
_a = _b.sent().data;
|
|
84
|
+
return [3, 3];
|
|
85
|
+
case 2:
|
|
86
|
+
_a = {};
|
|
87
|
+
_b.label = 3;
|
|
88
|
+
case 3:
|
|
89
|
+
data = _a;
|
|
90
|
+
['name', 'outpatientNo', 'telephone', 'age'].forEach(function (key) {
|
|
91
|
+
init_baseinfo(data, key, true);
|
|
92
|
+
init_baseinfo(data, key, false);
|
|
178
93
|
});
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
if (_get(allValues, 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.parity') > _get(allValues, 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.gravidity')) {
|
|
182
|
-
_message.warning('产次>孕次,请检查孕次、产次输入的内容!');
|
|
94
|
+
if (get(data, "".concat(w_vm, ".nearRelation"))) {
|
|
95
|
+
set(data, 'nearRelation', get(data, '${w_vm}.nearRelation'));
|
|
183
96
|
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
progestationCheckArchivesPhysicalExamination: {
|
|
190
|
-
bmi: bmi
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
if (_get(allValues, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.idType') === 1 && _size(_get(allValues, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.idNO')) === 18 && (_get(changedValues, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.idType') || _get(changedValues, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.idNO'))) {
|
|
196
|
-
idNO = _get(allValues, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.idNO');
|
|
197
|
-
checkData = mchcUtils.checkIdNo(idNO);
|
|
198
|
-
if (checkData.status) {
|
|
199
|
-
form && form.setFieldsValue({
|
|
200
|
-
manProgestationCheckArchivesDetailVM: {
|
|
201
|
-
progestationCheckArchivesBasicInformation: {
|
|
202
|
-
dob: checkData.birth,
|
|
203
|
-
nationality: '中国',
|
|
204
|
-
permanentResidence: checkData.province
|
|
205
|
-
}
|
|
206
|
-
},
|
|
207
|
-
manAge: checkData.age
|
|
208
|
-
});
|
|
97
|
+
if (get(data, "".concat(w_vm, ".nearRelationNote"))) {
|
|
98
|
+
set(data, 'nearRelationNote', get(data, "".concat(w_vm, ".nearRelationNote")));
|
|
99
|
+
}
|
|
100
|
+
if (get(data, "".concat(m_vm, ".nearRelation"))) {
|
|
101
|
+
set(data, 'nearRelation', get(data, "".concat(m_vm, ".nearRelation")));
|
|
209
102
|
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
103
|
+
if (get(data, "".concat(m_vm, ".nearRelationNote"))) {
|
|
104
|
+
set(data, 'nearRelationNote', get(data, "".concat(m_vm, ".nearRelationNote")));
|
|
105
|
+
}
|
|
106
|
+
if (!get(data, 'nearRelationNote')) {
|
|
107
|
+
set(data, 'nearRelationNote', null);
|
|
108
|
+
}
|
|
109
|
+
if (!get(data, 'filingDay')) set(data, 'filingDay', dayjs(new Date()));
|
|
110
|
+
if (!get(data, 'auditor')) set(data, 'auditor', user === null || user === void 0 ? void 0 : user.firstName);
|
|
111
|
+
data = mchcUtils.autoNoteToCommonOption(data);
|
|
112
|
+
[w_vm, m_vm].forEach(function (vm) {
|
|
113
|
+
set(data, "".concat(vm, ".").concat(baseinfo_k), mchcUtils.autoNoteToCommonOption(get(data, "".concat(vm, ".").concat(baseinfo_k))));
|
|
114
|
+
set(data, "".concat(vm, ".").concat(medical_history_k), mchcUtils.autoNoteToCommonOption(get(data, "".concat(vm, ".").concat(medical_history_k))));
|
|
115
|
+
set(data, "".concat(vm, ".").concat(physical_exam_k), mchcUtils.autoNoteToCommonOption(get(data, "".concat(vm, ".").concat(physical_exam_k))));
|
|
219
116
|
});
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
});
|
|
224
|
-
};
|
|
225
|
-
_this.handleCancel = function () {
|
|
226
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
227
|
-
var _a, data, form;
|
|
228
|
-
return __generator(this, function (_b) {
|
|
229
|
-
_a = this.props, _a.history, data = _a.data, _a.routerPath, _a.deleteTab, _a.tabs, _a.keepAliveProviderRef, _a.updateTabs;
|
|
230
|
-
form = this.form;
|
|
231
|
-
if (!_get(data, 'id')) form.resetFields();
|
|
232
|
-
SLocal_History.closeAndPush(resolveFubaoPath("/pre-pregnancy-care/file-management"));
|
|
233
|
-
return [2];
|
|
234
|
-
});
|
|
235
|
-
});
|
|
236
|
-
};
|
|
237
|
-
_this.handleSaveAndNext = function () {
|
|
238
|
-
var form = _this.form;
|
|
239
|
-
var _a = _this.props,
|
|
240
|
-
onFinish = _a.onFinish,
|
|
241
|
-
data = _a.data;
|
|
242
|
-
form && form.validateFields().then(function () {
|
|
243
|
-
var params = __assign(__assign({}, form.getFieldsValue()), {
|
|
244
|
-
id: _get(data, 'id'),
|
|
245
|
-
build: true
|
|
246
|
-
});
|
|
247
|
-
onFinish && onFinish(params);
|
|
248
|
-
form.resetFields();
|
|
249
|
-
form.setFieldsValue({
|
|
250
|
-
auditor: _get(data, 'auditor'),
|
|
251
|
-
filingDay: _get(data, 'filingDay')
|
|
252
|
-
});
|
|
253
|
-
})["catch"](function (error) {
|
|
254
|
-
var name = _get(error, 'errorFields.0.name.0');
|
|
255
|
-
var errors = _get(error, 'errorFields.0.errors.0');
|
|
256
|
-
_message.error(errors);
|
|
257
|
-
form.scrollToField(name);
|
|
258
|
-
});
|
|
259
|
-
};
|
|
260
|
-
_this.renderCheckBtn = function () {
|
|
261
|
-
var data = _this.props.data;
|
|
262
|
-
return /*#__PURE__*/React.createElement(_Button, {
|
|
263
|
-
size: "large",
|
|
264
|
-
type: "primary",
|
|
265
|
-
icon: /*#__PURE__*/React.createElement(SaveOutlined, null),
|
|
266
|
-
htmlType: "submit",
|
|
267
|
-
onClick: _this.handleFinish,
|
|
268
|
-
disabled: false
|
|
269
|
-
}, _get(data, 'fileStatus') === 2 ? '保存' : '保存并审核');
|
|
270
|
-
};
|
|
271
|
-
_this.renderCancelBtn = function () {
|
|
272
|
-
return /*#__PURE__*/React.createElement(_Button, {
|
|
273
|
-
size: "large",
|
|
274
|
-
icon: /*#__PURE__*/React.createElement(CloseOutlined, null),
|
|
275
|
-
onClick: _this.handleCancel
|
|
276
|
-
}, "\u5173\u95ED");
|
|
277
|
-
};
|
|
278
|
-
_this.renderSaveAndNext = function () {
|
|
279
|
-
return /*#__PURE__*/React.createElement(_Button, {
|
|
280
|
-
size: "large",
|
|
281
|
-
type: "primary",
|
|
282
|
-
icon: /*#__PURE__*/React.createElement(SaveOutlined, null),
|
|
283
|
-
onClick: _this.handleSaveAndNext
|
|
284
|
-
}, "\u4FDD\u5B58\u5E76\u7EE7\u7EED\u65B0\u589E\u6863\u6848");
|
|
285
|
-
};
|
|
286
|
-
_this.renderBtns = function () {
|
|
287
|
-
var data = _this.props.data;
|
|
288
|
-
return /*#__PURE__*/React.createElement(_Space, null, !_get(data, 'id') && _this.renderSaveAndNext(), _this.renderCheckBtn(), _this.renderCancelBtn());
|
|
289
|
-
};
|
|
290
|
-
return _this;
|
|
291
|
-
}
|
|
292
|
-
return AdmissionForm;
|
|
293
|
-
}(BaseEditPanelForm);
|
|
294
|
-
var form_config = defineFormConfig([{
|
|
295
|
-
"name": "女方信息",
|
|
296
|
-
"children": [{
|
|
297
|
-
"key": "womanName",
|
|
298
|
-
"label": "姓名",
|
|
299
|
-
"inputType": "input",
|
|
300
|
-
"inputProps": {
|
|
301
|
-
'placeholder': '请输入姓名'
|
|
302
|
-
},
|
|
303
|
-
layout: '1/3'
|
|
304
|
-
}, {
|
|
305
|
-
"key": "womanOutpatientNo",
|
|
306
|
-
"label": "门诊号",
|
|
307
|
-
"inputType": "input",
|
|
308
|
-
"inputProps": {
|
|
309
|
-
'placeholder': '请输入门诊号'
|
|
310
|
-
},
|
|
311
|
-
layout: '1/3'
|
|
312
|
-
}, {
|
|
313
|
-
"key": "__obdriver_read",
|
|
314
|
-
"inputType": 'IdNOButton',
|
|
315
|
-
label: '外设读取',
|
|
316
|
-
layout: '1/3'
|
|
317
|
-
}, {
|
|
318
|
-
"key": "womanTelephone",
|
|
319
|
-
"label": "电话号码",
|
|
320
|
-
"inputType": "input",
|
|
321
|
-
"inputProps": {
|
|
322
|
-
'placeholder': '请输入电话号码'
|
|
323
|
-
},
|
|
324
|
-
layout: '1/3'
|
|
325
|
-
}, {
|
|
326
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.idType",
|
|
327
|
-
"label": "证件类型",
|
|
328
|
-
"inputType": "MS",
|
|
329
|
-
inputProps: {
|
|
330
|
-
optionKey: '证件类型',
|
|
331
|
-
marshal: 0
|
|
332
|
-
},
|
|
333
|
-
layout: '1/3'
|
|
334
|
-
}, {
|
|
335
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.idNO",
|
|
336
|
-
"label": "证件号码",
|
|
337
|
-
"inputType": "input",
|
|
338
|
-
"inputProps": {
|
|
339
|
-
'placeholder': '请输入证件号码'
|
|
340
|
-
},
|
|
341
|
-
layout: '1/3'
|
|
342
|
-
}, {
|
|
343
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.dob",
|
|
344
|
-
"label": "出生日期",
|
|
345
|
-
"inputType": "single_date_picker",
|
|
346
|
-
"inputProps": {
|
|
347
|
-
'placeholder': '请输入出生日期',
|
|
348
|
-
'maxDate': 'now'
|
|
349
|
-
},
|
|
350
|
-
layout: '1/3'
|
|
351
|
-
}, {
|
|
352
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.ethnic",
|
|
353
|
-
"label": "民族",
|
|
354
|
-
"inputType": "MS",
|
|
355
|
-
inputProps: {
|
|
356
|
-
optionKey: '民族s',
|
|
357
|
-
marshal: 0
|
|
358
|
-
},
|
|
359
|
-
layout: '1/3'
|
|
360
|
-
}, {
|
|
361
|
-
"key": "womanAge",
|
|
362
|
-
"label": "年龄",
|
|
363
|
-
"inputType": "input_number",
|
|
364
|
-
"inputProps": {
|
|
365
|
-
'placeholder': '请输入年龄'
|
|
366
|
-
},
|
|
367
|
-
layout: '1/3'
|
|
368
|
-
}, {
|
|
369
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.permanentResidence",
|
|
370
|
-
"label": "籍贯",
|
|
371
|
-
"inputType": "MS",
|
|
372
|
-
inputProps: {
|
|
373
|
-
optionKey: '省份s',
|
|
374
|
-
marshal: 0
|
|
375
|
-
},
|
|
376
|
-
layout: '1/3'
|
|
377
|
-
}, {
|
|
378
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.education",
|
|
379
|
-
"label": "文化程度",
|
|
380
|
-
"inputType": "MS",
|
|
381
|
-
inputProps: {
|
|
382
|
-
optionKey: '文化程度s',
|
|
383
|
-
marshal: 0
|
|
384
|
-
},
|
|
385
|
-
layout: '1/3'
|
|
386
|
-
}, {
|
|
387
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.profession",
|
|
388
|
-
"label": "职业",
|
|
389
|
-
"inputType": "MS",
|
|
390
|
-
inputProps: {
|
|
391
|
-
optionKey: '职业s',
|
|
392
|
-
marshal: 0
|
|
393
|
-
},
|
|
394
|
-
layout: '1/3'
|
|
395
|
-
}, {
|
|
396
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.nationality",
|
|
397
|
-
"label": "国籍",
|
|
398
|
-
"inputType": "country_select",
|
|
399
|
-
"inputProps": {
|
|
400
|
-
'placeholder': '请输入国籍'
|
|
401
|
-
},
|
|
402
|
-
layout: '1/3'
|
|
403
|
-
}, {
|
|
404
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.menarche",
|
|
405
|
-
"label": "初潮(岁)",
|
|
406
|
-
"inputType": "input_number",
|
|
407
|
-
"inputProps": {
|
|
408
|
-
'placeholder': '请输入初潮'
|
|
409
|
-
},
|
|
410
|
-
layout: '1/3'
|
|
411
|
-
}, {
|
|
412
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.menstrualCycle",
|
|
413
|
-
"label": "月经周期(天)",
|
|
414
|
-
"inputType": "input_number",
|
|
415
|
-
"inputProps": {
|
|
416
|
-
'placeholder': '请输入月经周期'
|
|
417
|
-
},
|
|
418
|
-
layout: '1/3'
|
|
419
|
-
}, {
|
|
420
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.menstrualPeriod",
|
|
421
|
-
"label": "月经持续天数",
|
|
422
|
-
"inputType": "input_number",
|
|
423
|
-
"inputProps": {
|
|
424
|
-
'placeholder': '请输入月经持续天数'
|
|
425
|
-
},
|
|
426
|
-
layout: '1/3'
|
|
427
|
-
}, {
|
|
428
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.menstrualVolume",
|
|
429
|
-
"label": "经量",
|
|
430
|
-
"inputType": "checkbox_group",
|
|
431
|
-
"specialConfig": {
|
|
432
|
-
'type': 'single',
|
|
433
|
-
'options': [{
|
|
434
|
-
'value': '多',
|
|
435
|
-
'label': '多',
|
|
436
|
-
'withInput': false,
|
|
437
|
-
'span': 6
|
|
438
|
-
}, {
|
|
439
|
-
'value': '中',
|
|
440
|
-
'label': '中',
|
|
441
|
-
'withInput': false,
|
|
442
|
-
'span': 6
|
|
443
|
-
}, {
|
|
444
|
-
'value': '少',
|
|
445
|
-
'label': '少',
|
|
446
|
-
'withInput': false,
|
|
447
|
-
'span': 6
|
|
448
|
-
}]
|
|
449
|
-
},
|
|
450
|
-
"inputProps": {
|
|
451
|
-
'placeholder': '请输入经量'
|
|
452
|
-
},
|
|
453
|
-
layout: '1/3'
|
|
454
|
-
}, {
|
|
455
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.dysmenorrhea",
|
|
456
|
-
"label": "痛经",
|
|
457
|
-
"inputType": "checkbox_with_single_input",
|
|
458
|
-
"specialConfig": {
|
|
459
|
-
'type': 'single',
|
|
460
|
-
'options': [{
|
|
461
|
-
'value': 1,
|
|
462
|
-
'label': '无',
|
|
463
|
-
'span': 8,
|
|
464
|
-
'withInput': false
|
|
465
|
-
}, {
|
|
466
|
-
'value': 2,
|
|
467
|
-
'label': '有',
|
|
468
|
-
'withInput': true,
|
|
469
|
-
'isIssue': true,
|
|
470
|
-
'span': 8,
|
|
471
|
-
'inputSpan': 8
|
|
472
|
-
}]
|
|
473
|
-
},
|
|
474
|
-
"inputProps": {
|
|
475
|
-
'placeholder': '请输入痛经'
|
|
476
|
-
},
|
|
477
|
-
layout: '1/3'
|
|
478
|
-
}, {
|
|
479
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.gravidity",
|
|
480
|
-
"label": "孕次",
|
|
481
|
-
"inputType": "input_number",
|
|
482
|
-
"inputProps": {
|
|
483
|
-
'placeholder': '请输入孕次'
|
|
484
|
-
},
|
|
485
|
-
layout: '1/3'
|
|
486
|
-
}, {
|
|
487
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.parity",
|
|
488
|
-
"label": "产次",
|
|
489
|
-
"inputType": "input_number",
|
|
490
|
-
"inputProps": {
|
|
491
|
-
'placeholder': '请输入产次'
|
|
492
|
-
},
|
|
493
|
-
layout: '1/3'
|
|
494
|
-
}, {
|
|
495
|
-
"key": "grs",
|
|
496
|
-
"label": "个人史",
|
|
497
|
-
"inputType": "title",
|
|
498
|
-
"inputProps": {
|
|
499
|
-
'type': 'text',
|
|
500
|
-
'size': 'large',
|
|
501
|
-
'style': {
|
|
502
|
-
'fontSize': 16,
|
|
503
|
-
'fontWeight': 600
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
layout: '2/3'
|
|
507
|
-
}, {
|
|
508
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.previousHistory",
|
|
509
|
-
"label": "既往史",
|
|
510
|
-
"inputType": "checkbox_with_single_input",
|
|
511
|
-
"specialConfig": {
|
|
512
|
-
'type': 'single',
|
|
513
|
-
'options': [{
|
|
514
|
-
'value': 1,
|
|
515
|
-
'label': '无',
|
|
516
|
-
'span': 6,
|
|
517
|
-
'withInput': false
|
|
518
|
-
}, {
|
|
519
|
-
'value': 2,
|
|
520
|
-
'label': '有',
|
|
521
|
-
'withInput': true,
|
|
522
|
-
'isIssue': true,
|
|
523
|
-
'span': 6,
|
|
524
|
-
'inputSpan': 12
|
|
525
|
-
}]
|
|
526
|
-
},
|
|
527
|
-
"inputProps": {
|
|
528
|
-
'placeholder': '请输入既往史'
|
|
529
|
-
},
|
|
530
|
-
layout: '1/3'
|
|
531
|
-
}, {
|
|
532
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.surgeryHistory",
|
|
533
|
-
"label": "手术史",
|
|
534
|
-
"inputType": "checkbox_with_single_input",
|
|
535
|
-
"specialConfig": {
|
|
536
|
-
'type': 'single',
|
|
537
|
-
'options': [{
|
|
538
|
-
'value': 1,
|
|
539
|
-
'label': '无',
|
|
540
|
-
'span': 6,
|
|
541
|
-
'withInput': false
|
|
542
|
-
}, {
|
|
543
|
-
'value': 2,
|
|
544
|
-
'label': '有',
|
|
545
|
-
'withInput': true,
|
|
546
|
-
'isIssue': true,
|
|
547
|
-
'span': 6,
|
|
548
|
-
'inputSpan': 12
|
|
549
|
-
}]
|
|
550
|
-
},
|
|
551
|
-
"inputProps": {
|
|
552
|
-
'placeholder': '请输入手术史'
|
|
553
|
-
},
|
|
554
|
-
layout: '1/3'
|
|
555
|
-
}, {
|
|
556
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.presentIllness",
|
|
557
|
-
"label": "现病史",
|
|
558
|
-
"inputType": "checkbox_with_single_input",
|
|
559
|
-
"specialConfig": {
|
|
560
|
-
'type': 'single',
|
|
561
|
-
'options': [{
|
|
562
|
-
'value': 1,
|
|
563
|
-
'label': '无',
|
|
564
|
-
'span': 6,
|
|
565
|
-
'withInput': false
|
|
566
|
-
}, {
|
|
567
|
-
'value': 2,
|
|
568
|
-
'label': '有',
|
|
569
|
-
'withInput': true,
|
|
570
|
-
'isIssue': true,
|
|
571
|
-
'span': 6,
|
|
572
|
-
'inputSpan': 12
|
|
573
|
-
}]
|
|
574
|
-
},
|
|
575
|
-
"inputProps": {
|
|
576
|
-
'placeholder': '请输入现病史'
|
|
577
|
-
},
|
|
578
|
-
layout: '1/3'
|
|
579
|
-
}, {
|
|
580
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.contactHazardousSubstances",
|
|
581
|
-
"label": "接触有害物质",
|
|
582
|
-
"inputType": "checkbox_with_single_input",
|
|
583
|
-
"specialConfig": {
|
|
584
|
-
'type': 'single',
|
|
585
|
-
'options': [{
|
|
586
|
-
'value': 1,
|
|
587
|
-
'label': '无',
|
|
588
|
-
'span': 6,
|
|
589
|
-
'withInput': false
|
|
590
|
-
}, {
|
|
591
|
-
'value': 2,
|
|
592
|
-
'label': '有',
|
|
593
|
-
'withInput': true,
|
|
594
|
-
'isIssue': true,
|
|
595
|
-
'span': 6,
|
|
596
|
-
'inputSpan': 12
|
|
597
|
-
}]
|
|
598
|
-
},
|
|
599
|
-
layout: '1/3'
|
|
600
|
-
}, {
|
|
601
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.contactRadioactiveRays",
|
|
602
|
-
"label": "接触放射线",
|
|
603
|
-
"inputType": "checkbox_with_single_input",
|
|
604
|
-
"specialConfig": {
|
|
605
|
-
'type': 'single',
|
|
606
|
-
'options': [{
|
|
607
|
-
'value': 1,
|
|
608
|
-
'label': '无',
|
|
609
|
-
'span': 6,
|
|
610
|
-
'withInput': false
|
|
611
|
-
}, {
|
|
612
|
-
'value': 2,
|
|
613
|
-
'label': '有',
|
|
614
|
-
'withInput': true,
|
|
615
|
-
'isIssue': true,
|
|
616
|
-
'span': 6,
|
|
617
|
-
'inputSpan': 12
|
|
618
|
-
}]
|
|
619
|
-
},
|
|
620
|
-
layout: '1/3'
|
|
621
|
-
}, {
|
|
622
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.contraception",
|
|
623
|
-
"label": "避孕措施",
|
|
624
|
-
"inputType": "checkbox_with_single_input",
|
|
625
|
-
"specialConfig": {
|
|
626
|
-
'type': 'single',
|
|
627
|
-
'options': [{
|
|
628
|
-
'value': 1,
|
|
629
|
-
'label': '无',
|
|
630
|
-
'span': 6,
|
|
631
|
-
'withInput': false
|
|
632
|
-
}, {
|
|
633
|
-
'value': 2,
|
|
634
|
-
'label': '有',
|
|
635
|
-
'withInput': true,
|
|
636
|
-
'isIssue': true,
|
|
637
|
-
'span': 6,
|
|
638
|
-
'inputSpan': 12
|
|
639
|
-
}]
|
|
640
|
-
},
|
|
641
|
-
layout: '1/3'
|
|
642
|
-
}, {
|
|
643
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.personalSmoke",
|
|
644
|
-
"label": "吸烟",
|
|
645
|
-
"inputType": "checkbox_with_single_input",
|
|
646
|
-
"specialConfig": {
|
|
647
|
-
'type': 'single',
|
|
648
|
-
'options': [{
|
|
649
|
-
'value': 1,
|
|
650
|
-
'label': '无',
|
|
651
|
-
'span': 6,
|
|
652
|
-
'withInput': false
|
|
653
|
-
}, {
|
|
654
|
-
'value': 2,
|
|
655
|
-
'label': '有',
|
|
656
|
-
'withInput': true,
|
|
657
|
-
'isIssue': true,
|
|
658
|
-
'span': 6,
|
|
659
|
-
'inputSpan': 12
|
|
660
|
-
}]
|
|
661
|
-
},
|
|
662
|
-
layout: '1/3'
|
|
663
|
-
}, {
|
|
664
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.personalDrink",
|
|
665
|
-
"label": "饮酒",
|
|
666
|
-
"inputType": "checkbox_with_single_input",
|
|
667
|
-
"specialConfig": {
|
|
668
|
-
'type': 'single',
|
|
669
|
-
'options': [{
|
|
670
|
-
'value': 1,
|
|
671
|
-
'label': '无',
|
|
672
|
-
'span': 6,
|
|
673
|
-
'withInput': false
|
|
674
|
-
}, {
|
|
675
|
-
'value': 2,
|
|
676
|
-
'label': '有',
|
|
677
|
-
'withInput': true,
|
|
678
|
-
'isIssue': true,
|
|
679
|
-
'span': 6,
|
|
680
|
-
'inputSpan': 12
|
|
681
|
-
}]
|
|
682
|
-
},
|
|
683
|
-
layout: '1/3'
|
|
684
|
-
}, {
|
|
685
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.personalOther",
|
|
686
|
-
"label": "其他",
|
|
687
|
-
"inputType": "input",
|
|
688
|
-
"inputProps": {
|
|
689
|
-
'placeholder': '请输入其他'
|
|
690
|
-
},
|
|
691
|
-
layout: '1/3'
|
|
692
|
-
}, {
|
|
693
|
-
"key": "jzs",
|
|
694
|
-
"label": "家族史",
|
|
695
|
-
"inputType": "title",
|
|
696
|
-
"inputProps": {
|
|
697
|
-
'type': 'text',
|
|
698
|
-
'size': 'large',
|
|
699
|
-
'style': {
|
|
700
|
-
'fontSize': 16,
|
|
701
|
-
'fontWeight': 600
|
|
702
|
-
}
|
|
703
|
-
},
|
|
704
|
-
layout: '2/3'
|
|
705
|
-
}, {
|
|
706
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.familyHeritableDisease",
|
|
707
|
-
"label": "遗传疾病",
|
|
708
|
-
"inputType": "checkbox_with_single_input",
|
|
709
|
-
"specialConfig": {
|
|
710
|
-
'type': 'single',
|
|
711
|
-
'options': [{
|
|
712
|
-
'value': 1,
|
|
713
|
-
'label': '无',
|
|
714
|
-
'span': 8,
|
|
715
|
-
'withInput': false
|
|
716
|
-
}, {
|
|
717
|
-
'value': 2,
|
|
718
|
-
'label': '有',
|
|
719
|
-
'withInput': true,
|
|
720
|
-
'isIssue': true,
|
|
721
|
-
'span': 8,
|
|
722
|
-
'inputSpan': 8
|
|
723
|
-
}]
|
|
724
|
-
},
|
|
725
|
-
layout: '1/3'
|
|
726
|
-
}, {
|
|
727
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.familyPsychosis",
|
|
728
|
-
"label": "精神病",
|
|
729
|
-
"inputType": "checkbox_with_single_input",
|
|
730
|
-
"specialConfig": {
|
|
731
|
-
'type': 'single',
|
|
732
|
-
'options': [{
|
|
733
|
-
'value': 1,
|
|
734
|
-
'label': '无',
|
|
735
|
-
'span': 8,
|
|
736
|
-
'withInput': false
|
|
737
|
-
}, {
|
|
738
|
-
'value': 2,
|
|
739
|
-
'label': '有',
|
|
740
|
-
'withInput': true,
|
|
741
|
-
'isIssue': true,
|
|
742
|
-
'span': 8,
|
|
743
|
-
'inputSpan': 8
|
|
744
|
-
}]
|
|
745
|
-
},
|
|
746
|
-
layout: '1/3'
|
|
747
|
-
}, {
|
|
748
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.birthDefects",
|
|
749
|
-
"label": "先天畸形",
|
|
750
|
-
"inputType": "checkbox_with_single_input",
|
|
751
|
-
"specialConfig": {
|
|
752
|
-
'type': 'single',
|
|
753
|
-
'options': [{
|
|
754
|
-
'value': 1,
|
|
755
|
-
'label': '无',
|
|
756
|
-
'span': 8,
|
|
757
|
-
'withInput': false
|
|
758
|
-
}, {
|
|
759
|
-
'value': 2,
|
|
760
|
-
'label': '有',
|
|
761
|
-
'withInput': true,
|
|
762
|
-
'isIssue': true,
|
|
763
|
-
'span': 8,
|
|
764
|
-
'inputSpan': 8
|
|
765
|
-
}]
|
|
766
|
-
},
|
|
767
|
-
layout: '1/3'
|
|
768
|
-
}, {
|
|
769
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.familyHistoryOther",
|
|
770
|
-
"label": "其他",
|
|
771
|
-
"inputType": "input",
|
|
772
|
-
"inputProps": {
|
|
773
|
-
'placeholder': '请输入其他'
|
|
774
|
-
},
|
|
775
|
-
layout: '1/3'
|
|
776
|
-
}, {
|
|
777
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.permanentResidenceAddress",
|
|
778
|
-
"label": "户口地址",
|
|
779
|
-
"inputType": "MyAddress",
|
|
780
|
-
"inputProps": {
|
|
781
|
-
'placeholder': '请输入户口地址'
|
|
782
|
-
},
|
|
783
|
-
layout: '2/3',
|
|
784
|
-
isNewRow: 1
|
|
785
|
-
}, {
|
|
786
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.residenceAddress",
|
|
787
|
-
"label": "居住地址",
|
|
788
|
-
"inputType": "MyAddress",
|
|
789
|
-
"inputProps": {
|
|
790
|
-
addressBtns: [{
|
|
791
|
-
name: 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.permanentResidenceAddress',
|
|
792
|
-
label: '同上'
|
|
793
|
-
}]
|
|
794
|
-
},
|
|
795
|
-
layout: '2/3',
|
|
796
|
-
isNewRow: 1
|
|
797
|
-
}]
|
|
798
|
-
}, {
|
|
799
|
-
"name": "女方体格检查",
|
|
800
|
-
"children": [{
|
|
801
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.weight",
|
|
802
|
-
"label": "体重(kg)",
|
|
803
|
-
"inputType": "input_number",
|
|
804
|
-
"inputProps": {
|
|
805
|
-
'placeholder': '请输入体重'
|
|
806
|
-
},
|
|
807
|
-
layout: '1/3'
|
|
808
|
-
}, {
|
|
809
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.height",
|
|
810
|
-
"label": "身高(cm)",
|
|
811
|
-
"inputType": "input_number",
|
|
812
|
-
"inputProps": {
|
|
813
|
-
'placeholder': '请输入身高'
|
|
814
|
-
},
|
|
815
|
-
layout: '1/3'
|
|
816
|
-
}, {
|
|
817
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.bmi",
|
|
818
|
-
"label": "BMI",
|
|
819
|
-
"inputType": "input_with_range",
|
|
820
|
-
"specialConfig": {
|
|
821
|
-
'tip': 'BMI的正常范围值是18.5~24.9kg/㎡',
|
|
822
|
-
'min': 18.5,
|
|
823
|
-
'max': 24.9
|
|
824
|
-
},
|
|
825
|
-
"inputProps": {
|
|
826
|
-
'placeholder': '请输入BMI',
|
|
827
|
-
'disabled': true
|
|
828
|
-
},
|
|
829
|
-
layout: '1/3'
|
|
830
|
-
}, {
|
|
831
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.systolic",
|
|
832
|
-
"label": "血压(mmHg)",
|
|
833
|
-
"inputType": "pressure",
|
|
834
|
-
layout: '1/3'
|
|
835
|
-
}, {
|
|
836
|
-
"key": "womanProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.heartRate",
|
|
837
|
-
"label": "心率(次/分钟)",
|
|
838
|
-
"inputType": "input_number",
|
|
839
|
-
"inputProps": {
|
|
840
|
-
'placeholder': '请输入心率'
|
|
841
|
-
},
|
|
842
|
-
layout: '1/3'
|
|
843
|
-
}]
|
|
844
|
-
}, {
|
|
845
|
-
"name": "男方信息",
|
|
846
|
-
"children": [{
|
|
847
|
-
"key": "manName",
|
|
848
|
-
"label": "姓名",
|
|
849
|
-
"inputType": "input",
|
|
850
|
-
"inputProps": {
|
|
851
|
-
'placeholder': '请输入姓名'
|
|
852
|
-
},
|
|
853
|
-
layout: '1/3'
|
|
854
|
-
}, {
|
|
855
|
-
"key": "manOutpatientNo",
|
|
856
|
-
"label": "门诊号",
|
|
857
|
-
"inputType": "input",
|
|
858
|
-
"inputProps": {
|
|
859
|
-
'placeholder': '请输入门诊号'
|
|
860
|
-
},
|
|
861
|
-
layout: '1/3'
|
|
862
|
-
}, {
|
|
863
|
-
"key": "manTelephone",
|
|
864
|
-
"label": "电话号码",
|
|
865
|
-
"inputType": "input",
|
|
866
|
-
"inputProps": {
|
|
867
|
-
'placeholder': '请输入电话号码'
|
|
868
|
-
},
|
|
869
|
-
layout: '1/3'
|
|
870
|
-
}, {
|
|
871
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.idType",
|
|
872
|
-
"label": "证件类型",
|
|
873
|
-
"inputType": "MS",
|
|
874
|
-
inputProps: {
|
|
875
|
-
optionKey: '证件类型',
|
|
876
|
-
marshal: 0
|
|
877
|
-
},
|
|
878
|
-
layout: '1/3'
|
|
879
|
-
}, {
|
|
880
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.idNO",
|
|
881
|
-
"label": "证件号码",
|
|
882
|
-
"inputType": "input",
|
|
883
|
-
"inputProps": {
|
|
884
|
-
'placeholder': '请输入证件号码'
|
|
885
|
-
},
|
|
886
|
-
layout: '1/3'
|
|
887
|
-
}, {
|
|
888
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.dob",
|
|
889
|
-
"label": "出生日期",
|
|
890
|
-
"inputType": "single_date_picker",
|
|
891
|
-
"inputProps": {
|
|
892
|
-
'placeholder': '请输入出生日期',
|
|
893
|
-
'maxDate': 'now'
|
|
894
|
-
},
|
|
895
|
-
layout: '1/3'
|
|
896
|
-
}, {
|
|
897
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.ethnic",
|
|
898
|
-
"label": "民族",
|
|
899
|
-
"inputType": "MS",
|
|
900
|
-
inputProps: {
|
|
901
|
-
optionKey: '民族s',
|
|
902
|
-
marshal: 0
|
|
903
|
-
},
|
|
904
|
-
layout: '1/3'
|
|
905
|
-
}, {
|
|
906
|
-
"key": "manAge",
|
|
907
|
-
"label": "年龄",
|
|
908
|
-
"inputType": "input_number",
|
|
909
|
-
"inputProps": {
|
|
910
|
-
'placeholder': '请输入年龄'
|
|
911
|
-
},
|
|
912
|
-
layout: '1/3'
|
|
913
|
-
}, {
|
|
914
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.permanentResidence",
|
|
915
|
-
"label": "籍贯",
|
|
916
|
-
"inputType": "MS",
|
|
917
|
-
inputProps: {
|
|
918
|
-
optionKey: '省份s',
|
|
919
|
-
marshal: 0
|
|
920
|
-
},
|
|
921
|
-
layout: '1/3'
|
|
922
|
-
}, {
|
|
923
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.education",
|
|
924
|
-
"label": "文化程度",
|
|
925
|
-
"inputType": "MS",
|
|
926
|
-
inputProps: {
|
|
927
|
-
optionKey: '文化程度s',
|
|
928
|
-
marshal: 0
|
|
929
|
-
},
|
|
930
|
-
layout: '1/3'
|
|
931
|
-
}, {
|
|
932
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.profession",
|
|
933
|
-
"label": "职业",
|
|
934
|
-
"inputType": "MS",
|
|
935
|
-
inputProps: {
|
|
936
|
-
optionKey: '职业s',
|
|
937
|
-
marshal: 0
|
|
938
|
-
},
|
|
939
|
-
layout: '1/3'
|
|
940
|
-
}, {
|
|
941
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.nationality",
|
|
942
|
-
"label": "国籍",
|
|
943
|
-
"inputType": "country_select",
|
|
944
|
-
"inputProps": {
|
|
945
|
-
'placeholder': '请输入国籍'
|
|
946
|
-
},
|
|
947
|
-
layout: '1/3'
|
|
948
|
-
}, {
|
|
949
|
-
"key": "grs2",
|
|
950
|
-
"label": "个人史",
|
|
951
|
-
"inputType": "title",
|
|
952
|
-
"inputProps": {
|
|
953
|
-
'type': 'text',
|
|
954
|
-
'size': 'large',
|
|
955
|
-
'style': {
|
|
956
|
-
'fontSize': 16,
|
|
957
|
-
'fontWeight': 600
|
|
958
|
-
}
|
|
959
|
-
},
|
|
960
|
-
layout: '2/3'
|
|
961
|
-
}, {
|
|
962
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.previousHistory",
|
|
963
|
-
"label": "既往史",
|
|
964
|
-
"inputType": "checkbox_with_single_input",
|
|
965
|
-
"specialConfig": {
|
|
966
|
-
'type': 'single',
|
|
967
|
-
'options': [{
|
|
968
|
-
'value': 1,
|
|
969
|
-
'label': '无',
|
|
970
|
-
'span': 6,
|
|
971
|
-
'withInput': false
|
|
972
|
-
}, {
|
|
973
|
-
'value': 2,
|
|
974
|
-
'label': '有',
|
|
975
|
-
'withInput': true,
|
|
976
|
-
'isIssue': true,
|
|
977
|
-
'span': 6,
|
|
978
|
-
'inputSpan': 12
|
|
979
|
-
}]
|
|
980
|
-
},
|
|
981
|
-
"inputProps": {
|
|
982
|
-
'placeholder': '请输入既往史'
|
|
983
|
-
},
|
|
984
|
-
layout: '1/3'
|
|
985
|
-
}, {
|
|
986
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.surgeryHistory",
|
|
987
|
-
"label": "手术史",
|
|
988
|
-
"inputType": "checkbox_with_single_input",
|
|
989
|
-
"specialConfig": {
|
|
990
|
-
'type': 'single',
|
|
991
|
-
'options': [{
|
|
992
|
-
'value': 1,
|
|
993
|
-
'label': '无',
|
|
994
|
-
'span': 6,
|
|
995
|
-
'withInput': false
|
|
996
|
-
}, {
|
|
997
|
-
'value': 2,
|
|
998
|
-
'label': '有',
|
|
999
|
-
'withInput': true,
|
|
1000
|
-
'isIssue': true,
|
|
1001
|
-
'span': 6,
|
|
1002
|
-
'inputSpan': 12
|
|
1003
|
-
}]
|
|
1004
|
-
},
|
|
1005
|
-
layout: '1/3'
|
|
1006
|
-
}, {
|
|
1007
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.presentIllness",
|
|
1008
|
-
"label": "现病史",
|
|
1009
|
-
"inputType": "checkbox_with_single_input",
|
|
1010
|
-
"specialConfig": {
|
|
1011
|
-
'type': 'single',
|
|
1012
|
-
'options': [{
|
|
1013
|
-
'value': 1,
|
|
1014
|
-
'label': '无',
|
|
1015
|
-
'span': 6,
|
|
1016
|
-
'withInput': false
|
|
1017
|
-
}, {
|
|
1018
|
-
'value': 2,
|
|
1019
|
-
'label': '有',
|
|
1020
|
-
'withInput': true,
|
|
1021
|
-
'isIssue': true,
|
|
1022
|
-
'span': 6,
|
|
1023
|
-
'inputSpan': 12
|
|
1024
|
-
}]
|
|
1025
|
-
},
|
|
1026
|
-
layout: '1/3'
|
|
1027
|
-
}, {
|
|
1028
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.contactHazardousSubstances",
|
|
1029
|
-
"label": "接触有害物质",
|
|
1030
|
-
"inputType": "checkbox_with_single_input",
|
|
1031
|
-
"specialConfig": {
|
|
1032
|
-
'type': 'single',
|
|
1033
|
-
'options': [{
|
|
1034
|
-
'value': 1,
|
|
1035
|
-
'label': '无',
|
|
1036
|
-
'span': 6,
|
|
1037
|
-
'withInput': false
|
|
1038
|
-
}, {
|
|
1039
|
-
'value': 2,
|
|
1040
|
-
'label': '有',
|
|
1041
|
-
'withInput': true,
|
|
1042
|
-
'isIssue': true,
|
|
1043
|
-
'span': 6,
|
|
1044
|
-
'inputSpan': 12
|
|
1045
|
-
}]
|
|
1046
|
-
},
|
|
1047
|
-
layout: '1/3'
|
|
1048
|
-
}, {
|
|
1049
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.contactRadioactiveRays",
|
|
1050
|
-
"label": "接触放射线",
|
|
1051
|
-
"inputType": "checkbox_with_single_input",
|
|
1052
|
-
"specialConfig": {
|
|
1053
|
-
'type': 'single',
|
|
1054
|
-
'options': [{
|
|
1055
|
-
'value': 1,
|
|
1056
|
-
'label': '无',
|
|
1057
|
-
'span': 6,
|
|
1058
|
-
'withInput': false
|
|
1059
|
-
}, {
|
|
1060
|
-
'value': 2,
|
|
1061
|
-
'label': '有',
|
|
1062
|
-
'withInput': true,
|
|
1063
|
-
'isIssue': true,
|
|
1064
|
-
'span': 6,
|
|
1065
|
-
'inputSpan': 12
|
|
1066
|
-
}]
|
|
1067
|
-
},
|
|
1068
|
-
layout: '1/3'
|
|
1069
|
-
}, {
|
|
1070
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.personalOther",
|
|
1071
|
-
"label": "其他",
|
|
1072
|
-
"inputType": "input",
|
|
1073
|
-
"inputProps": {
|
|
1074
|
-
'placeholder': '请输入其他'
|
|
1075
|
-
},
|
|
1076
|
-
layout: '1/3'
|
|
1077
|
-
}, {
|
|
1078
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.personalSmoke",
|
|
1079
|
-
"label": "吸烟",
|
|
1080
|
-
"inputType": "checkbox_with_single_input",
|
|
1081
|
-
"specialConfig": {
|
|
1082
|
-
'type': 'single',
|
|
1083
|
-
'options': [{
|
|
1084
|
-
'value': 1,
|
|
1085
|
-
'label': '无',
|
|
1086
|
-
'span': 6,
|
|
1087
|
-
'withInput': false
|
|
1088
|
-
}, {
|
|
1089
|
-
'value': 2,
|
|
1090
|
-
'label': '有',
|
|
1091
|
-
'withInput': true,
|
|
1092
|
-
'isIssue': true,
|
|
1093
|
-
'span': 6,
|
|
1094
|
-
'inputSpan': 12
|
|
1095
|
-
}]
|
|
1096
|
-
},
|
|
1097
|
-
layout: '1/3'
|
|
1098
|
-
}, {
|
|
1099
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.personalDrink",
|
|
1100
|
-
"label": "饮酒",
|
|
1101
|
-
"inputType": "checkbox_with_single_input",
|
|
1102
|
-
"specialConfig": {
|
|
1103
|
-
'type': 'single',
|
|
1104
|
-
'options': [{
|
|
1105
|
-
'value': 1,
|
|
1106
|
-
'label': '无',
|
|
1107
|
-
'span': 6,
|
|
1108
|
-
'withInput': false
|
|
1109
|
-
}, {
|
|
1110
|
-
'value': 2,
|
|
1111
|
-
'label': '有',
|
|
1112
|
-
'withInput': true,
|
|
1113
|
-
'isIssue': true,
|
|
1114
|
-
'span': 6,
|
|
1115
|
-
'inputSpan': 12
|
|
1116
|
-
}]
|
|
1117
|
-
},
|
|
1118
|
-
layout: '1/3'
|
|
1119
|
-
}, {
|
|
1120
|
-
"key": "jzs2",
|
|
1121
|
-
"label": "家族史",
|
|
1122
|
-
"inputType": "title",
|
|
1123
|
-
"inputProps": {
|
|
1124
|
-
'type': 'text',
|
|
1125
|
-
'size': 'large',
|
|
1126
|
-
'style': {
|
|
1127
|
-
'fontSize': 16,
|
|
1128
|
-
'fontWeight': 600
|
|
1129
|
-
}
|
|
1130
|
-
},
|
|
1131
|
-
layout: '2/3'
|
|
1132
|
-
}, {
|
|
1133
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.familyHeritableDisease",
|
|
1134
|
-
"label": "遗传疾病",
|
|
1135
|
-
"inputType": "checkbox_with_single_input",
|
|
1136
|
-
"specialConfig": {
|
|
1137
|
-
'type': 'single',
|
|
1138
|
-
'options': [{
|
|
1139
|
-
'value': 1,
|
|
1140
|
-
'label': '无',
|
|
1141
|
-
'span': 8,
|
|
1142
|
-
'withInput': false
|
|
1143
|
-
}, {
|
|
1144
|
-
'value': 2,
|
|
1145
|
-
'label': '有',
|
|
1146
|
-
'withInput': true,
|
|
1147
|
-
'isIssue': true,
|
|
1148
|
-
'span': 8,
|
|
1149
|
-
'inputSpan': 8
|
|
1150
|
-
}]
|
|
1151
|
-
},
|
|
1152
|
-
layout: '1/3'
|
|
1153
|
-
}, {
|
|
1154
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.familyPsychosis",
|
|
1155
|
-
"label": "精神病",
|
|
1156
|
-
"inputType": "checkbox_with_single_input",
|
|
1157
|
-
"specialConfig": {
|
|
1158
|
-
'type': 'single',
|
|
1159
|
-
'options': [{
|
|
1160
|
-
'value': 1,
|
|
1161
|
-
'label': '无',
|
|
1162
|
-
'span': 8,
|
|
1163
|
-
'withInput': false
|
|
1164
|
-
}, {
|
|
1165
|
-
'value': 2,
|
|
1166
|
-
'label': '有',
|
|
1167
|
-
'withInput': true,
|
|
1168
|
-
'isIssue': true,
|
|
1169
|
-
'span': 8,
|
|
1170
|
-
'inputSpan': 8
|
|
1171
|
-
}]
|
|
1172
|
-
},
|
|
1173
|
-
layout: '1/3'
|
|
1174
|
-
}, {
|
|
1175
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.birthDefects",
|
|
1176
|
-
"label": "先天畸形",
|
|
1177
|
-
"inputType": "checkbox_with_single_input",
|
|
1178
|
-
"specialConfig": {
|
|
1179
|
-
'type': 'single',
|
|
1180
|
-
'options': [{
|
|
1181
|
-
'value': 1,
|
|
1182
|
-
'label': '无',
|
|
1183
|
-
'span': 8,
|
|
1184
|
-
'withInput': false
|
|
1185
|
-
}, {
|
|
1186
|
-
'value': 2,
|
|
1187
|
-
'label': '有',
|
|
1188
|
-
'withInput': true,
|
|
1189
|
-
'isIssue': true,
|
|
1190
|
-
'span': 8,
|
|
1191
|
-
'inputSpan': 8
|
|
1192
|
-
}]
|
|
1193
|
-
},
|
|
1194
|
-
layout: '1/3'
|
|
1195
|
-
}, {
|
|
1196
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory.familyHistoryOther",
|
|
1197
|
-
"label": "其他",
|
|
1198
|
-
"inputType": "input",
|
|
1199
|
-
"inputProps": {
|
|
1200
|
-
'placeholder': '请输入其他'
|
|
1201
|
-
},
|
|
1202
|
-
layout: '1/3'
|
|
1203
|
-
}, {
|
|
1204
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.permanentResidenceAddress",
|
|
1205
|
-
"label": "户口地址",
|
|
1206
|
-
"inputType": "MyAddress",
|
|
1207
|
-
"inputProps": {
|
|
1208
|
-
addressBtns: [{
|
|
1209
|
-
name: 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.permanentResidenceAddress',
|
|
1210
|
-
label: '同女方'
|
|
1211
|
-
}]
|
|
1212
|
-
},
|
|
1213
|
-
layout: '2/3',
|
|
1214
|
-
isNewRow: 1
|
|
1215
|
-
}, {
|
|
1216
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.residenceAddress",
|
|
1217
|
-
"label": "居住地址",
|
|
1218
|
-
"inputType": "MyAddress",
|
|
1219
|
-
"inputProps": {
|
|
1220
|
-
addressBtns: [{
|
|
1221
|
-
name: 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.permanentResidenceAddress',
|
|
1222
|
-
label: '同女方'
|
|
1223
|
-
}]
|
|
1224
|
-
},
|
|
1225
|
-
layout: '2/3',
|
|
1226
|
-
isNewRow: 1
|
|
1227
|
-
}]
|
|
1228
|
-
}, {
|
|
1229
|
-
"name": "男方体格检查",
|
|
1230
|
-
"children": [{
|
|
1231
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.weight",
|
|
1232
|
-
"label": "体重(kg)",
|
|
1233
|
-
"inputType": "input_number",
|
|
1234
|
-
"inputProps": {
|
|
1235
|
-
'placeholder': '请输入体重'
|
|
1236
|
-
},
|
|
1237
|
-
layout: '1/3'
|
|
1238
|
-
}, {
|
|
1239
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.height",
|
|
1240
|
-
"label": "身高(cm)",
|
|
1241
|
-
"inputType": "input_number",
|
|
1242
|
-
"inputProps": {
|
|
1243
|
-
'placeholder': '请输入身高'
|
|
1244
|
-
},
|
|
1245
|
-
layout: '1/3'
|
|
1246
|
-
}, {
|
|
1247
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.bmi",
|
|
1248
|
-
"label": "BMI",
|
|
1249
|
-
"inputType": "input_with_range",
|
|
1250
|
-
"specialConfig": {
|
|
1251
|
-
'tip': 'BMI的正常范围值是18.5~24.9kg/㎡',
|
|
1252
|
-
'min': 18.5,
|
|
1253
|
-
'max': 24.9
|
|
1254
|
-
},
|
|
1255
|
-
"inputProps": {
|
|
1256
|
-
'placeholder': '请输入BMI',
|
|
1257
|
-
'disabled': true
|
|
1258
|
-
},
|
|
1259
|
-
layout: '1/3'
|
|
1260
|
-
}, {
|
|
1261
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.systolic",
|
|
1262
|
-
"label": "血压(mmHg)",
|
|
1263
|
-
"inputType": "pressure",
|
|
1264
|
-
layout: '1/3'
|
|
1265
|
-
}, {
|
|
1266
|
-
"key": "manProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination.heartRate",
|
|
1267
|
-
"label": "心率(次/分钟)",
|
|
1268
|
-
"inputType": "input_number",
|
|
1269
|
-
"inputProps": {
|
|
1270
|
-
'placeholder': '请输入心率'
|
|
1271
|
-
},
|
|
1272
|
-
layout: '1/3'
|
|
1273
|
-
}]
|
|
1274
|
-
}, {
|
|
1275
|
-
"name": "其他信息",
|
|
1276
|
-
"children": [{
|
|
1277
|
-
"key": "nearRelation",
|
|
1278
|
-
"label": "近亲结婚",
|
|
1279
|
-
"inputType": "checkbox_with_single_input",
|
|
1280
|
-
"specialConfig": {
|
|
1281
|
-
'type': 'single',
|
|
1282
|
-
'options': [{
|
|
1283
|
-
'value': 1,
|
|
1284
|
-
'label': '否',
|
|
1285
|
-
'span': 6,
|
|
1286
|
-
'withInput': false
|
|
1287
|
-
}, {
|
|
1288
|
-
'value': 2,
|
|
1289
|
-
'label': '是',
|
|
1290
|
-
'withInput': true,
|
|
1291
|
-
'isIssue': true,
|
|
1292
|
-
'span': 6,
|
|
1293
|
-
'inputSpan': 12
|
|
1294
|
-
}]
|
|
1295
|
-
},
|
|
1296
|
-
layout: '1/3'
|
|
1297
|
-
}, {
|
|
1298
|
-
"key": "filingDay",
|
|
1299
|
-
"label": "建档日期",
|
|
1300
|
-
"inputType": "single_date_picker",
|
|
1301
|
-
"inputProps": {
|
|
1302
|
-
'placeholder': '请输入建档日期',
|
|
1303
|
-
'maxDate': 'now'
|
|
1304
|
-
},
|
|
1305
|
-
layout: '1/3'
|
|
1306
|
-
}, {
|
|
1307
|
-
"key": "auditor",
|
|
1308
|
-
"label": "审核人",
|
|
1309
|
-
"inputType": "input",
|
|
1310
|
-
"inputProps": {
|
|
1311
|
-
'placeholder': '请输入审核人'
|
|
1312
|
-
},
|
|
1313
|
-
layout: '1/3'
|
|
1314
|
-
}]
|
|
1315
|
-
}]);
|
|
1316
|
-
var WifePanel = function (_super) {
|
|
1317
|
-
__extends(WifePanel, _super);
|
|
1318
|
-
function WifePanel() {
|
|
1319
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1320
|
-
_this.rm = function () {};
|
|
1321
|
-
_this.isUndefined = function (obj) {
|
|
1322
|
-
_map(obj, function (item, key) {
|
|
1323
|
-
if (_isNil(item)) {
|
|
1324
|
-
obj = _omit(obj, [key]);
|
|
117
|
+
set_data(data);
|
|
118
|
+
form.setFieldsValue(data);
|
|
119
|
+
return [2];
|
|
1325
120
|
}
|
|
1326
121
|
});
|
|
1327
|
-
|
|
1328
|
-
};
|
|
1329
|
-
_this.handleInit = function () {
|
|
1330
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
1331
|
-
var _a, user, id, formDescriptions, formDescriptionsWithoutSection, data, _b, formKey;
|
|
1332
|
-
return __generator(this, function (_c) {
|
|
1333
|
-
switch (_c.label) {
|
|
1334
|
-
case 0:
|
|
1335
|
-
_a = this.props, _a.routerQuery, _a.moduleName, user = _a.user;
|
|
1336
|
-
id = _get(this.props, 'id') || getSearchParamsValue('id');
|
|
1337
|
-
formDescriptions = form_config.__lazy_config;
|
|
1338
|
-
this.setState({
|
|
1339
|
-
spinning: false
|
|
1340
|
-
});
|
|
1341
|
-
formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
|
|
1342
|
-
if (!id) return [3, 2];
|
|
1343
|
-
return [4, fubaoRequest.get("/api/progestation/check/getByProgestationCheckArchivesId?progestationCheckArchivesId.equals=".concat(id, "&childrenSign.equals=0"))];
|
|
1344
|
-
case 1:
|
|
1345
|
-
_b = _c.sent().data;
|
|
1346
|
-
return [3, 3];
|
|
1347
|
-
case 2:
|
|
1348
|
-
_b = {};
|
|
1349
|
-
_c.label = 3;
|
|
1350
|
-
case 3:
|
|
1351
|
-
data = _b;
|
|
1352
|
-
if (data) {
|
|
1353
|
-
data = _get(data, 'data');
|
|
1354
|
-
}
|
|
1355
|
-
if (_get(data, 'womanProgestationCheckArchivesDetailVM.nearRelation')) {
|
|
1356
|
-
_set(data, 'nearRelation', _get(data, 'womanProgestationCheckArchivesDetailVM.nearRelation'));
|
|
1357
|
-
}
|
|
1358
|
-
if (_get(data, 'womanProgestationCheckArchivesDetailVM.nearRelationNote')) {
|
|
1359
|
-
_set(data, 'nearRelationNote', _get(data, 'womanProgestationCheckArchivesDetailVM.nearRelationNote'));
|
|
1360
|
-
}
|
|
1361
|
-
data = id ? valueToForm(data, formDescriptionsWithoutSection) : {};
|
|
1362
|
-
formKey = _get(data, 'id') || Math.random();
|
|
1363
|
-
if (!_get(data, 'filingDay')) _set(data, 'filingDay', dayjs(new Date()));
|
|
1364
|
-
if (!_get(data, 'auditor')) _set(data, 'auditor', _get(user, 'basicInfo.firstName'));
|
|
1365
|
-
this.setState({
|
|
1366
|
-
formDescriptions: formDescriptions,
|
|
1367
|
-
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
1368
|
-
data: data,
|
|
1369
|
-
formKey: formKey
|
|
1370
|
-
});
|
|
1371
|
-
return [2];
|
|
1372
|
-
}
|
|
1373
|
-
});
|
|
1374
|
-
});
|
|
1375
|
-
};
|
|
1376
|
-
_this.handleSubmit = function (values) {
|
|
1377
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
1378
|
-
var _a, formDescriptionsWithoutSection, data, baseUrl, params, manprogestationCheckArchivesBasicInformation, manprogestationCheckArchivesMedicalHistory, manprogestationCheckArchivesPhysicalExamination, womanprogestationCheckArchivesBasicInformation, womanprogestationCheckArchivesMedicalHistory, womanprogestationCheckArchivesPhysicalExamination, _res, res, manId, womanId, res, _res, res;
|
|
1379
|
-
return __generator(this, function (_b) {
|
|
1380
|
-
switch (_b.label) {
|
|
1381
|
-
case 0:
|
|
1382
|
-
_a = this.state, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection, data = _a.data;
|
|
1383
|
-
baseUrl = this.props.baseUrl;
|
|
1384
|
-
params = valueToApi(values, formDescriptionsWithoutSection);
|
|
1385
|
-
_set(params, 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.name', _get(params, 'womanName'));
|
|
1386
|
-
_set(params, 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.age', _get(params, 'womanAge'));
|
|
1387
|
-
_set(params, 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.outpatientNo', _get(params, 'womanOutpatientNo'));
|
|
1388
|
-
_set(params, 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.telephone', _get(params, 'womanTelephone'));
|
|
1389
|
-
_set(params, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.name', _get(params, 'manName'));
|
|
1390
|
-
_set(params, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.age', _get(params, 'manAge'));
|
|
1391
|
-
_set(params, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.outpatientNo', _get(params, 'manOutpatientNo'));
|
|
1392
|
-
_set(params, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation.telephone', _get(params, 'manTelephone'));
|
|
1393
|
-
if (_get(params, 'nearRelation')) {
|
|
1394
|
-
_set(params, 'manProgestationCheckArchivesDetailVM.nearRelation', _get(params, 'nearRelation'));
|
|
1395
|
-
_set(params, 'womanProgestationCheckArchivesDetailVM.nearRelation', _get(params, 'nearRelation'));
|
|
1396
|
-
}
|
|
1397
|
-
if (_get(params, 'nearRelationNote')) {
|
|
1398
|
-
_set(params, 'manProgestationCheckArchivesDetailVM.nearRelationNote', _get(params, 'nearRelationNote'));
|
|
1399
|
-
_set(params, 'womanProgestationCheckArchivesDetailVM.nearRelationNote', _get(params, 'nearRelationNote'));
|
|
1400
|
-
}
|
|
1401
|
-
manprogestationCheckArchivesBasicInformation = this.isUndefined(_get(params, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation'));
|
|
1402
|
-
manprogestationCheckArchivesMedicalHistory = this.isUndefined(_get(params, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory'));
|
|
1403
|
-
manprogestationCheckArchivesPhysicalExamination = this.isUndefined(_get(params, 'manProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination'));
|
|
1404
|
-
womanprogestationCheckArchivesBasicInformation = this.isUndefined(_get(params, 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesBasicInformation'));
|
|
1405
|
-
womanprogestationCheckArchivesMedicalHistory = this.isUndefined(_get(params, 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesMedicalHistory'));
|
|
1406
|
-
womanprogestationCheckArchivesPhysicalExamination = this.isUndefined(_get(params, 'womanProgestationCheckArchivesDetailVM.progestationCheckArchivesPhysicalExamination'));
|
|
1407
|
-
if (!_isEmpty(manprogestationCheckArchivesBasicInformation) || !_isEmpty(manprogestationCheckArchivesMedicalHistory) || !_isEmpty(manprogestationCheckArchivesPhysicalExamination)) {
|
|
1408
|
-
_set(params, 'manProgestationCheckArchivesDetailVM.fileType', 1);
|
|
1409
|
-
} else {
|
|
1410
|
-
params = _omit(params, ['manProgestationCheckArchivesDetailVM']);
|
|
1411
|
-
}
|
|
1412
|
-
if (!_isEmpty(womanprogestationCheckArchivesBasicInformation) || !_isEmpty(womanprogestationCheckArchivesMedicalHistory) || !_isEmpty(womanprogestationCheckArchivesPhysicalExamination)) {
|
|
1413
|
-
_set(params, 'womanProgestationCheckArchivesDetailVM.fileType', 2);
|
|
1414
|
-
} else {
|
|
1415
|
-
params = _omit(params, ['womanProgestationCheckArchivesDetailVM']);
|
|
1416
|
-
}
|
|
1417
|
-
if (!_get(values, 'build')) return [3, 2];
|
|
1418
|
-
params = __assign(__assign({}, params), {
|
|
1419
|
-
fileStatus: 1
|
|
1420
|
-
});
|
|
1421
|
-
return [4, fubaoRequest.post(baseUrl, params)];
|
|
1422
|
-
case 1:
|
|
1423
|
-
_res = _b.sent();
|
|
1424
|
-
res = _res.data;
|
|
1425
|
-
return [3, 6];
|
|
1426
|
-
case 2:
|
|
1427
|
-
if (!_get(values, 'id')) return [3, 4];
|
|
1428
|
-
manId = _get(data, 'manProgestationCheckArchivesDetailVM.id');
|
|
1429
|
-
womanId = _get(data, 'womanProgestationCheckArchivesDetailVM.id');
|
|
1430
|
-
_set(params, 'manProgestationCheckArchivesDetailVM.id', manId);
|
|
1431
|
-
_set(params, 'womanProgestationCheckArchivesDetailVM.id', womanId);
|
|
1432
|
-
params = __assign(__assign(__assign({}, data), params), {
|
|
1433
|
-
fileStatus: 2
|
|
1434
|
-
});
|
|
1435
|
-
return [4, fubaoRequest.put('/api/progestation/check/updateProgestationCheckArchivesDetail', params)];
|
|
1436
|
-
case 3:
|
|
1437
|
-
res = _b.sent().data;
|
|
1438
|
-
if (_get(res, 'code') === 1) ;
|
|
1439
|
-
return [3, 6];
|
|
1440
|
-
case 4:
|
|
1441
|
-
params = __assign(__assign({}, params), {
|
|
1442
|
-
fileStatus: 2
|
|
1443
|
-
});
|
|
1444
|
-
return [4, fubaoRequest.post(baseUrl, params)];
|
|
1445
|
-
case 5:
|
|
1446
|
-
_res = _b.sent();
|
|
1447
|
-
res = _res.data;
|
|
1448
|
-
if (_get(res, 'code') === 1) {
|
|
1449
|
-
this.setState({
|
|
1450
|
-
data: _get(res, 'data')
|
|
1451
|
-
});
|
|
1452
|
-
}
|
|
1453
|
-
_b.label = 6;
|
|
1454
|
-
case 6:
|
|
1455
|
-
return [2];
|
|
1456
|
-
}
|
|
1457
|
-
});
|
|
1458
|
-
});
|
|
1459
|
-
};
|
|
1460
|
-
return _this;
|
|
122
|
+
});
|
|
1461
123
|
}
|
|
1462
|
-
|
|
124
|
+
function handleSubmit(values) {
|
|
1463
125
|
return __awaiter(this, void 0, void 0, function () {
|
|
1464
|
-
var
|
|
126
|
+
var submit_values;
|
|
1465
127
|
return __generator(this, function (_a) {
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
(_c = (_b = (_a = _this.formRef) === null || _a === void 0 ? void 0 : _a.form) === null || _b === void 0 ? void 0 : _b.setFieldsValue) === null || _c === void 0 ? void 0 : _c.call(_b, {
|
|
1472
|
-
womanName: res.name,
|
|
1473
|
-
womanProgestationCheckArchivesDetailVM: {
|
|
1474
|
-
progestationCheckArchivesBasicInformation: __assign({}, res)
|
|
1475
|
-
}
|
|
128
|
+
switch (_a.label) {
|
|
129
|
+
case 0:
|
|
130
|
+
fuck_keys.forEach(function (key) {
|
|
131
|
+
revert_init_baseinfo(values, key, true);
|
|
132
|
+
revert_init_baseinfo(values, key, false);
|
|
1476
133
|
});
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
134
|
+
submit_values = mchcUtils.autoCommonOptionToNote(values);
|
|
135
|
+
[w_vm, m_vm].forEach(function (vm) {
|
|
136
|
+
set(submit_values, "".concat(vm, ".").concat(baseinfo_k), mchcUtils.autoCommonOptionToNote(get(submit_values, "".concat(vm, ".").concat(baseinfo_k))));
|
|
137
|
+
set(submit_values, "".concat(vm, ".").concat(medical_history_k), mchcUtils.autoCommonOptionToNote(get(submit_values, "".concat(vm, ".").concat(medical_history_k))));
|
|
138
|
+
set(submit_values, "".concat(vm, ".").concat(physical_exam_k), mchcUtils.autoCommonOptionToNote(get(submit_values, "".concat(vm, ".").concat(physical_exam_k))));
|
|
139
|
+
});
|
|
140
|
+
console.log('params', {
|
|
141
|
+
params: submit_values,
|
|
142
|
+
values: values
|
|
143
|
+
});
|
|
144
|
+
if (get(submit_values, 'nearRelation')) {
|
|
145
|
+
set(submit_values, "".concat(m_vm, ".nearRelation"), get(submit_values, 'nearRelation'));
|
|
146
|
+
set(submit_values, "".concat(w_vm, ".nearRelation"), get(submit_values, 'nearRelation'));
|
|
147
|
+
}
|
|
148
|
+
if (get(submit_values, 'nearRelationNote')) {
|
|
149
|
+
set(submit_values, "".concat(m_vm, ".nearRelationNote"), get(submit_values, 'nearRelationNote'));
|
|
150
|
+
set(submit_values, "".concat(w_vm, ".nearRelationNote"), get(submit_values, 'nearRelationNote'));
|
|
151
|
+
}
|
|
152
|
+
set(submit_values, "".concat(m_vm, ".fileType"), 1);
|
|
153
|
+
set(submit_values, "".concat(w_vm, ".fileType"), 2);
|
|
154
|
+
if (!!id) return [3, 2];
|
|
155
|
+
submit_values = __assign(__assign({}, submit_values), {
|
|
156
|
+
fileStatus: 1
|
|
157
|
+
});
|
|
158
|
+
return [4, request.post(baseUrl, submit_values)];
|
|
159
|
+
case 1:
|
|
160
|
+
_a.sent();
|
|
161
|
+
return [3, 6];
|
|
162
|
+
case 2:
|
|
163
|
+
if (!get(values, 'id')) return [3, 4];
|
|
164
|
+
submit_values = __assign(__assign(__assign({}, data), submit_values), {
|
|
165
|
+
fileStatus: 2
|
|
166
|
+
});
|
|
167
|
+
return [4, request.put('/api/progestation/check/updateProgestationCheckArchivesDetail', submit_values)];
|
|
168
|
+
case 3:
|
|
169
|
+
_a.sent();
|
|
170
|
+
return [3, 6];
|
|
171
|
+
case 4:
|
|
172
|
+
submit_values = __assign(__assign({}, submit_values), {
|
|
173
|
+
fileStatus: 2
|
|
174
|
+
});
|
|
175
|
+
return [4, request.post(baseUrl, submit_values)];
|
|
176
|
+
case 5:
|
|
177
|
+
_a.sent();
|
|
178
|
+
_a.label = 6;
|
|
179
|
+
case 6:
|
|
180
|
+
return [2];
|
|
181
|
+
}
|
|
1480
182
|
});
|
|
1481
183
|
});
|
|
1482
|
-
}
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
}
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
184
|
+
}
|
|
185
|
+
return /*#__PURE__*/React.createElement(Wrap, {
|
|
186
|
+
style: {}
|
|
187
|
+
}, /*#__PURE__*/React.createElement(BaseEditPanelFormFC, {
|
|
188
|
+
form: form,
|
|
189
|
+
formDescriptions: __DEV__ ? form_fn : config === null || config === void 0 ? void 0 : config.tableColumns,
|
|
190
|
+
onFinish: function onFinish(values) {
|
|
191
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
192
|
+
return __generator(this, function (_a) {
|
|
193
|
+
return [2, handleSubmit(values)];
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
}));
|
|
198
|
+
}
|
|
199
|
+
export { WifePanel_new as default };
|