@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.
Files changed (208) hide show
  1. package/README.md +5 -3
  2. package/dist/a_chunks/{.root55.js → CervicalCarcinoma.Screening.form.js} +1 -8
  3. package/dist/a_chunks/{.root57.js → CervicalCarcinoma.Screening.form2.js} +0 -7
  4. package/dist/a_chunks/Form.js +3 -5
  5. package/dist/a_chunks/{.root56.js → MammaryCancer.Screening.form.js} +4 -28
  6. package/dist/a_chunks/{.root58.js → MammaryCancer.Screening.form2.js} +0 -1
  7. package/dist/a_chunks/ModalForm.js +254 -280
  8. package/dist/a_chunks/api.js +311 -325
  9. package/dist/a_chunks/common.js +0 -1
  10. package/dist/a_chunks/config.js +135 -164
  11. package/dist/a_chunks/{.root.js → family-planning.file-management.doctor-desk.js} +241 -281
  12. package/dist/a_chunks/family-planning.file-management.doctor-desk2.js +18 -0
  13. package/dist/a_chunks/{.root9.js → family-planning.file-management.list.js} +16 -26
  14. package/dist/a_chunks/{.root2.js → family-planning.file-management.nurse-desk.js} +22 -30
  15. package/dist/a_chunks/{.root13.js → family-planning.tracing-management.list.js} +300 -331
  16. package/dist/a_chunks/folic-acid.file-management.add.js +12 -0
  17. package/dist/a_chunks/folic-acid.file-management.edit.js +12 -0
  18. package/dist/a_chunks/{.root16.js → folic-acid.file-management.list.js} +4 -6
  19. package/dist/a_chunks/{.root17.js → follow-up.positive.premarital.js} +11 -2
  20. package/dist/a_chunks/{.root18.js → follow-up.positive.progestation.js} +10 -1
  21. package/dist/a_chunks/form_config.js +11 -130
  22. package/dist/a_chunks/{.root3.js → fubao.data-report.breast-cancer.js} +4 -6
  23. package/dist/a_chunks/{.root4.js → fubao.data-report.cervical-cancer.js} +4 -6
  24. package/dist/a_chunks/{.root5.js → fubao.family-planning.booking-management.js} +3 -3
  25. package/dist/a_chunks/{.root52.js → fubao.family-planning.booking-management2.js} +167 -219
  26. package/dist/a_chunks/{.root6.js → fubao.family-planning.curettage-statistics.js} +6 -9
  27. package/dist/a_chunks/fubao.family-planning.file-management.js +9 -0
  28. package/dist/a_chunks/{.root10.js → fubao.family-planning.surgery-management.js} +9 -15
  29. package/dist/a_chunks/{.root11.js → fubao.family-planning.surgery-scheduling.js} +210 -244
  30. package/dist/a_chunks/fubao.family-planning.tracing-management.js +14 -0
  31. package/dist/a_chunks/{.root28.js → fubao.gynecological-diseases.pathological-follow-up.js} +11 -15
  32. package/dist/a_chunks/{.root29.js → fubao.gynecological-diseases.pathological-reminder.js} +11 -15
  33. package/dist/a_chunks/fubao.gynecological-diseases.two-cancers.js +141 -0
  34. package/dist/a_chunks/fubao.pre-pregnancy-care.file-management.js +492 -0
  35. package/dist/a_chunks/{.root44.js → fubao.premarital-care.file-management.js} +13 -19
  36. package/dist/a_chunks/{.root47.js → fubao.report-entry.patients.js} +5 -8
  37. package/dist/a_chunks/{.root63.js → fubao.report-entry.patients2.js} +1 -2
  38. package/dist/a_chunks/{.root40.js → fubao.report-entry.reports.js} +3 -3
  39. package/dist/a_chunks/{.root62.js → fubao.report-entry.reports2.js} +64 -65
  40. package/dist/a_chunks/{.root64.js → fubao.report-entry.reports3.js} +0 -1
  41. package/dist/a_chunks/{.root65.js → fubao.report-entry.reports4.js} +0 -1
  42. package/dist/a_chunks/fubao.statistic.abnormal-breast-cancer.js +97 -0
  43. package/dist/a_chunks/fubao.statistic.abnormal-cervical-cancer.js +94 -0
  44. package/dist/a_chunks/{.root48.js → fubao.statistic.breast-cancer.js} +0 -1
  45. package/dist/a_chunks/{.root49.js → fubao.statistic.cervical-cancer.js} +0 -1
  46. package/dist/a_chunks/fubao.statistic.premarital-checkup.js +120 -0
  47. package/dist/a_chunks/fubao.statistic.progestation-checkup.js +89 -0
  48. package/dist/a_chunks/{.root19.js → gynecological-diseases.adolescent-management.list.js} +16 -27
  49. package/dist/a_chunks/gynecological-diseases.breast.edit.js +121 -0
  50. package/dist/a_chunks/{.root21.js → gynecological-diseases.breast.list.js} +16 -18
  51. package/dist/a_chunks/{.root24.js → gynecological-diseases.cervical-cancer-report.list.js} +10 -14
  52. package/dist/a_chunks/gynecological-diseases.cervical.edit.js +121 -0
  53. package/dist/a_chunks/{.root23.js → gynecological-diseases.cervical.list.js} +16 -18
  54. package/dist/a_chunks/{.root25.js → gynecological-diseases.hpv-report.list.js} +10 -14
  55. package/dist/a_chunks/{.root26.js → gynecological-diseases.mammary-cancer-report.list.js} +10 -14
  56. package/dist/a_chunks/{.root27.js → gynecological-diseases.menopause-management.list.js} +16 -27
  57. package/dist/a_chunks/{.root30.js → gynecological-diseases.regular-screening.list.js} +9 -14
  58. package/dist/a_chunks/gynecological-diseases.two-cancers.add.js +12 -0
  59. package/dist/a_chunks/{.root32.js → gynecological-diseases.two-cancers.edit.js} +11 -19
  60. package/dist/a_chunks/{.root33.js → gynecological-diseases.two-cancers.exam.js} +309 -336
  61. package/dist/a_chunks/{.root34.js → gynecological-diseases.two-cancers.followup.js} +1 -2
  62. package/dist/a_chunks/index.js +43 -57
  63. package/dist/a_chunks/index2.js +148 -64
  64. package/dist/a_chunks/index3.js +131 -1151
  65. package/dist/a_chunks/index4.js +57 -1040
  66. package/dist/a_chunks/index5.js +140 -0
  67. package/dist/a_chunks/index6.js +1169 -0
  68. package/dist/a_chunks/index7.js +1006 -0
  69. package/dist/a_chunks/{.root61.js → pages.fubao.premarital-care.js} +4 -5
  70. package/dist/a_chunks/pages.fubao.premarital-care2.js +114 -0
  71. package/dist/a_chunks/pages.fubao.premarital-care3.js +132 -0
  72. package/dist/a_chunks/pre-pregnancy-care.file-management.add.js +12 -0
  73. package/dist/a_chunks/pre-pregnancy-care.file-management.edit.js +199 -0
  74. package/dist/a_chunks/pre-pregnancy-care.file-management.edit2.js +830 -0
  75. package/dist/a_chunks/{.root39.js → pre-pregnancy-care.husband.husband-exam.js} +57 -84
  76. package/dist/a_chunks/{.root41.js → pre-pregnancy-care.wife.wife-exam.js} +57 -84
  77. package/dist/a_chunks/premarital-care.file-management.add.js +12 -0
  78. package/dist/a_chunks/{.root59.js → premarital-care.file-management.config.js} +10 -11
  79. package/dist/a_chunks/{.root60.js → premarital-care.file-management.config2.js} +0 -1
  80. package/dist/a_chunks/premarital-care.file-management.edit.js +199 -0
  81. package/dist/a_chunks/premarital-care.file-management.edit2.js +817 -0
  82. package/dist/a_chunks/{.root45.js → premarital-care.husband-v2.husband-exam.js} +56 -83
  83. package/dist/a_chunks/{.root46.js → premarital-care.wife-v2.wife-exam.js} +56 -83
  84. package/dist/a_chunks/style-inject.es.js +0 -1
  85. package/dist/a_chunks/tslib.es6.js +1 -2
  86. package/dist/a_chunks/{.root53.js → two-cancers.edit.form_config.js} +1 -2
  87. package/dist/a_chunks/{.root54.js → two-cancers.edit.form_config2.js} +4 -5
  88. package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js +0 -1
  89. package/dist/index.js +59 -54
  90. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Curettage/index.d.ts +1 -1
  91. package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/VideoReport/method.d.ts +1 -1
  92. package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/config/table.d.ts +2 -1
  93. package/dist/pages/fubao/gynecological-diseases/pathological-reminder/config/table.d.ts +2 -1
  94. 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
  95. package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/form_config.d.ts +2 -1
  96. package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index copy.d.ts +18 -0
  97. package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index.d.ts +3 -18
  98. package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/form_config_nv.d.ts +4 -0
  99. package/dist/pages/fubao/premarital-care/file-management/edit/form_config.d.ts +2 -1
  100. package/dist/pages/fubao/premarital-care/file-management/edit/index copy 2.d.ts +17 -0
  101. package/dist/pages/fubao/premarital-care/file-management/edit/index.d.ts +3 -17
  102. package/dist/pages/fubao/statistic/abnormal-breast-cancer/index.d.ts +2 -0
  103. package/dist/pages/fubao/statistic/abnormal-cervical-cancer/index.d.ts +2 -0
  104. package/dist/pages/fubao/statistic/premarital-checkup/./345/251/232/346/243/200/351/232/217/350/256/277/index.d.ts +1 -1
  105. package/dist/pages/fubao/statistic/progestation-checkup/./345/255/225/346/243/200/351/232/217/350/256/277/index.d.ts +1 -1
  106. package/dist/routes/index.d.ts +2 -0
  107. package/dist/routes/meta.d.ts +2 -0
  108. package/package.json +19 -14
  109. package/dist/a_chunks/.root.js.map +0 -1
  110. package/dist/a_chunks/.root10.js.map +0 -1
  111. package/dist/a_chunks/.root11.js.map +0 -1
  112. package/dist/a_chunks/.root12.js +0 -45
  113. package/dist/a_chunks/.root12.js.map +0 -1
  114. package/dist/a_chunks/.root13.js.map +0 -1
  115. package/dist/a_chunks/.root14.js +0 -26
  116. package/dist/a_chunks/.root14.js.map +0 -1
  117. package/dist/a_chunks/.root15.js +0 -26
  118. package/dist/a_chunks/.root15.js.map +0 -1
  119. package/dist/a_chunks/.root16.js.map +0 -1
  120. package/dist/a_chunks/.root17.js.map +0 -1
  121. package/dist/a_chunks/.root18.js.map +0 -1
  122. package/dist/a_chunks/.root19.js.map +0 -1
  123. package/dist/a_chunks/.root2.js.map +0 -1
  124. package/dist/a_chunks/.root20.js +0 -125
  125. package/dist/a_chunks/.root20.js.map +0 -1
  126. package/dist/a_chunks/.root21.js.map +0 -1
  127. package/dist/a_chunks/.root22.js +0 -125
  128. package/dist/a_chunks/.root22.js.map +0 -1
  129. package/dist/a_chunks/.root23.js.map +0 -1
  130. package/dist/a_chunks/.root24.js.map +0 -1
  131. package/dist/a_chunks/.root25.js.map +0 -1
  132. package/dist/a_chunks/.root26.js.map +0 -1
  133. package/dist/a_chunks/.root27.js.map +0 -1
  134. package/dist/a_chunks/.root28.js.map +0 -1
  135. package/dist/a_chunks/.root29.js.map +0 -1
  136. package/dist/a_chunks/.root3.js.map +0 -1
  137. package/dist/a_chunks/.root30.js.map +0 -1
  138. package/dist/a_chunks/.root31.js +0 -20
  139. package/dist/a_chunks/.root31.js.map +0 -1
  140. package/dist/a_chunks/.root32.js.map +0 -1
  141. package/dist/a_chunks/.root33.js.map +0 -1
  142. package/dist/a_chunks/.root34.js.map +0 -1
  143. package/dist/a_chunks/.root35.js +0 -281
  144. package/dist/a_chunks/.root35.js.map +0 -1
  145. package/dist/a_chunks/.root36.js +0 -26
  146. package/dist/a_chunks/.root36.js.map +0 -1
  147. package/dist/a_chunks/.root37.js +0 -1497
  148. package/dist/a_chunks/.root37.js.map +0 -1
  149. package/dist/a_chunks/.root38.js +0 -2956
  150. package/dist/a_chunks/.root38.js.map +0 -1
  151. package/dist/a_chunks/.root39.js.map +0 -1
  152. package/dist/a_chunks/.root4.js.map +0 -1
  153. package/dist/a_chunks/.root40.js.map +0 -1
  154. package/dist/a_chunks/.root41.js.map +0 -1
  155. package/dist/a_chunks/.root42.js +0 -26
  156. package/dist/a_chunks/.root42.js.map +0 -1
  157. package/dist/a_chunks/.root43.js +0 -1542
  158. package/dist/a_chunks/.root43.js.map +0 -1
  159. package/dist/a_chunks/.root44.js.map +0 -1
  160. package/dist/a_chunks/.root45.js.map +0 -1
  161. package/dist/a_chunks/.root46.js.map +0 -1
  162. package/dist/a_chunks/.root47.js.map +0 -1
  163. package/dist/a_chunks/.root48.js.map +0 -1
  164. package/dist/a_chunks/.root49.js.map +0 -1
  165. package/dist/a_chunks/.root5.js.map +0 -1
  166. package/dist/a_chunks/.root50.js +0 -263
  167. package/dist/a_chunks/.root50.js.map +0 -1
  168. package/dist/a_chunks/.root51.js +0 -232
  169. package/dist/a_chunks/.root51.js.map +0 -1
  170. package/dist/a_chunks/.root52.js.map +0 -1
  171. package/dist/a_chunks/.root53.js.map +0 -1
  172. package/dist/a_chunks/.root54.js.map +0 -1
  173. package/dist/a_chunks/.root55.js.map +0 -1
  174. package/dist/a_chunks/.root56.js.map +0 -1
  175. package/dist/a_chunks/.root57.js.map +0 -1
  176. package/dist/a_chunks/.root58.js.map +0 -1
  177. package/dist/a_chunks/.root59.js.map +0 -1
  178. package/dist/a_chunks/.root6.js.map +0 -1
  179. package/dist/a_chunks/.root60.js.map +0 -1
  180. package/dist/a_chunks/.root61.js.map +0 -1
  181. package/dist/a_chunks/.root62.js.map +0 -1
  182. package/dist/a_chunks/.root63.js.map +0 -1
  183. package/dist/a_chunks/.root64.js.map +0 -1
  184. package/dist/a_chunks/.root65.js.map +0 -1
  185. package/dist/a_chunks/.root7.js +0 -58
  186. package/dist/a_chunks/.root7.js.map +0 -1
  187. package/dist/a_chunks/.root8.js +0 -19
  188. package/dist/a_chunks/.root8.js.map +0 -1
  189. package/dist/a_chunks/.root9.js.map +0 -1
  190. package/dist/a_chunks/Form.js.map +0 -1
  191. package/dist/a_chunks/ModalForm.js.map +0 -1
  192. package/dist/a_chunks/api.js.map +0 -1
  193. package/dist/a_chunks/common.js.map +0 -1
  194. package/dist/a_chunks/config.js.map +0 -1
  195. package/dist/a_chunks/extends.js +0 -11
  196. package/dist/a_chunks/extends.js.map +0 -1
  197. package/dist/a_chunks/form_config.js.map +0 -1
  198. package/dist/a_chunks/index.js.map +0 -1
  199. package/dist/a_chunks/index2.js.map +0 -1
  200. package/dist/a_chunks/index3.js.map +0 -1
  201. package/dist/a_chunks/index4.js.map +0 -1
  202. package/dist/a_chunks/style-inject.es.js.map +0 -1
  203. package/dist/a_chunks/tslib.es6.js.map +0 -1
  204. package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js.map +0 -1
  205. package/dist/index.js.map +0 -1
  206. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/config/adapter.d.ts +0 -2
  207. package/dist/pages/fubao/premarital-care/.public-exam/config/adapter.d.ts +0 -2
  208. /package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/{form_config.d.ts → form_config_nan.d.ts} +0 -0
@@ -1,32 +1,7 @@
1
- import 'antd/es/modal/style';
2
- import _Modal from 'antd/es/modal';
3
- import 'antd/es/tabs/style';
4
- import _Tabs from 'antd/es/tabs';
5
- import 'antd/es/popconfirm/style';
6
- import _Popconfirm from 'antd/es/popconfirm';
7
- import 'antd/es/button/style';
8
- import _Button from 'antd/es/button';
9
- import 'antd/es/row/style';
10
- import _Row from 'antd/es/row';
11
- import 'antd/es/col/style';
12
- import _Col from 'antd/es/col';
13
- import 'antd/es/input/style';
14
- import _Input from 'antd/es/input';
15
- import 'antd/es/form/style';
16
- import _Form from 'antd/es/form';
17
- import 'antd/es/message/style';
18
- import _message from 'antd/es/message';
19
- import _map from 'lodash/map';
20
- import _isEmpty from 'lodash/isEmpty';
21
- import _get from 'lodash/get';
22
- import { c as __assign, b as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
1
+ import { b as __assign, c as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
2
+ import { Checkbox, Row, Col, Input, message, Form, Button, Modal, Popconfirm, Tabs } from 'antd';
3
+ import { isEmpty, get, indexOf, cloneDeep, filter, set, map } from 'lodash';
23
4
  import React, { useState, useEffect, Component } from 'react';
24
- import 'antd/es/checkbox/style';
25
- import _Checkbox from 'antd/es/checkbox';
26
- import _cloneDeep from 'lodash/cloneDeep';
27
- import _set from 'lodash/set';
28
- import _indexOf from 'lodash/indexOf';
29
- import _filter from 'lodash/filter';
30
5
  import dayjs from 'dayjs';
31
6
  import { safe_json_parse, formatDate, safe_json_stringify, fubaoRequest } from '@lm_fe/utils';
32
7
  import { APP_CONFIG } from '@lm_fe/components_m';
@@ -47,18 +22,18 @@ var SingleCheckBox = function SingleCheckBox(props) {
47
22
  data = _e[0],
48
23
  setData = _e[1];
49
24
  useEffect(function () {
50
- !_isEmpty(selectValue) && setData(selectValue);
25
+ !isEmpty(selectValue) && setData(selectValue);
51
26
  }, [selectValue]);
52
27
  var handleCheckBoxChange = function handleCheckBoxChange(checkedValues) {
53
- var tempData = _cloneDeep(data);
54
- var oldCheckedValues = _get(data, 'checkedValues');
28
+ var tempData = cloneDeep(data);
29
+ var oldCheckedValues = get(data, 'checkedValues');
55
30
  var newCheckedValues = checkedValues;
56
31
  if (type === 'single') {
57
- newCheckedValues = _filter(checkedValues, function (item) {
58
- return _indexOf(oldCheckedValues, item) === -1;
32
+ newCheckedValues = filter(checkedValues, function (item) {
33
+ return indexOf(oldCheckedValues, item) === -1;
59
34
  });
60
35
  }
61
- _set(tempData, 'checkedValues', newCheckedValues);
36
+ set(tempData, 'checkedValues', newCheckedValues);
62
37
  setData(tempData);
63
38
  onChange && onChange(tempData);
64
39
  };
@@ -69,74 +44,74 @@ var SingleCheckBox = function SingleCheckBox(props) {
69
44
  var newVal = __assign(__assign({}, data), (_a = {}, _a["withInputValues"] = val, _a));
70
45
  onChange && onChange(newVal);
71
46
  };
72
- return /*#__PURE__*/React.createElement(_Checkbox.Group, {
47
+ return /*#__PURE__*/React.createElement(Checkbox.Group, {
73
48
  disabled: disabled,
74
- value: _get(data, 'checkedValues'),
49
+ value: get(data, 'checkedValues'),
75
50
  onChange: handleCheckBoxChange
76
- }, /*#__PURE__*/React.createElement(_Row, null, options.map(function (item) {
51
+ }, /*#__PURE__*/React.createElement(Row, null, options.map(function (item) {
77
52
  return /*#__PURE__*/React.createElement(React.Fragment, {
78
53
  key: item.value
79
- }, /*#__PURE__*/React.createElement(_Col, {
54
+ }, /*#__PURE__*/React.createElement(Col, {
80
55
  span: span
81
- }, /*#__PURE__*/React.createElement(_Checkbox, {
56
+ }, /*#__PURE__*/React.createElement(Checkbox, {
82
57
  value: item.value
83
- }, item.label)), _get(item, 'withInput') && _indexOf(_get(data, 'checkedValues'), item.value) > -1 && /*#__PURE__*/React.createElement(_Input, {
58
+ }, item.label)), get(item, 'withInput') && indexOf(get(data, 'checkedValues'), item.value) > -1 && (/*#__PURE__*/React.createElement(Input, {
84
59
  style: {
85
- width: _get(item, 'inputWidth') || 150,
86
- marginLeft: _get(item, 'inputLeft') || -80
60
+ width: get(item, 'inputWidth') || 150,
61
+ marginLeft: get(item, 'inputLeft') || -80
87
62
  },
88
63
  onChange: inputChange,
89
- value: _get(data, "withInputValues"),
90
- placeholder: _get(item, 'inputPlaceholder') || '请输入'
91
- }));
64
+ value: get(data, "withInputValues"),
65
+ placeholder: get(item, 'inputPlaceholder') || '请输入'
66
+ })));
92
67
  })));
93
68
  };
94
69
  var valueToApi = function valueToApi(values, user) {
95
- if (!_get(values, 'followUpDate')) {
96
- _set(values, 'followUpDate', dayjs());
70
+ if (!get(values, 'followUpDate')) {
71
+ set(values, 'followUpDate', dayjs());
97
72
  }
98
- if (!_get(values, 'followUpPerson')) {
99
- _set(values, 'followUpPerson', _get(user, 'firstName'));
73
+ if (!get(values, 'followUpPerson')) {
74
+ set(values, 'followUpPerson', get(user, 'firstName'));
100
75
  }
101
- _map(values, function (data, index) {
76
+ map(values, function (data, index) {
102
77
  if (index === 'followUpDate') {
103
- _set(values, index, data ? dayjs(data) : null);
78
+ set(values, index, data ? dayjs(data) : null);
104
79
  }
105
80
  if (['followUpWay', 'followUpSituation', 'pregnancyCauses', 'immediatelyImplement', 'noticeMatters', 'guidanceForProperUse', 'menstruationBleeding'].includes(index)) {
106
- _set(values, index, {
81
+ set(values, index, {
107
82
  checkedValues: [data],
108
83
  withInputValues: {}
109
84
  });
110
85
  }
111
86
  if (['pastContraceptiveMethods', 'afterMiscarriageFirstContraceptiveMethods', 'futureContraceptiveMethods', 'nowContraceptiveMethods'].includes(index)) {
112
- _set(values, index, safe_json_parse(data));
87
+ set(values, index, safe_json_parse(data));
113
88
  }
114
89
  if (['menstruationRestored', 'stomachAche', 'resumeSex', 'insistUseContraceptiveMethods', 'replaceContraceptiveMethods', 'unexpectedPregnancyAgain', 'suggestBeginTime'].includes(index)) {
115
- _set(values, index, {
90
+ set(values, index, {
116
91
  checkedValues: [data],
117
- withInputValues: _get(values, "".concat(index, "Note"))
92
+ withInputValues: get(values, "".concat(index, "Note"))
118
93
  });
119
94
  }
120
95
  });
121
96
  return values;
122
97
  };
123
98
  var valueToForm = function valueToForm(values) {
124
- _map(values, function (item, key) {
99
+ map(values, function (item, key) {
125
100
  if (key === 'followUpDate') {
126
- _set(values, key, formatDate(item));
101
+ set(values, key, formatDate(item));
127
102
  }
128
103
  if (['followUpWay', 'followUpSituation', 'pregnancyCauses', 'immediatelyImplement', 'noticeMatters', 'guidanceForProperUse', 'menstruationBleeding'].includes(key)) {
129
- var checkedValues = _get(item, 'checkedValues.0');
130
- _set(values, key, checkedValues);
104
+ var checkedValues = get(item, 'checkedValues.0');
105
+ set(values, key, checkedValues);
131
106
  }
132
107
  if (['pastContraceptiveMethods', 'afterMiscarriageFirstContraceptiveMethods', 'futureContraceptiveMethods', 'nowContraceptiveMethods'].includes(key) && values) {
133
- _set(values, key, safe_json_stringify(item));
108
+ set(values, key, safe_json_stringify(item));
134
109
  }
135
110
  if (['menstruationRestored', 'stomachAche', 'resumeSex', 'insistUseContraceptiveMethods', 'replaceContraceptiveMethods', 'unexpectedPregnancyAgain', 'suggestBeginTime'].includes(key)) {
136
- var checkedValues = _get(item, 'checkedValues.0');
137
- var withInputValues = _get(item, 'withInputValues');
138
- _set(values, key, checkedValues);
139
- _set(values, "".concat(key, "Note"), withInputValues);
111
+ var checkedValues = get(item, 'checkedValues.0');
112
+ var withInputValues = get(item, 'withInputValues');
113
+ set(values, key, checkedValues);
114
+ set(values, "".concat(key, "Note"), withInputValues);
140
115
  }
141
116
  });
142
117
  return values;
@@ -422,7 +397,7 @@ var ModalForm = function (_super) {
422
397
  activeTabKey = this.state.activeTabKey;
423
398
  data = {};
424
399
  params = {};
425
- followUpState = _get(this.state, "followUpData".concat(Number(activeTabKey), ".followUpState")) || '';
400
+ followUpState = get(this.state, "followUpData".concat(Number(activeTabKey), ".followUpState")) || '';
426
401
  if (Number(activeTabKey) === 0) {
427
402
  data = (_b = this.form0) === null || _b === void 0 ? void 0 : _b.getFieldsValue();
428
403
  }
@@ -439,42 +414,42 @@ var ModalForm = function (_super) {
439
414
  data = (_f = this.form12) === null || _f === void 0 ? void 0 : _f.getFieldsValue();
440
415
  }
441
416
  data = valueToForm(data);
442
- if (_get(data, 'followUpSituation') === '未接听' || _get(data, 'followUpSituation') === '号码错误') {
417
+ if (get(data, 'followUpSituation') === '未接听' || get(data, 'followUpSituation') === '号码错误') {
443
418
  followUpState = '待随访';
444
419
  }
445
- if (_get(data, 'followUpSituation') === '正常') {
420
+ if (get(data, 'followUpSituation') === '正常') {
446
421
  followUpState = '已完成';
447
422
  }
448
- if (!_get(data, 'followUpWay')) {
449
- _message.error('请选择随访方式!');
423
+ if (!get(data, 'followUpWay')) {
424
+ message.error('请选择随访方式!');
450
425
  return [2];
451
426
  }
452
- if (!_get(data, 'followUpSituation')) {
453
- _message.error('请选择随访情况!');
427
+ if (!get(data, 'followUpSituation')) {
428
+ message.error('请选择随访情况!');
454
429
  return [2];
455
430
  }
456
- if (!_get(data, 'followUpDate')) {
457
- _message.error('请选择随访日期!');
431
+ if (!get(data, 'followUpDate')) {
432
+ message.error('请选择随访日期!');
458
433
  return [2];
459
434
  }
460
- if (!_get(data, 'followUpPerson')) {
461
- _message.error('请输入随访人!');
435
+ if (!get(data, 'followUpPerson')) {
436
+ message.error('请输入随访人!');
462
437
  return [2];
463
438
  }
464
439
  if (flag) {
465
440
  followUpState = '失访';
466
441
  }
467
- if (_get(this.state, "followUpData".concat(Number(activeTabKey), ".id"))) {
442
+ if (get(this.state, "followUpData".concat(Number(activeTabKey), ".id"))) {
468
443
  params = __assign(__assign({}, data), {
469
444
  followUpType: Number(activeTabKey),
470
- id: _get(this.state, "followUpData".concat(Number(activeTabKey), ".id")),
471
- earlyPregnancyCheckPacTrackingFileId: _get(currentRecord, 'id'),
445
+ id: get(this.state, "followUpData".concat(Number(activeTabKey), ".id")),
446
+ earlyPregnancyCheckPacTrackingFileId: get(currentRecord, 'id'),
472
447
  followUpState: followUpState
473
448
  });
474
449
  } else {
475
450
  params = __assign(__assign({}, data), {
476
451
  followUpType: Number(activeTabKey),
477
- earlyPregnancyCheckPacTrackingFileId: _get(currentRecord, 'id'),
452
+ earlyPregnancyCheckPacTrackingFileId: get(currentRecord, 'id'),
478
453
  followUpState: followUpState
479
454
  });
480
455
  }
@@ -499,12 +474,12 @@ var ModalForm = function (_super) {
499
474
  _this.handleBtnClick = function () {
500
475
  var _a;
501
476
  var activeTabKey = _this.state.activeTabKey;
502
- _this.setState((_a = {}, _a["tableVisible".concat(Number(activeTabKey))] = !_get(_this.state, "tableVisible".concat(Number(activeTabKey))), _a));
477
+ _this.setState((_a = {}, _a["tableVisible".concat(Number(activeTabKey))] = !get(_this.state, "tableVisible".concat(Number(activeTabKey))), _a));
503
478
  };
504
479
  _this.handleItemChange = function (changedValues, allValues, num) {
505
480
  var _a, _b;
506
- if (_get(changedValues, 'followUpSituation')) {
507
- var checkValue = _get(changedValues, 'followUpSituation.checkedValues.0');
481
+ if (get(changedValues, 'followUpSituation')) {
482
+ var checkValue = get(changedValues, 'followUpSituation.checkedValues.0');
508
483
  if (checkValue === '未接听' || checkValue === '号码错误') {
509
484
  _this.setState((_a = {}, _a["disabled".concat(num)] = true, _a));
510
485
  } else {
@@ -517,7 +492,7 @@ var ModalForm = function (_super) {
517
492
  disabled0 = _a.disabled0,
518
493
  followUpData0 = _a.followUpData0,
519
494
  tableVisible0 = _a.tableVisible0;
520
- return /*#__PURE__*/React.createElement(_Form, {
495
+ return /*#__PURE__*/React.createElement(Form, {
521
496
  ref: function ref(form0) {
522
497
  _this.form0 = form0;
523
498
  },
@@ -537,7 +512,7 @@ var ModalForm = function (_super) {
537
512
  disabled1 = _a.disabled1,
538
513
  followUpData1 = _a.followUpData1,
539
514
  tableVisible1 = _a.tableVisible1;
540
- return /*#__PURE__*/React.createElement(_Form, {
515
+ return /*#__PURE__*/React.createElement(Form, {
541
516
  ref: function ref(form1) {
542
517
  _this.form1 = form1;
543
518
  },
@@ -556,7 +531,7 @@ var ModalForm = function (_super) {
556
531
  className: "base-edit-panel-form_section border"
557
532
  }, /*#__PURE__*/React.createElement("span", {
558
533
  className: "base-edit-panel-form_section_title"
559
- }), /*#__PURE__*/React.createElement(_Form.Item, {
534
+ }), /*#__PURE__*/React.createElement(Form.Item, {
560
535
  label: "\u968F\u8BBF\u65B9\u5F0F",
561
536
  name: "followUpWay",
562
537
  rules: [{
@@ -566,8 +541,8 @@ var ModalForm = function (_super) {
566
541
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
567
542
  options: noticeTypeOptions,
568
543
  onChange: _this.onChange,
569
- selectValue: _get(followUpData1, 'followUpState') != '待随访' && _get(followUpData1, 'followUpWay')
570
- })), /*#__PURE__*/React.createElement(_Form.Item, {
544
+ selectValue: get(followUpData1, 'followUpState') != '待随访' && get(followUpData1, 'followUpWay')
545
+ })), /*#__PURE__*/React.createElement(Form.Item, {
571
546
  label: "\u968F\u8BBF\u60C5\u51B5",
572
547
  name: "followUpSituation",
573
548
  rules: [{
@@ -577,10 +552,10 @@ var ModalForm = function (_super) {
577
552
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
578
553
  options: option1,
579
554
  onChange: _this.onChange,
580
- selectValue: _get(followUpData1, 'followUpState') != '待随访' && _get(followUpData1, 'followUpSituation')
581
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
555
+ selectValue: get(followUpData1, 'followUpState') != '待随访' && get(followUpData1, 'followUpSituation')
556
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
582
557
  span: 8
583
- }, /*#__PURE__*/React.createElement(_Form.Item, {
558
+ }, /*#__PURE__*/React.createElement(Form.Item, {
584
559
  label: "\u672F\u540E\u51FA\u8840\u5929\u6570",
585
560
  name: "postoperativeBleedingDays",
586
561
  labelCol: {
@@ -589,12 +564,12 @@ var ModalForm = function (_super) {
589
564
  wrapperCol: {
590
565
  span: 12
591
566
  }
592
- }, /*#__PURE__*/React.createElement(_Input, {
567
+ }, /*#__PURE__*/React.createElement(Input, {
593
568
  disabled: disabled1,
594
569
  placeholder: ""
595
- }))), /*#__PURE__*/React.createElement(_Col, {
570
+ }))), /*#__PURE__*/React.createElement(Col, {
596
571
  span: 8
597
- }, /*#__PURE__*/React.createElement(_Form.Item, {
572
+ }, /*#__PURE__*/React.createElement(Form.Item, {
598
573
  label: "\u6708\u7ECF\u662F\u5426\u6062\u590D",
599
574
  name: "menstruationRestored",
600
575
  labelCol: {
@@ -608,10 +583,10 @@ var ModalForm = function (_super) {
608
583
  options: option9,
609
584
  onChange: _this.onChange,
610
585
  span: 8,
611
- selectValue: _get(followUpData1, 'menstruationRestored')
612
- }))), /*#__PURE__*/React.createElement(_Col, {
586
+ selectValue: get(followUpData1, 'menstruationRestored')
587
+ }))), /*#__PURE__*/React.createElement(Col, {
613
588
  span: 8
614
- }, /*#__PURE__*/React.createElement(_Form.Item, {
589
+ }, /*#__PURE__*/React.createElement(Form.Item, {
615
590
  label: "\u6708\u7ECF\u51FA\u8840\u91CF",
616
591
  name: "menstruationBleeding",
617
592
  labelCol: {
@@ -625,10 +600,10 @@ var ModalForm = function (_super) {
625
600
  options: option7,
626
601
  onChange: _this.onChange,
627
602
  span: 8,
628
- selectValue: _get(followUpData1, 'menstruationBleeding')
629
- })))), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
603
+ selectValue: get(followUpData1, 'menstruationBleeding')
604
+ })))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
630
605
  span: 8
631
- }, /*#__PURE__*/React.createElement(_Form.Item, {
606
+ }, /*#__PURE__*/React.createElement(Form.Item, {
632
607
  label: "\u662F\u5426\u8179\u75DB",
633
608
  name: "stomachAche",
634
609
  labelCol: {
@@ -642,10 +617,10 @@ var ModalForm = function (_super) {
642
617
  options: option10,
643
618
  onChange: _this.onChange,
644
619
  span: 8,
645
- selectValue: _get(followUpData1, 'stomachAche')
646
- }))), /*#__PURE__*/React.createElement(_Col, {
620
+ selectValue: get(followUpData1, 'stomachAche')
621
+ }))), /*#__PURE__*/React.createElement(Col, {
647
622
  span: 8
648
- }, /*#__PURE__*/React.createElement(_Form.Item, {
623
+ }, /*#__PURE__*/React.createElement(Form.Item, {
649
624
  label: "\u662F\u5426\u6062\u590D\u6027\u751F\u6D3B",
650
625
  name: "resumeSex",
651
626
  labelCol: {
@@ -659,8 +634,8 @@ var ModalForm = function (_super) {
659
634
  options: option10,
660
635
  onChange: _this.onChange,
661
636
  span: 8,
662
- selectValue: _get(followUpData1, 'resumeSex')
663
- })))), /*#__PURE__*/React.createElement(_Form.Item, {
637
+ selectValue: get(followUpData1, 'resumeSex')
638
+ })))), /*#__PURE__*/React.createElement(Form.Item, {
664
639
  label: "\u76EE\u524D\u91C7\u53D6\u907F\u5B55\u65B9\u5F0F",
665
640
  name: "nowContraceptiveMethods"
666
641
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
@@ -668,8 +643,8 @@ var ModalForm = function (_super) {
668
643
  disabled: disabled1,
669
644
  options: option4,
670
645
  onChange: _this.onChange,
671
- selectValue: _get(followUpData1, 'nowContraceptiveMethods')
672
- })), /*#__PURE__*/React.createElement(_Form.Item, {
646
+ selectValue: get(followUpData1, 'nowContraceptiveMethods')
647
+ })), /*#__PURE__*/React.createElement(Form.Item, {
673
648
  label: "\u4ECA\u540E\u8BA1\u5212\u91C7\u7528\u907F\u5B55\u65B9\u5F0F",
674
649
  name: "futureContraceptiveMethods"
675
650
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
@@ -677,10 +652,10 @@ var ModalForm = function (_super) {
677
652
  disabled: disabled1,
678
653
  options: option4,
679
654
  onChange: _this.onChange,
680
- selectValue: _get(followUpData1, 'futureContraceptiveMethods')
681
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
655
+ selectValue: get(followUpData1, 'futureContraceptiveMethods')
656
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
682
657
  span: 8
683
- }, /*#__PURE__*/React.createElement(_Form.Item, {
658
+ }, /*#__PURE__*/React.createElement(Form.Item, {
684
659
  label: "\u5907\u6CE8",
685
660
  name: "note",
686
661
  labelCol: {
@@ -689,12 +664,12 @@ var ModalForm = function (_super) {
689
664
  wrapperCol: {
690
665
  span: 12
691
666
  }
692
- }, /*#__PURE__*/React.createElement(_Input, {
667
+ }, /*#__PURE__*/React.createElement(Input, {
693
668
  disabled: disabled1,
694
669
  placeholder: ""
695
- }))), /*#__PURE__*/React.createElement(_Col, {
670
+ }))), /*#__PURE__*/React.createElement(Col, {
696
671
  span: 8
697
- }, /*#__PURE__*/React.createElement(_Form.Item, {
672
+ }, /*#__PURE__*/React.createElement(Form.Item, {
698
673
  label: "\u968F\u8BBF\u65E5\u671F",
699
674
  name: "followUpDate",
700
675
  labelCol: {
@@ -707,9 +682,9 @@ var ModalForm = function (_super) {
707
682
  required: true,
708
683
  message: '请输入随访日期!'
709
684
  }]
710
- }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(_Col, {
685
+ }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(Col, {
711
686
  span: 8
712
- }, /*#__PURE__*/React.createElement(_Form.Item, {
687
+ }, /*#__PURE__*/React.createElement(Form.Item, {
713
688
  label: "\u968F\u8BBF\u4EBA",
714
689
  name: "followUpPerson",
715
690
  labelCol: {
@@ -722,32 +697,32 @@ var ModalForm = function (_super) {
722
697
  required: true,
723
698
  message: '请输入随访人!'
724
699
  }]
725
- }, /*#__PURE__*/React.createElement(_Input, {
700
+ }, /*#__PURE__*/React.createElement(Input, {
726
701
  placeholder: ""
727
- })))), _get(followUpData1, 'followUpState') && _get(followUpData1, 'followUpState') != '未到' ? /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
702
+ })))), get(followUpData1, 'followUpState') && get(followUpData1, 'followUpState') != '未到' ? (/*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
728
703
  span: 6
729
- }, /*#__PURE__*/React.createElement(_Button, {
704
+ }, /*#__PURE__*/React.createElement(Button, {
730
705
  style: {
731
706
  marginLeft: '29%'
732
707
  },
733
708
  size: 'large',
734
709
  onClick: _this.handleBtnClick
735
- }, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible1 && /*#__PURE__*/React.createElement(Table, {
736
- dataSource: _get(followUpData1, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
710
+ }, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible1 && (/*#__PURE__*/React.createElement(Table, {
711
+ dataSource: get(followUpData1, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
737
712
  columns: historyTableColumns,
738
713
  bordered: true,
739
714
  pagination: false,
740
715
  style: {
741
716
  marginTop: 16
742
717
  }
743
- }))));
718
+ })))));
744
719
  };
745
720
  _this.renderForm3 = function () {
746
721
  var _a = _this.state,
747
722
  disabled3 = _a.disabled3,
748
723
  followUpData3 = _a.followUpData3,
749
724
  tableVisible3 = _a.tableVisible3;
750
- return /*#__PURE__*/React.createElement(_Form, {
725
+ return /*#__PURE__*/React.createElement(Form, {
751
726
  ref: function ref(form3) {
752
727
  _this.form3 = form3;
753
728
  },
@@ -766,7 +741,7 @@ var ModalForm = function (_super) {
766
741
  className: "base-edit-panel-form_section border"
767
742
  }, /*#__PURE__*/React.createElement("span", {
768
743
  className: "base-edit-panel-form_section_title"
769
- }), /*#__PURE__*/React.createElement(_Form.Item, {
744
+ }), /*#__PURE__*/React.createElement(Form.Item, {
770
745
  label: "\u968F\u8BBF\u65B9\u5F0F",
771
746
  name: "followUpWay",
772
747
  rules: [{
@@ -776,8 +751,8 @@ var ModalForm = function (_super) {
776
751
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
777
752
  options: noticeTypeOptions,
778
753
  onChange: _this.onChange,
779
- selectValue: _get(followUpData3, 'followUpState') != '待随访' && _get(followUpData3, 'followUpWay')
780
- })), /*#__PURE__*/React.createElement(_Form.Item, {
754
+ selectValue: get(followUpData3, 'followUpState') != '待随访' && get(followUpData3, 'followUpWay')
755
+ })), /*#__PURE__*/React.createElement(Form.Item, {
781
756
  label: "\u968F\u8BBF\u60C5\u51B5",
782
757
  name: "followUpSituation",
783
758
  rules: [{
@@ -787,8 +762,8 @@ var ModalForm = function (_super) {
787
762
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
788
763
  options: option1,
789
764
  onChange: _this.onChange,
790
- selectValue: _get(followUpData3, 'followUpState') != '待随访' && _get(followUpData3, 'followUpSituation')
791
- })), /*#__PURE__*/React.createElement(_Form.Item, {
765
+ selectValue: get(followUpData3, 'followUpState') != '待随访' && get(followUpData3, 'followUpSituation')
766
+ })), /*#__PURE__*/React.createElement(Form.Item, {
792
767
  label: "\u6D41\u4EA7\u540E\u9996\u6B21\u843D\u5B9E\u907F\u5B55\u65B9\u6CD5",
793
768
  name: "afterMiscarriageFirstContraceptiveMethods"
794
769
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
@@ -796,10 +771,10 @@ var ModalForm = function (_super) {
796
771
  options: option4,
797
772
  type: "multiple",
798
773
  onChange: _this.onChange,
799
- selectValue: _get(followUpData3, 'afterMiscarriageFirstContraceptiveMethods')
800
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
774
+ selectValue: get(followUpData3, 'afterMiscarriageFirstContraceptiveMethods')
775
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
801
776
  span: 8
802
- }, /*#__PURE__*/React.createElement(_Form.Item, {
777
+ }, /*#__PURE__*/React.createElement(Form.Item, {
803
778
  label: "\u5B58\u5728\u95EE\u9898",
804
779
  name: "person",
805
780
  labelCol: {
@@ -808,12 +783,12 @@ var ModalForm = function (_super) {
808
783
  wrapperCol: {
809
784
  span: 12
810
785
  }
811
- }, /*#__PURE__*/React.createElement(_Input, {
786
+ }, /*#__PURE__*/React.createElement(Input, {
812
787
  disabled: disabled3,
813
788
  placeholder: ""
814
- }))), /*#__PURE__*/React.createElement(_Col, {
789
+ }))), /*#__PURE__*/React.createElement(Col, {
815
790
  span: 8
816
- }, /*#__PURE__*/React.createElement(_Form.Item, {
791
+ }, /*#__PURE__*/React.createElement(Form.Item, {
817
792
  label: "\u662F\u5426\u575A\u6301\u4F7F\u7528\u907F\u5B55\u65B9\u6CD5",
818
793
  name: "insistUseContraceptiveMethods",
819
794
  labelCol: {
@@ -827,10 +802,10 @@ var ModalForm = function (_super) {
827
802
  options: option11,
828
803
  onChange: _this.onChange,
829
804
  span: 8,
830
- selectValue: _get(followUpData3, 'insistUseContraceptiveMethods')
831
- }))), /*#__PURE__*/React.createElement(_Col, {
805
+ selectValue: get(followUpData3, 'insistUseContraceptiveMethods')
806
+ }))), /*#__PURE__*/React.createElement(Col, {
832
807
  span: 8
833
- }, /*#__PURE__*/React.createElement(_Form.Item, {
808
+ }, /*#__PURE__*/React.createElement(Form.Item, {
834
809
  label: "\u662F\u5426\u66F4\u6362\u5176\u4ED6\u65B9\u6CD5",
835
810
  name: "replaceContraceptiveMethods",
836
811
  labelCol: {
@@ -844,18 +819,18 @@ var ModalForm = function (_super) {
844
819
  options: option10,
845
820
  onChange: _this.onChange,
846
821
  span: 8,
847
- selectValue: _get(followUpData3, 'replaceContraceptiveMethods')
848
- })))), /*#__PURE__*/React.createElement(_Form.Item, {
822
+ selectValue: get(followUpData3, 'replaceContraceptiveMethods')
823
+ })))), /*#__PURE__*/React.createElement(Form.Item, {
849
824
  label: "\u6709\u65E0\u518D\u6B21\u610F\u5916\u598A\u5A20",
850
825
  name: "unexpectedPregnancyAgain"
851
826
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
852
827
  disabled: disabled3,
853
828
  options: option8,
854
829
  onChange: _this.onChange,
855
- selectValue: _get(followUpData3, 'unexpectedPregnancyAgain')
856
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
830
+ selectValue: get(followUpData3, 'unexpectedPregnancyAgain')
831
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
857
832
  span: 8
858
- }, /*#__PURE__*/React.createElement(_Form.Item, {
833
+ }, /*#__PURE__*/React.createElement(Form.Item, {
859
834
  label: "\u5907\u6CE8",
860
835
  name: "note",
861
836
  labelCol: {
@@ -864,12 +839,12 @@ var ModalForm = function (_super) {
864
839
  wrapperCol: {
865
840
  span: 12
866
841
  }
867
- }, /*#__PURE__*/React.createElement(_Input, {
842
+ }, /*#__PURE__*/React.createElement(Input, {
868
843
  disabled: disabled3,
869
844
  placeholder: ""
870
- }))), /*#__PURE__*/React.createElement(_Col, {
845
+ }))), /*#__PURE__*/React.createElement(Col, {
871
846
  span: 8
872
- }, /*#__PURE__*/React.createElement(_Form.Item, {
847
+ }, /*#__PURE__*/React.createElement(Form.Item, {
873
848
  label: "\u968F\u8BBF\u65E5\u671F",
874
849
  name: "followUpDate",
875
850
  labelCol: {
@@ -882,9 +857,9 @@ var ModalForm = function (_super) {
882
857
  required: true,
883
858
  message: '请输入随访日期!'
884
859
  }]
885
- }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(_Col, {
860
+ }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(Col, {
886
861
  span: 8
887
- }, /*#__PURE__*/React.createElement(_Form.Item, {
862
+ }, /*#__PURE__*/React.createElement(Form.Item, {
888
863
  label: "\u968F\u8BBF\u4EBA",
889
864
  name: "followUpPerson",
890
865
  labelCol: {
@@ -897,32 +872,32 @@ var ModalForm = function (_super) {
897
872
  required: true,
898
873
  message: '请输入随访人!'
899
874
  }]
900
- }, /*#__PURE__*/React.createElement(_Input, {
875
+ }, /*#__PURE__*/React.createElement(Input, {
901
876
  placeholder: ""
902
- })))), _get(followUpData3, 'followUpState') && _get(followUpData3, 'followUpState') != '未到' ? /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
877
+ })))), get(followUpData3, 'followUpState') && get(followUpData3, 'followUpState') != '未到' ? (/*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
903
878
  span: 6
904
- }, /*#__PURE__*/React.createElement(_Button, {
879
+ }, /*#__PURE__*/React.createElement(Button, {
905
880
  style: {
906
881
  marginLeft: '29%'
907
882
  },
908
883
  size: 'large',
909
884
  onClick: _this.handleBtnClick
910
- }, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible3 && /*#__PURE__*/React.createElement(Table, {
911
- dataSource: _get(followUpData3, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
885
+ }, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible3 && (/*#__PURE__*/React.createElement(Table, {
886
+ dataSource: get(followUpData3, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
912
887
  columns: historyTableColumns,
913
888
  bordered: true,
914
889
  pagination: false,
915
890
  style: {
916
891
  marginTop: 16
917
892
  }
918
- }))));
893
+ })))));
919
894
  };
920
895
  _this.renderForm6 = function () {
921
896
  var _a = _this.state,
922
897
  disabled6 = _a.disabled6,
923
898
  followUpData6 = _a.followUpData6,
924
899
  tableVisible6 = _a.tableVisible6;
925
- return /*#__PURE__*/React.createElement(_Form, {
900
+ return /*#__PURE__*/React.createElement(Form, {
926
901
  ref: function ref(form6) {
927
902
  _this.form6 = form6;
928
903
  },
@@ -941,7 +916,7 @@ var ModalForm = function (_super) {
941
916
  className: "base-edit-panel-form_section border"
942
917
  }, /*#__PURE__*/React.createElement("span", {
943
918
  className: "base-edit-panel-form_section_title"
944
- }), /*#__PURE__*/React.createElement(_Form.Item, {
919
+ }), /*#__PURE__*/React.createElement(Form.Item, {
945
920
  label: "\u968F\u8BBF\u65B9\u5F0F",
946
921
  name: "followUpWay",
947
922
  rules: [{
@@ -951,8 +926,8 @@ var ModalForm = function (_super) {
951
926
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
952
927
  options: noticeTypeOptions,
953
928
  onChange: _this.onChange,
954
- selectValue: _get(followUpData6, 'followUpState') != '待随访' && _get(followUpData6, 'followUpWay')
955
- })), /*#__PURE__*/React.createElement(_Form.Item, {
929
+ selectValue: get(followUpData6, 'followUpState') != '待随访' && get(followUpData6, 'followUpWay')
930
+ })), /*#__PURE__*/React.createElement(Form.Item, {
956
931
  label: "\u968F\u8BBF\u60C5\u51B5",
957
932
  name: "followUpSituation",
958
933
  rules: [{
@@ -962,8 +937,8 @@ var ModalForm = function (_super) {
962
937
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
963
938
  options: option1,
964
939
  onChange: _this.onChange,
965
- selectValue: _get(followUpData6, 'followUpState') != '待随访' && _get(followUpData6, 'followUpSituation')
966
- })), /*#__PURE__*/React.createElement(_Form.Item, {
940
+ selectValue: get(followUpData6, 'followUpState') != '待随访' && get(followUpData6, 'followUpSituation')
941
+ })), /*#__PURE__*/React.createElement(Form.Item, {
967
942
  label: "\u6D41\u4EA7\u540E\u9996\u6B21\u843D\u5B9E\u907F\u5B55\u65B9\u6CD5",
968
943
  name: "afterMiscarriageFirstContraceptiveMethods"
969
944
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
@@ -971,10 +946,10 @@ var ModalForm = function (_super) {
971
946
  options: option4,
972
947
  type: "multiple",
973
948
  onChange: _this.onChange,
974
- selectValue: _get(followUpData6, 'afterMiscarriageFirstContraceptiveMethods')
975
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
949
+ selectValue: get(followUpData6, 'afterMiscarriageFirstContraceptiveMethods')
950
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
976
951
  span: 8
977
- }, /*#__PURE__*/React.createElement(_Form.Item, {
952
+ }, /*#__PURE__*/React.createElement(Form.Item, {
978
953
  label: "\u5B58\u5728\u95EE\u9898",
979
954
  name: "person",
980
955
  labelCol: {
@@ -983,12 +958,12 @@ var ModalForm = function (_super) {
983
958
  wrapperCol: {
984
959
  span: 12
985
960
  }
986
- }, /*#__PURE__*/React.createElement(_Input, {
961
+ }, /*#__PURE__*/React.createElement(Input, {
987
962
  disabled: disabled6,
988
963
  placeholder: ""
989
- }))), /*#__PURE__*/React.createElement(_Col, {
964
+ }))), /*#__PURE__*/React.createElement(Col, {
990
965
  span: 8
991
- }, /*#__PURE__*/React.createElement(_Form.Item, {
966
+ }, /*#__PURE__*/React.createElement(Form.Item, {
992
967
  label: "\u662F\u5426\u575A\u6301\u4F7F\u7528\u907F\u5B55\u65B9\u6CD5",
993
968
  name: "insistUseContraceptiveMethods",
994
969
  labelCol: {
@@ -1002,10 +977,10 @@ var ModalForm = function (_super) {
1002
977
  options: option11,
1003
978
  onChange: _this.onChange,
1004
979
  span: 8,
1005
- selectValue: _get(followUpData6, 'insistUseContraceptiveMethods')
1006
- }))), /*#__PURE__*/React.createElement(_Col, {
980
+ selectValue: get(followUpData6, 'insistUseContraceptiveMethods')
981
+ }))), /*#__PURE__*/React.createElement(Col, {
1007
982
  span: 8
1008
- }, /*#__PURE__*/React.createElement(_Form.Item, {
983
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1009
984
  label: "\u662F\u5426\u66F4\u6362\u5176\u4ED6\u65B9\u6CD5",
1010
985
  name: "replaceContraceptiveMethods",
1011
986
  labelCol: {
@@ -1019,18 +994,18 @@ var ModalForm = function (_super) {
1019
994
  options: option10,
1020
995
  onChange: _this.onChange,
1021
996
  span: 8,
1022
- selectValue: _get(followUpData6, 'replaceContraceptiveMethods')
1023
- })))), /*#__PURE__*/React.createElement(_Form.Item, {
997
+ selectValue: get(followUpData6, 'replaceContraceptiveMethods')
998
+ })))), /*#__PURE__*/React.createElement(Form.Item, {
1024
999
  label: "\u6709\u65E0\u518D\u6B21\u610F\u5916\u598A\u5A20",
1025
1000
  name: "unexpectedPregnancyAgain"
1026
1001
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1027
1002
  disabled: disabled6,
1028
1003
  options: option8,
1029
1004
  onChange: _this.onChange,
1030
- selectValue: _get(followUpData6, 'unexpectedPregnancyAgain')
1031
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1005
+ selectValue: get(followUpData6, 'unexpectedPregnancyAgain')
1006
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1032
1007
  span: 8
1033
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1008
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1034
1009
  label: "\u5907\u6CE8",
1035
1010
  name: "note",
1036
1011
  labelCol: {
@@ -1039,12 +1014,12 @@ var ModalForm = function (_super) {
1039
1014
  wrapperCol: {
1040
1015
  span: 12
1041
1016
  }
1042
- }, /*#__PURE__*/React.createElement(_Input, {
1017
+ }, /*#__PURE__*/React.createElement(Input, {
1043
1018
  disabled: disabled6,
1044
1019
  placeholder: ""
1045
- }))), /*#__PURE__*/React.createElement(_Col, {
1020
+ }))), /*#__PURE__*/React.createElement(Col, {
1046
1021
  span: 8
1047
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1022
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1048
1023
  label: "\u968F\u8BBF\u65E5\u671F",
1049
1024
  name: "followUpDate",
1050
1025
  labelCol: {
@@ -1057,9 +1032,9 @@ var ModalForm = function (_super) {
1057
1032
  required: true,
1058
1033
  message: '请输入随访日期!'
1059
1034
  }]
1060
- }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(_Col, {
1035
+ }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(Col, {
1061
1036
  span: 8
1062
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1037
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1063
1038
  label: "\u968F\u8BBF\u4EBA",
1064
1039
  name: "followUpPerson",
1065
1040
  labelCol: {
@@ -1072,32 +1047,32 @@ var ModalForm = function (_super) {
1072
1047
  required: true,
1073
1048
  message: '请输入随访人!'
1074
1049
  }]
1075
- }, /*#__PURE__*/React.createElement(_Input, {
1050
+ }, /*#__PURE__*/React.createElement(Input, {
1076
1051
  placeholder: ""
1077
- })))), _get(followUpData6, 'followUpState') && _get(followUpData6, 'followUpState') != '未到' ? /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1052
+ })))), get(followUpData6, 'followUpState') && get(followUpData6, 'followUpState') != '未到' ? (/*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1078
1053
  span: 6
1079
- }, /*#__PURE__*/React.createElement(_Button, {
1054
+ }, /*#__PURE__*/React.createElement(Button, {
1080
1055
  style: {
1081
1056
  marginLeft: '29%'
1082
1057
  },
1083
1058
  size: 'large',
1084
1059
  onClick: _this.handleBtnClick
1085
- }, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible6 && /*#__PURE__*/React.createElement(Table, {
1086
- dataSource: _get(followUpData6, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
1060
+ }, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible6 && (/*#__PURE__*/React.createElement(Table, {
1061
+ dataSource: get(followUpData6, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
1087
1062
  columns: historyTableColumns,
1088
1063
  bordered: true,
1089
1064
  pagination: false,
1090
1065
  style: {
1091
1066
  marginTop: 16
1092
1067
  }
1093
- }))));
1068
+ })))));
1094
1069
  };
1095
1070
  _this.renderForm12 = function () {
1096
1071
  var _a = _this.state,
1097
1072
  disabled12 = _a.disabled12,
1098
1073
  followUpData12 = _a.followUpData12,
1099
1074
  tableVisible12 = _a.tableVisible12;
1100
- return /*#__PURE__*/React.createElement(_Form, {
1075
+ return /*#__PURE__*/React.createElement(Form, {
1101
1076
  ref: function ref(form12) {
1102
1077
  _this.form12 = form12;
1103
1078
  },
@@ -1116,7 +1091,7 @@ var ModalForm = function (_super) {
1116
1091
  className: "base-edit-panel-form_section border"
1117
1092
  }, /*#__PURE__*/React.createElement("span", {
1118
1093
  className: "base-edit-panel-form_section_title"
1119
- }), /*#__PURE__*/React.createElement(_Form.Item, {
1094
+ }), /*#__PURE__*/React.createElement(Form.Item, {
1120
1095
  label: "\u968F\u8BBF\u65B9\u5F0F",
1121
1096
  name: "followUpWay",
1122
1097
  rules: [{
@@ -1126,8 +1101,8 @@ var ModalForm = function (_super) {
1126
1101
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1127
1102
  options: noticeTypeOptions,
1128
1103
  onChange: _this.onChange,
1129
- selectValue: _get(followUpData12, 'followUpState') != '待随访' && _get(followUpData12, 'followUpWay')
1130
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1104
+ selectValue: get(followUpData12, 'followUpState') != '待随访' && get(followUpData12, 'followUpWay')
1105
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1131
1106
  label: "\u968F\u8BBF\u60C5\u51B5",
1132
1107
  name: "followUpSituation",
1133
1108
  rules: [{
@@ -1137,8 +1112,8 @@ var ModalForm = function (_super) {
1137
1112
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1138
1113
  options: option1,
1139
1114
  onChange: _this.onChange,
1140
- selectValue: _get(followUpData12, 'followUpState') != '待随访' && _get(followUpData12, 'followUpSituation')
1141
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1115
+ selectValue: get(followUpData12, 'followUpState') != '待随访' && get(followUpData12, 'followUpSituation')
1116
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1142
1117
  label: "\u6D41\u4EA7\u540E\u9996\u6B21\u843D\u5B9E\u907F\u5B55\u65B9\u6CD5",
1143
1118
  name: "afterMiscarriageFirstContraceptiveMethods"
1144
1119
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
@@ -1146,10 +1121,10 @@ var ModalForm = function (_super) {
1146
1121
  options: option4,
1147
1122
  type: "multiple",
1148
1123
  onChange: _this.onChange,
1149
- selectValue: _get(followUpData12, 'afterMiscarriageFirstContraceptiveMethods')
1150
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1124
+ selectValue: get(followUpData12, 'afterMiscarriageFirstContraceptiveMethods')
1125
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1151
1126
  span: 8
1152
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1127
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1153
1128
  label: "\u5B58\u5728\u95EE\u9898",
1154
1129
  name: "person",
1155
1130
  labelCol: {
@@ -1158,12 +1133,12 @@ var ModalForm = function (_super) {
1158
1133
  wrapperCol: {
1159
1134
  span: 12
1160
1135
  }
1161
- }, /*#__PURE__*/React.createElement(_Input, {
1136
+ }, /*#__PURE__*/React.createElement(Input, {
1162
1137
  disabled: disabled12,
1163
1138
  placeholder: ""
1164
- }))), /*#__PURE__*/React.createElement(_Col, {
1139
+ }))), /*#__PURE__*/React.createElement(Col, {
1165
1140
  span: 8
1166
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1141
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1167
1142
  label: "\u662F\u5426\u575A\u6301\u4F7F\u7528\u907F\u5B55\u65B9\u6CD5",
1168
1143
  name: "insistUseContraceptiveMethods",
1169
1144
  labelCol: {
@@ -1177,10 +1152,10 @@ var ModalForm = function (_super) {
1177
1152
  options: option11,
1178
1153
  onChange: _this.onChange,
1179
1154
  span: 8,
1180
- selectValue: _get(followUpData12, 'insistUseContraceptiveMethods')
1181
- }))), /*#__PURE__*/React.createElement(_Col, {
1155
+ selectValue: get(followUpData12, 'insistUseContraceptiveMethods')
1156
+ }))), /*#__PURE__*/React.createElement(Col, {
1182
1157
  span: 8
1183
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1158
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1184
1159
  label: "\u662F\u5426\u66F4\u6362\u5176\u4ED6\u65B9\u6CD5",
1185
1160
  name: "replaceContraceptiveMethods",
1186
1161
  labelCol: {
@@ -1194,18 +1169,18 @@ var ModalForm = function (_super) {
1194
1169
  options: option10,
1195
1170
  onChange: _this.onChange,
1196
1171
  span: 8,
1197
- selectValue: _get(followUpData12, 'replaceContraceptiveMethods')
1198
- })))), /*#__PURE__*/React.createElement(_Form.Item, {
1172
+ selectValue: get(followUpData12, 'replaceContraceptiveMethods')
1173
+ })))), /*#__PURE__*/React.createElement(Form.Item, {
1199
1174
  label: "\u6709\u65E0\u518D\u6B21\u610F\u5916\u598A\u5A20",
1200
1175
  name: "unexpectedPregnancyAgain"
1201
1176
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1202
1177
  disabled: disabled12,
1203
1178
  options: option8,
1204
1179
  onChange: _this.onChange,
1205
- selectValue: _get(followUpData12, 'unexpectedPregnancyAgain')
1206
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1180
+ selectValue: get(followUpData12, 'unexpectedPregnancyAgain')
1181
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1207
1182
  span: 8
1208
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1183
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1209
1184
  label: "\u5907\u6CE8",
1210
1185
  name: "note",
1211
1186
  labelCol: {
@@ -1214,12 +1189,12 @@ var ModalForm = function (_super) {
1214
1189
  wrapperCol: {
1215
1190
  span: 12
1216
1191
  }
1217
- }, /*#__PURE__*/React.createElement(_Input, {
1192
+ }, /*#__PURE__*/React.createElement(Input, {
1218
1193
  disabled: disabled12,
1219
1194
  placeholder: ""
1220
- }))), /*#__PURE__*/React.createElement(_Col, {
1195
+ }))), /*#__PURE__*/React.createElement(Col, {
1221
1196
  span: 8
1222
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1197
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1223
1198
  label: "\u968F\u8BBF\u65E5\u671F",
1224
1199
  name: "followUpDate",
1225
1200
  labelCol: {
@@ -1232,9 +1207,9 @@ var ModalForm = function (_super) {
1232
1207
  required: true,
1233
1208
  message: '请输入随访日期!'
1234
1209
  }]
1235
- }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(_Col, {
1210
+ }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(Col, {
1236
1211
  span: 8
1237
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1212
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1238
1213
  label: "\u968F\u8BBF\u4EBA",
1239
1214
  name: "followUpPerson",
1240
1215
  labelCol: {
@@ -1247,25 +1222,25 @@ var ModalForm = function (_super) {
1247
1222
  required: true,
1248
1223
  message: '请输入随访人!'
1249
1224
  }]
1250
- }, /*#__PURE__*/React.createElement(_Input, {
1225
+ }, /*#__PURE__*/React.createElement(Input, {
1251
1226
  placeholder: ""
1252
- })))), _get(followUpData12, 'followUpState') && _get(followUpData12, 'followUpState') != '未到' ? /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1227
+ })))), get(followUpData12, 'followUpState') && get(followUpData12, 'followUpState') != '未到' ? (/*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1253
1228
  span: 6
1254
- }, /*#__PURE__*/React.createElement(_Button, {
1229
+ }, /*#__PURE__*/React.createElement(Button, {
1255
1230
  style: {
1256
1231
  marginLeft: '29%'
1257
1232
  },
1258
1233
  size: 'large',
1259
1234
  onClick: _this.handleBtnClick
1260
- }, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible12 && /*#__PURE__*/React.createElement(Table, {
1261
- dataSource: _get(followUpData12, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
1235
+ }, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible12 && (/*#__PURE__*/React.createElement(Table, {
1236
+ dataSource: get(followUpData12, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
1262
1237
  columns: historyTableColumns,
1263
1238
  bordered: true,
1264
1239
  pagination: false,
1265
1240
  style: {
1266
1241
  marginTop: 16
1267
1242
  }
1268
- }))));
1243
+ })))));
1269
1244
  };
1270
1245
  _this.renderImg = function (text) {
1271
1246
  if (text === '待随访') {
@@ -1300,29 +1275,29 @@ var ModalForm = function (_super) {
1300
1275
  followUpData6 = {};
1301
1276
  followUpData12 = {};
1302
1277
  totalData = {};
1303
- return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckPacTrackingFileById?id.equals=".concat(_get(currentRecord, 'id')))];
1278
+ return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckPacTrackingFileById?id.equals=".concat(get(currentRecord, 'id')))];
1304
1279
  case 1:
1305
1280
  _res = _f.sent();
1306
1281
  res = _res.data;
1307
- if (_get(res, 'data.earlyPregnancyCheckPacTrackingFollowUpRecordVMS')) {
1308
- earlyPregnancyCheckPacTrackingFollowUpRecords = _get(res, 'data.earlyPregnancyCheckPacTrackingFollowUpRecordVMS');
1282
+ if (get(res, 'data.earlyPregnancyCheckPacTrackingFollowUpRecordVMS')) {
1283
+ earlyPregnancyCheckPacTrackingFollowUpRecords = get(res, 'data.earlyPregnancyCheckPacTrackingFollowUpRecordVMS');
1309
1284
  }
1310
- totalData = _get(res, 'data');
1311
- if (!_isEmpty(earlyPregnancyCheckPacTrackingFollowUpRecords)) {
1312
- _map(earlyPregnancyCheckPacTrackingFollowUpRecords, function (item, key) {
1313
- if (_get(item, 'followUpType') === 0) {
1285
+ totalData = get(res, 'data');
1286
+ if (!isEmpty(earlyPregnancyCheckPacTrackingFollowUpRecords)) {
1287
+ map(earlyPregnancyCheckPacTrackingFollowUpRecords, function (item, key) {
1288
+ if (get(item, 'followUpType') === 0) {
1314
1289
  followUpData0 = item;
1315
1290
  }
1316
- if (_get(item, 'followUpType') === 1) {
1291
+ if (get(item, 'followUpType') === 1) {
1317
1292
  followUpData1 = item;
1318
1293
  }
1319
- if (_get(item, 'followUpType') === 3) {
1294
+ if (get(item, 'followUpType') === 3) {
1320
1295
  followUpData3 = item;
1321
1296
  }
1322
- if (_get(item, 'followUpType') === 6) {
1297
+ if (get(item, 'followUpType') === 6) {
1323
1298
  followUpData6 = item;
1324
1299
  }
1325
- if (_get(item, 'followUpType') === 12) {
1300
+ if (get(item, 'followUpType') === 12) {
1326
1301
  followUpData12 = item;
1327
1302
  }
1328
1303
  });
@@ -1362,29 +1337,29 @@ var ModalForm = function (_super) {
1362
1337
  followUpData6 = _b.followUpData6,
1363
1338
  followUpData12 = _b.followUpData12,
1364
1339
  totalData = _b.totalData;
1365
- return /*#__PURE__*/React.createElement(_Modal, {
1340
+ return /*#__PURE__*/React.createElement(Modal, {
1366
1341
  title: "PAC\u8FFD\u8E2A\u7BA1\u7406",
1367
1342
  width: 1200,
1368
1343
  onOk: function onOk() {
1369
1344
  _this.handleSubmit(0);
1370
1345
  },
1371
1346
  wrapClassName: "tracing-modal",
1372
- visible: visible,
1347
+ open: visible,
1373
1348
  onCancel: onCancel,
1374
- footer: [/*#__PURE__*/React.createElement(_Popconfirm, {
1349
+ footer: [/*#__PURE__*/React.createElement(Popconfirm, {
1375
1350
  title: "\u6807\u8BB0\u5931\u8BBF\u540E\u5C06\u4E0D\u518D\u8FFD\u8E2A\u540E\u7EED\u968F\u8BBF\uFF0C\u662F\u5426\u786E\u5B9A\u6807\u8BB0",
1376
1351
  onConfirm: function onConfirm() {
1377
1352
  _this.handleSubmit(1);
1378
1353
  },
1379
1354
  okText: "\u786E\u5B9A",
1380
1355
  cancelText: "\u53D6\u6D88"
1381
- }, /*#__PURE__*/React.createElement(_Button, {
1356
+ }, /*#__PURE__*/React.createElement(Button, {
1382
1357
  key: "back",
1383
1358
  danger: true
1384
- }, "\u6807\u8BB0\u5931\u8BBF")), /*#__PURE__*/React.createElement(_Button, {
1359
+ }, "\u6807\u8BB0\u5931\u8BBF")), /*#__PURE__*/React.createElement(Button, {
1385
1360
  key: "cancel",
1386
1361
  onClick: onCancel
1387
- }, "\u5173\u95ED"), /*#__PURE__*/React.createElement(_Button, {
1362
+ }, "\u5173\u95ED"), /*#__PURE__*/React.createElement(Button, {
1388
1363
  key: "submit",
1389
1364
  type: "primary",
1390
1365
  onClick: function onClick() {
@@ -1396,32 +1371,32 @@ var ModalForm = function (_super) {
1396
1371
  style: {
1397
1372
  padding: 12
1398
1373
  }
1399
- }, /*#__PURE__*/React.createElement(_Row, {
1374
+ }, /*#__PURE__*/React.createElement(Row, {
1400
1375
  style: {
1401
1376
  marginBottom: 8
1402
1377
  }
1403
- }, /*#__PURE__*/React.createElement(_Col, {
1378
+ }, /*#__PURE__*/React.createElement(Col, {
1404
1379
  span: 8
1405
- }, "\u60A3\u8005\u59D3\u540D\uFF1A", _get(totalData, 'name')), /*#__PURE__*/React.createElement(_Col, {
1380
+ }, "\u60A3\u8005\u59D3\u540D\uFF1A", get(totalData, 'name')), /*#__PURE__*/React.createElement(Col, {
1406
1381
  span: 8
1407
- }, "\u5E74\u9F84\uFF1A", _get(totalData, 'age')), /*#__PURE__*/React.createElement(_Col, {
1382
+ }, "\u5E74\u9F84\uFF1A", get(totalData, 'age')), /*#__PURE__*/React.createElement(Col, {
1408
1383
  span: 8
1409
- }, "\u624B\u673A\u53F7\u7801: ", _get(totalData, 'telephone'))), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1384
+ }, "\u624B\u673A\u53F7\u7801: ", get(totalData, 'telephone'))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1410
1385
  span: 8
1411
- }, "\u624B\u672F\u65E5\u671F\uFF1A", _get(totalData, 'surgeryDate')), /*#__PURE__*/React.createElement(_Col, {
1386
+ }, "\u624B\u672F\u65E5\u671F\uFF1A", get(totalData, 'surgeryDate')), /*#__PURE__*/React.createElement(Col, {
1412
1387
  span: 8
1413
- }, "\u624B\u672F\u7C7B\u578B: ", _get(totalData, 'surgeryType')), /*#__PURE__*/React.createElement(_Col, {
1388
+ }, "\u624B\u672F\u7C7B\u578B: ", get(totalData, 'surgeryType')), /*#__PURE__*/React.createElement(Col, {
1414
1389
  span: 8
1415
- }, "\u624B\u672F\u533B\u751F: ", _get(totalData, 'surgeryDoctor')))), /*#__PURE__*/React.createElement(_Tabs, {
1390
+ }, "\u624B\u672F\u533B\u751F: ", get(totalData, 'surgeryDoctor')))), /*#__PURE__*/React.createElement(Tabs, {
1416
1391
  defaultActiveKey: "0",
1417
1392
  onChange: this.handleTabChange,
1418
1393
  type: "card"
1419
- }, /*#__PURE__*/React.createElement(_Tabs.TabPane, {
1394
+ }, /*#__PURE__*/React.createElement(Tabs.TabPane, {
1420
1395
  tab: /*#__PURE__*/React.createElement("span", {
1421
1396
  className: "tabTitle"
1422
1397
  }, /*#__PURE__*/React.createElement("span", {
1423
1398
  className: "tabTitle-img"
1424
- }, this.renderImg(_get(followUpData0, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1399
+ }, this.renderImg(get(followUpData0, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1425
1400
  style: {
1426
1401
  display: 'inline-block',
1427
1402
  verticalAlign: 'middle',
@@ -1430,12 +1405,12 @@ var ModalForm = function (_super) {
1430
1405
  }, "\u9996\u6B21\u968F\u8BBF")),
1431
1406
  key: "0",
1432
1407
  forceRender: true
1433
- }, this.renderForm0()), /*#__PURE__*/React.createElement(_Tabs.TabPane, {
1408
+ }, this.renderForm0()), /*#__PURE__*/React.createElement(Tabs.TabPane, {
1434
1409
  tab: /*#__PURE__*/React.createElement("span", {
1435
1410
  className: "tabTitle"
1436
1411
  }, /*#__PURE__*/React.createElement("span", {
1437
1412
  className: "tabTitle-img"
1438
- }, this.renderImg(_get(followUpData1, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1413
+ }, this.renderImg(get(followUpData1, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1439
1414
  style: {
1440
1415
  display: 'inline-block',
1441
1416
  verticalAlign: 'middle',
@@ -1444,12 +1419,12 @@ var ModalForm = function (_super) {
1444
1419
  }, "1\u4E2A\u6708\u968F\u8BBF")),
1445
1420
  key: "1",
1446
1421
  forceRender: true
1447
- }, this.renderForm1()), /*#__PURE__*/React.createElement(_Tabs.TabPane, {
1422
+ }, this.renderForm1()), /*#__PURE__*/React.createElement(Tabs.TabPane, {
1448
1423
  tab: /*#__PURE__*/React.createElement("span", {
1449
1424
  className: "tabTitle"
1450
1425
  }, /*#__PURE__*/React.createElement("span", {
1451
1426
  className: "tabTitle-img"
1452
- }, this.renderImg(_get(followUpData3, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1427
+ }, this.renderImg(get(followUpData3, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1453
1428
  style: {
1454
1429
  display: 'inline-block',
1455
1430
  verticalAlign: 'middle',
@@ -1458,12 +1433,12 @@ var ModalForm = function (_super) {
1458
1433
  }, "3\u4E2A\u6708\u968F\u8BBF")),
1459
1434
  key: "3",
1460
1435
  forceRender: true
1461
- }, this.renderForm3()), /*#__PURE__*/React.createElement(_Tabs.TabPane, {
1436
+ }, this.renderForm3()), /*#__PURE__*/React.createElement(Tabs.TabPane, {
1462
1437
  tab: /*#__PURE__*/React.createElement("span", {
1463
1438
  className: "tabTitle"
1464
1439
  }, /*#__PURE__*/React.createElement("span", {
1465
1440
  className: "tabTitle-img"
1466
- }, this.renderImg(_get(followUpData6, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1441
+ }, this.renderImg(get(followUpData6, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1467
1442
  style: {
1468
1443
  display: 'inline-block',
1469
1444
  verticalAlign: 'middle',
@@ -1472,12 +1447,12 @@ var ModalForm = function (_super) {
1472
1447
  }, "6\u4E2A\u6708\u968F\u8BBF")),
1473
1448
  key: "6",
1474
1449
  forceRender: true
1475
- }, this.renderForm6()), /*#__PURE__*/React.createElement(_Tabs.TabPane, {
1450
+ }, this.renderForm6()), /*#__PURE__*/React.createElement(Tabs.TabPane, {
1476
1451
  tab: /*#__PURE__*/React.createElement("span", {
1477
1452
  className: "tabTitle"
1478
1453
  }, /*#__PURE__*/React.createElement("span", {
1479
1454
  className: "tabTitle-img"
1480
- }, this.renderImg(_get(followUpData12, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1455
+ }, this.renderImg(get(followUpData12, 'followUpState'))), /*#__PURE__*/React.createElement("span", {
1481
1456
  style: {
1482
1457
  display: 'inline-block',
1483
1458
  verticalAlign: 'middle',
@@ -1500,7 +1475,7 @@ function renderForm0_shared(title, disabled, followUpData0, tableVisible0, handl
1500
1475
  className: "base-edit-panel-form_section border"
1501
1476
  }, /*#__PURE__*/React.createElement("span", {
1502
1477
  className: "base-edit-panel-form_section_title"
1503
- }, title), /*#__PURE__*/React.createElement(_Form.Item, {
1478
+ }, title), /*#__PURE__*/React.createElement(Form.Item, {
1504
1479
  label: "\u9996\u6B21\u968F\u8BBF\u65B9\u5F0F",
1505
1480
  name: "followUpWay",
1506
1481
  rules: [{
@@ -1510,8 +1485,8 @@ function renderForm0_shared(title, disabled, followUpData0, tableVisible0, handl
1510
1485
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1511
1486
  options: noticeTypeOptions,
1512
1487
  onChange: onChange,
1513
- selectValue: _get(followUpData0, 'followUpState') != '待随访' && _get(followUpData0, 'followUpWay')
1514
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1488
+ selectValue: get(followUpData0, 'followUpState') != '待随访' && get(followUpData0, 'followUpWay')
1489
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1515
1490
  label: "\u968F\u8BBF\u60C5\u51B5",
1516
1491
  name: "followUpSituation",
1517
1492
  rules: [{
@@ -1521,16 +1496,16 @@ function renderForm0_shared(title, disabled, followUpData0, tableVisible0, handl
1521
1496
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1522
1497
  options: option1,
1523
1498
  onChange: onChange,
1524
- selectValue: _get(followUpData0, 'followUpState') != '待随访' && _get(followUpData0, 'followUpSituation')
1525
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1499
+ selectValue: get(followUpData0, 'followUpState') != '待随访' && get(followUpData0, 'followUpSituation')
1500
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1526
1501
  label: "\u672C\u6B21\u610F\u5916\u598A\u5A20\u539F\u56E0",
1527
1502
  name: "pregnancyCauses"
1528
1503
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1529
1504
  disabled: disabled,
1530
1505
  options: option2,
1531
1506
  onChange: onChange,
1532
- selectValue: _get(followUpData0, 'pregnancyCauses')
1533
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1507
+ selectValue: get(followUpData0, 'pregnancyCauses')
1508
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1534
1509
  label: "\u4EE5\u5F80\u907F\u5B55\u65B9\u5F0F",
1535
1510
  name: "pastContraceptiveMethods"
1536
1511
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
@@ -1538,8 +1513,8 @@ function renderForm0_shared(title, disabled, followUpData0, tableVisible0, handl
1538
1513
  type: "multiple",
1539
1514
  options: option3,
1540
1515
  onChange: onChange,
1541
- selectValue: _get(followUpData0, 'pastContraceptiveMethods')
1542
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1516
+ selectValue: get(followUpData0, 'pastContraceptiveMethods')
1517
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1543
1518
  label: "\u672C\u6B21\u6D41\u4EA7\u540E\u5EFA\u8BAE\u9009\u7528\u65B9\u5F0F",
1544
1519
  name: "afterMiscarriageFirstContraceptiveMethods"
1545
1520
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
@@ -1547,42 +1522,42 @@ function renderForm0_shared(title, disabled, followUpData0, tableVisible0, handl
1547
1522
  type: "multiple",
1548
1523
  options: option4,
1549
1524
  onChange: onChange,
1550
- selectValue: _get(followUpData0, 'afterMiscarriageFirstContraceptiveMethods')
1551
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1525
+ selectValue: get(followUpData0, 'afterMiscarriageFirstContraceptiveMethods')
1526
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1552
1527
  label: "\u5EFA\u8BAE\u5F00\u59CB\u65F6\u95F4",
1553
1528
  name: "suggestBeginTime"
1554
1529
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1555
1530
  disabled: disabled,
1556
1531
  options: option5,
1557
1532
  onChange: onChange,
1558
- selectValue: _get(followUpData0, 'suggestBeginTime')
1559
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1533
+ selectValue: get(followUpData0, 'suggestBeginTime')
1534
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1560
1535
  label: "\u662F\u5426\u7ACB\u5373\u5904\u7406\u843D\u5B9E",
1561
1536
  name: "immediatelyImplement"
1562
1537
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1563
1538
  disabled: disabled,
1564
1539
  options: option6,
1565
1540
  onChange: onChange,
1566
- selectValue: _get(followUpData0, 'immediatelyImplement')
1567
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1541
+ selectValue: get(followUpData0, 'immediatelyImplement')
1542
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1568
1543
  label: "\u662F\u5426\u544A\u77E5\u6CE8\u610F\u4E8B\u9879",
1569
1544
  name: "noticeMatters"
1570
1545
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1571
1546
  disabled: disabled,
1572
1547
  options: option6,
1573
1548
  onChange: onChange,
1574
- selectValue: _get(followUpData0, 'noticeMatters')
1575
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1549
+ selectValue: get(followUpData0, 'noticeMatters')
1550
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1576
1551
  label: "\u662F\u5426\u6307\u5BFC\u6B63\u786E\u4F7F\u7528",
1577
1552
  name: "guidanceForProperUse"
1578
1553
  }, /*#__PURE__*/React.createElement(SingleCheckBox, {
1579
1554
  disabled: disabled,
1580
1555
  options: option6,
1581
1556
  onChange: onChange,
1582
- selectValue: _get(followUpData0, 'guidanceForProperUse')
1583
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1557
+ selectValue: get(followUpData0, 'guidanceForProperUse')
1558
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1584
1559
  span: 8
1585
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1560
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1586
1561
  label: "\u5907\u6CE8",
1587
1562
  name: "note",
1588
1563
  labelCol: {
@@ -1591,12 +1566,12 @@ function renderForm0_shared(title, disabled, followUpData0, tableVisible0, handl
1591
1566
  wrapperCol: {
1592
1567
  span: 12
1593
1568
  }
1594
- }, /*#__PURE__*/React.createElement(_Input, {
1569
+ }, /*#__PURE__*/React.createElement(Input, {
1595
1570
  disabled: disabled,
1596
1571
  placeholder: ""
1597
- }))), /*#__PURE__*/React.createElement(_Col, {
1572
+ }))), /*#__PURE__*/React.createElement(Col, {
1598
1573
  span: 8
1599
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1574
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1600
1575
  label: "\u968F\u8BBF\u65E5\u671F",
1601
1576
  name: "followUpDate",
1602
1577
  labelCol: {
@@ -1609,9 +1584,9 @@ function renderForm0_shared(title, disabled, followUpData0, tableVisible0, handl
1609
1584
  required: true,
1610
1585
  message: '请输入随访日期!'
1611
1586
  }]
1612
- }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(_Col, {
1587
+ }, /*#__PURE__*/React.createElement(DatePicker_L, null))), /*#__PURE__*/React.createElement(Col, {
1613
1588
  span: 8
1614
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1589
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1615
1590
  label: "\u968F\u8BBF\u4EBA",
1616
1591
  name: "followUpPerson",
1617
1592
  labelCol: {
@@ -1624,25 +1599,24 @@ function renderForm0_shared(title, disabled, followUpData0, tableVisible0, handl
1624
1599
  required: true,
1625
1600
  message: '请输入随访人!'
1626
1601
  }]
1627
- }, /*#__PURE__*/React.createElement(_Input, {
1602
+ }, /*#__PURE__*/React.createElement(Input, {
1628
1603
  placeholder: ""
1629
- })))), _get(followUpData0, 'followUpState') && _get(followUpData0, 'followUpState') != '未到' ? /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1604
+ })))), get(followUpData0, 'followUpState') && get(followUpData0, 'followUpState') != '未到' ? (/*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1630
1605
  span: 6
1631
- }, /*#__PURE__*/React.createElement(_Button, {
1606
+ }, /*#__PURE__*/React.createElement(Button, {
1632
1607
  style: {
1633
1608
  marginLeft: '29%'
1634
1609
  },
1635
1610
  size: 'large',
1636
1611
  onClick: handleBtnClick
1637
- }, "\u5386\u53F2\u8BB0\u5F55"))) : '', tableVisible0 && /*#__PURE__*/React.createElement(Table, {
1638
- dataSource: _get(followUpData0, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
1612
+ }, "\u5386\u53F2\u8BB0\u5F55")))) : '', tableVisible0 && (/*#__PURE__*/React.createElement(Table, {
1613
+ dataSource: get(followUpData0, 'earlyPregnancyCheckPacTrackingFollowUpFailRecordS') || [],
1639
1614
  columns: historyTableColumns,
1640
1615
  bordered: true,
1641
1616
  pagination: false,
1642
1617
  style: {
1643
1618
  marginTop: 16
1644
1619
  }
1645
- })));
1620
+ }))));
1646
1621
  }
1647
1622
  export { ModalForm as M, SingleCheckBox as S, renderForm0_shared as r, tableColumns as t, valueToForm as v };
1648
- //# sourceMappingURL=ModalForm.js.map