@lm_fe/pages-fubao 0.1.201 → 0.2.5
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 +5 -3
- package/dist/a_chunks/{.root55.js → CervicalCarcinoma.Screening.form.js} +1 -8
- package/dist/a_chunks/{.root57.js → CervicalCarcinoma.Screening.form2.js} +0 -7
- package/dist/a_chunks/Form.js +3 -5
- package/dist/a_chunks/{.root56.js → MammaryCancer.Screening.form.js} +4 -28
- package/dist/a_chunks/{.root58.js → MammaryCancer.Screening.form2.js} +0 -1
- 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/{.root.js → family-planning.file-management.doctor-desk.js} +241 -281
- package/dist/a_chunks/family-planning.file-management.doctor-desk2.js +18 -0
- package/dist/a_chunks/{.root9.js → family-planning.file-management.list.js} +16 -26
- package/dist/a_chunks/{.root2.js → family-planning.file-management.nurse-desk.js} +22 -30
- package/dist/a_chunks/{.root13.js → family-planning.tracing-management.list.js} +300 -331
- package/dist/a_chunks/folic-acid.file-management.add.js +12 -0
- package/dist/a_chunks/folic-acid.file-management.edit.js +12 -0
- package/dist/a_chunks/{.root16.js → folic-acid.file-management.list.js} +4 -6
- package/dist/a_chunks/{.root17.js → follow-up.positive.premarital.js} +11 -2
- package/dist/a_chunks/{.root18.js → follow-up.positive.progestation.js} +10 -1
- package/dist/a_chunks/form_config.js +11 -130
- package/dist/a_chunks/{.root3.js → fubao.data-report.breast-cancer.js} +4 -6
- package/dist/a_chunks/{.root4.js → fubao.data-report.cervical-cancer.js} +4 -6
- package/dist/a_chunks/{.root5.js → fubao.family-planning.booking-management.js} +3 -3
- package/dist/a_chunks/{.root52.js → fubao.family-planning.booking-management2.js} +167 -219
- package/dist/a_chunks/{.root6.js → fubao.family-planning.curettage-statistics.js} +6 -9
- package/dist/a_chunks/fubao.family-planning.file-management.js +9 -0
- package/dist/a_chunks/{.root10.js → fubao.family-planning.surgery-management.js} +9 -15
- package/dist/a_chunks/{.root11.js → fubao.family-planning.surgery-scheduling.js} +210 -244
- package/dist/a_chunks/fubao.family-planning.tracing-management.js +14 -0
- package/dist/a_chunks/{.root28.js → fubao.gynecological-diseases.pathological-follow-up.js} +11 -15
- package/dist/a_chunks/{.root29.js → fubao.gynecological-diseases.pathological-reminder.js} +11 -15
- package/dist/a_chunks/fubao.gynecological-diseases.two-cancers.js +141 -0
- package/dist/a_chunks/fubao.pre-pregnancy-care.file-management.js +492 -0
- package/dist/a_chunks/{.root44.js → fubao.premarital-care.file-management.js} +13 -19
- package/dist/a_chunks/{.root47.js → fubao.report-entry.patients.js} +5 -8
- package/dist/a_chunks/{.root63.js → fubao.report-entry.patients2.js} +1 -2
- package/dist/a_chunks/{.root40.js → fubao.report-entry.reports.js} +3 -3
- package/dist/a_chunks/{.root62.js → fubao.report-entry.reports2.js} +64 -65
- package/dist/a_chunks/{.root64.js → fubao.report-entry.reports3.js} +0 -1
- package/dist/a_chunks/{.root65.js → fubao.report-entry.reports4.js} +0 -1
- package/dist/a_chunks/fubao.statistic.abnormal-breast-cancer.js +97 -0
- package/dist/a_chunks/fubao.statistic.abnormal-cervical-cancer.js +94 -0
- package/dist/a_chunks/{.root48.js → fubao.statistic.breast-cancer.js} +0 -1
- package/dist/a_chunks/{.root49.js → fubao.statistic.cervical-cancer.js} +0 -1
- package/dist/a_chunks/fubao.statistic.premarital-checkup.js +120 -0
- package/dist/a_chunks/fubao.statistic.progestation-checkup.js +89 -0
- package/dist/a_chunks/{.root19.js → gynecological-diseases.adolescent-management.list.js} +16 -27
- package/dist/a_chunks/gynecological-diseases.breast.edit.js +121 -0
- package/dist/a_chunks/{.root21.js → gynecological-diseases.breast.list.js} +16 -18
- package/dist/a_chunks/{.root24.js → gynecological-diseases.cervical-cancer-report.list.js} +10 -14
- package/dist/a_chunks/gynecological-diseases.cervical.edit.js +121 -0
- package/dist/a_chunks/{.root23.js → gynecological-diseases.cervical.list.js} +16 -18
- package/dist/a_chunks/{.root25.js → gynecological-diseases.hpv-report.list.js} +10 -14
- package/dist/a_chunks/{.root26.js → gynecological-diseases.mammary-cancer-report.list.js} +10 -14
- package/dist/a_chunks/{.root27.js → gynecological-diseases.menopause-management.list.js} +16 -27
- package/dist/a_chunks/{.root30.js → gynecological-diseases.regular-screening.list.js} +9 -14
- package/dist/a_chunks/gynecological-diseases.two-cancers.add.js +12 -0
- package/dist/a_chunks/{.root32.js → gynecological-diseases.two-cancers.edit.js} +11 -19
- package/dist/a_chunks/{.root33.js → gynecological-diseases.two-cancers.exam.js} +309 -336
- package/dist/a_chunks/{.root34.js → gynecological-diseases.two-cancers.followup.js} +1 -2
- 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 +140 -0
- package/dist/a_chunks/index6.js +1169 -0
- package/dist/a_chunks/index7.js +1006 -0
- package/dist/a_chunks/{.root61.js → pages.fubao.premarital-care.js} +4 -5
- package/dist/a_chunks/pages.fubao.premarital-care2.js +114 -0
- package/dist/a_chunks/pages.fubao.premarital-care3.js +132 -0
- package/dist/a_chunks/pre-pregnancy-care.file-management.add.js +12 -0
- package/dist/a_chunks/pre-pregnancy-care.file-management.edit.js +199 -0
- package/dist/a_chunks/pre-pregnancy-care.file-management.edit2.js +830 -0
- package/dist/a_chunks/{.root39.js → pre-pregnancy-care.husband.husband-exam.js} +57 -84
- package/dist/a_chunks/{.root41.js → pre-pregnancy-care.wife.wife-exam.js} +57 -84
- package/dist/a_chunks/premarital-care.file-management.add.js +12 -0
- package/dist/a_chunks/{.root59.js → premarital-care.file-management.config.js} +10 -11
- package/dist/a_chunks/{.root60.js → premarital-care.file-management.config2.js} +0 -1
- package/dist/a_chunks/premarital-care.file-management.edit.js +199 -0
- package/dist/a_chunks/premarital-care.file-management.edit2.js +817 -0
- package/dist/a_chunks/{.root45.js → premarital-care.husband-v2.husband-exam.js} +56 -83
- package/dist/a_chunks/{.root46.js → premarital-care.wife-v2.wife-exam.js} +56 -83
- package/dist/a_chunks/style-inject.es.js +0 -1
- package/dist/a_chunks/tslib.es6.js +1 -2
- package/dist/a_chunks/{.root53.js → two-cancers.edit.form_config.js} +1 -2
- package/dist/a_chunks/{.root54.js → two-cancers.edit.form_config2.js} +4 -5
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js +0 -1
- package/dist/index.js +59 -54
- 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/gynecological-diseases/pathological-follow-up/config/table.d.ts +2 -1
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/config/table.d.ts +2 -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/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 +0 -45
- package/dist/a_chunks/.root12.js.map +0 -1
- package/dist/a_chunks/.root13.js.map +0 -1
- package/dist/a_chunks/.root14.js +0 -26
- package/dist/a_chunks/.root14.js.map +0 -1
- package/dist/a_chunks/.root15.js +0 -26
- 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 +0 -125
- package/dist/a_chunks/.root20.js.map +0 -1
- package/dist/a_chunks/.root21.js.map +0 -1
- package/dist/a_chunks/.root22.js +0 -125
- 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 +0 -20
- 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 +0 -281
- package/dist/a_chunks/.root35.js.map +0 -1
- package/dist/a_chunks/.root36.js +0 -26
- package/dist/a_chunks/.root36.js.map +0 -1
- package/dist/a_chunks/.root37.js +0 -1497
- package/dist/a_chunks/.root37.js.map +0 -1
- package/dist/a_chunks/.root38.js +0 -2956
- 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 +0 -26
- package/dist/a_chunks/.root42.js.map +0 -1
- package/dist/a_chunks/.root43.js +0 -1542
- 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 +0 -263
- package/dist/a_chunks/.root50.js.map +0 -1
- package/dist/a_chunks/.root51.js +0 -232
- 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 +0 -58
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root8.js +0 -19
- 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
|
@@ -1,45 +1,15 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import _Tabs from 'antd/es/tabs';
|
|
3
|
-
import _isNaN from 'lodash/isNaN';
|
|
4
|
-
import _get from 'lodash/get';
|
|
5
|
-
import { b as __extends, c as __assign, _ as __awaiter, a as __generator, d as __spreadArray } from './tslib.es6.js';
|
|
1
|
+
import { c as __extends, b as __assign, _ as __awaiter, a as __generator, d as __spreadArray } from './tslib.es6.js';
|
|
6
2
|
import React$1, { Component } from 'react';
|
|
7
|
-
import 'antd/es/message/style';
|
|
8
|
-
import _message from 'antd/es/message';
|
|
9
|
-
import 'antd/es/button/style';
|
|
10
|
-
import _Button from 'antd/es/button';
|
|
11
|
-
import _isArray from 'lodash/isArray';
|
|
12
|
-
import _isNil from 'lodash/isNil';
|
|
13
3
|
import { BaseTableOld, BaseQuery, APP_CONFIG, BaseListOld } from '@lm_fe/components_m';
|
|
14
|
-
import
|
|
15
|
-
import _pickBy from 'lodash/pickBy';
|
|
4
|
+
import { message, Button, Form, Row, Col, Input, Modal, Popconfirm, Tabs } from 'antd';
|
|
16
5
|
import { RedoOutlined, SearchOutlined, EyeOutlined } from '@ant-design/icons';
|
|
6
|
+
import { pickBy, identity, get, set, map, isEmpty, isArray, isNil, isNaN as isNaN$1 } from 'lodash';
|
|
17
7
|
import { formatDateTimeNoSecond, formatDate, safe_json_parse, safe_json_stringify, fubaoRequest } from '@lm_fe/utils';
|
|
18
|
-
import 'antd/es/modal/style';
|
|
19
|
-
import _Modal from 'antd/es/modal';
|
|
20
|
-
import 'antd/es/popconfirm/style';
|
|
21
|
-
import _Popconfirm from 'antd/es/popconfirm';
|
|
22
|
-
import 'antd/es/row/style';
|
|
23
|
-
import _Row from 'antd/es/row';
|
|
24
|
-
import 'antd/es/col/style';
|
|
25
|
-
import _Col from 'antd/es/col';
|
|
26
|
-
import 'antd/es/input/style';
|
|
27
|
-
import _Input from 'antd/es/input';
|
|
28
|
-
import 'antd/es/form/style';
|
|
29
|
-
import _Form from 'antd/es/form';
|
|
30
|
-
import _map from 'lodash/map';
|
|
31
|
-
import _isEmpty from 'lodash/isEmpty';
|
|
32
8
|
import { S as SingleCheckBox, t as tableColumns$2, M as ModalForm$1 } from './ModalForm.js';
|
|
33
|
-
import _set from 'lodash/set';
|
|
34
9
|
import dayjs from 'dayjs';
|
|
35
10
|
import { LazyAntd, DatePicker_L } from '@lm_fe/components';
|
|
36
11
|
import { SLocal_State } from '@lm_fe/service';
|
|
37
12
|
import { s as styleInject } from './style-inject.es.js';
|
|
38
|
-
import 'antd/es/checkbox/style';
|
|
39
|
-
import 'antd/es/checkbox';
|
|
40
|
-
import 'lodash/cloneDeep';
|
|
41
|
-
import 'lodash/indexOf';
|
|
42
|
-
import 'lodash/filter';
|
|
43
13
|
var ProductsTable$2 = function (_super) {
|
|
44
14
|
__extends(ProductsTable, _super);
|
|
45
15
|
function ProductsTable() {
|
|
@@ -129,7 +99,7 @@ var Query$2 = function (_super) {
|
|
|
129
99
|
}
|
|
130
100
|
var onSearch = _this.props.onSearch;
|
|
131
101
|
var queryFormDescriptions = _this.state.queryFormDescriptions;
|
|
132
|
-
var vals =
|
|
102
|
+
var vals = pickBy(values, identity);
|
|
133
103
|
var newValues = {};
|
|
134
104
|
for (var key in vals) {
|
|
135
105
|
var ignoreFilterType = queryFormDescriptions[key]['ignoreFilterType'];
|
|
@@ -180,20 +150,20 @@ var Query$2 = function (_super) {
|
|
|
180
150
|
}
|
|
181
151
|
}
|
|
182
152
|
if (newValues.hasOwnProperty('followUpType.equals') && !newValues.hasOwnProperty('followUpState.equals')) {
|
|
183
|
-
|
|
153
|
+
message.warning('请选择随访状态!');
|
|
184
154
|
return;
|
|
185
155
|
}
|
|
186
156
|
if (!newValues.hasOwnProperty('followUpType.equals') && newValues.hasOwnProperty('followUpState.equals')) {
|
|
187
|
-
|
|
157
|
+
message.warning('请选择随访类型!');
|
|
188
158
|
return;
|
|
189
159
|
}
|
|
190
160
|
onSearch && onSearch(newValues);
|
|
191
161
|
};
|
|
192
162
|
_this.renderBtn = function () {
|
|
193
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(
|
|
163
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Button, {
|
|
194
164
|
icon: /*#__PURE__*/React$1.createElement(RedoOutlined, null),
|
|
195
165
|
onClick: _this.handleReset
|
|
196
|
-
}, "\u91CD\u7F6E"), /*#__PURE__*/React$1.createElement(
|
|
166
|
+
}, "\u91CD\u7F6E"), /*#__PURE__*/React$1.createElement(Button, {
|
|
197
167
|
type: "primary",
|
|
198
168
|
icon: /*#__PURE__*/React$1.createElement(SearchOutlined, null),
|
|
199
169
|
htmlType: "submit"
|
|
@@ -204,51 +174,51 @@ var Query$2 = function (_super) {
|
|
|
204
174
|
return Query;
|
|
205
175
|
}(BaseQuery);
|
|
206
176
|
var valueToApi = function valueToApi(values, user) {
|
|
207
|
-
if (!
|
|
208
|
-
|
|
177
|
+
if (!get(values, 'followUpDate')) {
|
|
178
|
+
set(values, 'followUpDate', dayjs());
|
|
209
179
|
}
|
|
210
|
-
if (!
|
|
211
|
-
|
|
180
|
+
if (!get(values, 'followUpPerson')) {
|
|
181
|
+
set(values, 'followUpPerson', get(user, 'firstName'));
|
|
212
182
|
}
|
|
213
|
-
|
|
183
|
+
map(values, function (data, index) {
|
|
214
184
|
if (index === 'followUpDate') {
|
|
215
|
-
|
|
185
|
+
set(values, index, data ? dayjs(data) : null);
|
|
216
186
|
}
|
|
217
187
|
if (['followUpWay', 'followUpSituation', 'pregnancyCauses', 'immediatelyImplement', 'noticeMatters', 'guidanceForProperUse', 'menstruationBleeding'].includes(index)) {
|
|
218
|
-
|
|
188
|
+
set(values, index, {
|
|
219
189
|
checkedValues: [data],
|
|
220
190
|
withInputValues: {}
|
|
221
191
|
});
|
|
222
192
|
}
|
|
223
193
|
if (['pastContraceptiveMethods', 'afterMiscarriageFirstContraceptiveMethods', 'futureContraceptiveMethods', 'nowContraceptiveMethods'].includes(index)) {
|
|
224
|
-
|
|
194
|
+
set(values, index, safe_json_parse(data));
|
|
225
195
|
}
|
|
226
196
|
if (['menstruationRestored', 'stomachAche', 'resumeSex', 'insistUseContraceptiveMethods', 'replaceContraceptiveMethods', 'unexpectedPregnancyAgain', 'suggestBeginTime'].includes(index)) {
|
|
227
|
-
|
|
197
|
+
set(values, index, {
|
|
228
198
|
checkedValues: [data],
|
|
229
|
-
withInputValues:
|
|
199
|
+
withInputValues: get(values, "".concat(index, "Note"))
|
|
230
200
|
});
|
|
231
201
|
}
|
|
232
202
|
});
|
|
233
203
|
return values;
|
|
234
204
|
};
|
|
235
205
|
var valueToForm = function valueToForm(values) {
|
|
236
|
-
|
|
206
|
+
map(values, function (item, key) {
|
|
237
207
|
if (key === 'followUpDate') {
|
|
238
|
-
|
|
208
|
+
set(values, key, formatDate(item));
|
|
239
209
|
}
|
|
240
210
|
if (['followUpWay', 'followUpSituation', 'pregnancyCauses', 'immediatelyImplement', 'noticeMatters', 'guidanceForProperUse', 'menstruationBleeding'].includes(key)) {
|
|
241
|
-
var checkedValues =
|
|
242
|
-
|
|
211
|
+
var checkedValues = get(item, 'checkedValues.0');
|
|
212
|
+
set(values, key, checkedValues);
|
|
243
213
|
}
|
|
244
214
|
if (['pastContraceptiveMethods', 'afterMiscarriageFirstContraceptiveMethods', 'futureContraceptiveMethods', 'nowContraceptiveMethods'].includes(key) && values) {
|
|
245
|
-
|
|
215
|
+
set(values, key, safe_json_stringify(item));
|
|
246
216
|
}
|
|
247
217
|
if (['menstruationRestored', 'stomachAche', 'resumeSex', 'insistUseContraceptiveMethods', 'replaceContraceptiveMethods', 'unexpectedPregnancyAgain', 'suggestBeginTime'].includes(key)) {
|
|
248
|
-
var checkedValues =
|
|
249
|
-
var withInputValues =
|
|
250
|
-
|
|
251
|
-
|
|
218
|
+
var checkedValues = get(item, 'checkedValues.0');
|
|
219
|
+
var withInputValues = get(item, 'withInputValues');
|
|
220
|
+
set(values, key, checkedValues);
|
|
221
|
+
set(values, "".concat(key, "Note"), withInputValues);
|
|
252
222
|
}
|
|
253
223
|
});
|
|
254
224
|
return values;
|
|
@@ -298,14 +268,14 @@ var tableColumns$1 = [{
|
|
|
298
268
|
align: 'center',
|
|
299
269
|
render: function render(text) {
|
|
300
270
|
if (text === '待随访') {
|
|
301
|
-
return
|
|
271
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={dsf} />"), React.createElement("span", {
|
|
302
272
|
style: {
|
|
303
273
|
paddingLeft: 4
|
|
304
274
|
}
|
|
305
275
|
}, text));
|
|
306
276
|
}
|
|
307
277
|
if (text === '已完成') {
|
|
308
|
-
return
|
|
278
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={ywc} />"), React.createElement("span", {
|
|
309
279
|
style: {
|
|
310
280
|
color: '#21AC8D',
|
|
311
281
|
paddingLeft: 4
|
|
@@ -313,14 +283,14 @@ var tableColumns$1 = [{
|
|
|
313
283
|
}, text));
|
|
314
284
|
}
|
|
315
285
|
if (text === '未到') {
|
|
316
|
-
return
|
|
286
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={wd} />"), React.createElement("span", {
|
|
317
287
|
style: {
|
|
318
288
|
paddingLeft: 4
|
|
319
289
|
}
|
|
320
290
|
}, text));
|
|
321
291
|
}
|
|
322
292
|
if (text === '失访') {
|
|
323
|
-
return
|
|
293
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={sf} />"), React.createElement("span", {
|
|
324
294
|
style: {
|
|
325
295
|
color: '#FD617F',
|
|
326
296
|
paddingLeft: 4
|
|
@@ -336,14 +306,14 @@ var tableColumns$1 = [{
|
|
|
336
306
|
align: 'center',
|
|
337
307
|
render: function render(text) {
|
|
338
308
|
if (text === '待随访') {
|
|
339
|
-
return
|
|
309
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={dsf} />"), React.createElement("span", {
|
|
340
310
|
style: {
|
|
341
311
|
paddingLeft: 4
|
|
342
312
|
}
|
|
343
313
|
}, text));
|
|
344
314
|
}
|
|
345
315
|
if (text === '已完成') {
|
|
346
|
-
return
|
|
316
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={ywc} />"), React.createElement("span", {
|
|
347
317
|
style: {
|
|
348
318
|
color: '#21AC8D',
|
|
349
319
|
paddingLeft: 4
|
|
@@ -351,14 +321,14 @@ var tableColumns$1 = [{
|
|
|
351
321
|
}, text));
|
|
352
322
|
}
|
|
353
323
|
if (text === '未到') {
|
|
354
|
-
return
|
|
324
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={wd} />"), React.createElement("span", {
|
|
355
325
|
style: {
|
|
356
326
|
paddingLeft: 4
|
|
357
327
|
}
|
|
358
328
|
}, text));
|
|
359
329
|
}
|
|
360
330
|
if (text === '失访') {
|
|
361
|
-
return
|
|
331
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={sf} />"), React.createElement("span", {
|
|
362
332
|
style: {
|
|
363
333
|
color: '#FD617F',
|
|
364
334
|
paddingLeft: 4
|
|
@@ -374,14 +344,14 @@ var tableColumns$1 = [{
|
|
|
374
344
|
align: 'center',
|
|
375
345
|
render: function render(text) {
|
|
376
346
|
if (text === '待随访') {
|
|
377
|
-
return
|
|
347
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={dsf} />"), React.createElement("span", {
|
|
378
348
|
style: {
|
|
379
349
|
paddingLeft: 4
|
|
380
350
|
}
|
|
381
351
|
}, text));
|
|
382
352
|
}
|
|
383
353
|
if (text === '已完成') {
|
|
384
|
-
return
|
|
354
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, " <img src={ywc} />"), React.createElement("span", {
|
|
385
355
|
style: {
|
|
386
356
|
color: '#21AC8D',
|
|
387
357
|
paddingLeft: 4
|
|
@@ -389,14 +359,14 @@ var tableColumns$1 = [{
|
|
|
389
359
|
}, text));
|
|
390
360
|
}
|
|
391
361
|
if (text === '未到') {
|
|
392
|
-
return
|
|
362
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={wd} />"), React.createElement("span", {
|
|
393
363
|
style: {
|
|
394
364
|
paddingLeft: 4
|
|
395
365
|
}
|
|
396
366
|
}, text));
|
|
397
367
|
}
|
|
398
368
|
if (text === '失访') {
|
|
399
|
-
return
|
|
369
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, " <img src={sf} />"), React.createElement("span", {
|
|
400
370
|
style: {
|
|
401
371
|
color: '#FD617F',
|
|
402
372
|
paddingLeft: 4
|
|
@@ -412,14 +382,14 @@ var tableColumns$1 = [{
|
|
|
412
382
|
align: 'center',
|
|
413
383
|
render: function render(text) {
|
|
414
384
|
if (text === '待随访') {
|
|
415
|
-
return
|
|
385
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={dsf} />"), React.createElement("span", {
|
|
416
386
|
style: {
|
|
417
387
|
paddingLeft: 4
|
|
418
388
|
}
|
|
419
389
|
}, text));
|
|
420
390
|
}
|
|
421
391
|
if (text === '已完成') {
|
|
422
|
-
return
|
|
392
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={ywc} />"), React.createElement("span", {
|
|
423
393
|
style: {
|
|
424
394
|
color: '#21AC8D',
|
|
425
395
|
paddingLeft: 4
|
|
@@ -427,14 +397,14 @@ var tableColumns$1 = [{
|
|
|
427
397
|
}, text));
|
|
428
398
|
}
|
|
429
399
|
if (text === '未到') {
|
|
430
|
-
return
|
|
400
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, " <img src={wd} />"), React.createElement("span", {
|
|
431
401
|
style: {
|
|
432
402
|
paddingLeft: 4
|
|
433
403
|
}
|
|
434
404
|
}, text));
|
|
435
405
|
}
|
|
436
406
|
if (text === '失访') {
|
|
437
|
-
return
|
|
407
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={sf} />"), React.createElement("span", {
|
|
438
408
|
style: {
|
|
439
409
|
color: '#FD617F',
|
|
440
410
|
paddingLeft: 4
|
|
@@ -450,14 +420,14 @@ var tableColumns$1 = [{
|
|
|
450
420
|
align: 'center',
|
|
451
421
|
render: function render(text) {
|
|
452
422
|
if (text === '待随访') {
|
|
453
|
-
return
|
|
423
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={dsf} />"), React.createElement("span", {
|
|
454
424
|
style: {
|
|
455
425
|
paddingLeft: 4
|
|
456
426
|
}
|
|
457
427
|
}, text));
|
|
458
428
|
}
|
|
459
429
|
if (text === '已完成') {
|
|
460
|
-
return
|
|
430
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={ywc} />"), React.createElement("span", {
|
|
461
431
|
style: {
|
|
462
432
|
color: '#21AC8D',
|
|
463
433
|
paddingLeft: 4
|
|
@@ -465,14 +435,14 @@ var tableColumns$1 = [{
|
|
|
465
435
|
}, text));
|
|
466
436
|
}
|
|
467
437
|
if (text === '未到') {
|
|
468
|
-
return
|
|
438
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, " <img src={wd} />"), React.createElement("span", {
|
|
469
439
|
style: {
|
|
470
440
|
paddingLeft: 4
|
|
471
441
|
}
|
|
472
442
|
}, text));
|
|
473
443
|
}
|
|
474
444
|
if (text === '失访') {
|
|
475
|
-
return
|
|
445
|
+
return React.createElement(React.Fragment, null, React.createElement("span", null, "<img src={sf} />"), React.createElement("span", {
|
|
476
446
|
style: {
|
|
477
447
|
color: '#FD617F',
|
|
478
448
|
paddingLeft: 4
|
|
@@ -528,13 +498,13 @@ var historyTableColumns = [{
|
|
|
528
498
|
align: 'center',
|
|
529
499
|
render: function render(text) {
|
|
530
500
|
if (text === '正常') {
|
|
531
|
-
return
|
|
501
|
+
return React.createElement("span", {
|
|
532
502
|
style: {
|
|
533
503
|
color: '#21AC8D'
|
|
534
504
|
}
|
|
535
505
|
}, text);
|
|
536
506
|
} else {
|
|
537
|
-
return
|
|
507
|
+
return React.createElement("span", {
|
|
538
508
|
style: {
|
|
539
509
|
color: '#FD617F'
|
|
540
510
|
}
|
|
@@ -738,7 +708,7 @@ var ModalForm = function (_super) {
|
|
|
738
708
|
activeTabKey = this.state.activeTabKey;
|
|
739
709
|
data = {};
|
|
740
710
|
params = {};
|
|
741
|
-
followUpState =
|
|
711
|
+
followUpState = get(this.state, "followUpData".concat(Number(activeTabKey), ".followUpState")) || '';
|
|
742
712
|
if (Number(activeTabKey) === 0) {
|
|
743
713
|
data = (_b = this.form0) === null || _b === void 0 ? void 0 : _b.getFieldsValue();
|
|
744
714
|
}
|
|
@@ -755,42 +725,42 @@ var ModalForm = function (_super) {
|
|
|
755
725
|
data = (_f = this.form12) === null || _f === void 0 ? void 0 : _f.getFieldsValue();
|
|
756
726
|
}
|
|
757
727
|
data = valueToForm(data);
|
|
758
|
-
if (
|
|
728
|
+
if (get(data, 'followUpSituation') === '未接听' || get(data, 'followUpSituation') === '号码错误') {
|
|
759
729
|
followUpState = '待随访';
|
|
760
730
|
}
|
|
761
|
-
if (
|
|
731
|
+
if (get(data, 'followUpSituation') === '正常') {
|
|
762
732
|
followUpState = '已完成';
|
|
763
733
|
}
|
|
764
|
-
if (!
|
|
765
|
-
|
|
734
|
+
if (!get(data, 'followUpWay')) {
|
|
735
|
+
message.error('请选择随访方式!');
|
|
766
736
|
return [2];
|
|
767
737
|
}
|
|
768
|
-
if (!
|
|
769
|
-
|
|
738
|
+
if (!get(data, 'followUpSituation')) {
|
|
739
|
+
message.error('请选择随访情况!');
|
|
770
740
|
return [2];
|
|
771
741
|
}
|
|
772
|
-
if (!
|
|
773
|
-
|
|
742
|
+
if (!get(data, 'followUpDate')) {
|
|
743
|
+
message.error('请选择随访日期!');
|
|
774
744
|
return [2];
|
|
775
745
|
}
|
|
776
|
-
if (!
|
|
777
|
-
|
|
746
|
+
if (!get(data, 'followUpPerson')) {
|
|
747
|
+
message.error('请输入随访人!');
|
|
778
748
|
return [2];
|
|
779
749
|
}
|
|
780
750
|
if (flag) {
|
|
781
751
|
followUpState = '失访';
|
|
782
752
|
}
|
|
783
|
-
if (
|
|
753
|
+
if (get(this.state, "followUpData".concat(Number(activeTabKey), ".id"))) {
|
|
784
754
|
params = __assign(__assign({}, data), {
|
|
785
755
|
followUpType: Number(activeTabKey),
|
|
786
|
-
id:
|
|
787
|
-
earlyPregnancyCheckPacTrackingFileId:
|
|
756
|
+
id: get(this.state, "followUpData".concat(Number(activeTabKey), ".id")),
|
|
757
|
+
earlyPregnancyCheckPacTrackingFileId: get(currentRecord, 'id'),
|
|
788
758
|
followUpState: followUpState
|
|
789
759
|
});
|
|
790
760
|
} else {
|
|
791
761
|
params = __assign(__assign({}, data), {
|
|
792
762
|
followUpType: Number(activeTabKey),
|
|
793
|
-
earlyPregnancyCheckPacTrackingFileId:
|
|
763
|
+
earlyPregnancyCheckPacTrackingFileId: get(currentRecord, 'id'),
|
|
794
764
|
followUpState: followUpState
|
|
795
765
|
});
|
|
796
766
|
}
|
|
@@ -815,12 +785,12 @@ var ModalForm = function (_super) {
|
|
|
815
785
|
_this.handleBtnClick = function () {
|
|
816
786
|
var _a;
|
|
817
787
|
var activeTabKey = _this.state.activeTabKey;
|
|
818
|
-
_this.setState((_a = {}, _a["tableVisible".concat(Number(activeTabKey))] = !
|
|
788
|
+
_this.setState((_a = {}, _a["tableVisible".concat(Number(activeTabKey))] = !get(_this.state, "tableVisible".concat(Number(activeTabKey))), _a));
|
|
819
789
|
};
|
|
820
790
|
_this.handleItemChange = function (changedValues, allValues, num) {
|
|
821
791
|
var _a, _b;
|
|
822
|
-
if (
|
|
823
|
-
var checkValue =
|
|
792
|
+
if (get(changedValues, 'followUpSituation')) {
|
|
793
|
+
var checkValue = get(changedValues, 'followUpSituation.checkedValues.0');
|
|
824
794
|
if (checkValue === '未接听' || checkValue === '号码错误') {
|
|
825
795
|
_this.setState((_a = {}, _a["disabled".concat(num)] = true, _a));
|
|
826
796
|
} else {
|
|
@@ -833,7 +803,7 @@ var ModalForm = function (_super) {
|
|
|
833
803
|
disabled0 = _a.disabled0,
|
|
834
804
|
followUpData0 = _a.followUpData0,
|
|
835
805
|
tableVisible0 = _a.tableVisible0;
|
|
836
|
-
return /*#__PURE__*/React$1.createElement(
|
|
806
|
+
return /*#__PURE__*/React$1.createElement(Form, {
|
|
837
807
|
ref: function ref(form0) {
|
|
838
808
|
_this.form0 = form0;
|
|
839
809
|
},
|
|
@@ -852,7 +822,7 @@ var ModalForm = function (_super) {
|
|
|
852
822
|
className: "base-edit-panel-form_section border"
|
|
853
823
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
854
824
|
className: "base-edit-panel-form_section_title"
|
|
855
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
825
|
+
}), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
856
826
|
label: "\u9996\u6B21\u968F\u8BBF\u65B9\u5F0F",
|
|
857
827
|
name: "followUpWay",
|
|
858
828
|
rules: [{
|
|
@@ -862,8 +832,8 @@ var ModalForm = function (_super) {
|
|
|
862
832
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
863
833
|
options: noticeTypeOptions,
|
|
864
834
|
onChange: _this.onChange,
|
|
865
|
-
selectValue:
|
|
866
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
835
|
+
selectValue: get(followUpData0, 'followUpState') != '待随访' && get(followUpData0, 'followUpWay')
|
|
836
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
867
837
|
label: "\u968F\u8BBF\u60C5\u51B5",
|
|
868
838
|
name: "followUpSituation",
|
|
869
839
|
rules: [{
|
|
@@ -873,16 +843,16 @@ var ModalForm = function (_super) {
|
|
|
873
843
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
874
844
|
options: option1,
|
|
875
845
|
onChange: _this.onChange,
|
|
876
|
-
selectValue:
|
|
877
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
846
|
+
selectValue: get(followUpData0, 'followUpState') != '待随访' && get(followUpData0, 'followUpSituation')
|
|
847
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
878
848
|
label: "\u672C\u6B21\u610F\u5916\u598A\u5A20\u539F\u56E0",
|
|
879
849
|
name: "pregnancyCauses"
|
|
880
850
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
881
851
|
disabled: disabled0,
|
|
882
852
|
options: option2,
|
|
883
853
|
onChange: _this.onChange,
|
|
884
|
-
selectValue:
|
|
885
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
854
|
+
selectValue: get(followUpData0, 'pregnancyCauses')
|
|
855
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
886
856
|
label: "\u4EE5\u5F80\u907F\u5B55\u65B9\u5F0F",
|
|
887
857
|
name: "pastContraceptiveMethods"
|
|
888
858
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
@@ -890,8 +860,8 @@ var ModalForm = function (_super) {
|
|
|
890
860
|
type: "multiple",
|
|
891
861
|
options: option3,
|
|
892
862
|
onChange: _this.onChange,
|
|
893
|
-
selectValue:
|
|
894
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
863
|
+
selectValue: get(followUpData0, 'pastContraceptiveMethods')
|
|
864
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
895
865
|
label: "\u672C\u6B21\u6D41\u4EA7\u540E\u5EFA\u8BAE\u9009\u7528\u65B9\u5F0F",
|
|
896
866
|
name: "afterMiscarriageFirstContraceptiveMethods"
|
|
897
867
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
@@ -899,42 +869,42 @@ var ModalForm = function (_super) {
|
|
|
899
869
|
type: "multiple",
|
|
900
870
|
options: option4,
|
|
901
871
|
onChange: _this.onChange,
|
|
902
|
-
selectValue:
|
|
903
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
872
|
+
selectValue: get(followUpData0, 'afterMiscarriageFirstContraceptiveMethods')
|
|
873
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
904
874
|
label: "\u5EFA\u8BAE\u5F00\u59CB\u65F6\u95F4",
|
|
905
875
|
name: "suggestBeginTime"
|
|
906
876
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
907
877
|
disabled: disabled0,
|
|
908
878
|
options: option5,
|
|
909
879
|
onChange: _this.onChange,
|
|
910
|
-
selectValue:
|
|
911
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
880
|
+
selectValue: get(followUpData0, 'suggestBeginTime')
|
|
881
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
912
882
|
label: "\u662F\u5426\u7ACB\u5373\u5904\u7406\u843D\u5B9E",
|
|
913
883
|
name: "immediatelyImplement"
|
|
914
884
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
915
885
|
disabled: disabled0,
|
|
916
886
|
options: option6,
|
|
917
887
|
onChange: _this.onChange,
|
|
918
|
-
selectValue:
|
|
919
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
888
|
+
selectValue: get(followUpData0, 'immediatelyImplement')
|
|
889
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
920
890
|
label: "\u662F\u5426\u544A\u77E5\u6CE8\u610F\u4E8B\u9879",
|
|
921
891
|
name: "noticeMatters"
|
|
922
892
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
923
893
|
disabled: disabled0,
|
|
924
894
|
options: option6,
|
|
925
895
|
onChange: _this.onChange,
|
|
926
|
-
selectValue:
|
|
927
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
896
|
+
selectValue: get(followUpData0, 'noticeMatters')
|
|
897
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
928
898
|
label: "\u662F\u5426\u6307\u5BFC\u6B63\u786E\u4F7F\u7528",
|
|
929
899
|
name: "guidanceForProperUse"
|
|
930
900
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
931
901
|
disabled: disabled0,
|
|
932
902
|
options: option6,
|
|
933
903
|
onChange: _this.onChange,
|
|
934
|
-
selectValue:
|
|
935
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
904
|
+
selectValue: get(followUpData0, 'guidanceForProperUse')
|
|
905
|
+
})), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
936
906
|
span: 8
|
|
937
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
907
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
938
908
|
label: "\u5907\u6CE8",
|
|
939
909
|
name: "note",
|
|
940
910
|
labelCol: {
|
|
@@ -943,12 +913,12 @@ var ModalForm = function (_super) {
|
|
|
943
913
|
wrapperCol: {
|
|
944
914
|
span: 12
|
|
945
915
|
}
|
|
946
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
916
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
947
917
|
disabled: disabled0,
|
|
948
918
|
placeholder: ""
|
|
949
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
919
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
950
920
|
span: 8
|
|
951
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
921
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
952
922
|
label: "\u968F\u8BBF\u65E5\u671F",
|
|
953
923
|
name: "followUpDate",
|
|
954
924
|
labelCol: {
|
|
@@ -961,9 +931,9 @@ var ModalForm = function (_super) {
|
|
|
961
931
|
required: true,
|
|
962
932
|
message: '请输入随访日期!'
|
|
963
933
|
}]
|
|
964
|
-
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(
|
|
934
|
+
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(Col, {
|
|
965
935
|
span: 8
|
|
966
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
936
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
967
937
|
label: "\u968F\u8BBF\u4EBA",
|
|
968
938
|
name: "followUpPerson",
|
|
969
939
|
labelCol: {
|
|
@@ -976,32 +946,32 @@ var ModalForm = function (_super) {
|
|
|
976
946
|
required: true,
|
|
977
947
|
message: '请输入随访人!'
|
|
978
948
|
}]
|
|
979
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
949
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
980
950
|
placeholder: ""
|
|
981
|
-
})))),
|
|
951
|
+
})))), get(followUpData0, 'followUpState') && get(followUpData0, 'followUpState') != '未到' ? (/*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
982
952
|
span: 6
|
|
983
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
953
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
984
954
|
style: {
|
|
985
955
|
marginLeft: '29%'
|
|
986
956
|
},
|
|
987
957
|
size: 'large',
|
|
988
958
|
onClick: _this.handleBtnClick
|
|
989
|
-
}, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible0 && /*#__PURE__*/React$1.createElement(Table, {
|
|
990
|
-
dataSource:
|
|
959
|
+
}, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible0 && (/*#__PURE__*/React$1.createElement(Table, {
|
|
960
|
+
dataSource: get(followUpData0, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
|
|
991
961
|
columns: historyTableColumns,
|
|
992
962
|
bordered: true,
|
|
993
963
|
pagination: false,
|
|
994
964
|
style: {
|
|
995
965
|
marginTop: 16
|
|
996
966
|
}
|
|
997
|
-
}))));
|
|
967
|
+
})))));
|
|
998
968
|
};
|
|
999
969
|
_this.renderForm1 = function () {
|
|
1000
970
|
var _a = _this.state,
|
|
1001
971
|
disabled1 = _a.disabled1,
|
|
1002
972
|
followUpData1 = _a.followUpData1,
|
|
1003
973
|
tableVisible1 = _a.tableVisible1;
|
|
1004
|
-
return /*#__PURE__*/React$1.createElement(
|
|
974
|
+
return /*#__PURE__*/React$1.createElement(Form, {
|
|
1005
975
|
ref: function ref(form1) {
|
|
1006
976
|
_this.form1 = form1;
|
|
1007
977
|
},
|
|
@@ -1020,7 +990,7 @@ var ModalForm = function (_super) {
|
|
|
1020
990
|
className: "base-edit-panel-form_section border"
|
|
1021
991
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
1022
992
|
className: "base-edit-panel-form_section_title"
|
|
1023
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
993
|
+
}), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1024
994
|
label: "\u968F\u8BBF\u65B9\u5F0F",
|
|
1025
995
|
name: "followUpWay",
|
|
1026
996
|
rules: [{
|
|
@@ -1030,8 +1000,8 @@ var ModalForm = function (_super) {
|
|
|
1030
1000
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1031
1001
|
options: noticeTypeOptions,
|
|
1032
1002
|
onChange: _this.onChange,
|
|
1033
|
-
selectValue:
|
|
1034
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1003
|
+
selectValue: get(followUpData1, 'followUpState') != '待随访' && get(followUpData1, 'followUpWay')
|
|
1004
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1035
1005
|
label: "\u968F\u8BBF\u60C5\u51B5",
|
|
1036
1006
|
name: "followUpSituation",
|
|
1037
1007
|
rules: [{
|
|
@@ -1041,10 +1011,10 @@ var ModalForm = function (_super) {
|
|
|
1041
1011
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1042
1012
|
options: option1,
|
|
1043
1013
|
onChange: _this.onChange,
|
|
1044
|
-
selectValue:
|
|
1045
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1014
|
+
selectValue: get(followUpData1, 'followUpState') != '待随访' && get(followUpData1, 'followUpSituation')
|
|
1015
|
+
})), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1046
1016
|
span: 8
|
|
1047
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1017
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1048
1018
|
label: "\u672F\u540E\u51FA\u8840\u5929\u6570",
|
|
1049
1019
|
name: "postoperativeBleedingDays",
|
|
1050
1020
|
labelCol: {
|
|
@@ -1053,12 +1023,12 @@ var ModalForm = function (_super) {
|
|
|
1053
1023
|
wrapperCol: {
|
|
1054
1024
|
span: 12
|
|
1055
1025
|
}
|
|
1056
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1026
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1057
1027
|
disabled: disabled1,
|
|
1058
1028
|
placeholder: ""
|
|
1059
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1029
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1060
1030
|
span: 8
|
|
1061
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1031
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1062
1032
|
label: "\u6708\u7ECF\u662F\u5426\u6062\u590D",
|
|
1063
1033
|
name: "menstruationRestored",
|
|
1064
1034
|
labelCol: {
|
|
@@ -1072,10 +1042,10 @@ var ModalForm = function (_super) {
|
|
|
1072
1042
|
options: option9,
|
|
1073
1043
|
onChange: _this.onChange,
|
|
1074
1044
|
span: 8,
|
|
1075
|
-
selectValue:
|
|
1076
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1045
|
+
selectValue: get(followUpData1, 'menstruationRestored')
|
|
1046
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1077
1047
|
span: 8
|
|
1078
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1048
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1079
1049
|
label: "\u6708\u7ECF\u51FA\u8840\u91CF",
|
|
1080
1050
|
name: "menstruationBleeding",
|
|
1081
1051
|
labelCol: {
|
|
@@ -1089,10 +1059,10 @@ var ModalForm = function (_super) {
|
|
|
1089
1059
|
options: option7,
|
|
1090
1060
|
onChange: _this.onChange,
|
|
1091
1061
|
span: 8,
|
|
1092
|
-
selectValue:
|
|
1093
|
-
})))), /*#__PURE__*/React$1.createElement(
|
|
1062
|
+
selectValue: get(followUpData1, 'menstruationBleeding')
|
|
1063
|
+
})))), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1094
1064
|
span: 8
|
|
1095
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1065
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1096
1066
|
label: "\u662F\u5426\u8179\u75DB",
|
|
1097
1067
|
name: "stomachAche",
|
|
1098
1068
|
labelCol: {
|
|
@@ -1106,10 +1076,10 @@ var ModalForm = function (_super) {
|
|
|
1106
1076
|
options: option10,
|
|
1107
1077
|
onChange: _this.onChange,
|
|
1108
1078
|
span: 8,
|
|
1109
|
-
selectValue:
|
|
1110
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1079
|
+
selectValue: get(followUpData1, 'stomachAche')
|
|
1080
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1111
1081
|
span: 8
|
|
1112
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1082
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1113
1083
|
label: "\u662F\u5426\u6062\u590D\u6027\u751F\u6D3B",
|
|
1114
1084
|
name: "resumeSex",
|
|
1115
1085
|
labelCol: {
|
|
@@ -1123,8 +1093,8 @@ var ModalForm = function (_super) {
|
|
|
1123
1093
|
options: option10,
|
|
1124
1094
|
onChange: _this.onChange,
|
|
1125
1095
|
span: 8,
|
|
1126
|
-
selectValue:
|
|
1127
|
-
})))), /*#__PURE__*/React$1.createElement(
|
|
1096
|
+
selectValue: get(followUpData1, 'resumeSex')
|
|
1097
|
+
})))), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1128
1098
|
label: "\u76EE\u524D\u91C7\u53D6\u907F\u5B55\u65B9\u5F0F",
|
|
1129
1099
|
name: "nowContraceptiveMethods"
|
|
1130
1100
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
@@ -1132,8 +1102,8 @@ var ModalForm = function (_super) {
|
|
|
1132
1102
|
disabled: disabled1,
|
|
1133
1103
|
options: option4,
|
|
1134
1104
|
onChange: _this.onChange,
|
|
1135
|
-
selectValue:
|
|
1136
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1105
|
+
selectValue: get(followUpData1, 'nowContraceptiveMethods')
|
|
1106
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1137
1107
|
label: "\u4ECA\u540E\u8BA1\u5212\u91C7\u7528\u907F\u5B55\u65B9\u5F0F",
|
|
1138
1108
|
name: "futureContraceptiveMethods"
|
|
1139
1109
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
@@ -1141,10 +1111,10 @@ var ModalForm = function (_super) {
|
|
|
1141
1111
|
disabled: disabled1,
|
|
1142
1112
|
options: option4,
|
|
1143
1113
|
onChange: _this.onChange,
|
|
1144
|
-
selectValue:
|
|
1145
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1114
|
+
selectValue: get(followUpData1, 'futureContraceptiveMethods')
|
|
1115
|
+
})), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1146
1116
|
span: 8
|
|
1147
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1117
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1148
1118
|
label: "\u5907\u6CE8",
|
|
1149
1119
|
name: "note",
|
|
1150
1120
|
labelCol: {
|
|
@@ -1153,12 +1123,12 @@ var ModalForm = function (_super) {
|
|
|
1153
1123
|
wrapperCol: {
|
|
1154
1124
|
span: 12
|
|
1155
1125
|
}
|
|
1156
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1126
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1157
1127
|
disabled: disabled1,
|
|
1158
1128
|
placeholder: ""
|
|
1159
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1129
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1160
1130
|
span: 8
|
|
1161
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1131
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1162
1132
|
label: "\u968F\u8BBF\u65E5\u671F",
|
|
1163
1133
|
name: "followUpDate",
|
|
1164
1134
|
labelCol: {
|
|
@@ -1171,9 +1141,9 @@ var ModalForm = function (_super) {
|
|
|
1171
1141
|
required: true,
|
|
1172
1142
|
message: '请输入随访日期!'
|
|
1173
1143
|
}]
|
|
1174
|
-
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(
|
|
1144
|
+
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1175
1145
|
span: 8
|
|
1176
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1146
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1177
1147
|
label: "\u968F\u8BBF\u4EBA",
|
|
1178
1148
|
name: "followUpPerson",
|
|
1179
1149
|
labelCol: {
|
|
@@ -1186,32 +1156,32 @@ var ModalForm = function (_super) {
|
|
|
1186
1156
|
required: true,
|
|
1187
1157
|
message: '请输入随访人!'
|
|
1188
1158
|
}]
|
|
1189
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1159
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1190
1160
|
placeholder: ""
|
|
1191
|
-
})))),
|
|
1161
|
+
})))), get(followUpData1, 'followUpState') && get(followUpData1, 'followUpState') != '未到' ? (/*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1192
1162
|
span: 6
|
|
1193
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1163
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
1194
1164
|
style: {
|
|
1195
1165
|
marginLeft: '29%'
|
|
1196
1166
|
},
|
|
1197
1167
|
size: 'large',
|
|
1198
1168
|
onClick: _this.handleBtnClick
|
|
1199
|
-
}, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible1 && /*#__PURE__*/React$1.createElement(Table, {
|
|
1200
|
-
dataSource:
|
|
1169
|
+
}, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible1 && (/*#__PURE__*/React$1.createElement(Table, {
|
|
1170
|
+
dataSource: get(followUpData1, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
|
|
1201
1171
|
columns: historyTableColumns,
|
|
1202
1172
|
bordered: true,
|
|
1203
1173
|
pagination: false,
|
|
1204
1174
|
style: {
|
|
1205
1175
|
marginTop: 16
|
|
1206
1176
|
}
|
|
1207
|
-
}))));
|
|
1177
|
+
})))));
|
|
1208
1178
|
};
|
|
1209
1179
|
_this.renderForm3 = function () {
|
|
1210
1180
|
var _a = _this.state,
|
|
1211
1181
|
disabled3 = _a.disabled3,
|
|
1212
1182
|
followUpData3 = _a.followUpData3,
|
|
1213
1183
|
tableVisible3 = _a.tableVisible3;
|
|
1214
|
-
return /*#__PURE__*/React$1.createElement(
|
|
1184
|
+
return /*#__PURE__*/React$1.createElement(Form, {
|
|
1215
1185
|
ref: function ref(form3) {
|
|
1216
1186
|
_this.form3 = form3;
|
|
1217
1187
|
},
|
|
@@ -1230,7 +1200,7 @@ var ModalForm = function (_super) {
|
|
|
1230
1200
|
className: "base-edit-panel-form_section border"
|
|
1231
1201
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
1232
1202
|
className: "base-edit-panel-form_section_title"
|
|
1233
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
1203
|
+
}), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1234
1204
|
label: "\u968F\u8BBF\u65B9\u5F0F",
|
|
1235
1205
|
name: "followUpWay",
|
|
1236
1206
|
rules: [{
|
|
@@ -1240,8 +1210,8 @@ var ModalForm = function (_super) {
|
|
|
1240
1210
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1241
1211
|
options: noticeTypeOptions,
|
|
1242
1212
|
onChange: _this.onChange,
|
|
1243
|
-
selectValue:
|
|
1244
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1213
|
+
selectValue: get(followUpData3, 'followUpState') != '待随访' && get(followUpData3, 'followUpWay')
|
|
1214
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1245
1215
|
label: "\u968F\u8BBF\u60C5\u51B5",
|
|
1246
1216
|
name: "followUpSituation",
|
|
1247
1217
|
rules: [{
|
|
@@ -1251,8 +1221,8 @@ var ModalForm = function (_super) {
|
|
|
1251
1221
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1252
1222
|
options: option1,
|
|
1253
1223
|
onChange: _this.onChange,
|
|
1254
|
-
selectValue:
|
|
1255
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1224
|
+
selectValue: get(followUpData3, 'followUpState') != '待随访' && get(followUpData3, 'followUpSituation')
|
|
1225
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1256
1226
|
label: "\u6D41\u4EA7\u540E\u9996\u6B21\u843D\u5B9E\u907F\u5B55\u65B9\u6CD5",
|
|
1257
1227
|
name: "afterMiscarriageFirstContraceptiveMethods"
|
|
1258
1228
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
@@ -1260,10 +1230,10 @@ var ModalForm = function (_super) {
|
|
|
1260
1230
|
options: option4,
|
|
1261
1231
|
type: "multiple",
|
|
1262
1232
|
onChange: _this.onChange,
|
|
1263
|
-
selectValue:
|
|
1264
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1233
|
+
selectValue: get(followUpData3, 'afterMiscarriageFirstContraceptiveMethods')
|
|
1234
|
+
})), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1265
1235
|
span: 8
|
|
1266
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1236
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1267
1237
|
label: "\u5B58\u5728\u95EE\u9898",
|
|
1268
1238
|
name: "person",
|
|
1269
1239
|
labelCol: {
|
|
@@ -1272,12 +1242,12 @@ var ModalForm = function (_super) {
|
|
|
1272
1242
|
wrapperCol: {
|
|
1273
1243
|
span: 12
|
|
1274
1244
|
}
|
|
1275
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1245
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1276
1246
|
disabled: disabled3,
|
|
1277
1247
|
placeholder: ""
|
|
1278
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1248
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1279
1249
|
span: 8
|
|
1280
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1250
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1281
1251
|
label: "\u662F\u5426\u575A\u6301\u4F7F\u7528\u907F\u5B55\u65B9\u6CD5",
|
|
1282
1252
|
name: "insistUseContraceptiveMethods",
|
|
1283
1253
|
labelCol: {
|
|
@@ -1291,10 +1261,10 @@ var ModalForm = function (_super) {
|
|
|
1291
1261
|
options: option11,
|
|
1292
1262
|
onChange: _this.onChange,
|
|
1293
1263
|
span: 8,
|
|
1294
|
-
selectValue:
|
|
1295
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1264
|
+
selectValue: get(followUpData3, 'insistUseContraceptiveMethods')
|
|
1265
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1296
1266
|
span: 8
|
|
1297
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1267
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1298
1268
|
label: "\u662F\u5426\u66F4\u6362\u5176\u4ED6\u65B9\u6CD5",
|
|
1299
1269
|
name: "replaceContraceptiveMethods",
|
|
1300
1270
|
labelCol: {
|
|
@@ -1308,18 +1278,18 @@ var ModalForm = function (_super) {
|
|
|
1308
1278
|
options: option10,
|
|
1309
1279
|
onChange: _this.onChange,
|
|
1310
1280
|
span: 8,
|
|
1311
|
-
selectValue:
|
|
1312
|
-
})))), /*#__PURE__*/React$1.createElement(
|
|
1281
|
+
selectValue: get(followUpData3, 'replaceContraceptiveMethods')
|
|
1282
|
+
})))), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1313
1283
|
label: "\u6709\u65E0\u518D\u6B21\u610F\u5916\u598A\u5A20",
|
|
1314
1284
|
name: "unexpectedPregnancyAgain"
|
|
1315
1285
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1316
1286
|
disabled: disabled3,
|
|
1317
1287
|
options: option8,
|
|
1318
1288
|
onChange: _this.onChange,
|
|
1319
|
-
selectValue:
|
|
1320
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1289
|
+
selectValue: get(followUpData3, 'unexpectedPregnancyAgain')
|
|
1290
|
+
})), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1321
1291
|
span: 8
|
|
1322
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1292
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1323
1293
|
label: "\u5907\u6CE8",
|
|
1324
1294
|
name: "note",
|
|
1325
1295
|
labelCol: {
|
|
@@ -1328,12 +1298,12 @@ var ModalForm = function (_super) {
|
|
|
1328
1298
|
wrapperCol: {
|
|
1329
1299
|
span: 12
|
|
1330
1300
|
}
|
|
1331
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1301
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1332
1302
|
disabled: disabled3,
|
|
1333
1303
|
placeholder: ""
|
|
1334
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1304
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1335
1305
|
span: 8
|
|
1336
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1306
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1337
1307
|
label: "\u968F\u8BBF\u65E5\u671F",
|
|
1338
1308
|
name: "followUpDate",
|
|
1339
1309
|
labelCol: {
|
|
@@ -1346,9 +1316,9 @@ var ModalForm = function (_super) {
|
|
|
1346
1316
|
required: true,
|
|
1347
1317
|
message: '请输入随访日期!'
|
|
1348
1318
|
}]
|
|
1349
|
-
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(
|
|
1319
|
+
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1350
1320
|
span: 8
|
|
1351
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1321
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1352
1322
|
label: "\u968F\u8BBF\u4EBA",
|
|
1353
1323
|
name: "followUpPerson",
|
|
1354
1324
|
labelCol: {
|
|
@@ -1361,32 +1331,32 @@ var ModalForm = function (_super) {
|
|
|
1361
1331
|
required: true,
|
|
1362
1332
|
message: '请输入随访人!'
|
|
1363
1333
|
}]
|
|
1364
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1334
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1365
1335
|
placeholder: ""
|
|
1366
|
-
})))),
|
|
1336
|
+
})))), get(followUpData3, 'followUpState') && get(followUpData3, 'followUpState') != '未到' ? (/*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1367
1337
|
span: 6
|
|
1368
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1338
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
1369
1339
|
style: {
|
|
1370
1340
|
marginLeft: '29%'
|
|
1371
1341
|
},
|
|
1372
1342
|
size: 'large',
|
|
1373
1343
|
onClick: _this.handleBtnClick
|
|
1374
|
-
}, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible3 && /*#__PURE__*/React$1.createElement(Table, {
|
|
1375
|
-
dataSource:
|
|
1344
|
+
}, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible3 && (/*#__PURE__*/React$1.createElement(Table, {
|
|
1345
|
+
dataSource: get(followUpData3, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
|
|
1376
1346
|
columns: historyTableColumns,
|
|
1377
1347
|
bordered: true,
|
|
1378
1348
|
pagination: false,
|
|
1379
1349
|
style: {
|
|
1380
1350
|
marginTop: 16
|
|
1381
1351
|
}
|
|
1382
|
-
}))));
|
|
1352
|
+
})))));
|
|
1383
1353
|
};
|
|
1384
1354
|
_this.renderForm6 = function () {
|
|
1385
1355
|
var _a = _this.state,
|
|
1386
1356
|
disabled6 = _a.disabled6,
|
|
1387
1357
|
followUpData6 = _a.followUpData6,
|
|
1388
1358
|
tableVisible6 = _a.tableVisible6;
|
|
1389
|
-
return /*#__PURE__*/React$1.createElement(
|
|
1359
|
+
return /*#__PURE__*/React$1.createElement(Form, {
|
|
1390
1360
|
ref: function ref(form6) {
|
|
1391
1361
|
_this.form6 = form6;
|
|
1392
1362
|
},
|
|
@@ -1405,7 +1375,7 @@ var ModalForm = function (_super) {
|
|
|
1405
1375
|
className: "base-edit-panel-form_section border"
|
|
1406
1376
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
1407
1377
|
className: "base-edit-panel-form_section_title"
|
|
1408
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
1378
|
+
}), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1409
1379
|
label: "\u968F\u8BBF\u65B9\u5F0F",
|
|
1410
1380
|
name: "followUpWay",
|
|
1411
1381
|
rules: [{
|
|
@@ -1415,8 +1385,8 @@ var ModalForm = function (_super) {
|
|
|
1415
1385
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1416
1386
|
options: noticeTypeOptions,
|
|
1417
1387
|
onChange: _this.onChange,
|
|
1418
|
-
selectValue:
|
|
1419
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1388
|
+
selectValue: get(followUpData6, 'followUpState') != '待随访' && get(followUpData6, 'followUpWay')
|
|
1389
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1420
1390
|
label: "\u968F\u8BBF\u60C5\u51B5",
|
|
1421
1391
|
name: "followUpSituation",
|
|
1422
1392
|
rules: [{
|
|
@@ -1426,8 +1396,8 @@ var ModalForm = function (_super) {
|
|
|
1426
1396
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1427
1397
|
options: option1,
|
|
1428
1398
|
onChange: _this.onChange,
|
|
1429
|
-
selectValue:
|
|
1430
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1399
|
+
selectValue: get(followUpData6, 'followUpState') != '待随访' && get(followUpData6, 'followUpSituation')
|
|
1400
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1431
1401
|
label: "\u6D41\u4EA7\u540E\u9996\u6B21\u843D\u5B9E\u907F\u5B55\u65B9\u6CD5",
|
|
1432
1402
|
name: "afterMiscarriageFirstContraceptiveMethods"
|
|
1433
1403
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
@@ -1435,10 +1405,10 @@ var ModalForm = function (_super) {
|
|
|
1435
1405
|
options: option4,
|
|
1436
1406
|
type: "multiple",
|
|
1437
1407
|
onChange: _this.onChange,
|
|
1438
|
-
selectValue:
|
|
1439
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1408
|
+
selectValue: get(followUpData6, 'afterMiscarriageFirstContraceptiveMethods')
|
|
1409
|
+
})), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1440
1410
|
span: 8
|
|
1441
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1411
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1442
1412
|
label: "\u5B58\u5728\u95EE\u9898",
|
|
1443
1413
|
name: "person",
|
|
1444
1414
|
labelCol: {
|
|
@@ -1447,12 +1417,12 @@ var ModalForm = function (_super) {
|
|
|
1447
1417
|
wrapperCol: {
|
|
1448
1418
|
span: 12
|
|
1449
1419
|
}
|
|
1450
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1420
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1451
1421
|
disabled: disabled6,
|
|
1452
1422
|
placeholder: ""
|
|
1453
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1423
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1454
1424
|
span: 8
|
|
1455
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1425
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1456
1426
|
label: "\u662F\u5426\u575A\u6301\u4F7F\u7528\u907F\u5B55\u65B9\u6CD5",
|
|
1457
1427
|
name: "insistUseContraceptiveMethods",
|
|
1458
1428
|
labelCol: {
|
|
@@ -1466,10 +1436,10 @@ var ModalForm = function (_super) {
|
|
|
1466
1436
|
options: option11,
|
|
1467
1437
|
onChange: _this.onChange,
|
|
1468
1438
|
span: 8,
|
|
1469
|
-
selectValue:
|
|
1470
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1439
|
+
selectValue: get(followUpData6, 'insistUseContraceptiveMethods')
|
|
1440
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1471
1441
|
span: 8
|
|
1472
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1442
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1473
1443
|
label: "\u662F\u5426\u66F4\u6362\u5176\u4ED6\u65B9\u6CD5",
|
|
1474
1444
|
name: "replaceContraceptiveMethods",
|
|
1475
1445
|
labelCol: {
|
|
@@ -1483,18 +1453,18 @@ var ModalForm = function (_super) {
|
|
|
1483
1453
|
options: option10,
|
|
1484
1454
|
onChange: _this.onChange,
|
|
1485
1455
|
span: 8,
|
|
1486
|
-
selectValue:
|
|
1487
|
-
})))), /*#__PURE__*/React$1.createElement(
|
|
1456
|
+
selectValue: get(followUpData6, 'replaceContraceptiveMethods')
|
|
1457
|
+
})))), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1488
1458
|
label: "\u6709\u65E0\u518D\u6B21\u610F\u5916\u598A\u5A20",
|
|
1489
1459
|
name: "unexpectedPregnancyAgain"
|
|
1490
1460
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1491
1461
|
disabled: disabled6,
|
|
1492
1462
|
options: option8,
|
|
1493
1463
|
onChange: _this.onChange,
|
|
1494
|
-
selectValue:
|
|
1495
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1464
|
+
selectValue: get(followUpData6, 'unexpectedPregnancyAgain')
|
|
1465
|
+
})), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1496
1466
|
span: 8
|
|
1497
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1467
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1498
1468
|
label: "\u5907\u6CE8",
|
|
1499
1469
|
name: "note",
|
|
1500
1470
|
labelCol: {
|
|
@@ -1503,12 +1473,12 @@ var ModalForm = function (_super) {
|
|
|
1503
1473
|
wrapperCol: {
|
|
1504
1474
|
span: 12
|
|
1505
1475
|
}
|
|
1506
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1476
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1507
1477
|
disabled: disabled6,
|
|
1508
1478
|
placeholder: ""
|
|
1509
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1479
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1510
1480
|
span: 8
|
|
1511
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1481
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1512
1482
|
label: "\u968F\u8BBF\u65E5\u671F",
|
|
1513
1483
|
name: "followUpDate",
|
|
1514
1484
|
labelCol: {
|
|
@@ -1521,9 +1491,9 @@ var ModalForm = function (_super) {
|
|
|
1521
1491
|
required: true,
|
|
1522
1492
|
message: '请输入随访日期!'
|
|
1523
1493
|
}]
|
|
1524
|
-
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(
|
|
1494
|
+
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1525
1495
|
span: 8
|
|
1526
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1496
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1527
1497
|
label: "\u968F\u8BBF\u4EBA",
|
|
1528
1498
|
name: "followUpPerson",
|
|
1529
1499
|
labelCol: {
|
|
@@ -1536,32 +1506,32 @@ var ModalForm = function (_super) {
|
|
|
1536
1506
|
required: true,
|
|
1537
1507
|
message: '请输入随访人!'
|
|
1538
1508
|
}]
|
|
1539
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1509
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1540
1510
|
placeholder: ""
|
|
1541
|
-
})))),
|
|
1511
|
+
})))), get(followUpData6, 'followUpState') && get(followUpData6, 'followUpState') != '未到' ? (/*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1542
1512
|
span: 6
|
|
1543
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1513
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
1544
1514
|
style: {
|
|
1545
1515
|
marginLeft: '29%'
|
|
1546
1516
|
},
|
|
1547
1517
|
size: 'large',
|
|
1548
1518
|
onClick: _this.handleBtnClick
|
|
1549
|
-
}, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible6 && /*#__PURE__*/React$1.createElement(Table, {
|
|
1550
|
-
dataSource:
|
|
1519
|
+
}, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible6 && (/*#__PURE__*/React$1.createElement(Table, {
|
|
1520
|
+
dataSource: get(followUpData6, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
|
|
1551
1521
|
columns: historyTableColumns,
|
|
1552
1522
|
bordered: true,
|
|
1553
1523
|
pagination: false,
|
|
1554
1524
|
style: {
|
|
1555
1525
|
marginTop: 16
|
|
1556
1526
|
}
|
|
1557
|
-
}))));
|
|
1527
|
+
})))));
|
|
1558
1528
|
};
|
|
1559
1529
|
_this.renderForm12 = function () {
|
|
1560
1530
|
var _a = _this.state,
|
|
1561
1531
|
disabled12 = _a.disabled12,
|
|
1562
1532
|
followUpData12 = _a.followUpData12,
|
|
1563
1533
|
tableVisible12 = _a.tableVisible12;
|
|
1564
|
-
return /*#__PURE__*/React$1.createElement(
|
|
1534
|
+
return /*#__PURE__*/React$1.createElement(Form, {
|
|
1565
1535
|
ref: function ref(form12) {
|
|
1566
1536
|
_this.form12 = form12;
|
|
1567
1537
|
},
|
|
@@ -1580,7 +1550,7 @@ var ModalForm = function (_super) {
|
|
|
1580
1550
|
className: "base-edit-panel-form_section border"
|
|
1581
1551
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
1582
1552
|
className: "base-edit-panel-form_section_title"
|
|
1583
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
1553
|
+
}), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1584
1554
|
label: "\u968F\u8BBF\u65B9\u5F0F",
|
|
1585
1555
|
name: "followUpWay",
|
|
1586
1556
|
rules: [{
|
|
@@ -1590,8 +1560,8 @@ var ModalForm = function (_super) {
|
|
|
1590
1560
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1591
1561
|
options: noticeTypeOptions,
|
|
1592
1562
|
onChange: _this.onChange,
|
|
1593
|
-
selectValue:
|
|
1594
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1563
|
+
selectValue: get(followUpData12, 'followUpState') != '待随访' && get(followUpData12, 'followUpWay')
|
|
1564
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1595
1565
|
label: "\u968F\u8BBF\u60C5\u51B5",
|
|
1596
1566
|
name: "followUpSituation",
|
|
1597
1567
|
rules: [{
|
|
@@ -1601,8 +1571,8 @@ var ModalForm = function (_super) {
|
|
|
1601
1571
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1602
1572
|
options: option1,
|
|
1603
1573
|
onChange: _this.onChange,
|
|
1604
|
-
selectValue:
|
|
1605
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1574
|
+
selectValue: get(followUpData12, 'followUpState') != '待随访' && get(followUpData12, 'followUpSituation')
|
|
1575
|
+
})), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1606
1576
|
label: "\u6D41\u4EA7\u540E\u9996\u6B21\u843D\u5B9E\u907F\u5B55\u65B9\u6CD5",
|
|
1607
1577
|
name: "afterMiscarriageFirstContraceptiveMethods"
|
|
1608
1578
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
@@ -1610,10 +1580,10 @@ var ModalForm = function (_super) {
|
|
|
1610
1580
|
options: option4,
|
|
1611
1581
|
type: "multiple",
|
|
1612
1582
|
onChange: _this.onChange,
|
|
1613
|
-
selectValue:
|
|
1614
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1583
|
+
selectValue: get(followUpData12, 'afterMiscarriageFirstContraceptiveMethods')
|
|
1584
|
+
})), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1615
1585
|
span: 8
|
|
1616
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1586
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1617
1587
|
label: "\u5B58\u5728\u95EE\u9898",
|
|
1618
1588
|
name: "person",
|
|
1619
1589
|
labelCol: {
|
|
@@ -1622,12 +1592,12 @@ var ModalForm = function (_super) {
|
|
|
1622
1592
|
wrapperCol: {
|
|
1623
1593
|
span: 12
|
|
1624
1594
|
}
|
|
1625
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1595
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1626
1596
|
disabled: disabled12,
|
|
1627
1597
|
placeholder: ""
|
|
1628
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1598
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1629
1599
|
span: 8
|
|
1630
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1600
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1631
1601
|
label: "\u662F\u5426\u575A\u6301\u4F7F\u7528\u907F\u5B55\u65B9\u6CD5",
|
|
1632
1602
|
name: "insistUseContraceptiveMethods",
|
|
1633
1603
|
labelCol: {
|
|
@@ -1641,10 +1611,10 @@ var ModalForm = function (_super) {
|
|
|
1641
1611
|
options: option11,
|
|
1642
1612
|
onChange: _this.onChange,
|
|
1643
1613
|
span: 8,
|
|
1644
|
-
selectValue:
|
|
1645
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1614
|
+
selectValue: get(followUpData12, 'insistUseContraceptiveMethods')
|
|
1615
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1646
1616
|
span: 8
|
|
1647
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1617
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1648
1618
|
label: "\u662F\u5426\u66F4\u6362\u5176\u4ED6\u65B9\u6CD5",
|
|
1649
1619
|
name: "replaceContraceptiveMethods",
|
|
1650
1620
|
labelCol: {
|
|
@@ -1658,18 +1628,18 @@ var ModalForm = function (_super) {
|
|
|
1658
1628
|
options: option10,
|
|
1659
1629
|
onChange: _this.onChange,
|
|
1660
1630
|
span: 8,
|
|
1661
|
-
selectValue:
|
|
1662
|
-
})))), /*#__PURE__*/React$1.createElement(
|
|
1631
|
+
selectValue: get(followUpData12, 'replaceContraceptiveMethods')
|
|
1632
|
+
})))), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1663
1633
|
label: "\u6709\u65E0\u518D\u6B21\u610F\u5916\u598A\u5A20",
|
|
1664
1634
|
name: "unexpectedPregnancyAgain"
|
|
1665
1635
|
}, /*#__PURE__*/React$1.createElement(SingleCheckBox, {
|
|
1666
1636
|
disabled: disabled12,
|
|
1667
1637
|
options: option8,
|
|
1668
1638
|
onChange: _this.onChange,
|
|
1669
|
-
selectValue:
|
|
1670
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1639
|
+
selectValue: get(followUpData12, 'unexpectedPregnancyAgain')
|
|
1640
|
+
})), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1671
1641
|
span: 8
|
|
1672
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1642
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1673
1643
|
label: "\u5907\u6CE8",
|
|
1674
1644
|
name: "note",
|
|
1675
1645
|
labelCol: {
|
|
@@ -1678,12 +1648,12 @@ var ModalForm = function (_super) {
|
|
|
1678
1648
|
wrapperCol: {
|
|
1679
1649
|
span: 12
|
|
1680
1650
|
}
|
|
1681
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1651
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1682
1652
|
disabled: disabled12,
|
|
1683
1653
|
placeholder: ""
|
|
1684
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1654
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1685
1655
|
span: 8
|
|
1686
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1656
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1687
1657
|
label: "\u968F\u8BBF\u65E5\u671F",
|
|
1688
1658
|
name: "followUpDate",
|
|
1689
1659
|
labelCol: {
|
|
@@ -1696,9 +1666,9 @@ var ModalForm = function (_super) {
|
|
|
1696
1666
|
required: true,
|
|
1697
1667
|
message: '请输入随访日期!'
|
|
1698
1668
|
}]
|
|
1699
|
-
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(
|
|
1669
|
+
}, /*#__PURE__*/React$1.createElement(DatePicker_L, null))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1700
1670
|
span: 8
|
|
1701
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1671
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1702
1672
|
label: "\u968F\u8BBF\u4EBA",
|
|
1703
1673
|
name: "followUpPerson",
|
|
1704
1674
|
labelCol: {
|
|
@@ -1711,25 +1681,25 @@ var ModalForm = function (_super) {
|
|
|
1711
1681
|
required: true,
|
|
1712
1682
|
message: '请输入随访人!'
|
|
1713
1683
|
}]
|
|
1714
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1684
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1715
1685
|
placeholder: ""
|
|
1716
|
-
})))),
|
|
1686
|
+
})))), get(followUpData12, 'followUpState') && get(followUpData12, 'followUpState') != '未到' ? (/*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1717
1687
|
span: 6
|
|
1718
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1688
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
1719
1689
|
style: {
|
|
1720
1690
|
marginLeft: '29%'
|
|
1721
1691
|
},
|
|
1722
1692
|
size: 'large',
|
|
1723
1693
|
onClick: _this.handleBtnClick
|
|
1724
|
-
}, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible12 && /*#__PURE__*/React$1.createElement(Table, {
|
|
1725
|
-
dataSource:
|
|
1694
|
+
}, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible12 && (/*#__PURE__*/React$1.createElement(Table, {
|
|
1695
|
+
dataSource: get(followUpData12, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
|
|
1726
1696
|
columns: historyTableColumns,
|
|
1727
1697
|
bordered: true,
|
|
1728
1698
|
pagination: false,
|
|
1729
1699
|
style: {
|
|
1730
1700
|
marginTop: 16
|
|
1731
1701
|
}
|
|
1732
|
-
}))));
|
|
1702
|
+
})))));
|
|
1733
1703
|
};
|
|
1734
1704
|
_this.renderImg = function (text) {
|
|
1735
1705
|
if (text === '待随访') {
|
|
@@ -1764,29 +1734,29 @@ var ModalForm = function (_super) {
|
|
|
1764
1734
|
followUpData6 = {};
|
|
1765
1735
|
followUpData12 = {};
|
|
1766
1736
|
totalData = {};
|
|
1767
|
-
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckPacTrackingFileById?id.equals=".concat(
|
|
1737
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckPacTrackingFileById?id.equals=".concat(get(currentRecord, 'id')))];
|
|
1768
1738
|
case 1:
|
|
1769
1739
|
_res = _f.sent();
|
|
1770
1740
|
res = _res.data;
|
|
1771
|
-
totalData =
|
|
1772
|
-
if (
|
|
1773
|
-
earlyPregnancyCheckPacTrackingFollowUpRecords =
|
|
1741
|
+
totalData = get(res, 'data');
|
|
1742
|
+
if (get(res, 'data.earlyPregnancyCheckPacTrackingFollowUpRecordVMS')) {
|
|
1743
|
+
earlyPregnancyCheckPacTrackingFollowUpRecords = get(res, 'data.earlyPregnancyCheckPacTrackingFollowUpRecordVMS');
|
|
1774
1744
|
}
|
|
1775
|
-
if (!
|
|
1776
|
-
|
|
1777
|
-
if (
|
|
1745
|
+
if (!isEmpty(earlyPregnancyCheckPacTrackingFollowUpRecords)) {
|
|
1746
|
+
map(earlyPregnancyCheckPacTrackingFollowUpRecords, function (item, key) {
|
|
1747
|
+
if (get(item, 'followUpType') === 0) {
|
|
1778
1748
|
followUpData0 = item;
|
|
1779
1749
|
}
|
|
1780
|
-
if (
|
|
1750
|
+
if (get(item, 'followUpType') === 1) {
|
|
1781
1751
|
followUpData1 = item;
|
|
1782
1752
|
}
|
|
1783
|
-
if (
|
|
1753
|
+
if (get(item, 'followUpType') === 3) {
|
|
1784
1754
|
followUpData3 = item;
|
|
1785
1755
|
}
|
|
1786
|
-
if (
|
|
1756
|
+
if (get(item, 'followUpType') === 6) {
|
|
1787
1757
|
followUpData6 = item;
|
|
1788
1758
|
}
|
|
1789
|
-
if (
|
|
1759
|
+
if (get(item, 'followUpType') === 12) {
|
|
1790
1760
|
followUpData12 = item;
|
|
1791
1761
|
}
|
|
1792
1762
|
});
|
|
@@ -1826,29 +1796,29 @@ var ModalForm = function (_super) {
|
|
|
1826
1796
|
followUpData6 = _b.followUpData6,
|
|
1827
1797
|
followUpData12 = _b.followUpData12,
|
|
1828
1798
|
totalData = _b.totalData;
|
|
1829
|
-
return /*#__PURE__*/React$1.createElement(
|
|
1799
|
+
return /*#__PURE__*/React$1.createElement(Modal, {
|
|
1830
1800
|
title: "PAC\u8FFD\u8E2A\u7BA1\u7406",
|
|
1831
1801
|
width: 1200,
|
|
1832
1802
|
onOk: function onOk() {
|
|
1833
1803
|
_this.handleSubmit(0);
|
|
1834
1804
|
},
|
|
1835
1805
|
wrapClassName: "tracing-modal",
|
|
1836
|
-
|
|
1806
|
+
open: visible,
|
|
1837
1807
|
onCancel: onCancel,
|
|
1838
|
-
footer: [/*#__PURE__*/React$1.createElement(
|
|
1808
|
+
footer: [/*#__PURE__*/React$1.createElement(Popconfirm, {
|
|
1839
1809
|
title: "\u6807\u8BB0\u5931\u8BBF\u540E\u5C06\u4E0D\u518D\u8FFD\u8E2A\u540E\u7EED\u968F\u8BBF\uFF0C\u662F\u5426\u786E\u5B9A\u6807\u8BB0",
|
|
1840
1810
|
onConfirm: function onConfirm() {
|
|
1841
1811
|
_this.handleSubmit(1);
|
|
1842
1812
|
},
|
|
1843
1813
|
okText: "\u786E\u5B9A",
|
|
1844
1814
|
cancelText: "\u53D6\u6D88"
|
|
1845
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1815
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
1846
1816
|
key: "back",
|
|
1847
1817
|
danger: true
|
|
1848
|
-
}, "\u6807\u8BB0\u5931\u8BBF")), /*#__PURE__*/React$1.createElement(
|
|
1818
|
+
}, "\u6807\u8BB0\u5931\u8BBF")), /*#__PURE__*/React$1.createElement(Button, {
|
|
1849
1819
|
key: "cancel",
|
|
1850
1820
|
onClick: onCancel
|
|
1851
|
-
}, "\u5173\u95ED"), /*#__PURE__*/React$1.createElement(
|
|
1821
|
+
}, "\u5173\u95ED"), /*#__PURE__*/React$1.createElement(Button, {
|
|
1852
1822
|
key: "submit",
|
|
1853
1823
|
type: "primary",
|
|
1854
1824
|
onClick: function onClick() {
|
|
@@ -1860,32 +1830,32 @@ var ModalForm = function (_super) {
|
|
|
1860
1830
|
style: {
|
|
1861
1831
|
padding: 12
|
|
1862
1832
|
}
|
|
1863
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1833
|
+
}, /*#__PURE__*/React$1.createElement(Row, {
|
|
1864
1834
|
style: {
|
|
1865
1835
|
marginBottom: 8
|
|
1866
1836
|
}
|
|
1867
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1837
|
+
}, /*#__PURE__*/React$1.createElement(Col, {
|
|
1868
1838
|
span: 8
|
|
1869
|
-
}, "\u60A3\u8005\u59D3\u540D\uFF1A",
|
|
1839
|
+
}, "\u60A3\u8005\u59D3\u540D\uFF1A", get(totalData, 'name')), /*#__PURE__*/React$1.createElement(Col, {
|
|
1870
1840
|
span: 8
|
|
1871
|
-
}, "\u5E74\u9F84\uFF1A",
|
|
1841
|
+
}, "\u5E74\u9F84\uFF1A", get(totalData, 'age')), /*#__PURE__*/React$1.createElement(Col, {
|
|
1872
1842
|
span: 8
|
|
1873
|
-
}, "\u624B\u673A\u53F7\u7801: ",
|
|
1843
|
+
}, "\u624B\u673A\u53F7\u7801: ", get(totalData, 'telephone'))), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1874
1844
|
span: 8
|
|
1875
|
-
}, "\u624B\u672F\u65E5\u671F\uFF1A",
|
|
1845
|
+
}, "\u624B\u672F\u65E5\u671F\uFF1A", get(totalData, 'surgeryDate')), /*#__PURE__*/React$1.createElement(Col, {
|
|
1876
1846
|
span: 8
|
|
1877
|
-
}, "\u624B\u672F\u7C7B\u578B: ",
|
|
1847
|
+
}, "\u624B\u672F\u7C7B\u578B: ", get(totalData, 'surgeryType')), /*#__PURE__*/React$1.createElement(Col, {
|
|
1878
1848
|
span: 8
|
|
1879
|
-
}, "\u624B\u672F\u533B\u751F: ",
|
|
1849
|
+
}, "\u624B\u672F\u533B\u751F: ", get(totalData, 'surgeryDoctor')))), /*#__PURE__*/React$1.createElement(Tabs, {
|
|
1880
1850
|
defaultActiveKey: "0",
|
|
1881
1851
|
onChange: this.handleTabChange,
|
|
1882
1852
|
type: "card"
|
|
1883
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1853
|
+
}, /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
1884
1854
|
tab: /*#__PURE__*/React$1.createElement("span", {
|
|
1885
1855
|
className: "tabTitle"
|
|
1886
1856
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
1887
1857
|
className: "tabTitle-img"
|
|
1888
|
-
}, this.renderImg(
|
|
1858
|
+
}, this.renderImg(get(followUpData0, 'followUpState'))), /*#__PURE__*/React$1.createElement("span", {
|
|
1889
1859
|
style: {
|
|
1890
1860
|
display: 'inline-block',
|
|
1891
1861
|
verticalAlign: 'middle',
|
|
@@ -1894,12 +1864,12 @@ var ModalForm = function (_super) {
|
|
|
1894
1864
|
}, "\u9996\u6B21\u968F\u8BBF")),
|
|
1895
1865
|
key: "0",
|
|
1896
1866
|
forceRender: true
|
|
1897
|
-
}, this.renderForm0()), /*#__PURE__*/React$1.createElement(
|
|
1867
|
+
}, this.renderForm0()), /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
1898
1868
|
tab: /*#__PURE__*/React$1.createElement("span", {
|
|
1899
1869
|
className: "tabTitle"
|
|
1900
1870
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
1901
1871
|
className: "tabTitle-img"
|
|
1902
|
-
}, this.renderImg(
|
|
1872
|
+
}, this.renderImg(get(followUpData1, 'followUpState'))), /*#__PURE__*/React$1.createElement("span", {
|
|
1903
1873
|
style: {
|
|
1904
1874
|
display: 'inline-block',
|
|
1905
1875
|
verticalAlign: 'middle',
|
|
@@ -1908,12 +1878,12 @@ var ModalForm = function (_super) {
|
|
|
1908
1878
|
}, "1\u4E2A\u6708\u968F\u8BBF")),
|
|
1909
1879
|
key: "1",
|
|
1910
1880
|
forceRender: true
|
|
1911
|
-
}, this.renderForm1()), /*#__PURE__*/React$1.createElement(
|
|
1881
|
+
}, this.renderForm1()), /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
1912
1882
|
tab: /*#__PURE__*/React$1.createElement("span", {
|
|
1913
1883
|
className: "tabTitle"
|
|
1914
1884
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
1915
1885
|
className: "tabTitle-img"
|
|
1916
|
-
}, this.renderImg(
|
|
1886
|
+
}, this.renderImg(get(followUpData3, 'followUpState'))), /*#__PURE__*/React$1.createElement("span", {
|
|
1917
1887
|
style: {
|
|
1918
1888
|
display: 'inline-block',
|
|
1919
1889
|
verticalAlign: 'middle',
|
|
@@ -1922,12 +1892,12 @@ var ModalForm = function (_super) {
|
|
|
1922
1892
|
}, "3\u4E2A\u6708\u968F\u8BBF")),
|
|
1923
1893
|
key: "3",
|
|
1924
1894
|
forceRender: true
|
|
1925
|
-
}, this.renderForm3()), /*#__PURE__*/React$1.createElement(
|
|
1895
|
+
}, this.renderForm3()), /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
1926
1896
|
tab: /*#__PURE__*/React$1.createElement("span", {
|
|
1927
1897
|
className: "tabTitle"
|
|
1928
1898
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
1929
1899
|
className: "tabTitle-img"
|
|
1930
|
-
}, this.renderImg(
|
|
1900
|
+
}, this.renderImg(get(followUpData6, 'followUpState'))), /*#__PURE__*/React$1.createElement("span", {
|
|
1931
1901
|
style: {
|
|
1932
1902
|
display: 'inline-block',
|
|
1933
1903
|
verticalAlign: 'middle',
|
|
@@ -1936,12 +1906,12 @@ var ModalForm = function (_super) {
|
|
|
1936
1906
|
}, "6\u4E2A\u6708\u968F\u8BBF")),
|
|
1937
1907
|
key: "6",
|
|
1938
1908
|
forceRender: true
|
|
1939
|
-
}, this.renderForm6()), /*#__PURE__*/React$1.createElement(
|
|
1909
|
+
}, this.renderForm6()), /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
1940
1910
|
tab: /*#__PURE__*/React$1.createElement("span", {
|
|
1941
1911
|
className: "tabTitle"
|
|
1942
1912
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
1943
1913
|
className: "tabTitle-img"
|
|
1944
|
-
}, this.renderImg(
|
|
1914
|
+
}, this.renderImg(get(followUpData12, 'followUpState'))), /*#__PURE__*/React$1.createElement("span", {
|
|
1945
1915
|
style: {
|
|
1946
1916
|
display: 'inline-block',
|
|
1947
1917
|
verticalAlign: 'middle',
|
|
@@ -1972,7 +1942,7 @@ var List$3 = function (_super) {
|
|
|
1972
1942
|
width: 100,
|
|
1973
1943
|
align: 'center',
|
|
1974
1944
|
render: function render(value, rowData, index) {
|
|
1975
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(
|
|
1945
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Button, {
|
|
1976
1946
|
type: "link",
|
|
1977
1947
|
size: "small",
|
|
1978
1948
|
icon: /*#__PURE__*/React$1.createElement(EyeOutlined, {
|
|
@@ -2002,8 +1972,8 @@ var List$3 = function (_super) {
|
|
|
2002
1972
|
if (!baseUrl) {
|
|
2003
1973
|
return [2];
|
|
2004
1974
|
}
|
|
2005
|
-
if (!
|
|
2006
|
-
|
|
1975
|
+
if (!isNil(editKey)) {
|
|
1976
|
+
message.error('请保存未保存的记录');
|
|
2007
1977
|
return [2];
|
|
2008
1978
|
}
|
|
2009
1979
|
this.setState({
|
|
@@ -2018,7 +1988,7 @@ var List$3 = function (_super) {
|
|
|
2018
1988
|
case 1:
|
|
2019
1989
|
_res = _b.sent();
|
|
2020
1990
|
res = _res.data;
|
|
2021
|
-
if (
|
|
1991
|
+
if (isArray(res.data.pageData)) {
|
|
2022
1992
|
dataSource = res.data.pageData;
|
|
2023
1993
|
}
|
|
2024
1994
|
if (!isNaN(Number(res.data.totalElements))) {
|
|
@@ -2043,7 +2013,7 @@ var List$3 = function (_super) {
|
|
|
2043
2013
|
editable = _b.editable,
|
|
2044
2014
|
id = _b.id,
|
|
2045
2015
|
currentRecord = _b.currentRecord;
|
|
2046
|
-
return visible && /*#__PURE__*/React$1.createElement(ModalForm, {
|
|
2016
|
+
return visible && (/*#__PURE__*/React$1.createElement(ModalForm, {
|
|
2047
2017
|
visible: visible,
|
|
2048
2018
|
editable: editable,
|
|
2049
2019
|
id: id,
|
|
@@ -2051,7 +2021,7 @@ var List$3 = function (_super) {
|
|
|
2051
2021
|
onCancel: _this.handleCancel,
|
|
2052
2022
|
onSearch: _this.handleSearch,
|
|
2053
2023
|
reload: reload
|
|
2054
|
-
});
|
|
2024
|
+
}));
|
|
2055
2025
|
};
|
|
2056
2026
|
return _this;
|
|
2057
2027
|
}
|
|
@@ -2167,10 +2137,10 @@ var Query$1 = function (_super) {
|
|
|
2167
2137
|
queryFormDescriptions: queryFormDescriptions$1
|
|
2168
2138
|
};
|
|
2169
2139
|
_this.renderBtn = function () {
|
|
2170
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(
|
|
2140
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Button, {
|
|
2171
2141
|
icon: /*#__PURE__*/React$1.createElement(RedoOutlined, null),
|
|
2172
2142
|
onClick: _this.handleReset
|
|
2173
|
-
}, "\u91CD\u7F6E"), /*#__PURE__*/React$1.createElement(
|
|
2143
|
+
}, "\u91CD\u7F6E"), /*#__PURE__*/React$1.createElement(Button, {
|
|
2174
2144
|
type: "primary",
|
|
2175
2145
|
icon: /*#__PURE__*/React$1.createElement(SearchOutlined, null),
|
|
2176
2146
|
htmlType: "submit"
|
|
@@ -2250,13 +2220,13 @@ var tableColumns = [{
|
|
|
2250
2220
|
align: 'center',
|
|
2251
2221
|
render: function render(text) {
|
|
2252
2222
|
if (text === '正常') {
|
|
2253
|
-
return
|
|
2223
|
+
return React.createElement("span", {
|
|
2254
2224
|
style: {
|
|
2255
2225
|
color: '#21AC8D'
|
|
2256
2226
|
}
|
|
2257
2227
|
}, text);
|
|
2258
2228
|
} else {
|
|
2259
|
-
return
|
|
2229
|
+
return React.createElement("span", {
|
|
2260
2230
|
style: {
|
|
2261
2231
|
color: '#FD617F'
|
|
2262
2232
|
}
|
|
@@ -2297,8 +2267,8 @@ var List$2 = function (_super) {
|
|
|
2297
2267
|
if (!baseUrl) {
|
|
2298
2268
|
return [2];
|
|
2299
2269
|
}
|
|
2300
|
-
if (!
|
|
2301
|
-
|
|
2270
|
+
if (!isNil(editKey)) {
|
|
2271
|
+
message.error('请保存未保存的记录');
|
|
2302
2272
|
return [2];
|
|
2303
2273
|
}
|
|
2304
2274
|
this.setState({
|
|
@@ -2307,13 +2277,13 @@ var List$2 = function (_super) {
|
|
|
2307
2277
|
dataSource = [];
|
|
2308
2278
|
total = 0;
|
|
2309
2279
|
query = this.formatQuery(defaultQuery);
|
|
2310
|
-
if (!
|
|
2280
|
+
if (!get(query, 'followUpSituation.equals')) return [3, 2];
|
|
2311
2281
|
return [4, fubaoRequest.get("".concat(baseUrl), {
|
|
2312
2282
|
params: query
|
|
2313
2283
|
})];
|
|
2314
2284
|
case 1:
|
|
2315
2285
|
res = _b.sent().data;
|
|
2316
|
-
if (
|
|
2286
|
+
if (isArray(res.data.pageData)) {
|
|
2317
2287
|
dataSource = res.data.pageData;
|
|
2318
2288
|
}
|
|
2319
2289
|
if (!isNaN(Number(res.data.totalElements))) {
|
|
@@ -2444,10 +2414,10 @@ var Query = function (_super) {
|
|
|
2444
2414
|
queryFormDescriptions: queryFormDescriptions
|
|
2445
2415
|
};
|
|
2446
2416
|
_this.renderBtn = function () {
|
|
2447
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(
|
|
2417
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Button, {
|
|
2448
2418
|
icon: /*#__PURE__*/React$1.createElement(RedoOutlined, null),
|
|
2449
2419
|
onClick: _this.handleReset
|
|
2450
|
-
}, "\u91CD\u7F6E"), /*#__PURE__*/React$1.createElement(
|
|
2420
|
+
}, "\u91CD\u7F6E"), /*#__PURE__*/React$1.createElement(Button, {
|
|
2451
2421
|
type: "primary",
|
|
2452
2422
|
icon: /*#__PURE__*/React$1.createElement(SearchOutlined, null),
|
|
2453
2423
|
htmlType: "submit"
|
|
@@ -2476,7 +2446,7 @@ var List$1 = function (_super) {
|
|
|
2476
2446
|
width: 100,
|
|
2477
2447
|
align: 'center',
|
|
2478
2448
|
render: function render(value, rowData, index) {
|
|
2479
|
-
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(
|
|
2449
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Button, {
|
|
2480
2450
|
type: "link",
|
|
2481
2451
|
size: "small",
|
|
2482
2452
|
icon: /*#__PURE__*/React$1.createElement(EyeOutlined, {
|
|
@@ -2506,8 +2476,8 @@ var List$1 = function (_super) {
|
|
|
2506
2476
|
if (!baseUrl) {
|
|
2507
2477
|
return [2];
|
|
2508
2478
|
}
|
|
2509
|
-
if (!
|
|
2510
|
-
|
|
2479
|
+
if (!isNil(editKey)) {
|
|
2480
|
+
message.error('请保存未保存的记录');
|
|
2511
2481
|
return [2];
|
|
2512
2482
|
}
|
|
2513
2483
|
this.setState({
|
|
@@ -2516,14 +2486,14 @@ var List$1 = function (_super) {
|
|
|
2516
2486
|
dataSource = [];
|
|
2517
2487
|
total = 0;
|
|
2518
2488
|
query = this.formatQuery(defaultQuery);
|
|
2519
|
-
if (!(
|
|
2489
|
+
if (!(get(query, 'followUpSituation.equals') === 0)) return [3, 2];
|
|
2520
2490
|
return [4, fubaoRequest.get("".concat(baseUrl), {
|
|
2521
2491
|
params: query
|
|
2522
2492
|
})];
|
|
2523
2493
|
case 1:
|
|
2524
2494
|
_res = _b.sent();
|
|
2525
2495
|
res = _res.data;
|
|
2526
|
-
if (
|
|
2496
|
+
if (isArray(res.data.pageData)) {
|
|
2527
2497
|
dataSource = res.data.pageData;
|
|
2528
2498
|
}
|
|
2529
2499
|
if (!isNaN(Number(res.data.totalElements))) {
|
|
@@ -2550,7 +2520,7 @@ var List$1 = function (_super) {
|
|
|
2550
2520
|
editable = _b.editable,
|
|
2551
2521
|
id = _b.id,
|
|
2552
2522
|
currentRecord = _b.currentRecord;
|
|
2553
|
-
return visible && /*#__PURE__*/React$1.createElement(ModalForm, {
|
|
2523
|
+
return visible && (/*#__PURE__*/React$1.createElement(ModalForm, {
|
|
2554
2524
|
visible: visible,
|
|
2555
2525
|
editable: editable,
|
|
2556
2526
|
id: id,
|
|
@@ -2558,7 +2528,7 @@ var List$1 = function (_super) {
|
|
|
2558
2528
|
onCancel: _this.handleCancel,
|
|
2559
2529
|
onSearch: _this.handleSearch,
|
|
2560
2530
|
reload: reload
|
|
2561
|
-
});
|
|
2531
|
+
}));
|
|
2562
2532
|
};
|
|
2563
2533
|
return _this;
|
|
2564
2534
|
}
|
|
@@ -2626,17 +2596,17 @@ var BedManagement = function (_super) {
|
|
|
2626
2596
|
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckPacTrackingFileTodayAlready?deleteFlag.equals=0")];
|
|
2627
2597
|
case 4:
|
|
2628
2598
|
statisticsData = _a.sent().data;
|
|
2629
|
-
if (!
|
|
2599
|
+
if (!isNaN$1(Number(dataSource1.data.totalElements))) {
|
|
2630
2600
|
toBeFollowedUp = Number(dataSource1.data.totalElements);
|
|
2631
2601
|
}
|
|
2632
|
-
if (!
|
|
2602
|
+
if (!isNaN$1(Number(dataSource2.data.totalElements))) {
|
|
2633
2603
|
followedUp = Number(dataSource2.data.totalElements);
|
|
2634
2604
|
}
|
|
2635
|
-
if (!
|
|
2605
|
+
if (!isNaN$1(Number(dataSource3.data.totalElements))) {
|
|
2636
2606
|
allFollowedUp = Number(dataSource3.data.totalElements);
|
|
2637
2607
|
}
|
|
2638
|
-
if (
|
|
2639
|
-
statisticsData =
|
|
2608
|
+
if (get(statisticsData, 'data')) {
|
|
2609
|
+
statisticsData = get(statisticsData, 'data');
|
|
2640
2610
|
}
|
|
2641
2611
|
this.setState({
|
|
2642
2612
|
statisticsData: statisticsData,
|
|
@@ -2673,11 +2643,11 @@ var BedManagement = function (_super) {
|
|
|
2673
2643
|
activeKey = _a.activeKey;
|
|
2674
2644
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
2675
2645
|
className: "tracing-mamagement"
|
|
2676
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2646
|
+
}, /*#__PURE__*/React$1.createElement(Tabs, {
|
|
2677
2647
|
defaultActiveKey: "1",
|
|
2678
2648
|
centered: true,
|
|
2679
2649
|
onChange: this.onChange
|
|
2680
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2650
|
+
}, /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
2681
2651
|
tab: /*#__PURE__*/React$1.createElement("span", {
|
|
2682
2652
|
className: "tabTitle"
|
|
2683
2653
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
@@ -2691,7 +2661,7 @@ var BedManagement = function (_super) {
|
|
|
2691
2661
|
className: "tab1"
|
|
2692
2662
|
}, activeKey === '1' ? /*#__PURE__*/React$1.createElement(List$1, {
|
|
2693
2663
|
reload: this.handleInit
|
|
2694
|
-
}) : /*#__PURE__*/React$1.createElement("div", null)), /*#__PURE__*/React$1.createElement(
|
|
2664
|
+
}) : /*#__PURE__*/React$1.createElement("div", null)), /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
2695
2665
|
tab: /*#__PURE__*/React$1.createElement("span", {
|
|
2696
2666
|
className: "tabTitle"
|
|
2697
2667
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
@@ -2711,27 +2681,27 @@ var BedManagement = function (_super) {
|
|
|
2711
2681
|
className: "title"
|
|
2712
2682
|
}, "\u968F\u8BBF\u60C5\u51B5-\u6B63\u5E38"), /*#__PURE__*/React$1.createElement("div", {
|
|
2713
2683
|
className: "num"
|
|
2714
|
-
},
|
|
2684
|
+
}, get(statisticsData, 'normal'), " \u4EBA")), /*#__PURE__*/React$1.createElement("div", {
|
|
2715
2685
|
className: "item"
|
|
2716
2686
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
2717
2687
|
className: "title"
|
|
2718
2688
|
}, "\u968F\u8BBF\u60C5\u51B5-\u672A\u63A5\u542C"), /*#__PURE__*/React$1.createElement("div", {
|
|
2719
2689
|
className: "num"
|
|
2720
|
-
},
|
|
2690
|
+
}, get(statisticsData, 'notAnswer'), " \u4EBA")), /*#__PURE__*/React$1.createElement("div", {
|
|
2721
2691
|
className: "item"
|
|
2722
2692
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
2723
2693
|
className: "title"
|
|
2724
2694
|
}, "\u968F\u8BBF\u60C5\u51B5-\u53F7\u7801\u9519\u8BEF"), /*#__PURE__*/React$1.createElement("div", {
|
|
2725
2695
|
className: "num"
|
|
2726
|
-
},
|
|
2696
|
+
}, get(statisticsData, 'wrongNumber'), " \u4EBA")), /*#__PURE__*/React$1.createElement("div", {
|
|
2727
2697
|
className: "item"
|
|
2728
2698
|
}, /*#__PURE__*/React$1.createElement("div", {
|
|
2729
2699
|
className: "title"
|
|
2730
2700
|
}, "\u968F\u8BBF\u60C5\u51B5-\u5931\u8BBF"), /*#__PURE__*/React$1.createElement("div", {
|
|
2731
2701
|
className: "num"
|
|
2732
|
-
},
|
|
2702
|
+
}, get(statisticsData, 'loseTrack'), " \u4EBA"))), activeKey === '2' ? /*#__PURE__*/React$1.createElement(List$2, {
|
|
2733
2703
|
reload: this.handleInit
|
|
2734
|
-
}) : /*#__PURE__*/React$1.createElement("div", null)), /*#__PURE__*/React$1.createElement(
|
|
2704
|
+
}) : /*#__PURE__*/React$1.createElement("div", null)), /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
2735
2705
|
tab: /*#__PURE__*/React$1.createElement("span", {
|
|
2736
2706
|
className: "tabTitle"
|
|
2737
2707
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
@@ -2750,4 +2720,3 @@ var BedManagement = function (_super) {
|
|
|
2750
2720
|
}(Component);
|
|
2751
2721
|
var List = BedManagement;
|
|
2752
2722
|
export { List as default };
|
|
2753
|
-
//# sourceMappingURL=.root13.js.map
|