@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
@@ -0,0 +1,14 @@
1
+ import List from './family-planning.tracing-management.list.js';
2
+ export { default } from './family-planning.tracing-management.list.js';
3
+ import './tslib.es6.js';
4
+ import 'react';
5
+ import '@lm_fe/components_m';
6
+ import 'antd';
7
+ import '@ant-design/icons';
8
+ import 'lodash';
9
+ import '@lm_fe/utils';
10
+ import './ModalForm.js';
11
+ import 'dayjs';
12
+ import '@lm_fe/components';
13
+ import '@lm_fe/service';
14
+ import './style-inject.es.js';
@@ -1,13 +1,10 @@
1
- import 'antd/es/divider/style';
2
- import _Divider from 'antd/es/divider';
3
- import 'antd/es/button/style';
4
- import _Button from 'antd/es/button';
5
- import _get from 'lodash/get';
6
- import { d as __spreadArray, c as __assign, _ as __awaiter, a as __generator, e as __rest } from './tslib.es6.js';
1
+ import { d as __spreadArray, b as __assign, _ as __awaiter, a as __generator, e as __rest } from './tslib.es6.js';
7
2
  import { APP_CONFIG, OkButton, fubaoHistoryPush } from '@lm_fe/components_m';
8
3
  import { MyBaseList, mchcModal__ } from '@lm_fe/pages';
9
4
  import { fubaoRequest, formatRangeDate, safe_async_call } from '@lm_fe/utils';
10
- import React$1 from 'react';
5
+ import { Button, Divider } from 'antd';
6
+ import { get } from 'lodash';
7
+ import React from 'react';
11
8
  import { getSameOptions } from '@lm_fe/env';
12
9
  import { SMchc_Knowledges, SMchc_Questionnaire } from '@lm_fe/service';
13
10
  var queryFormDescriptions = {
@@ -102,7 +99,7 @@ var tableColumns = [{
102
99
  dataIndex: 'notificationNote',
103
100
  width: APP_CONFIG.CELL_WIDTH_SMALL,
104
101
  render: function render(text, record) {
105
- return text ? "".concat(text).concat(_get(record, 'notificationOtherNote') ? "-".concat(_get(record, 'notificationOtherNote')) : '') : '';
102
+ return text ? "".concat(text).concat(get(record, 'notificationOtherNote') ? "-".concat(get(record, 'notificationOtherNote')) : '') : '';
106
103
  }
107
104
  }, {
108
105
  title: '随访日期',
@@ -339,7 +336,7 @@ function handleView(rowData) {
339
336
  cervicalCancerScreeningId = rowData.cervicalCancerScreeningId,
340
337
  breastCancerScreeningId = rowData.breastCancerScreeningId,
341
338
  breastCancerXRayId = rowData.breastCancerXRayId;
342
- if (_get(rowData, 'screeningType') && _get(rowData, 'screeningType').indexOf('乳腺') > -1) {
339
+ if (get(rowData, 'screeningType') && get(rowData, 'screeningType').indexOf('乳腺') > -1) {
343
340
  if (breastCancerScreeningId) {
344
341
  fubaoHistoryPush("/gynecological-diseases/two-cancers/exam?id=".concat(twoCancerScreeningId, "&breastCancerScreeningId=").concat(breastCancerScreeningId, "&activeKey=MammaryCancer"));
345
342
  } else {
@@ -351,7 +348,7 @@ function handleView(rowData) {
351
348
  }
352
349
  function Pathological_follow_up(props) {
353
350
  var _this = this;
354
- return /*#__PURE__*/React$1.createElement(MyBaseList, {
351
+ return /*#__PURE__*/React.createElement(MyBaseList, {
355
352
  genColumns: function genColumns(_a) {
356
353
  _a.handleDelete;
357
354
  var handleSearch = _a.handleSearch;
@@ -361,15 +358,15 @@ function Pathological_follow_up(props) {
361
358
  showFilter: false,
362
359
  fixed: 'right',
363
360
  render: function render(value, rowData, index) {
364
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(_Button, {
361
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
365
362
  type: "link",
366
363
  size: "small",
367
364
  onClick: function onClick() {
368
365
  return handleView(rowData);
369
366
  }
370
- }, "\u67E5\u770B"), /*#__PURE__*/React$1.createElement(_Divider, {
367
+ }, "\u67E5\u770B"), /*#__PURE__*/React.createElement(Divider, {
371
368
  type: "vertical"
372
- }), /*#__PURE__*/React$1.createElement(_Button, {
369
+ }), /*#__PURE__*/React.createElement(Button, {
373
370
  type: "link",
374
371
  size: "small",
375
372
  onClick: function onClick() {
@@ -408,7 +405,7 @@ function Pathological_follow_up(props) {
408
405
  var ids = getCheckRows().map(function (_) {
409
406
  return _.id;
410
407
  });
411
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(OkButton, {
408
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OkButton, {
412
409
  primary: true,
413
410
  disabled: !ids.length,
414
411
  onClick: function onClick() {
@@ -475,4 +472,3 @@ function Pathological_follow_up(props) {
475
472
  });
476
473
  }
477
474
  export { Pathological_follow_up as default };
478
- //# sourceMappingURL=.root28.js.map
@@ -1,13 +1,10 @@
1
- import 'antd/es/divider/style';
2
- import _Divider from 'antd/es/divider';
3
- import 'antd/es/button/style';
4
- import _Button from 'antd/es/button';
5
- import _get from 'lodash/get';
6
- import { d as __spreadArray, c as __assign, _ as __awaiter, a as __generator, e as __rest } from './tslib.es6.js';
1
+ import { d as __spreadArray, b as __assign, _ as __awaiter, a as __generator, e as __rest } from './tslib.es6.js';
7
2
  import { APP_CONFIG, OkButton, fubaoHistoryPush } from '@lm_fe/components_m';
8
3
  import { MyBaseList, mchcModal__ } from '@lm_fe/pages';
9
4
  import { fubaoRequest, formatRangeDate, safe_async_call } from '@lm_fe/utils';
10
- import React$1 from 'react';
5
+ import { Button, Divider } from 'antd';
6
+ import { get } from 'lodash';
7
+ import React from 'react';
11
8
  import { getSameOptions } from '@lm_fe/env';
12
9
  import { SMchc_Knowledges, SMchc_Questionnaire } from '@lm_fe/service';
13
10
  var queryFormDescriptions = {
@@ -98,7 +95,7 @@ var tableColumns = [{
98
95
  dataIndex: 'notificationNote',
99
96
  width: APP_CONFIG.CELL_WIDTH_SMALL,
100
97
  render: function render(text, record) {
101
- return text ? "".concat(text).concat(_get(record, 'notificationOtherNote') ? "-".concat(_get(record, 'notificationOtherNote')) : '') : '';
98
+ return text ? "".concat(text).concat(get(record, 'notificationOtherNote') ? "-".concat(get(record, 'notificationOtherNote')) : '') : '';
102
99
  }
103
100
  }, {
104
101
  title: '是否失访',
@@ -309,7 +306,7 @@ function handleView(rowData) {
309
306
  cervicalCancerScreeningId = rowData.cervicalCancerScreeningId,
310
307
  breastCancerScreeningId = rowData.breastCancerScreeningId,
311
308
  breastCancerXRayId = rowData.breastCancerXRayId;
312
- if (_get(rowData, 'screeningType') && _get(rowData, 'screeningType').indexOf('乳腺') > -1) {
309
+ if (get(rowData, 'screeningType') && get(rowData, 'screeningType').indexOf('乳腺') > -1) {
313
310
  if (breastCancerScreeningId) {
314
311
  fubaoHistoryPush("/gynecological-diseases/two-cancers/exam?id=".concat(twoCancerScreeningId, "&breastCancerScreeningId=").concat(breastCancerScreeningId, "&activeKey=MammaryCancer"));
315
312
  } else {
@@ -321,7 +318,7 @@ function handleView(rowData) {
321
318
  }
322
319
  function Pathological_reminder(props) {
323
320
  var _this = this;
324
- return /*#__PURE__*/React$1.createElement(MyBaseList, {
321
+ return /*#__PURE__*/React.createElement(MyBaseList, {
325
322
  genColumns: function genColumns(_a) {
326
323
  _a.handleDelete;
327
324
  var handleSearch = _a.handleSearch;
@@ -331,15 +328,15 @@ function Pathological_reminder(props) {
331
328
  showFilter: false,
332
329
  fixed: 'right',
333
330
  render: function render(value, rowData, index) {
334
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(_Button, {
331
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
335
332
  type: "link",
336
333
  size: "small",
337
334
  onClick: function onClick() {
338
335
  return handleView(rowData);
339
336
  }
340
- }, "\u67E5\u770B"), /*#__PURE__*/React$1.createElement(_Divider, {
337
+ }, "\u67E5\u770B"), /*#__PURE__*/React.createElement(Divider, {
341
338
  type: "vertical"
342
- }), /*#__PURE__*/React$1.createElement(_Button, {
339
+ }), /*#__PURE__*/React.createElement(Button, {
343
340
  type: "link",
344
341
  size: "small",
345
342
  onClick: function onClick() {
@@ -378,7 +375,7 @@ function Pathological_reminder(props) {
378
375
  var ids = getCheckRows().map(function (_) {
379
376
  return _.id;
380
377
  });
381
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(OkButton, {
378
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OkButton, {
382
379
  primary: true,
383
380
  disabled: !ids.length,
384
381
  onClick: function onClick() {
@@ -445,4 +442,3 @@ function Pathological_reminder(props) {
445
442
  });
446
443
  }
447
444
  export { Pathological_reminder as default };
448
- //# sourceMappingURL=.root29.js.map
@@ -0,0 +1,141 @@
1
+ import { e as __rest, b as __assign, _ as __awaiter, a as __generator } from './tslib.es6.js';
2
+ import { OkButton, fubaoHistoryPush } from '@lm_fe/components_m';
3
+ import { fubaoRequest, formatRangeDate } from '@lm_fe/utils';
4
+ import { Form, Space } from 'antd';
5
+ import 'lodash';
6
+ import React, { useEffect } from 'react';
7
+ import { mchcEvent, mchcEnv, mchcUtils } from '@lm_fe/env';
8
+ import { useReadIdNO, BF_Wrap2, MyBaseList, IdNOButton } from '@lm_fe/pages';
9
+ import { ModelService } from '@lm_fe/service';
10
+ import { F as Follow_up_btn_两癌 } from './index5.js';
11
+ import { l as load_form_config } from './Form.js';
12
+ var s = new ModelService({
13
+ n: 'TwoCancerScreeningFile',
14
+ prePath: '/two/cancer/screening',
15
+ fuckPage: true
16
+ });
17
+ function Pathological_follow_up(props) {
18
+ var _this = this;
19
+ var search_form = Form.useForm()[0];
20
+ var id_NO_msg = useReadIdNO().id_NO_msg;
21
+ var _a = BF_Wrap2({
22
+ default_conf: {
23
+ title: '两癌筛查-列表',
24
+ tableColumns: load_form_config,
25
+ searchConfig: [{
26
+ inputType: 'input',
27
+ name: 'outpatientNo',
28
+ label: '门诊号',
29
+ props: {}
30
+ }, {
31
+ inputType: 'input',
32
+ name: 'telephone',
33
+ label: '手机号码',
34
+ props: {}
35
+ }, {
36
+ inputType: 'input',
37
+ name: 'idNO',
38
+ label: '身份证号码',
39
+ props: {}
40
+ }, {
41
+ inputType: 'input',
42
+ name: 'name',
43
+ label: '姓名',
44
+ props: {}
45
+ }, {
46
+ inputType: 'input',
47
+ name: 'unitName',
48
+ label: '检测单位',
49
+ props: {}
50
+ }]
51
+ }
52
+ }),
53
+ config = _a.config,
54
+ Wrap = _a.Wrap;
55
+ useEffect(function () {
56
+ mchcEvent.on_rm('my_form', function (e) {
57
+ var _a;
58
+ if (e.type !== 'onClick') return;
59
+ var idNO = (_a = e.values) === null || _a === void 0 ? void 0 : _a.idNO;
60
+ if (!idNO) return mchcEnv.warning('请输入证件号码');
61
+ fubaoRequest.get('/api/two/cancer/screening/reportVerification', {
62
+ params: {
63
+ 'idNO.equals': idNO
64
+ },
65
+ unboxing: true
66
+ }).then(function (_a) {
67
+ var data = _a.data;
68
+ mchcEnv.info(data.uploadMsg);
69
+ });
70
+ });
71
+ }, []);
72
+ useEffect(function () {
73
+ if ((id_NO_msg === null || id_NO_msg === void 0 ? void 0 : id_NO_msg.send_id) === 'list') search_form.setFieldsValue(id_NO_msg.data);
74
+ }, [id_NO_msg]);
75
+ return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(MyBaseList, {
76
+ searchForm: search_form,
77
+ modalFormConfig: {
78
+ modal_data: {
79
+ onValuesChange: function onValuesChange(changedValues, values, form) {}
80
+ }
81
+ },
82
+ customModelService: s,
83
+ tableColumns: config === null || config === void 0 ? void 0 : config.tableColumns,
84
+ baseTitle: "\u6863\u6848\u7BA1\u7406",
85
+ ActionAddonBefore: function ActionAddonBefore(_a) {
86
+ var handleSearch = _a.handleSearch,
87
+ rowData = _a.rowData;
88
+ return /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Follow_up_btn_两癌, {
89
+ handleSearch: handleSearch,
90
+ rowData: rowData
91
+ }), /*#__PURE__*/React.createElement(OkButton, {
92
+ size: 'small',
93
+ onClick: function onClick() {
94
+ fubaoHistoryPush("/gynecological-diseases/two-cancers/exam?id=".concat(rowData.id), props);
95
+ }
96
+ }, "\u7B5B\u67E5"));
97
+ },
98
+ RenderBtns: function RenderBtns() {
99
+ return /*#__PURE__*/React.createElement(IdNOButton, {
100
+ send_id: 'list'
101
+ });
102
+ },
103
+ beforeSearch: function beforeSearch(v) {
104
+ var filingDay = v.filingDay,
105
+ others = __rest(v, ["filingDay"]);
106
+ var rangeData = formatRangeDate({
107
+ filingDay: filingDay
108
+ });
109
+ var res = __assign(__assign({}, rangeData), others);
110
+ return res;
111
+ },
112
+ beforeSubmit: function beforeSubmit(v) {
113
+ return __awaiter(_this, void 0, void 0, function () {
114
+ var configurationValue, configurationReplenishExplain, configurationState, idNO, check_res;
115
+ return __generator(this, function (_a) {
116
+ configurationValue = v.configurationValue, configurationReplenishExplain = v.configurationReplenishExplain;
117
+ configurationState = v.configurationState;
118
+ if (configurationValue && configurationReplenishExplain) {
119
+ configurationState = 1;
120
+ }
121
+ if (!configurationValue && !configurationReplenishExplain) {
122
+ configurationState = 0;
123
+ }
124
+ v.configurationState = configurationState;
125
+ idNO = v.idNO;
126
+ check_res = mchcUtils.checkIdNo_new(idNO);
127
+ if (!(check_res === null || check_res === void 0 ? void 0 : check_res.status)) {
128
+ mchcEnv.info('证件号码填写错误');
129
+ return [2, null];
130
+ }
131
+ return [2, v];
132
+ });
133
+ });
134
+ },
135
+ searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
136
+ searchParams: {
137
+ pageSize: 10
138
+ }
139
+ }));
140
+ }
141
+ export { Pathological_follow_up as default };