@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,25 +1,9 @@
1
- import _get from 'lodash/get';
2
- import { _ as __awaiter, a as __generator, b as __extends, c as __assign } from './tslib.es6.js';
1
+ import { _ as __awaiter, a as __generator, b as __assign, c as __extends } from './tslib.es6.js';
3
2
  import React, { useState, useEffect, Component } from 'react';
4
- import BasicInfo from './.root2.js';
5
- import 'antd/es/row/style';
6
- import _Row from 'antd/es/row';
7
- import 'antd/es/modal/style';
8
- import _Modal from 'antd/es/modal';
9
- import 'antd/es/col/style';
10
- import _Col from 'antd/es/col';
11
- import 'antd/es/button/style';
12
- import _Button from 'antd/es/button';
13
- import { _ as _extends } from './extends.js';
14
- import 'antd/es/card/style';
15
- import _Card from 'antd/es/card';
16
- import 'antd/es/popconfirm/style';
17
- import _Popconfirm from 'antd/es/popconfirm';
18
- import _first from 'lodash/first';
19
- import _cloneDeep from 'lodash/cloneDeep';
20
- import _map from 'lodash/map';
21
- import _isEmpty from 'lodash/isEmpty';
3
+ import BasicInfo from './family-planning.file-management.nurse-desk.js';
22
4
  import { PlusCircleOutlined, DeleteOutlined, EditOutlined, HistoryOutlined } from '@ant-design/icons';
5
+ import { Row, Col, Modal, Button, Card, Popconfirm, Tabs, Form, Input, Empty, message, Radio, Alert } from 'antd';
6
+ import { map, get, cloneDeep, isEmpty, first, set, filter } from 'lodash';
23
7
  import { N as NurseTypesMapping } from './config.js';
24
8
  import { fubaoRequest, formatDateTime, safe_json_parse, safe_json_stringify, formatDate, getSearchParamsValue } from '@lm_fe/utils';
25
9
  import { s as styleInject } from './style-inject.es.js';
@@ -27,31 +11,8 @@ import { N as NurseTypesMapping$1, g as getReservationPanelByDate } from './api.
27
11
  import { LazyAntd, DatePicker_L, DynamicForm, PanelWithChildFC } from '@lm_fe/components_m';
28
12
  import { DoctorEnd_SurveyReport, DoctorEnd_ImageReport } from '@lm_fe/pages-mchc';
29
13
  import { SLocal_State } from '@lm_fe/service';
30
- import 'antd/es/empty/style';
31
- import _Empty from 'antd/es/empty';
32
- import 'antd/es/input/style';
33
- import _Input from 'antd/es/input';
34
- import 'antd/es/alert/style';
35
- import _Alert from 'antd/es/alert';
36
- import 'antd/es/form/style';
37
- import _Form from 'antd/es/form';
38
- import 'antd/es/radio/style';
39
- import _Radio from 'antd/es/radio';
40
- import 'antd/es/message/style';
41
- import _message from 'antd/es/message';
42
- import 'antd/es/tabs/style';
43
- import _Tabs from 'antd/es/tabs';
44
- import _filter from 'lodash/filter';
45
14
  import dayjs from 'dayjs';
46
- import _set from 'lodash/set';
47
- import 'antd/es/space/style';
48
- import 'antd/es/space';
49
- import 'lodash/size';
50
- import '@lm_fe/env';
51
- import 'lodash/isEqual';
52
- import 'lodash/join';
53
- import 'lodash/dropRight';
54
- import 'lodash/isNil';
15
+ import { mchcEnv } from '@lm_fe/env';
55
16
  import '@lm_fe/pages';
56
17
  var css_248z$2 = ".common-module_gy-empty-page__kjnFf {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n background: #fff;\n}\n.common-module_family-planning-list-container__kujnq {\n border: 1px solid #d7dce7;\n border-radius: 5px;\n}\n.common-module_family-planning-list__QHwwi {\n border-bottom: 1px solid #d7dce7;\n}\n.common-module_family-planning-list__QHwwi .common-module_two-cancers-doctor-desk-first-visit-sider-list_title__CEgrq {\n padding: 8px;\n background-color: #f5f6fa;\n}\n.common-module_family-planning-list__QHwwi .common-module_doctor-desk-first-visit-sider-list__item-title__0JfSe {\n color: #383f4a;\n}\n.common-module_family-planning-list__QHwwi .common-module_date__fm44i {\n color: #828c99;\n}\n.common-module_family-planning-list__QHwwi .common-module_label-result__ApaHb {\n margin-left: 12px;\n color: #1890ff;\n}\n.common-module_family-planning-list__QHwwi .common-module_label-result__ApaHb.common-module_red__oOb36 {\n color: #cd4839;\n}\n.common-module_family-planning-list__QHwwi .common-module_doctor-desk-first-visit-sider-list__item__3M-Kw {\n padding: 8px 12px;\n font-size: 13px;\n cursor: pointer;\n}\n.common-module_family-planning-list__QHwwi .common-module_doctor-desk-first-visit-sider-list__item__3M-Kw.common-module_active__qPyeZ .common-module_doctor-desk-first-visit-sider-list__item-title__0JfSe {\n color: #007aff;\n font-weight: 600;\n}\n.common-module_family-planning-list__QHwwi .common-module_doctor-desk-first-visit-sider-list__item__3M-Kw.common-module_active__qPyeZ .common-module_date__fm44i {\n color: #383f4a;\n font-weight: 400;\n}\n.common-module_family-planning-list__QHwwi:last-child {\n border-bottom: none;\n}\n";
57
18
  var styles$1 = {
@@ -96,12 +57,12 @@ function ZKBL(props) {
96
57
  function handleClickListItem(item) {
97
58
  return function () {
98
59
  var code = 'Screening';
99
- _map(NurseTypesMapping, function (value, index) {
100
- if (_get(item, 'checkType') === _get(value, 'name')) {
60
+ map(NurseTypesMapping, function (value, index) {
61
+ if (get(item, 'checkType') === get(value, 'name')) {
101
62
  code = index;
102
63
  }
103
64
  });
104
- var __activeTemplate = _get(NurseTypesMapping, "".concat(code, ".key"));
65
+ var __activeTemplate = get(NurseTypesMapping, "".concat(code, ".key"));
105
66
  set_activeItem(item);
106
67
  set_activeTemplate(__activeTemplate);
107
68
  };
@@ -116,22 +77,22 @@ function ZKBL(props) {
116
77
  return [4, fubaoRequest.get("/api/family/planning/getFamilyPlanningEarlyPregnancyCheckList?familyPlanningId.equals=".concat(id, "&deleteFlag.equals=0"))];
117
78
  case 1:
118
79
  data = _a.sent().data;
119
- if (_get(data, 'data')) {
120
- newSiderPanels = _get(data, 'data.familyPlanningEarlyPregnancyCheck');
80
+ if (get(data, 'data')) {
81
+ newSiderPanels = get(data, 'data.familyPlanningEarlyPregnancyCheck');
121
82
  }
122
83
  newActiveItem = activeItem;
123
84
  newActiveTemplate = activeTemplate;
124
- if (_isEmpty(activeItem) && !_isEmpty(newSiderPanels)) {
125
- newActiveItem = _first(newSiderPanels);
126
- checkType_1 = _get(newSiderPanels, '0.checkType');
127
- _map(NurseTypesMapping, function (value, index) {
128
- if (checkType_1 === _get(value, 'name')) {
129
- newActiveTemplate = _get(NurseTypesMapping, "".concat(index, ".key"));
85
+ if (isEmpty(activeItem) && !isEmpty(newSiderPanels)) {
86
+ newActiveItem = first(newSiderPanels);
87
+ checkType_1 = get(newSiderPanels, '0.checkType');
88
+ map(NurseTypesMapping, function (value, index) {
89
+ if (checkType_1 === get(value, 'name')) {
90
+ newActiveTemplate = get(NurseTypesMapping, "".concat(index, ".key"));
130
91
  }
131
92
  });
132
93
  }
133
- if (!_get(activeItem, 'id')) {
134
- newActiveItem = _first(newSiderPanels);
94
+ if (!get(activeItem, 'id')) {
95
+ newActiveItem = first(newSiderPanels);
135
96
  }
136
97
  set_siderPanels(newSiderPanels);
137
98
  set_oldsiderPanels(newSiderPanels);
@@ -150,7 +111,7 @@ function ZKBL(props) {
150
111
  return __generator(this, function (_a) {
151
112
  switch (_a.label) {
152
113
  case 0:
153
- id = _get(item, 'id');
114
+ id = get(item, 'id');
154
115
  return [4, fubaoRequest["delete"]("/api/family/planning/deleteFamilyPlanningEarlyPregnancyCheck/".concat(id))];
155
116
  case 1:
156
117
  _res = _a.sent();
@@ -168,23 +129,23 @@ function ZKBL(props) {
168
129
  }
169
130
  function handleChooseTemplate(nurseType) {
170
131
  return function () {
171
- _get(nurseType, 'key');
132
+ get(nurseType, 'key');
172
133
  {
173
- var newSiderPanels = _cloneDeep(oldsiderPanels);
134
+ var newSiderPanels = cloneDeep(oldsiderPanels);
174
135
  var newItem = {
175
136
  id: '',
176
- checkType: _get(nurseType, 'name')
137
+ checkType: get(nurseType, 'name')
177
138
  };
178
139
  newSiderPanels.push(newItem);
179
140
  set_siderPanels(newSiderPanels);
180
141
  set_activeItem(newItem);
181
142
  }
182
143
  set_visible(false);
183
- set_activeTemplate(_get(nurseType, 'key'));
144
+ set_activeTemplate(get(nurseType, 'key'));
184
145
  };
185
146
  }
186
147
  function renderSider() {
187
- return /*#__PURE__*/React.createElement(_Card, {
148
+ return /*#__PURE__*/React.createElement(Card, {
188
149
  size: "small",
189
150
  bordered: false,
190
151
  style: {
@@ -199,15 +160,15 @@ function ZKBL(props) {
199
160
  extra: /*#__PURE__*/React.createElement(PlusCircleOutlined, {
200
161
  onClick: handleAdd
201
162
  })
202
- }, !_isEmpty(siderPanels) && /*#__PURE__*/React.createElement("div", {
163
+ }, !isEmpty(siderPanels) && (/*#__PURE__*/React.createElement("div", {
203
164
  className: styles$1['family-planning-list-container']
204
- }, _map(siderPanels, function (data, index) {
165
+ }, map(siderPanels, function (data, index) {
205
166
  return /*#__PURE__*/React.createElement("div", {
206
167
  key: data.id,
207
168
  className: styles$1['family-planning-list']
208
169
  }, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
209
- className: "".concat(styles$1['doctor-desk-first-visit-sider-list__item'], " ").concat(_get(activeItem, 'id') === _get(data, 'id') ? styles$1['active'] : ''),
210
- style: _get(activeItem, 'id') === _get(data, 'id') ? {
170
+ className: "".concat(styles$1['doctor-desk-first-visit-sider-list__item'], " ").concat(get(activeItem, 'id') === get(data, 'id') ? styles$1['active'] : ''),
171
+ style: get(activeItem, 'id') === get(data, 'id') ? {
211
172
  background: '#D6E6FF'
212
173
  } : {
213
174
  background: 'none'
@@ -215,42 +176,42 @@ function ZKBL(props) {
215
176
  onClick: handleClickListItem(data)
216
177
  }, /*#__PURE__*/React.createElement("span", {
217
178
  className: styles$1['doctor-desk-first-visit-sider-list__item-title']
218
- }, _get(data, 'checkType'), ' '), _get(data, 'id') && _get(data, 'id') != -1 ? /*#__PURE__*/React.createElement(_Popconfirm, {
179
+ }, get(data, 'checkType'), ' '), get(data, 'id') && get(data, 'id') != -1 ? (/*#__PURE__*/React.createElement(Popconfirm, {
219
180
  title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u75C5\u5386\u5417?",
220
181
  onConfirm: handleDelete(data),
221
182
  okText: "\u786E\u5B9A",
222
183
  cancelText: "\u53D6\u6D88"
223
- }, _get(activeItem, 'id') === _get(data, 'id') && /*#__PURE__*/React.createElement(DeleteOutlined, {
184
+ }, get(activeItem, 'id') === get(data, 'id') && (/*#__PURE__*/React.createElement(DeleteOutlined, {
224
185
  style: {
225
186
  color: '#007aff',
226
187
  "float": 'right',
227
188
  marginTop: 2,
228
189
  marginLeft: 8
229
190
  }
230
- }), _get(data, 'registrationDate') && /*#__PURE__*/React.createElement("span", {
191
+ })), get(data, 'registrationDate') && (/*#__PURE__*/React.createElement("span", {
231
192
  className: "date",
232
193
  style: {
233
194
  "float": 'right'
234
195
  }
235
- }, _get(data, 'registrationDate'))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditOutlined, {
196
+ }, get(data, 'registrationDate'))))) : (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditOutlined, {
236
197
  style: {
237
198
  color: 'rgb(24, 144, 255)',
238
199
  "float": 'right',
239
200
  marginTop: 2,
240
201
  marginLeft: 8
241
202
  }
242
- }), _get(data, 'registrationDate') && /*#__PURE__*/React.createElement("span", {
203
+ }), get(data, 'registrationDate') && (/*#__PURE__*/React.createElement("span", {
243
204
  className: "date",
244
205
  style: {
245
206
  "float": 'right'
246
207
  }
247
- }, _get(data, 'registrationDate'))))));
248
- })));
208
+ }, get(data, 'registrationDate'))))))));
209
+ }))));
249
210
  }
250
211
  function renderContent() {
251
212
  if (NurseTypesMapping[activeTemplate]) {
252
213
  var Component_1 = NurseTypesMapping[activeTemplate]['component'];
253
- return /*#__PURE__*/React.createElement(Component_1, _extends({}, props, {
214
+ return /*#__PURE__*/React.createElement(Component_1, __assign({}, props, {
254
215
  activeItem: activeItem,
255
216
  onRefresh: handleInit,
256
217
  reload: reload
@@ -258,12 +219,12 @@ function ZKBL(props) {
258
219
  } else {
259
220
  return /*#__PURE__*/React.createElement("div", {
260
221
  className: styles$1['gy-empty-page']
261
- }, /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u75C5\u5386\uFF0C\u8BF7\u9009\u62E9\u6A21\u677F\u5185\u5BB9"), /*#__PURE__*/React.createElement("div", null, _map(NurseTypesMapping, function (nurseType, key) {
262
- if (_get(data, 'age') > 21) {
222
+ }, /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u75C5\u5386\uFF0C\u8BF7\u9009\u62E9\u6A21\u677F\u5185\u5BB9"), /*#__PURE__*/React.createElement("div", null, map(NurseTypesMapping, function (nurseType, key) {
223
+ if (get(data, 'age') > 21) {
263
224
  if (nurseType.key === 'Puberty') {
264
225
  return '';
265
226
  } else {
266
- return /*#__PURE__*/React.createElement(_Button, {
227
+ return /*#__PURE__*/React.createElement(Button, {
267
228
  style: {
268
229
  margin: 8
269
230
  },
@@ -272,7 +233,7 @@ function ZKBL(props) {
272
233
  }, nurseType.name);
273
234
  }
274
235
  } else {
275
- return /*#__PURE__*/React.createElement(_Button, {
236
+ return /*#__PURE__*/React.createElement(Button, {
276
237
  style: {
277
238
  margin: 8
278
239
  },
@@ -283,34 +244,34 @@ function ZKBL(props) {
283
244
  })));
284
245
  }
285
246
  }
286
- return /*#__PURE__*/React.createElement(_Row, {
247
+ return /*#__PURE__*/React.createElement(Row, {
287
248
  style: {
288
249
  height: '100%'
289
250
  }
290
- }, /*#__PURE__*/React.createElement(_Col, {
251
+ }, /*#__PURE__*/React.createElement(Col, {
291
252
  style: {
292
253
  height: '100%',
293
254
  width: 290,
294
- overflow: 'scroll',
255
+ overflow: 'auto',
295
256
  backgroundColor: '#fff'
296
257
  }
297
- }, renderSider()), /*#__PURE__*/React.createElement(_Col, {
258
+ }, renderSider()), /*#__PURE__*/React.createElement(Col, {
298
259
  style: {
299
260
  height: '100%',
300
261
  width: 'calc(100% - 290px)',
301
- overflow: 'scroll'
262
+ overflow: 'auto'
302
263
  }
303
- }, renderContent()), /*#__PURE__*/React.createElement(_Modal, {
304
- visible: visible,
264
+ }, renderContent()), /*#__PURE__*/React.createElement(Modal, {
265
+ open: visible,
305
266
  onCancel: function onCancel() {
306
267
  set_visible(false);
307
268
  }
308
- }, _map(NurseTypesMapping, function (nurseType, key) {
309
- if (_get(data, 'age') > 21) {
269
+ }, map(NurseTypesMapping, function (nurseType, key) {
270
+ if (get(data, 'age') > 21) {
310
271
  if (nurseType.key === 'Puberty') {
311
272
  return '';
312
273
  } else {
313
- return /*#__PURE__*/React.createElement(_Button, {
274
+ return /*#__PURE__*/React.createElement(Button, {
314
275
  style: {
315
276
  margin: 8
316
277
  },
@@ -319,7 +280,7 @@ function ZKBL(props) {
319
280
  }, nurseType.name);
320
281
  }
321
282
  } else {
322
- return /*#__PURE__*/React.createElement(_Button, {
283
+ return /*#__PURE__*/React.createElement(Button, {
323
284
  style: {
324
285
  margin: 8
325
286
  },
@@ -348,12 +309,12 @@ var Nursing = function (_super) {
348
309
  _this.handleClickListItem = function (item) {
349
310
  return function () {
350
311
  var code = 'dilatationAndCurettage';
351
- _map(NurseTypesMapping$1, function (value, index) {
352
- if (_get(item, 'operationName') === _get(value, 'name')) {
312
+ map(NurseTypesMapping$1, function (value, index) {
313
+ if (get(item, 'operationName') === get(value, 'name')) {
353
314
  code = index;
354
315
  }
355
316
  });
356
- var activeTemplate = _get(NurseTypesMapping$1, "".concat(code, ".key"));
317
+ var activeTemplate = get(NurseTypesMapping$1, "".concat(code, ".key"));
357
318
  _this.setState({
358
319
  activeItem: item,
359
320
  activeTemplate: activeTemplate
@@ -368,22 +329,22 @@ var Nursing = function (_super) {
368
329
  switch (_b.label) {
369
330
  case 0:
370
331
  newSiderPanels = [];
371
- id = _get(this.props, 'id');
332
+ id = get(this.props, 'id');
372
333
  _a = this.state, activeItem = _a.activeItem, activeTemplate = _a.activeTemplate;
373
- surgicalRecordId = _get(this.props, 'surgicalRecordId');
334
+ surgicalRecordId = get(this.props, 'surgicalRecordId');
374
335
  return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalTypeList?familyPlanningId.equals=".concat(id, "&deleteFlag.equals=0"))];
375
336
  case 1:
376
337
  data = _b.sent().data;
377
- if (_get(data, 'data')) {
378
- newSiderPanels = _get(data, 'data.earlyPregnancyCheckSurgeryType');
338
+ if (get(data, 'data')) {
339
+ newSiderPanels = get(data, 'data.earlyPregnancyCheckSurgeryType');
379
340
  }
380
341
  newActiveTemplate = activeTemplate;
381
342
  if (surgicalRecordId) {
382
- _map(newSiderPanels, function (item, index) {
383
- if (Number(surgicalRecordId) === _get(item, 'id')) {
384
- _map(NurseTypesMapping$1, function (value, valIndex) {
385
- if (_get(item, 'operationName') === _get(value, 'name')) {
386
- newActiveTemplate = _get(NurseTypesMapping$1, "".concat(valIndex, ".key"));
343
+ map(newSiderPanels, function (item, index) {
344
+ if (Number(surgicalRecordId) === get(item, 'id')) {
345
+ map(NurseTypesMapping$1, function (value, valIndex) {
346
+ if (get(item, 'operationName') === get(value, 'name')) {
347
+ newActiveTemplate = get(NurseTypesMapping$1, "".concat(valIndex, ".key"));
387
348
  }
388
349
  });
389
350
  _this.setState({
@@ -396,17 +357,17 @@ var Nursing = function (_super) {
396
357
  });
397
358
  } else {
398
359
  newActiveItem = activeItem;
399
- if (_isEmpty(activeItem) && !_isEmpty(newSiderPanels)) {
400
- newActiveItem = _first(newSiderPanels);
401
- operationName_1 = _get(newSiderPanels, '0.operationName');
402
- _map(NurseTypesMapping$1, function (value, index) {
403
- if (operationName_1 === _get(value, 'name')) {
404
- newActiveTemplate = _get(NurseTypesMapping$1, "".concat(index, ".key"));
360
+ if (isEmpty(activeItem) && !isEmpty(newSiderPanels)) {
361
+ newActiveItem = first(newSiderPanels);
362
+ operationName_1 = get(newSiderPanels, '0.operationName');
363
+ map(NurseTypesMapping$1, function (value, index) {
364
+ if (operationName_1 === get(value, 'name')) {
365
+ newActiveTemplate = get(NurseTypesMapping$1, "".concat(index, ".key"));
405
366
  }
406
367
  });
407
368
  }
408
- if (!_get(activeItem, 'id')) {
409
- newActiveItem = _first(newSiderPanels);
369
+ if (!get(activeItem, 'id')) {
370
+ newActiveItem = first(newSiderPanels);
410
371
  }
411
372
  this.setState({
412
373
  siderPanels: newSiderPanels,
@@ -427,7 +388,7 @@ var Nursing = function (_super) {
427
388
  return __generator(this, function (_a) {
428
389
  switch (_a.label) {
429
390
  case 0:
430
- id = _get(item, 'id');
391
+ id = get(item, 'id');
431
392
  return [4, fubaoRequest["delete"]("/api/family/planning/deleteEarlyPregnancyCheckSurgicalType/".concat(id))];
432
393
  case 1:
433
394
  _a.sent().data;
@@ -446,13 +407,13 @@ var Nursing = function (_super) {
446
407
  };
447
408
  _this.handleChooseTemplate = function (nurseType) {
448
409
  return function () {
449
- _get(nurseType, 'key');
410
+ get(nurseType, 'key');
450
411
  var oldsiderPanels = _this.state.oldsiderPanels;
451
412
  {
452
- var newSiderPanels = _cloneDeep(oldsiderPanels);
413
+ var newSiderPanels = cloneDeep(oldsiderPanels);
453
414
  var newItem = {
454
415
  id: '',
455
- operationName: _get(nurseType, 'name')
416
+ operationName: get(nurseType, 'name')
456
417
  };
457
418
  newSiderPanels.push(newItem);
458
419
  _this.setState({
@@ -461,7 +422,7 @@ var Nursing = function (_super) {
461
422
  });
462
423
  }
463
424
  _this.setState({
464
- activeTemplate: _get(nurseType, 'key'),
425
+ activeTemplate: get(nurseType, 'key'),
465
426
  visible: false
466
427
  });
467
428
  };
@@ -470,7 +431,7 @@ var Nursing = function (_super) {
470
431
  var _a = _this.state,
471
432
  siderPanels = _a.siderPanels,
472
433
  activeItem = _a.activeItem;
473
- return /*#__PURE__*/React.createElement(_Card, {
434
+ return /*#__PURE__*/React.createElement(Card, {
474
435
  size: "small",
475
436
  bordered: false,
476
437
  style: {
@@ -485,15 +446,15 @@ var Nursing = function (_super) {
485
446
  extra: /*#__PURE__*/React.createElement(PlusCircleOutlined, {
486
447
  onClick: _this.handleAdd
487
448
  })
488
- }, !_isEmpty(siderPanels) && /*#__PURE__*/React.createElement("div", {
449
+ }, !isEmpty(siderPanels) && (/*#__PURE__*/React.createElement("div", {
489
450
  className: styles$1['family-planning-list-container']
490
- }, _map(siderPanels, function (data, index) {
451
+ }, map(siderPanels, function (data, index) {
491
452
  return /*#__PURE__*/React.createElement("div", {
492
453
  key: data.id,
493
454
  className: styles$1['family-planning-list']
494
455
  }, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
495
- className: "".concat(styles$1['doctor-desk-first-visit-sider-list__item'], " ").concat(_get(activeItem, 'id') === _get(data, 'id') ? styles$1['active'] : ''),
496
- style: _get(activeItem, 'id') === _get(data, 'id') ? {
456
+ className: "".concat(styles$1['doctor-desk-first-visit-sider-list__item'], " ").concat(get(activeItem, 'id') === get(data, 'id') ? styles$1['active'] : ''),
457
+ style: get(activeItem, 'id') === get(data, 'id') ? {
497
458
  background: '#eaf4fd'
498
459
  } : {
499
460
  background: 'none'
@@ -501,37 +462,37 @@ var Nursing = function (_super) {
501
462
  onClick: _this.handleClickListItem(data)
502
463
  }, /*#__PURE__*/React.createElement("span", {
503
464
  className: styles$1['doctor-desk-first-visit-sider-list__item-title']
504
- }, _get(data, 'operationName')), _get(data, 'id') && _get(data, 'id') != -1 ? /*#__PURE__*/React.createElement(_Popconfirm, {
465
+ }, get(data, 'operationName')), get(data, 'id') && get(data, 'id') != -1 ? (/*#__PURE__*/React.createElement(Popconfirm, {
505
466
  title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u75C5\u5386\u5417?",
506
467
  onConfirm: _this.handleDelete(data),
507
468
  okText: "\u786E\u5B9A",
508
469
  cancelText: "\u53D6\u6D88"
509
- }, _get(activeItem, 'id') === _get(data, 'id') && /*#__PURE__*/React.createElement(DeleteOutlined, {
470
+ }, get(activeItem, 'id') === get(data, 'id') && (/*#__PURE__*/React.createElement(DeleteOutlined, {
510
471
  style: {
511
472
  color: '#007aff',
512
473
  "float": 'right',
513
474
  marginTop: 2,
514
475
  marginLeft: 8
515
476
  }
516
- }), _get(data, 'surgicalDate') && /*#__PURE__*/React.createElement("span", {
477
+ })), get(data, 'surgicalDate') && (/*#__PURE__*/React.createElement("span", {
517
478
  className: "date",
518
479
  style: {
519
480
  "float": 'right'
520
481
  }
521
- }, _get(data, 'surgicalDate'))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditOutlined, {
482
+ }, get(data, 'surgicalDate'))))) : (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditOutlined, {
522
483
  style: {
523
484
  color: 'rgb(24, 144, 255)',
524
485
  "float": 'right',
525
486
  marginTop: 2,
526
487
  marginLeft: 8
527
488
  }
528
- }), _get(data, 'surgicalDate') && /*#__PURE__*/React.createElement("span", {
489
+ }), get(data, 'surgicalDate') && (/*#__PURE__*/React.createElement("span", {
529
490
  className: "date",
530
491
  style: {
531
492
  "float": 'right'
532
493
  }
533
- }, _get(data, 'surgicalDate'))))));
534
- })));
494
+ }, get(data, 'surgicalDate'))))))));
495
+ }))));
535
496
  };
536
497
  _this.renderContent = function () {
537
498
  var _a = _this.state,
@@ -540,7 +501,7 @@ var Nursing = function (_super) {
540
501
  var reload = _this.props.reload;
541
502
  if (NurseTypesMapping$1[activeTemplate]) {
542
503
  var Component_1 = NurseTypesMapping$1[activeTemplate]['component'];
543
- return /*#__PURE__*/React.createElement(Component_1, _extends({}, _this.props, {
504
+ return /*#__PURE__*/React.createElement(Component_1, __assign({}, _this.props, {
544
505
  activeItem: activeItem,
545
506
  activeTemplate: activeTemplate,
546
507
  onRefresh: _this.handleInit,
@@ -549,8 +510,8 @@ var Nursing = function (_super) {
549
510
  } else {
550
511
  return /*#__PURE__*/React.createElement("div", {
551
512
  className: styles$1['gy-empty-page']
552
- }, /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u75C5\u5386\uFF0C\u8BF7\u9009\u62E9\u6A21\u677F\u5185\u5BB9"), /*#__PURE__*/React.createElement("div", null, _map(NurseTypesMapping$1, function (nurseType, key) {
553
- return /*#__PURE__*/React.createElement(_Button, {
513
+ }, /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u75C5\u5386\uFF0C\u8BF7\u9009\u62E9\u6A21\u677F\u5185\u5BB9"), /*#__PURE__*/React.createElement("div", null, map(NurseTypesMapping$1, function (nurseType, key) {
514
+ return /*#__PURE__*/React.createElement(Button, {
554
515
  style: {
555
516
  margin: 8
556
517
  },
@@ -573,32 +534,32 @@ var Nursing = function (_super) {
573
534
  Nursing.prototype.render = function () {
574
535
  var _this = this;
575
536
  var visible = this.state.visible;
576
- return /*#__PURE__*/React.createElement(_Row, {
537
+ return /*#__PURE__*/React.createElement(Row, {
577
538
  style: {
578
539
  height: '100%'
579
540
  }
580
- }, /*#__PURE__*/React.createElement(_Col, {
541
+ }, /*#__PURE__*/React.createElement(Col, {
581
542
  style: {
582
543
  height: '100%',
583
544
  width: 290,
584
- overflow: 'scroll',
545
+ overflow: 'auto',
585
546
  backgroundColor: '#fff'
586
547
  }
587
- }, this.renderSider()), /*#__PURE__*/React.createElement(_Col, {
548
+ }, this.renderSider()), /*#__PURE__*/React.createElement(Col, {
588
549
  style: {
589
550
  height: '100%',
590
551
  width: 'calc(100% - 290px)',
591
- overflow: 'scroll'
552
+ overflow: 'auto'
592
553
  }
593
- }, this.renderContent()), /*#__PURE__*/React.createElement(_Modal, {
594
- visible: visible,
554
+ }, this.renderContent()), /*#__PURE__*/React.createElement(Modal, {
555
+ open: visible,
595
556
  onCancel: function onCancel() {
596
557
  _this.setState({
597
558
  visible: false
598
559
  });
599
560
  }
600
- }, _map(NurseTypesMapping$1, function (nurseType, key) {
601
- return /*#__PURE__*/React.createElement(_Button, {
561
+ }, map(NurseTypesMapping$1, function (nurseType, key) {
562
+ return /*#__PURE__*/React.createElement(Button, {
602
563
  style: {
603
564
  margin: 8
604
565
  },
@@ -612,51 +573,51 @@ var Nursing = function (_super) {
612
573
  var SurgicalRecord = Nursing;
613
574
  var valueToApi = function valueToApi(values) {
614
575
  var result = {};
615
- _map(values, function (itemVaule, key) {
576
+ map(values, function (itemVaule, key) {
616
577
  switch (key) {
617
578
  case 'payment':
618
579
  if (itemVaule === '已缴费') {
619
- _set(result, key, 1);
580
+ set(result, key, 1);
620
581
  } else {
621
- _set(result, key, 0);
582
+ set(result, key, 0);
622
583
  }
623
584
  break;
624
585
  case 'postoperationMissions':
625
586
  var valueJson = safe_json_parse(itemVaule);
626
- _set(result, key, _get(valueJson, 'checkedValues.0'));
627
- _set(result, "".concat(key, "Note"), _get(valueJson, ['withInputValues', "".concat(_get(valueJson, 'checkedValues.0')), 'value', '0']));
587
+ set(result, key, get(valueJson, 'checkedValues.0'));
588
+ set(result, "".concat(key, "Note"), get(valueJson, ['withInputValues', "".concat(get(valueJson, 'checkedValues.0')), 'value', '0']));
628
589
  break;
629
590
  case 'appointmentDate':
630
- _set(result, key, formatDateTime(itemVaule));
591
+ set(result, key, formatDateTime(itemVaule));
631
592
  break;
632
593
  case 'postoperationMissionsType':
633
- _set(result, key, _get(itemVaule, 'type'));
634
- _set(result, 'postoperationMissionsContent', _get(itemVaule, 'content'));
594
+ set(result, key, get(itemVaule, 'type'));
595
+ set(result, 'postoperationMissionsContent', get(itemVaule, 'content'));
635
596
  break;
636
597
  default:
637
- if (key === 'postoperationMissionsContent' && _get(result, 'postoperationMissionsContent')) {
638
- _set(result, key, _get(result, 'postoperationMissionsContent'));
598
+ if (key === 'postoperationMissionsContent' && get(result, 'postoperationMissionsContent')) {
599
+ set(result, key, get(result, 'postoperationMissionsContent'));
639
600
  } else {
640
- _set(result, key, itemVaule);
601
+ set(result, key, itemVaule);
641
602
  }
642
603
  break;
643
604
  }
644
605
  });
645
- _set(result, 'progressStatus', 2);
606
+ set(result, 'progressStatus', 2);
646
607
  return result;
647
608
  };
648
609
  var valueToForm = function valueToForm(values) {
649
610
  var operationNameOptions = [];
650
- var cloneValues = _cloneDeep(values);
651
- _map(cloneValues, function (item, index) {
652
- if (_get(item, 'payment')) {
653
- _set(item, 'payment', '已缴费');
611
+ var cloneValues = cloneDeep(values);
612
+ map(cloneValues, function (item, index) {
613
+ if (get(item, 'payment')) {
614
+ set(item, 'payment', '已缴费');
654
615
  } else {
655
- _set(item, 'payment', '未缴费');
616
+ set(item, 'payment', '未缴费');
656
617
  }
657
618
  operationNameOptions.push({
658
- label: _get(item, 'operationName'),
659
- value: _get(item, 'operationName')
619
+ label: get(item, 'operationName'),
620
+ value: get(item, 'operationName')
660
621
  });
661
622
  });
662
623
  return {
@@ -665,18 +626,18 @@ var valueToForm = function valueToForm(values) {
665
626
  };
666
627
  };
667
628
  var modifyValueToForm = function modifyValueToForm(values) {
668
- var cloneValues = _cloneDeep(values);
669
- _map(cloneValues, function (itemValue, key) {
629
+ var cloneValues = cloneDeep(values);
630
+ map(cloneValues, function (itemValue, key) {
670
631
  var _a;
671
632
  if (key === 'payment') {
672
633
  if (itemValue) {
673
- _set(cloneValues, key, '已缴费');
634
+ set(cloneValues, key, '已缴费');
674
635
  } else {
675
- _set(cloneValues, key, '未缴费');
636
+ set(cloneValues, key, '未缴费');
676
637
  }
677
638
  }
678
639
  if (key === 'appointmentDate') {
679
- _set(cloneValues, key, dayjs(itemValue));
640
+ set(cloneValues, key, dayjs(itemValue));
680
641
  }
681
642
  if (key === 'postoperationMissions') {
682
643
  var checkBoxValue = {
@@ -684,15 +645,15 @@ var modifyValueToForm = function modifyValueToForm(values) {
684
645
  withInputValues: (_a = {}, _a[itemValue] = {
685
646
  key: itemValue,
686
647
  value: {
687
- '0': _get(cloneValues, "".concat(key, "Note"))
648
+ '0': get(cloneValues, "".concat(key, "Note"))
688
649
  }
689
650
  }, _a)
690
651
  };
691
- _set(cloneValues, key, safe_json_stringify(checkBoxValue));
652
+ set(cloneValues, key, safe_json_stringify(checkBoxValue));
692
653
  }
693
654
  if (key === 'postoperationMissionsType') {
694
- _set(cloneValues, "".concat(key, ".type"), itemValue);
695
- _set(cloneValues, "".concat(key, ".content"), _get(values, 'postoperationMissionsContent'));
655
+ set(cloneValues, "".concat(key, ".type"), itemValue);
656
+ set(cloneValues, "".concat(key, ".content"), get(values, 'postoperationMissionsContent'));
696
657
  }
697
658
  });
698
659
  return cloneValues;
@@ -770,7 +731,7 @@ var Select = LazyAntd.Select;
770
731
  LazyAntd.Table;
771
732
  LazyAntd.Dropdown;
772
733
  LazyAntd.Pagination;
773
- var TabPane = _Tabs.TabPane;
734
+ var TabPane = Tabs.TabPane;
774
735
  var Index = function (_super) {
775
736
  __extends(Index, _super);
776
737
  function Index() {
@@ -803,7 +764,7 @@ var Index = function (_super) {
803
764
  basicData = this.props.basicData;
804
765
  params = {
805
766
  'progressStatus.equals': 1,
806
- 'outpatientNo.equals': _get(basicData, 'outpatientNo'),
767
+ 'outpatientNo.equals': get(basicData, 'outpatientNo'),
807
768
  'deleteFlag.equals': 0
808
769
  };
809
770
  return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType", {
@@ -811,14 +772,14 @@ var Index = function (_super) {
811
772
  })];
812
773
  case 1:
813
774
  response = _a.sent().data;
814
- if (_get(response, 'code') === 1) {
815
- if (_isEmpty(_get(response, 'data'))) {
775
+ if (get(response, 'code') === 1) {
776
+ if (isEmpty(get(response, 'data'))) {
816
777
  this.getRecordData();
817
778
  this.setState({
818
779
  activeTabKey: '2'
819
780
  });
820
781
  } else {
821
- valuesObj = valueToForm(_get(response, 'data'));
782
+ valuesObj = valueToForm(get(response, 'data'));
822
783
  data = valuesObj.data, operationNameOptions = valuesObj.operationNameOptions;
823
784
  this.setState({
824
785
  data: data,
@@ -826,7 +787,7 @@ var Index = function (_super) {
826
787
  });
827
788
  }
828
789
  } else {
829
- _message.warning(_get(response, 'msg'));
790
+ message.warning(get(response, 'msg'));
830
791
  }
831
792
  return [2];
832
793
  }
@@ -842,7 +803,7 @@ var Index = function (_super) {
842
803
  basicData = this.props.basicData;
843
804
  params = {
844
805
  'progressStatusNO.equals': 1,
845
- 'outpatientNo.equals': _get(basicData, 'outpatientNo'),
806
+ 'outpatientNo.equals': get(basicData, 'outpatientNo'),
846
807
  'deleteFlag.equals': 0
847
808
  };
848
809
  return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType", {
@@ -850,13 +811,13 @@ var Index = function (_super) {
850
811
  })];
851
812
  case 1:
852
813
  response = _a.sent().data;
853
- if (_get(response, 'code') === 1) {
854
- recordData = _get(response, 'data');
814
+ if (get(response, 'code') === 1) {
815
+ recordData = get(response, 'data');
855
816
  this.setState({
856
817
  recordData: recordData
857
818
  });
858
819
  } else {
859
- _message.warning(_get(response, 'msg'));
820
+ message.warning(get(response, 'msg'));
860
821
  }
861
822
  return [2];
862
823
  }
@@ -877,8 +838,8 @@ var Index = function (_super) {
877
838
  })];
878
839
  case 1:
879
840
  response = _a.sent().data;
880
- if (_get(response, 'code') === 1) {
881
- templateData = _get(response, 'data');
841
+ if (get(response, 'code') === 1) {
842
+ templateData = get(response, 'data');
882
843
  this.setState({
883
844
  templateData: templateData
884
845
  });
@@ -889,12 +850,12 @@ var Index = function (_super) {
889
850
  });
890
851
  };
891
852
  _this.getAttendanceOfThisDay = function (target, operationKey) {
892
- if (!target || !_get(target, "attendanceSet")) {
853
+ if (!target || !get(target, "attendanceSet")) {
893
854
  return '休息';
894
- } else if (_get(target, "".concat(operationKey)) === 0 || _get(target, "".concat(operationKey)) === 2 || _get(target, "".concat(operationKey)) === 3) {
855
+ } else if (get(target, "".concat(operationKey)) === 0 || get(target, "".concat(operationKey)) === 2 || get(target, "".concat(operationKey)) === 3) {
895
856
  return '休息';
896
857
  } else {
897
- return _get(target, "".concat(operationKey));
858
+ return get(target, "".concat(operationKey));
898
859
  }
899
860
  };
900
861
  _this.disabledDate = function (current) {
@@ -903,7 +864,7 @@ var Index = function (_super) {
903
864
  operationName = _a.operationName;
904
865
  var operationKey = _this.getOperationKey(operationName);
905
866
  var target = reservationPanel.find(function (_) {
906
- return dayjs(_get(_, 'schedulingDate')).isSame(current, 'day');
867
+ return dayjs(get(_, 'schedulingDate')).isSame(current, 'day');
907
868
  });
908
869
  return current < dayjs().startOf('day') || _this.getAttendanceOfThisDay(target, operationKey) === '休息';
909
870
  };
@@ -913,11 +874,11 @@ var Index = function (_super) {
913
874
  operationName = _a.operationName;
914
875
  var operationKey = _this.getOperationKey(operationName);
915
876
  var target = reservationPanel.find(function (_) {
916
- return dayjs(_get(_, 'schedulingDate')).isSame(currentDate, 'day');
877
+ return dayjs(get(_, 'schedulingDate')).isSame(currentDate, 'day');
917
878
  });
918
879
  var isOpen = _this.getAttendanceOfThisDay(target, operationKey);
919
880
  return /*#__PURE__*/React.createElement("div", {
920
- className: "ant-picker-cell-inner ".concat(_get(target, 'attendanceSet') && isOpen === '休息' && _get(target, "".concat(operationKey)) === 3 ? 'single-datePicker-irreducible' : _get(target, 'attendanceSet') && isOpen === '休息' && _get(target, "".concat(operationKey)) === 0 || _get(target, 'attendanceSet') && isOpen === '休息' && _get(target, "".concat(operationKey)) === 2 || _get(target, 'attendanceSet') === 0 ? 'single-datePicker-stop' : isOpen === 1 ? 'single-datePicker-reducible' : '')
881
+ className: "ant-picker-cell-inner ".concat(get(target, 'attendanceSet') && isOpen === '休息' && get(target, "".concat(operationKey)) === 3 ? 'single-datePicker-irreducible' : get(target, 'attendanceSet') && isOpen === '休息' && get(target, "".concat(operationKey)) === 0 || get(target, 'attendanceSet') && isOpen === '休息' && get(target, "".concat(operationKey)) === 2 || get(target, 'attendanceSet') === 0 ? 'single-datePicker-stop' : isOpen === 1 ? 'single-datePicker-reducible' : '')
921
882
  }, currentDate.date());
922
883
  };
923
884
  _this.handleSubmit = function () {
@@ -940,18 +901,18 @@ var Index = function (_super) {
940
901
  return [4, fubaoRequest.post('/api/family/planning/updateAppointmentSurgery', submitData)];
941
902
  case 2:
942
903
  res = _c.sent().data;
943
- if (_get(res, 'code') === 1) {
944
- if (_get(selectData, 'appointmentMorningOrAfternoon')) {
945
- _message.success('已修改成功,信息将同步推送给患者。');
904
+ if (get(res, 'code') === 1) {
905
+ if (get(selectData, 'appointmentMorningOrAfternoon')) {
906
+ mchcEnv.success('已修改成功,信息将同步推送给患者。');
946
907
  } else {
947
- _message.success('已预约成功,信息将同步推送给患者。');
908
+ mchcEnv.success('已预约成功,信息将同步推送给患者。');
948
909
  }
949
910
  onCancel && onCancel();
950
911
  }
951
912
  return [3, 4];
952
913
  case 3:
953
914
  errorInfo_1 = _c.sent();
954
- _message.error(_get(errorInfo_1, 'errorFields.0.errors.0'));
915
+ mchcEnv.error(get(errorInfo_1, 'errorFields.0.errors.0'));
955
916
  return [3, 4];
956
917
  case 4:
957
918
  return [2];
@@ -995,47 +956,47 @@ var Index = function (_super) {
995
956
  case 0:
996
957
  data = this.state.data;
997
958
  this.form = this.formRef.current;
998
- if (!_get(changedValues, 'operationName')) return [3, 2];
999
- filterArr = _filter(data, function (item) {
1000
- return _get(item, 'operationName') === _get(changedValues, 'operationName');
959
+ if (!get(changedValues, 'operationName')) return [3, 2];
960
+ filterArr = filter(data, function (item) {
961
+ return get(item, 'operationName') === get(changedValues, 'operationName');
1001
962
  });
1002
963
  (_a = this.form) === null || _a === void 0 ? void 0 : _a.setFieldsValue(filterArr[0]);
1003
964
  this.setState({
1004
965
  selectData: filterArr[0]
1005
966
  });
1006
967
  params = {
1007
- 'operationName.equals': _get(changedValues, 'operationName')
968
+ 'operationName.equals': get(changedValues, 'operationName')
1008
969
  };
1009
970
  return [4, fubaoRequest.get("/api/family/planning/getOpenSchedulingDateByOperationName", {
1010
971
  params: params
1011
972
  })];
1012
973
  case 1:
1013
974
  response = _c.sent().data;
1014
- if (_get(response, 'code') === 1) {
1015
- if (_get(response, 'data')) {
1016
- momentSchedulingDate = dayjs(_get(response, 'data.schedulingDate'));
975
+ if (get(response, 'code') === 1) {
976
+ if (get(response, 'data')) {
977
+ momentSchedulingDate = dayjs(get(response, 'data.schedulingDate'));
1017
978
  (_b = this.form) === null || _b === void 0 ? void 0 : _b.setFieldsValue({
1018
979
  appointmentDate: momentSchedulingDate
1019
980
  });
1020
- this.getAccordingtoDateOfData(_get(response, 'data.schedulingDate'));
981
+ this.getAccordingtoDateOfData(get(response, 'data.schedulingDate'));
1021
982
  this.setState({
1022
- openSchedulingDateByOperationNameData: _get(response, 'data'),
1023
- operationName: _get(changedValues, 'operationName')
983
+ openSchedulingDateByOperationNameData: get(response, 'data'),
984
+ operationName: get(changedValues, 'operationName')
1024
985
  });
1025
986
  } else {
1026
987
  this.setState({
1027
988
  openSchedulingDateByOperationNameData: {},
1028
- operationName: _get(changedValues, 'operationName')
989
+ operationName: get(changedValues, 'operationName')
1029
990
  });
1030
- _message.warning(_get(response, 'msg'));
991
+ message.warning(get(response, 'msg'));
1031
992
  }
1032
993
  } else {
1033
- _message.warning(_get(response, 'msg'));
994
+ message.warning(get(response, 'msg'));
1034
995
  }
1035
996
  _c.label = 2;
1036
997
  case 2:
1037
- if (_get(changedValues, 'appointmentDate')) {
1038
- appointmentDate = _get(changedValues, 'appointmentDate').format('YYYY-MM-DD');
998
+ if (get(changedValues, 'appointmentDate')) {
999
+ appointmentDate = get(changedValues, 'appointmentDate').format('YYYY-MM-DD');
1039
1000
  this.getAccordingtoDateOfData(appointmentDate);
1040
1001
  this.getAccordingtoDateOfScheduling(appointmentDate);
1041
1002
  }
@@ -1059,9 +1020,9 @@ var Index = function (_super) {
1059
1020
  })];
1060
1021
  case 1:
1061
1022
  response = _a.sent().data;
1062
- if (_get(response, 'code') === 1) {
1023
+ if (get(response, 'code') === 1) {
1063
1024
  this.setState({
1064
- openSchedulingDateByOperationNameData: _get(response, 'data.0')
1025
+ openSchedulingDateByOperationNameData: get(response, 'data.0')
1065
1026
  });
1066
1027
  }
1067
1028
  return [2];
@@ -1084,9 +1045,9 @@ var Index = function (_super) {
1084
1045
  })];
1085
1046
  case 1:
1086
1047
  response = _a.sent().data;
1087
- if (_get(response, 'code') === 1) {
1048
+ if (get(response, 'code') === 1) {
1088
1049
  this.setState({
1089
- sameDayData: _get(response, 'data')
1050
+ sameDayData: get(response, 'data')
1090
1051
  });
1091
1052
  }
1092
1053
  return [2];
@@ -1096,7 +1057,7 @@ var Index = function (_super) {
1096
1057
  };
1097
1058
  _this.handleOk = function (item) {
1098
1059
  return function () {
1099
- var id = _get(item, 'id');
1060
+ var id = get(item, 'id');
1100
1061
  _this.setState({
1101
1062
  popconfirmVisible: true,
1102
1063
  popconfirmVisibleId: id
@@ -1110,7 +1071,7 @@ var Index = function (_super) {
1110
1071
  return __generator(this, function (_a) {
1111
1072
  switch (_a.label) {
1112
1073
  case 0:
1113
- id = _get(item, 'id');
1074
+ id = get(item, 'id');
1114
1075
  return [4, fubaoRequest["delete"]("/api/family/planning/cancelAppointmentSurgery/".concat(id))];
1115
1076
  case 1:
1116
1077
  _a.sent().data;
@@ -1132,11 +1093,11 @@ var Index = function (_super) {
1132
1093
  var formValue = modifyValueToForm(item);
1133
1094
  _this.form = _this.formRef.current;
1134
1095
  (_a = _this.form) === null || _a === void 0 ? void 0 : _a.setFieldsValue(formValue);
1135
- _this.getAccordingtoDateOfData(_get(item, 'appointmentDate'));
1136
- _this.getAccordingtoDateOfScheduling(_get(item, 'appointmentDate'));
1096
+ _this.getAccordingtoDateOfData(get(item, 'appointmentDate'));
1097
+ _this.getAccordingtoDateOfScheduling(get(item, 'appointmentDate'));
1137
1098
  _this.setState({
1138
1099
  activeTabKey: '1',
1139
- operationName: _get(item, 'operationName'),
1100
+ operationName: get(item, 'operationName'),
1140
1101
  selectData: item,
1141
1102
  isUpdate: true
1142
1103
  });
@@ -1145,9 +1106,9 @@ var Index = function (_super) {
1145
1106
  _this.getOperationKey = function (operationName) {
1146
1107
  var operationKey = '';
1147
1108
  if (operationName) {
1148
- _map(NurseTypesMapping$1, function (item, key) {
1149
- if (_get(item, 'name') === operationName) {
1150
- operationKey = _get(item, 'key');
1109
+ map(NurseTypesMapping$1, function (item, key) {
1110
+ if (get(item, 'name') === operationName) {
1111
+ operationKey = get(item, 'key');
1151
1112
  }
1152
1113
  });
1153
1114
  }
@@ -1155,17 +1116,17 @@ var Index = function (_super) {
1155
1116
  };
1156
1117
  _this.renderSource = function (data, operationName) {
1157
1118
  var operationKey = _this.getOperationKey(operationName);
1158
- var num = _get(data, "".concat(operationKey, "Num")) || 0;
1159
- var reservationNum = _get(data, "".concat(operationKey, "ReservationNum")) || 0;
1160
- var residueNum = _get(data, "".concat(operationKey, "ResidueNum")) || 0;
1119
+ var num = get(data, "".concat(operationKey, "Num")) || 0;
1120
+ var reservationNum = get(data, "".concat(operationKey, "ReservationNum")) || 0;
1121
+ var residueNum = get(data, "".concat(operationKey, "ResidueNum")) || 0;
1161
1122
  return "\u5269\u4F59\u53F7\u6E90\uFF1A".concat(residueNum, "\u4E2A\uFF1B\u5DF2\u9884\u7EA6\uFF1A").concat(reservationNum, "\u4E2A\uFF1B\u5F00\u653E\u53F7\u6E90\uFF1A").concat(num, "\u4E2A");
1162
1123
  };
1163
1124
  _this.renderAppointmentMorningOrAfternoon = function (data, operationName) {
1164
1125
  var _a;
1165
1126
  var sameDayData = _this.state.sameDayData;
1166
1127
  var operationKey = _this.getOperationKey(operationName);
1167
- var residueNum = _get(data, "".concat(operationKey, "ResidueNum")) || 0;
1168
- var attendanceSet = _get(data, 'attendanceSet');
1128
+ var residueNum = get(data, "".concat(operationKey, "ResidueNum")) || 0;
1129
+ var attendanceSet = get(data, 'attendanceSet');
1169
1130
  _this.form = _this.formRef.current;
1170
1131
  var appointmentDate = (_a = _this.form) === null || _a === void 0 ? void 0 : _a.getFieldValue('appointmentDate');
1171
1132
  var today = dayjs();
@@ -1185,11 +1146,11 @@ var Index = function (_super) {
1185
1146
  }
1186
1147
  var options = [];
1187
1148
  if (attendanceSet === 3) {
1188
- var morningData = _filter(sameDayData, function (item) {
1189
- return _get(item, 'appointmentMorningOrAfternoon') === '上午' && _get(item, 'progressStatus') !== 1 && _get(item, 'progressStatus') !== 5;
1149
+ var morningData = filter(sameDayData, function (item) {
1150
+ return get(item, 'appointmentMorningOrAfternoon') === '上午' && get(item, 'progressStatus') !== 1 && get(item, 'progressStatus') !== 5;
1190
1151
  });
1191
- var afternoonData = _filter(sameDayData, function (item) {
1192
- return _get(item, 'appointmentMorningOrAfternoon') === '下午' && _get(item, 'progressStatus') !== 1 && _get(item, 'progressStatus') !== 5;
1152
+ var afternoonData = filter(sameDayData, function (item) {
1153
+ return get(item, 'appointmentMorningOrAfternoon') === '下午' && get(item, 'progressStatus') !== 1 && get(item, 'progressStatus') !== 5;
1193
1154
  });
1194
1155
  options = [{
1195
1156
  label: '上午',
@@ -1220,15 +1181,15 @@ var Index = function (_super) {
1220
1181
  options = [];
1221
1182
  }
1222
1183
  if (attendanceSet) {
1223
- return /*#__PURE__*/React.createElement(_Form.Item, {
1184
+ return /*#__PURE__*/React.createElement(Form.Item, {
1224
1185
  name: "appointmentMorningOrAfternoon",
1225
1186
  label: "\u9884\u7EA6\u65F6\u95F4\u6BB5",
1226
1187
  rules: [{
1227
1188
  required: true,
1228
1189
  message: '预约时间段是必填项'
1229
1190
  }]
1230
- }, /*#__PURE__*/React.createElement(_Radio.Group, null, options.map(function (item, index) {
1231
- return /*#__PURE__*/React.createElement(_Radio.Button, {
1191
+ }, /*#__PURE__*/React.createElement(Radio.Group, null, options.map(function (item, index) {
1192
+ return /*#__PURE__*/React.createElement(Radio.Button, {
1232
1193
  value: item.value,
1233
1194
  key: index,
1234
1195
  disabled: item.isFull || item.isOvertiem
@@ -1240,11 +1201,11 @@ var Index = function (_super) {
1240
1201
  }, "\u5DF2\u6EE1"));
1241
1202
  })));
1242
1203
  } else {
1243
- return /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1204
+ return /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1244
1205
  span: 6
1245
- }), /*#__PURE__*/React.createElement(_Col, {
1206
+ }), /*#__PURE__*/React.createElement(Col, {
1246
1207
  span: 18
1247
- }, /*#__PURE__*/React.createElement(_Alert, {
1208
+ }, /*#__PURE__*/React.createElement(Alert, {
1248
1209
  message: "\u6682\u65E0\u53EF\u9884\u7EA6\u65F6\u95F4\u6BB5",
1249
1210
  type: "warning"
1250
1211
  })));
@@ -1252,12 +1213,12 @@ var Index = function (_super) {
1252
1213
  };
1253
1214
  _this.renderColor = function (data) {
1254
1215
  var templateData = _this.state.templateData;
1255
- var filterArr = _filter(templateData, function (item) {
1256
- return _get(item, 'operationName') === _get(data, 'operationName');
1216
+ var filterArr = filter(templateData, function (item) {
1217
+ return get(item, 'operationName') === get(data, 'operationName');
1257
1218
  });
1258
1219
  return {
1259
- backgroundColor: _get(filterArr, '0.backgroundColor') || 'rgb(243, 243, 254)',
1260
- fontColor: _get(filterArr, '0.fontColor') || 'rgb(243, 243, 254)'
1220
+ backgroundColor: get(filterArr, '0.backgroundColor') || 'rgb(243, 243, 254)',
1221
+ fontColor: get(filterArr, '0.fontColor') || 'rgb(243, 243, 254)'
1261
1222
  };
1262
1223
  };
1263
1224
  return _this;
@@ -1288,38 +1249,38 @@ var Index = function (_super) {
1288
1249
  openSchedulingDateByOperationNameData = _b.openSchedulingDateByOperationNameData,
1289
1250
  operationName = _b.operationName,
1290
1251
  isUpdate = _b.isUpdate;
1291
- return /*#__PURE__*/React.createElement(_Modal, {
1252
+ return /*#__PURE__*/React.createElement(Modal, {
1292
1253
  centered: true,
1293
1254
  wrapClassName: "modal-phone apponit-modal",
1294
1255
  title: '手术预约',
1295
- visible: visible,
1256
+ open: visible,
1296
1257
  onCancel: onCancel,
1297
1258
  onOk: this.handleSubmit,
1298
1259
  width: 580,
1299
- footer: [/*#__PURE__*/React.createElement(_Button, {
1260
+ footer: [/*#__PURE__*/React.createElement(Button, {
1300
1261
  key: "back",
1301
1262
  onClick: onCancel
1302
- }, "\u5173\u95ED"), /*#__PURE__*/React.createElement(_Button, {
1263
+ }, "\u5173\u95ED"), /*#__PURE__*/React.createElement(Button, {
1303
1264
  key: "submit",
1304
1265
  type: "primary",
1305
- style: activeTabKey === '2' || _isEmpty(openSchedulingDateByOperationNameData) ? {
1266
+ style: activeTabKey === '2' || isEmpty(openSchedulingDateByOperationNameData) ? {
1306
1267
  display: 'none'
1307
1268
  } : {
1308
1269
  display: 'inline-block'
1309
1270
  },
1310
- disabled: activeTabKey === '2' || _isEmpty(openSchedulingDateByOperationNameData) ? true : false,
1271
+ disabled: activeTabKey === '2' || isEmpty(openSchedulingDateByOperationNameData) ? true : false,
1311
1272
  onClick: this.handleSubmit
1312
1273
  }, "\u4FDD\u5B58")]
1313
1274
  }, /*#__PURE__*/React.createElement("div", {
1314
1275
  className: "modal-phone-content appointModel"
1315
- }, /*#__PURE__*/React.createElement(_Tabs, {
1276
+ }, /*#__PURE__*/React.createElement(Tabs, {
1316
1277
  activeKey: activeTabKey,
1317
1278
  onChange: this.handleTabChange,
1318
1279
  type: "card"
1319
1280
  }, /*#__PURE__*/React.createElement(TabPane, {
1320
1281
  tab: "\u624B\u672F\u9884\u7EA6",
1321
1282
  key: "1"
1322
- }, /*#__PURE__*/React.createElement(_Form, {
1283
+ }, /*#__PURE__*/React.createElement(Form, {
1323
1284
  autoComplete: "off",
1324
1285
  className: "modal-phone-pregnancy",
1325
1286
  ref: this.formRef,
@@ -1330,7 +1291,7 @@ var Index = function (_super) {
1330
1291
  span: 18
1331
1292
  },
1332
1293
  onValuesChange: this.handleItemChange
1333
- }, /*#__PURE__*/React.createElement(_Form.Item, {
1294
+ }, /*#__PURE__*/React.createElement(Form.Item, {
1334
1295
  name: "operationName",
1335
1296
  label: "\u624B\u672F\u540D\u79F0",
1336
1297
  rules: [{
@@ -1341,17 +1302,17 @@ var Index = function (_super) {
1341
1302
  options: operationNameOptions,
1342
1303
  placeholder: "\u624B\u672F\u540D\u79F0",
1343
1304
  disabled: isUpdate
1344
- })), /*#__PURE__*/React.createElement(_Form.Item, {
1305
+ })), /*#__PURE__*/React.createElement(Form.Item, {
1345
1306
  name: "payment",
1346
1307
  label: "\u7F34\u8D39\u60C5\u51B5",
1347
1308
  rules: [{
1348
1309
  required: true,
1349
1310
  message: '自动获取HIS系统的缴费状态'
1350
1311
  }]
1351
- }, /*#__PURE__*/React.createElement(_Input, {
1312
+ }, /*#__PURE__*/React.createElement(Input, {
1352
1313
  placeholder: "\u81EA\u52A8\u83B7\u53D6HIS\u7CFB\u7EDF\u7684\u7F34\u8D39\u72B6\u6001",
1353
1314
  disabled: true
1354
- })), operationName && !_isEmpty(openSchedulingDateByOperationNameData) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {
1315
+ })), operationName && !isEmpty(openSchedulingDateByOperationNameData) && (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Form.Item, {
1355
1316
  name: "appointmentDate",
1356
1317
  label: "\u9884\u7EA6\u65E5\u671F",
1357
1318
  rules: [{
@@ -1361,76 +1322,76 @@ var Index = function (_super) {
1361
1322
  }, /*#__PURE__*/React.createElement(DatePicker_L, {
1362
1323
  dateRender: this.dateRender,
1363
1324
  disabledDate: this.disabledDate
1364
- })), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1325
+ })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1365
1326
  span: 6
1366
- }), /*#__PURE__*/React.createElement(_Col, {
1327
+ }), /*#__PURE__*/React.createElement(Col, {
1367
1328
  span: 18
1368
- }, this.renderSource(openSchedulingDateByOperationNameData, operationName))), this.renderAppointmentMorningOrAfternoon(openSchedulingDateByOperationNameData, operationName)))), /*#__PURE__*/React.createElement(TabPane, {
1329
+ }, this.renderSource(openSchedulingDateByOperationNameData, operationName))), this.renderAppointmentMorningOrAfternoon(openSchedulingDateByOperationNameData, operationName))))), /*#__PURE__*/React.createElement(TabPane, {
1369
1330
  tab: "\u9884\u7EA6\u8BB0\u5F55",
1370
1331
  key: "2"
1371
- }, recordData.length > 0 ? /*#__PURE__*/React.createElement("ul", {
1332
+ }, recordData.length > 0 ? (/*#__PURE__*/React.createElement("ul", {
1372
1333
  className: "appointment-ul"
1373
1334
  }, recordData.map(function (item, index) {
1374
1335
  return /*#__PURE__*/React.createElement("li", {
1375
1336
  className: "appointment-li",
1376
- key: _get(item, 'id'),
1337
+ key: get(item, 'id'),
1377
1338
  style: {
1378
- background: _get(_this.renderColor(item), 'backgroundColor')
1339
+ background: get(_this.renderColor(item), 'backgroundColor')
1379
1340
  }
1380
- }, /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1341
+ }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1381
1342
  span: 12
1382
1343
  }, /*#__PURE__*/React.createElement("span", {
1383
1344
  className: "label"
1384
- }, "\u624B\u672F\u540D\u79F0:"), " ", _get(item, 'operationName')), /*#__PURE__*/React.createElement(_Col, {
1345
+ }, "\u624B\u672F\u540D\u79F0:"), " ", get(item, 'operationName')), /*#__PURE__*/React.createElement(Col, {
1385
1346
  span: 12
1386
1347
  }, /*#__PURE__*/React.createElement("span", {
1387
1348
  className: "label"
1388
- }, "\u7F34\u8D39\u60C5\u51B5:"), " ", _get(item, 'payment') ? '已缴费' : '未缴费')), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1349
+ }, "\u7F34\u8D39\u60C5\u51B5:"), " ", get(item, 'payment') ? '已缴费' : '未缴费')), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1389
1350
  span: 12
1390
1351
  }, /*#__PURE__*/React.createElement("span", {
1391
1352
  className: "label"
1392
- }, "\u9884\u7EA6\u65E5\u671F:"), " ", _get(item, 'appointmentDate')), /*#__PURE__*/React.createElement(_Col, {
1353
+ }, "\u9884\u7EA6\u65E5\u671F:"), " ", get(item, 'appointmentDate')), /*#__PURE__*/React.createElement(Col, {
1393
1354
  span: 12
1394
1355
  }, /*#__PURE__*/React.createElement("span", {
1395
1356
  className: "label"
1396
- }, "\u9884\u7EA6\u65F6\u95F4\u6BB5:"), " ", _get(item, 'appointmentMorningOrAfternoon'))), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1357
+ }, "\u9884\u7EA6\u65F6\u95F4\u6BB5:"), " ", get(item, 'appointmentMorningOrAfternoon'))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1397
1358
  span: 3
1398
1359
  }, /*#__PURE__*/React.createElement("span", {
1399
1360
  className: "label"
1400
- }, "\u5065\u5EB7\u5BA3\u6559:")), /*#__PURE__*/React.createElement(_Col, {
1361
+ }, "\u5065\u5EB7\u5BA3\u6559:")), /*#__PURE__*/React.createElement(Col, {
1401
1362
  span: 18
1402
- }, _get(item, 'postoperationMissionsContent'))), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
1363
+ }, get(item, 'postoperationMissionsContent'))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
1403
1364
  span: 12
1404
1365
  }, /*#__PURE__*/React.createElement("span", {
1405
1366
  className: "label"
1406
- }, "\u767B\u8BB0\u65E5\u671F:"), " ", _get(item, 'registrationDate')), /*#__PURE__*/React.createElement(_Col, {
1367
+ }, "\u767B\u8BB0\u65E5\u671F:"), " ", get(item, 'registrationDate')), /*#__PURE__*/React.createElement(Col, {
1407
1368
  span: 12
1408
1369
  }, /*#__PURE__*/React.createElement("span", {
1409
1370
  className: "label"
1410
- }, "\u767B\u8BB0\u8005:"), " ", _get(item, 'appointmentPeople'))), /*#__PURE__*/React.createElement("div", {
1371
+ }, "\u767B\u8BB0\u8005:"), " ", get(item, 'appointmentPeople'))), /*#__PURE__*/React.createElement("div", {
1411
1372
  className: "sign-in"
1412
- }, _get(item, 'progressStatus') === 1 ? /*#__PURE__*/React.createElement("span", null, "\u5F85\u9884\u7EA6") : _get(item, 'progressStatus') === 2 ? /*#__PURE__*/React.createElement("span", {
1373
+ }, get(item, 'progressStatus') === 1 ? (/*#__PURE__*/React.createElement("span", null, "\u5F85\u9884\u7EA6")) : get(item, 'progressStatus') === 2 ? (/*#__PURE__*/React.createElement("span", {
1413
1374
  style: {
1414
1375
  background: '#7b8c9b'
1415
1376
  }
1416
- }, "\u5F85\u7B7E\u5230") : _get(item, 'progressStatus') === 3 ? /*#__PURE__*/React.createElement("span", {
1377
+ }, "\u5F85\u7B7E\u5230")) : get(item, 'progressStatus') === 3 ? (/*#__PURE__*/React.createElement("span", {
1417
1378
  style: {
1418
1379
  background: '#21AC8D'
1419
1380
  }
1420
- }, "\u5DF2\u7B7E\u5230") : _get(item, 'progressStatus') === 4 ? /*#__PURE__*/React.createElement("span", {
1381
+ }, "\u5DF2\u7B7E\u5230")) : get(item, 'progressStatus') === 4 ? (/*#__PURE__*/React.createElement("span", {
1421
1382
  style: {
1422
1383
  background: '#21AC8D'
1423
1384
  }
1424
- }, "\u5DF2\u5B8C\u6210") : _get(item, 'progressStatus') === 0 ? /*#__PURE__*/React.createElement("span", {
1385
+ }, "\u5DF2\u5B8C\u6210")) : get(item, 'progressStatus') === 0 ? (/*#__PURE__*/React.createElement("span", {
1425
1386
  style: {
1426
1387
  background: '#FF7295'
1427
1388
  }
1428
- }, "\u5DF2\u8D85\u65F6") : ''), (_get(item, 'progressStatus') === 0 || _get(item, 'progressStatus') === 2) && /*#__PURE__*/React.createElement("div", {
1389
+ }, "\u5DF2\u8D85\u65F6")) : ''), (get(item, 'progressStatus') === 0 || get(item, 'progressStatus') === 2) && (/*#__PURE__*/React.createElement("div", {
1429
1390
  className: "button-group"
1430
- }, /*#__PURE__*/React.createElement(_Popconfirm, {
1391
+ }, /*#__PURE__*/React.createElement(Popconfirm, {
1431
1392
  key: "cancel",
1432
1393
  title: "\u662F\u5426\u786E\u8BA4\u53D6\u6D88\u9884\u7EA6!",
1433
- visible: _get(item, 'id') === popconfirmVisibleId && popconfirmVisible,
1394
+ visible: get(item, 'id') === popconfirmVisibleId && popconfirmVisible,
1434
1395
  onCancel: function onCancel() {
1435
1396
  _this.setState({
1436
1397
  popconfirmVisible: false,
@@ -1440,18 +1401,18 @@ var Index = function (_super) {
1440
1401
  onConfirm: _this.hanleCancelAppointmentSurgery(item),
1441
1402
  okText: "\u786E\u5B9A",
1442
1403
  cancelText: "\u53D6\u6D88"
1443
- }, /*#__PURE__*/React.createElement(_Button, {
1404
+ }, /*#__PURE__*/React.createElement(Button, {
1444
1405
  key: "submit",
1445
1406
  type: "link",
1446
1407
  onClick: _this.handleOk(item)
1447
- }, "\u53D6\u6D88")), /*#__PURE__*/React.createElement(_Button, {
1408
+ }, "\u53D6\u6D88")), /*#__PURE__*/React.createElement(Button, {
1448
1409
  type: "link",
1449
1410
  key: "update",
1450
1411
  onClick: _this.handleUpdateAppointmentSurgery(item)
1451
- }, "\u4FEE\u6539")));
1452
- })) : /*#__PURE__*/React.createElement(_Empty, {
1453
- image: _Empty.PRESENTED_IMAGE_SIMPLE
1454
- })))));
1412
+ }, "\u4FEE\u6539"))));
1413
+ }))) : (/*#__PURE__*/React.createElement(Empty, {
1414
+ image: Empty.PRESENTED_IMAGE_SIMPLE
1415
+ }))))));
1455
1416
  };
1456
1417
  Index.defaultProps = {
1457
1418
  title: '',
@@ -1524,10 +1485,10 @@ function FamilyPlanning_FileManagement_DoctorDesk_FC(props) {
1524
1485
  case 4:
1525
1486
  res = _b.sent().data;
1526
1487
  if (data) {
1527
- data = _get(data, 'data.pageData.0');
1488
+ data = get(data, 'data.pageData.0');
1528
1489
  }
1529
1490
  setData(data);
1530
- setDomain(_get(res, 'data'));
1491
+ setDomain(get(res, 'data'));
1531
1492
  return [2];
1532
1493
  }
1533
1494
  });
@@ -1542,10 +1503,10 @@ function FamilyPlanning_FileManagement_DoctorDesk_FC(props) {
1542
1503
  return __generator(this, function (_b) {
1543
1504
  login = (_a = SLocal_State.userData) === null || _a === void 0 ? void 0 : _a.login;
1544
1505
  if (key === 'cqzd') {
1545
- prenatalDiagnosisUrl = "http://".concat(domain, "/single/pd?moduleName=prenatalDiagnosisV2&patId=").concat(_get(data, 'outpatientNo'), "&empId=").concat(login);
1506
+ prenatalDiagnosisUrl = "http://".concat(domain, "/single/pd?moduleName=prenatalDiagnosisV2&patId=").concat(get(data, 'outpatientNo'), "&empId=").concat(login);
1546
1507
  window.open(prenatalDiagnosisUrl, '_blank');
1547
1508
  } else if (key === 'wcbj') {
1548
- prenatalVisitUrl = "http://".concat(domain, "/single/obout?patId=").concat(_get(data, 'outpatientNo'), "&empId=").concat(login);
1509
+ prenatalVisitUrl = "http://".concat(domain, "/single/obout?patId=").concat(get(data, 'outpatientNo'), "&empId=").concat(login);
1549
1510
  window.open(prenatalVisitUrl, '_blank');
1550
1511
  } else {
1551
1512
  setActiveKey(key);
@@ -1641,4 +1602,3 @@ function FamilyPlanning_FileManagement_DoctorDesk_FC(props) {
1641
1602
  }));
1642
1603
  }
1643
1604
  export { FamilyPlanning_FileManagement_DoctorDesk_FC as default };
1644
- //# sourceMappingURL=.root.js.map