@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,21 +1,8 @@
1
- import 'antd/es/space/style';
2
- import _Space from 'antd/es/space';
3
- import 'antd/es/button/style';
4
- import _Button from 'antd/es/button';
5
- import 'antd/es/divider/style';
6
- import _Divider from 'antd/es/divider';
7
- import 'antd/es/form/style';
8
- import _Form from 'antd/es/form';
9
- import { c as __assign, _ as __awaiter, a as __generator } from './tslib.es6.js';
1
+ import { _ as __awaiter, a as __generator, b as __assign } from './tslib.es6.js';
10
2
  import { BF_Wrap2, MyBaseList, mchcModal__ } from '@lm_fe/pages';
11
3
  import { getSearchParamsValue, request, getMomentRange, formatDate } from '@lm_fe/utils';
4
+ import { Row, Col, Space, Button, Empty, Form } from 'antd';
12
5
  import React, { useState, useEffect } from 'react';
13
- import 'antd/es/empty/style';
14
- import _Empty from 'antd/es/empty';
15
- import 'antd/es/row/style';
16
- import _Row from 'antd/es/row';
17
- import 'antd/es/col/style';
18
- import _Col from 'antd/es/col';
19
6
  import { MyFormSectionForm, LoadingPlaceholder, PanelTitleWrapper } from '@lm_fe/components_m';
20
7
  import { mchcEnv } from '@lm_fe/env';
21
8
  function Template(props) {
@@ -26,7 +13,7 @@ function Template(props) {
26
13
  disabled = props.disabled;
27
14
  if (!deptLink) return /*#__PURE__*/React.createElement("span", null, "\u672A\u80FD\u786E\u5B9A deptLink\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458");
28
15
  var conf_fn = function conf_fn() {
29
- return import('./.root65.js');
16
+ return import('./fubao.report-entry.reports4.js');
30
17
  };
31
18
  var _b = useState(),
32
19
  cur_tmp = _b[0],
@@ -60,27 +47,27 @@ function Template(props) {
60
47
  setCur_tmp(c);
61
48
  form.setFieldsValue(c.tpl_values);
62
49
  }
63
- return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
50
+ return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
64
51
  span: 2
65
- }, "\u8BF7\u9009\u62E9\u7EC4\u5957"), /*#__PURE__*/React.createElement(_Col, {
52
+ }, "\u8BF7\u9009\u62E9\u7EC4\u5957"), /*#__PURE__*/React.createElement(Col, {
66
53
  span: 20
67
- }, tpl_conf.map(function (c) {
54
+ }, /*#__PURE__*/React.createElement(Space.Compact, null, tpl_conf.map(function (c) {
68
55
  var is_cur = (cur_tmp === null || cur_tmp === void 0 ? void 0 : cur_tmp.tpl_name) === c.tpl_name;
69
56
  var is_frozen = is_cur ? false : disabled || !!(data === null || data === void 0 ? void 0 : data.id);
70
- return /*#__PURE__*/React.createElement(_Button, {
57
+ return /*#__PURE__*/React.createElement(Button, {
71
58
  disabled: is_frozen,
72
- size: "small",
59
+ size: 'small',
73
60
  onClick: function onClick() {
74
61
  return pick_tmp(c);
75
62
  },
76
63
  type: is_cur ? 'primary' : 'dashed',
77
64
  key: c.tpl_name
78
65
  }, c.tpl_name);
79
- }))), cur_tmp ? /*#__PURE__*/React.createElement(MyFormSectionForm, {
66
+ })))), cur_tmp ? /*#__PURE__*/React.createElement(MyFormSectionForm, {
80
67
  disableAll: disabled,
81
68
  form: form,
82
69
  formDescriptions: cur_tmp === null || cur_tmp === void 0 ? void 0 : cur_tmp.tpl_form
83
- }) : /*#__PURE__*/React.createElement(_Empty, {
70
+ }) : /*#__PURE__*/React.createElement(Empty, {
84
71
  description: "\u8BF7\u9009\u62E9\u6A21\u677F"
85
72
  }));
86
73
  }
@@ -90,12 +77,12 @@ function ReportEntryInner(props) {
90
77
  var injected = props.injected;
91
78
  var idNO = (_a = props.idNO) !== null && _a !== void 0 ? _a : getSearchParamsValue('idNO');
92
79
  var conf_fn = function conf_fn() {
93
- return import('./.root64.js');
80
+ return import('./fubao.report-entry.reports3.js');
94
81
  };
95
82
  var _b = useState(),
96
83
  patient = _b[0],
97
84
  setPatient = _b[1];
98
- var form = _Form.useForm()[0];
85
+ var form = Form.useForm()[0];
99
86
  var _c = BF_Wrap2({
100
87
  default_conf: {
101
88
  title: '报告录入-报告列表',
@@ -122,36 +109,17 @@ function ReportEntryInner(props) {
122
109
  if (!patient) return /*#__PURE__*/React.createElement(LoadingPlaceholder, {
123
110
  tip: "\u6B63\u5728\u52A0\u8F7D ".concat(idNO, " \u7684\u62A5\u544A...")
124
111
  });
125
- /*#__PURE__*/
126
- React.createElement("div", {
127
- style: {
128
- padding: 4
129
- }
130
- }, /*#__PURE__*/React.createElement("span", null, "\u59D3\u540D:", patient.name), /*#__PURE__*/React.createElement(_Divider, {
131
- type: "vertical"
132
- }), /*#__PURE__*/React.createElement("span", null, "\u8BC1\u4EF6\u53F7:", idNO), /*#__PURE__*/React.createElement(_Divider, {
133
- type: "vertical"
134
- }), /*#__PURE__*/React.createElement("span", null, "\u6027\u522B:", mchcEnv.get_option_label('性别2', patient.gender)), /*#__PURE__*/React.createElement(_Divider, {
135
- type: "vertical"
136
- }), /*#__PURE__*/React.createElement("span", null, "\u5E74\u9F84:", patient.age));
137
112
  function check_row_disabled(rowData) {
138
113
  var 已审核 = (rowData === null || rowData === void 0 ? void 0 : rowData.state) === 2;
139
114
  return injected || 已审核;
140
115
  }
141
116
  function review(rows, cb) {
142
117
  return __awaiter(this, void 0, void 0, function () {
143
- var _rows;
144
118
  return __generator(this, function (_a) {
145
119
  switch (_a.label) {
146
120
  case 0:
147
- _rows = rows.filter(function (_) {
148
- return _.state !== 2;
149
- });
150
- if (!confirm("\u8BF7\u786E\u8BA4\u5BA1\u6838 ".concat(_rows.map(function (_) {
151
- return "".concat(_.suitName, "_").concat(_.examinationDate);
152
- }).join('、')))) return [3, 2];
153
121
  return [4, request.put('/api/reports/batch-review', {
154
- ids: _rows.map(function (_) {
122
+ ids: rows.map(function (_) {
155
123
  return _.id;
156
124
  })
157
125
  }, {
@@ -160,13 +128,45 @@ function ReportEntryInner(props) {
160
128
  case 1:
161
129
  _a.sent();
162
130
  cb();
163
- _a.label = 2;
164
- case 2:
165
131
  return [2];
166
132
  }
167
133
  });
168
134
  });
169
135
  }
136
+ function recycle(rows, cb) {
137
+ return __awaiter(this, void 0, void 0, function () {
138
+ return __generator(this, function (_a) {
139
+ switch (_a.label) {
140
+ case 0:
141
+ return [4, request.put('/api/reports/batch-recycle', {
142
+ ids: rows.map(function (_) {
143
+ return _.id;
144
+ })
145
+ }, {
146
+ ignore_usr: true
147
+ })];
148
+ case 1:
149
+ _a.sent();
150
+ cb();
151
+ return [2];
152
+ }
153
+ });
154
+ });
155
+ }
156
+ function print(params) {
157
+ return __awaiter(this, void 0, void 0, function () {
158
+ return __generator(this, function (_a) {
159
+ mchcModal__.open('print_modal', {
160
+ modal_data: {
161
+ requestData: __assign(__assign({
162
+ url: '/api/printReport'
163
+ }, patient), params)
164
+ }
165
+ });
166
+ return [2];
167
+ });
168
+ });
169
+ }
170
170
  var node = /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(MyBaseList, {
171
171
  ignore_usr: true,
172
172
  name: "/api/reports",
@@ -178,25 +178,25 @@ function ReportEntryInner(props) {
178
178
  initialSearchValue: {
179
179
  validateDate: getMomentRange().近一周.map(formatDate)
180
180
  },
181
- searchConfig: idNO ? undefined : config === null || config === void 0 ? void 0 : config.searchConfig,
181
+ searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
182
182
  showAdd: !injected,
183
183
  RenderBtns: function RenderBtns(ctx) {
184
184
  var selectRows = ctx.getCheckRows();
185
- return /*#__PURE__*/React.createElement(_Button.Group, null, /*#__PURE__*/React.createElement(_Button, {
185
+ return /*#__PURE__*/React.createElement(Space.Compact, null, /*#__PURE__*/React.createElement(Button, {
186
+ hidden: injected,
187
+ disabled: !selectRows.length,
188
+ onClick: function onClick() {
189
+ return recycle(selectRows, ctx.handleSearch);
190
+ }
191
+ }, "\u56DE\u6536"), /*#__PURE__*/React.createElement(Button, {
186
192
  hidden: injected,
187
193
  disabled: !selectRows.length,
188
194
  onClick: function onClick() {
189
195
  return review(selectRows, ctx.handleSearch);
190
196
  }
191
- }, "\u5BA1\u6838"), /*#__PURE__*/React.createElement(_Button, {
197
+ }, "\u5BA1\u6838"), /*#__PURE__*/React.createElement(Button, {
192
198
  onClick: function onClick() {
193
- mchcModal__.open('print_modal', {
194
- modal_data: {
195
- requestData: __assign({
196
- url: '/api/printReport'
197
- }, patient)
198
- }
199
- });
199
+ return print(ctx.getSearchParams());
200
200
  }
201
201
  }, "\u6253\u5370"));
202
202
  },
@@ -204,15 +204,15 @@ function ReportEntryInner(props) {
204
204
  RenderAction: function RenderAction(ctx) {
205
205
  var rowData = ctx.rowData;
206
206
  var row_disabled = check_row_disabled(rowData);
207
- return /*#__PURE__*/React.createElement(_Space, null, /*#__PURE__*/React.createElement(_Button, {
208
- size: "small",
209
- type: "primary",
207
+ return /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
208
+ size: 'small',
209
+ type: 'primary',
210
210
  onClick: function onClick() {
211
211
  return ctx.handleEdit(rowData);
212
212
  }
213
- }, "\u67E5\u770B"), /*#__PURE__*/React.createElement(_Button, {
213
+ }, "\u67E5\u770B"), /*#__PURE__*/React.createElement(Button, {
214
214
  danger: true,
215
- size: "small",
215
+ size: 'small',
216
216
  hidden: row_disabled,
217
217
  onClick: function onClick() {
218
218
  return ctx.handleDelete(rowData);
@@ -236,7 +236,7 @@ function ReportEntryInner(props) {
236
236
  })
237
237
  },
238
238
  centered: false,
239
- footer: /*#__PURE__*/React.createElement(_Space, null, /*#__PURE__*/React.createElement(_Button, {
239
+ footer: /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
240
240
  onClick: function onClick() {
241
241
  return __awaiter(_this, void 0, void 0, function () {
242
242
  var _a;
@@ -260,7 +260,7 @@ function ReportEntryInner(props) {
260
260
  });
261
261
  });
262
262
  }
263
- }, "\u786E\u5B9A"), /*#__PURE__*/React.createElement(_Button, {
263
+ }, "\u786E\u5B9A"), /*#__PURE__*/React.createElement(Button, {
264
264
  onClick: pop_modal
265
265
  }, "\u53D6\u6D88"))
266
266
  });
@@ -284,4 +284,3 @@ function ReportEntryInner(props) {
284
284
  }, node);
285
285
  }
286
286
  export { ReportEntryInner as default };
287
- //# sourceMappingURL=.root62.js.map
@@ -17,4 +17,3 @@ var form_config = defineFormConfig([{
17
17
  dataIndex: 'reviewer'
18
18
  }]);
19
19
  export { form_config as default };
20
- //# sourceMappingURL=.root64.js.map
@@ -245,4 +245,3 @@ var tmp_conf = [{
245
245
  }
246
246
  }];
247
247
  export { tmp_conf as default };
248
- //# sourceMappingURL=.root65.js.map
@@ -0,0 +1,97 @@
1
+ import { BF_Wrap2, MyBaseList } from '@lm_fe/pages';
2
+ import { defineFormConfig } from '@lm_fe/service';
3
+ import { getMomentRange, formatDate } from '@lm_fe/utils';
4
+ import React, { useEffect } from 'react';
5
+ import { F as Follow_up_btn_两癌 } from './index5.js';
6
+ import './tslib.es6.js';
7
+ import '@lm_fe/components_m';
8
+ function BreastCancerDataReport(prop) {
9
+ var _a = BF_Wrap2({
10
+ default_conf: {
11
+ title: '两癌筛查-乳腺癌异常统计',
12
+ name: "/api/statistics/breast/cancer/exception/findAll",
13
+ tableColumns: [{
14
+ title: '门诊号',
15
+ dataIndex: 'outpatientNO'
16
+ }, {
17
+ title: '姓名',
18
+ dataIndex: 'name'
19
+ }, {
20
+ title: '年龄',
21
+ dataIndex: 'age'
22
+ }, {
23
+ title: '电话',
24
+ dataIndex: 'telephone'
25
+ }, {
26
+ title: '证件号码',
27
+ dataIndex: 'idNO'
28
+ }, {
29
+ title: '身份证地址',
30
+ dataIndex: 'residenceAddress'
31
+ }, {
32
+ title: '建档日期',
33
+ dataIndex: 'registerDate'
34
+ }, {
35
+ title: '结果',
36
+ dataIndex: 'xresult'
37
+ }],
38
+ searchConfig: defineFormConfig([{
39
+ label: '门诊号',
40
+ name: 'outpatientNO',
41
+ inputType: 'Input'
42
+ }, {
43
+ label: '姓名',
44
+ name: 'name',
45
+ inputType: 'Input'
46
+ }, {
47
+ label: '证件号码',
48
+ name: 'idNO',
49
+ inputType: 'Input'
50
+ }, {
51
+ label: '建档日期',
52
+ name: 'registerDate',
53
+ inputType: 'rangeDate'
54
+ }, {
55
+ label: '身份证地址',
56
+ name: 'residenceAddress',
57
+ inputType: 'MyAddress',
58
+ inputProps: {}
59
+ }, {
60
+ label: '分类',
61
+ name: 'type',
62
+ inputType: 'MS',
63
+ inputProps: {
64
+ uniqueKey: 'cancer.pathologyResultErrorType',
65
+ type: 'tags',
66
+ width: 360
67
+ }
68
+ }])
69
+ }
70
+ }),
71
+ Wrap = _a.Wrap,
72
+ config = _a.config;
73
+ useEffect(function () {
74
+ return function () {};
75
+ }, []);
76
+ return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(MyBaseList, {
77
+ name: config === null || config === void 0 ? void 0 : config.name,
78
+ searchParams: {},
79
+ baseTitle: "\u4E73\u817A\u764C\u7EDF\u8BA1",
80
+ needChecked: true,
81
+ useListSourceCount: true,
82
+ initialSearchValue: {
83
+ validateDate: getMomentRange().近一周.map(formatDate)
84
+ },
85
+ searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
86
+ RenderAction: function RenderAction(ctx) {
87
+ return /*#__PURE__*/React.createElement(Follow_up_btn_两癌, {
88
+ rowData: ctx.rowData,
89
+ handleSearch: ctx.handleSearch
90
+ });
91
+ },
92
+ showAdd: false,
93
+ showExport: true,
94
+ tableColumns: config === null || config === void 0 ? void 0 : config.tableColumns
95
+ }));
96
+ }
97
+ export { BreastCancerDataReport as default };
@@ -0,0 +1,94 @@
1
+ import { BF_Wrap2, MyBaseList } from '@lm_fe/pages';
2
+ import { getMomentRange, formatDate } from '@lm_fe/utils';
3
+ import React from 'react';
4
+ import { F as Follow_up_btn_两癌 } from './index5.js';
5
+ import { defineFormConfig } from '@lm_fe/service';
6
+ import './tslib.es6.js';
7
+ import '@lm_fe/components_m';
8
+ function BreastCancerDataReport(prop) {
9
+ var _a = BF_Wrap2({
10
+ default_conf: {
11
+ title: '两癌筛查-宫颈癌异常统计',
12
+ name: "/api/statistics/cervical/cancer/exception/findAll",
13
+ tableColumns: [{
14
+ title: '门诊号',
15
+ dataIndex: 'outpatientNO'
16
+ }, {
17
+ title: '姓名',
18
+ dataIndex: 'name'
19
+ }, {
20
+ title: '年龄',
21
+ dataIndex: 'age'
22
+ }, {
23
+ title: '电话',
24
+ dataIndex: 'telephone'
25
+ }, {
26
+ title: '证件号码',
27
+ dataIndex: 'idNO'
28
+ }, {
29
+ title: '身份证地址',
30
+ dataIndex: 'residenceAddress'
31
+ }, {
32
+ title: '建档日期',
33
+ dataIndex: 'registerDate'
34
+ }, {
35
+ title: 'hpv结果',
36
+ dataIndex: 'hpvResult'
37
+ }],
38
+ searchConfig: defineFormConfig([{
39
+ label: '门诊号',
40
+ name: 'outpatientNO',
41
+ inputType: 'Input'
42
+ }, {
43
+ label: '姓名',
44
+ name: 'name',
45
+ inputType: 'Input'
46
+ }, {
47
+ label: '证件号码',
48
+ name: 'idNO',
49
+ inputType: 'Input'
50
+ }, {
51
+ label: '建档日期',
52
+ name: 'registerDate',
53
+ inputType: 'rangeDate'
54
+ }, {
55
+ label: '身份证地址',
56
+ name: 'residenceAddress',
57
+ inputType: 'MyAddress',
58
+ inputProps: {}
59
+ }, {
60
+ label: '分类',
61
+ name: 'type',
62
+ inputType: 'MS',
63
+ inputProps: {
64
+ uniqueKey: 'cancer.pathologyResultErrorType',
65
+ type: 'tags',
66
+ width: 360
67
+ }
68
+ }])
69
+ }
70
+ }),
71
+ Wrap = _a.Wrap,
72
+ config = _a.config;
73
+ return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(MyBaseList, {
74
+ name: config === null || config === void 0 ? void 0 : config.name,
75
+ searchParams: {},
76
+ baseTitle: "\u5BAB\u9888\u764C\u7EDF\u8BA1",
77
+ needChecked: true,
78
+ useListSourceCount: true,
79
+ initialSearchValue: {
80
+ validateDate: getMomentRange().近一周.map(formatDate)
81
+ },
82
+ RenderAction: function RenderAction(ctx) {
83
+ return /*#__PURE__*/React.createElement(Follow_up_btn_两癌, {
84
+ rowData: ctx.rowData,
85
+ handleSearch: ctx.handleSearch
86
+ });
87
+ },
88
+ searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
89
+ showAdd: false,
90
+ showExport: true,
91
+ tableColumns: config === null || config === void 0 ? void 0 : config.tableColumns
92
+ }));
93
+ }
94
+ export { BreastCancerDataReport as default };
@@ -88,4 +88,3 @@ function BreastCancerDataReport(prop) {
88
88
  }));
89
89
  }
90
90
  export { BreastCancerDataReport as default };
91
- //# sourceMappingURL=.root48.js.map
@@ -106,4 +106,3 @@ function BreastCancerDataReport(prop) {
106
106
  }));
107
107
  }
108
108
  export { BreastCancerDataReport as default };
109
- //# sourceMappingURL=.root49.js.map
@@ -0,0 +1,120 @@
1
+ import { d as __spreadArray } from './tslib.es6.js';
2
+ import { BF_Wrap2, MyBaseList } from '@lm_fe/pages';
3
+ import { getMomentRange, formatDate } from '@lm_fe/utils';
4
+ import React from 'react';
5
+ import { F as Follow_up_btn_婚前 } from './index2.js';
6
+ import { defineFormConfig } from '@lm_fe/service';
7
+ import '@lm_fe/components_m';
8
+ import '@lm_fe/env';
9
+ function BreastCancerDataReport(prop) {
10
+ var _a = BF_Wrap2({
11
+ default_conf: {
12
+ title: '婚前检查-统计',
13
+ name: '/api/statistics/premarital/check/findAll',
14
+ searchConfig: defineFormConfig([{
15
+ label: '门诊号',
16
+ name: 'outpatientNO',
17
+ inputType: 'Input'
18
+ }, {
19
+ label: '姓名',
20
+ name: 'name',
21
+ inputType: 'Input'
22
+ }, {
23
+ label: '证件号码',
24
+ name: 'idNO',
25
+ inputType: 'Input'
26
+ }, {
27
+ label: '梅毒',
28
+ name: 'syphilis',
29
+ inputType: 'MS',
30
+ inputProps: {
31
+ options: '阴性,阳性'
32
+ }
33
+ }, {
34
+ label: 'HIV',
35
+ name: 'hiv',
36
+ inputType: 'MS',
37
+ inputProps: {
38
+ options: '阴性,阳性'
39
+ }
40
+ }, {
41
+ label: '淋球菌',
42
+ name: 'gonococcus',
43
+ inputType: 'MS',
44
+ inputProps: {
45
+ options: '阴性,阳性'
46
+ }
47
+ }, {
48
+ label: '档案类型',
49
+ name: 'fileType',
50
+ inputType: 'MS',
51
+ inputProps: {
52
+ uniqueKey: '性别2'
53
+ }
54
+ }]),
55
+ tableColumns: defineFormConfig([{
56
+ title: '档案类型',
57
+ dataIndex: 'fileType',
58
+ inputType: 'MS',
59
+ inputProps: {
60
+ uniqueKey: '性别2'
61
+ }
62
+ }, {
63
+ title: '门诊号',
64
+ dataIndex: 'outpatientNO'
65
+ }, {
66
+ title: '姓名',
67
+ dataIndex: 'name'
68
+ }, {
69
+ title: '年龄',
70
+ dataIndex: 'age'
71
+ }, {
72
+ title: '电话',
73
+ dataIndex: 'telephone'
74
+ }, {
75
+ title: '证件号码',
76
+ dataIndex: 'idNO'
77
+ }, {
78
+ title: '地址',
79
+ dataIndex: 'permanentResidenceAddress'
80
+ }, {
81
+ title: '随访时间',
82
+ dataIndex: 'followupDate'
83
+ }, {
84
+ title: '随访内容',
85
+ dataIndex: 'followupContent'
86
+ }])
87
+ }
88
+ }),
89
+ config = _a.config,
90
+ Wrap = _a.Wrap;
91
+ return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(MyBaseList, {
92
+ name: config === null || config === void 0 ? void 0 : config.name,
93
+ searchParams: {},
94
+ needChecked: true,
95
+ useListSourceCount: true,
96
+ initialSearchValue: {
97
+ filingDay: getMomentRange().近一周.map(formatDate)
98
+ },
99
+ baseTitle: "\u5A5A\u524D\u68C0\u67E5\u7EDF\u8BA1",
100
+ searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
101
+ showAction: false,
102
+ showAdd: false,
103
+ showExport: true,
104
+ genColumns: function genColumns(_a) {
105
+ var _b;
106
+ var handleSearch = _a.handleSearch;
107
+ return __spreadArray(__spreadArray([], (_b = config === null || config === void 0 ? void 0 : config.tableColumns) !== null && _b !== void 0 ? _b : [], true), [{
108
+ title: '操作',
109
+ dataIndex: 'pathologyResult',
110
+ render: function render(a, rowData) {
111
+ return /*#__PURE__*/React.createElement(Follow_up_btn_婚前, {
112
+ handleSearch: handleSearch,
113
+ rowData: rowData
114
+ });
115
+ }
116
+ }], false);
117
+ }
118
+ }));
119
+ }
120
+ export { BreastCancerDataReport as default };
@@ -0,0 +1,89 @@
1
+ import { d as __spreadArray } from './tslib.es6.js';
2
+ import { BF_Wrap2, MyBaseList } from '@lm_fe/pages';
3
+ import { getMomentRange, formatDate } from '@lm_fe/utils';
4
+ import React from 'react';
5
+ import { defineFormConfig } from '@lm_fe/service';
6
+ import { F as Follow_up_btn_孕前 } from './index3.js';
7
+ import '@lm_fe/components_m';
8
+ import '@lm_fe/env';
9
+ function BreastCancerDataReport(prop) {
10
+ var _a = BF_Wrap2({
11
+ default_conf: {
12
+ title: '孕前检查-统计',
13
+ name: '/api/statistics/progestation/check/findAll',
14
+ searchConfig: defineFormConfig([{
15
+ label: '门诊号',
16
+ name: 'outpatientNO',
17
+ inputType: 'Input'
18
+ }, {
19
+ label: '姓名',
20
+ name: 'name',
21
+ inputType: 'Input'
22
+ }, {
23
+ label: '证件号码',
24
+ name: 'idNO',
25
+ inputType: 'Input'
26
+ }, {
27
+ label: '检查日期',
28
+ name: 'checkDate',
29
+ inputType: 'rangeDate'
30
+ }]),
31
+ tableColumns: defineFormConfig([{
32
+ title: '门诊号',
33
+ dataIndex: 'outpatientNO'
34
+ }, {
35
+ title: '姓名',
36
+ dataIndex: 'name'
37
+ }, {
38
+ title: '年龄',
39
+ dataIndex: 'age'
40
+ }, {
41
+ title: '电话',
42
+ dataIndex: 'telephone'
43
+ }, {
44
+ title: '证件号码',
45
+ dataIndex: 'idNO'
46
+ }, {
47
+ title: '身份证地址',
48
+ dataIndex: 'residenceAddress'
49
+ }, {
50
+ title: '检查时间',
51
+ dataIndex: 'checkDate'
52
+ }, {
53
+ title: '病理结果',
54
+ dataIndex: 'pathologyResult'
55
+ }])
56
+ }
57
+ }),
58
+ config = _a.config,
59
+ Wrap = _a.Wrap;
60
+ return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(MyBaseList, {
61
+ name: config === null || config === void 0 ? void 0 : config.name,
62
+ searchParams: {},
63
+ needChecked: true,
64
+ useListSourceCount: true,
65
+ initialSearchValue: {
66
+ validateDate: getMomentRange().近一周.map(formatDate)
67
+ },
68
+ baseTitle: "\u5B55\u524D\u68C0\u67E5\u7EDF\u8BA1",
69
+ searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
70
+ showAction: false,
71
+ showAdd: false,
72
+ showExport: true,
73
+ genColumns: function genColumns(_a) {
74
+ var _b;
75
+ var handleSearch = _a.handleSearch;
76
+ return __spreadArray(__spreadArray([], (_b = config === null || config === void 0 ? void 0 : config.tableColumns) !== null && _b !== void 0 ? _b : [], true), [{
77
+ title: '操作',
78
+ dataIndex: 'pathologyResult',
79
+ render: function render(a, rowData) {
80
+ return /*#__PURE__*/React.createElement(Follow_up_btn_孕前, {
81
+ handleSearch: handleSearch,
82
+ rowData: rowData
83
+ });
84
+ }
85
+ }], false);
86
+ }
87
+ }));
88
+ }
89
+ export { BreastCancerDataReport as default };