@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,492 @@
1
+ import { c as __extends, e as __rest, b as __assign, d as __spreadArray, _ as __awaiter, a as __generator } from './tslib.es6.js';
2
+ import { EyeOutlined, PrinterOutlined, DeleteOutlined } from '@ant-design/icons';
3
+ import { BaseQuery, BaseTableOld, APP_CONFIG, resolveFubaoPath, OkButton, fubaoHistoryPush, BaseListOld } from '@lm_fe/components_m';
4
+ import { BF_Wrap2, useReadIdNO, MyBaseList, IdNOButton, mchcModal__ } from '@lm_fe/pages';
5
+ import { formatRangeDate, fubaoRequest } from '@lm_fe/utils';
6
+ import { Tooltip, Form, Button, Divider, Popconfirm, message } from 'antd';
7
+ import { get, isArray, isNil } from 'lodash';
8
+ import React, { useEffect } from 'react';
9
+ import { Link } from 'react-router-dom';
10
+ import { ModelService } from '@lm_fe/service';
11
+ var queryFormDescriptions = {
12
+ filingDay: {
13
+ label: '建档日期',
14
+ inputType: 'rangeDate',
15
+ filterType: ''
16
+ },
17
+ womanTelephone: {
18
+ label: '女方手机号码',
19
+ inputType: 'input',
20
+ filterType: ''
21
+ },
22
+ manTelephone: {
23
+ label: '男方手机号码',
24
+ inputType: 'input',
25
+ filterType: ''
26
+ },
27
+ womanName: {
28
+ label: '女方姓名',
29
+ inputType: 'input',
30
+ filterType: '',
31
+ style: {
32
+ width: 86
33
+ }
34
+ },
35
+ manName: {
36
+ label: '男方姓名',
37
+ inputType: 'input',
38
+ filterType: '',
39
+ style: {
40
+ width: 86
41
+ }
42
+ }
43
+ };
44
+ var Query = function (_super) {
45
+ __extends(Query, _super);
46
+ function Query() {
47
+ var _this = _super !== null && _super.apply(this, arguments) || this;
48
+ _this.state = {
49
+ queryFormDescriptions: queryFormDescriptions
50
+ };
51
+ return _this;
52
+ }
53
+ return Query;
54
+ }(BaseQuery);
55
+ var ProductsTable = function (_super) {
56
+ __extends(ProductsTable, _super);
57
+ function ProductsTable() {
58
+ return _super !== null && _super.apply(this, arguments) || this;
59
+ }
60
+ return ProductsTable;
61
+ }(BaseTableOld);
62
+ var tableColumns = [{
63
+ title: '建档日期',
64
+ dataIndex: 'filingDay',
65
+ width: APP_CONFIG.CELL_WIDTH_SMALL
66
+ }, {
67
+ title: '女方姓名',
68
+ dataIndex: 'womanName',
69
+ width: APP_CONFIG.CELL_WIDTH_SMALL,
70
+ render: function render(text, record) {
71
+ var id = record === null || record === void 0 ? void 0 : record.id;
72
+ return /*#__PURE__*/React.createElement(Tooltip, {
73
+ title: "\u70B9\u51FB\u67E5\u770B\u5973\u65B9\u68C0\u67E5\u8BE6\u60C5"
74
+ }, /*#__PURE__*/React.createElement(Link, {
75
+ to: resolveFubaoPath("/pre-pregnancy-care/wife/wife-exam?id=".concat(id))
76
+ }, text));
77
+ }
78
+ }, {
79
+ title: '女方门诊号',
80
+ dataIndex: 'womanOutpatientNo',
81
+ width: APP_CONFIG.CELL_WIDTH_SMALL
82
+ }, {
83
+ title: '女方年龄(岁)',
84
+ dataIndex: 'womanAge',
85
+ width: APP_CONFIG.CELL_WIDTH_SMALL
86
+ }, {
87
+ title: '女方手机号码',
88
+ dataIndex: 'womanTelephone',
89
+ width: APP_CONFIG.CELL_WIDTH_SMALL
90
+ }, {
91
+ title: '男方姓名',
92
+ dataIndex: 'manName',
93
+ width: APP_CONFIG.CELL_WIDTH_SMALL,
94
+ render: function render(text, record) {
95
+ var id = record === null || record === void 0 ? void 0 : record.id;
96
+ return /*#__PURE__*/React.createElement(Tooltip, {
97
+ title: "\u70B9\u51FB\u67E5\u770B\u7537\u65B9\u68C0\u67E5\u8BE6\u60C5"
98
+ }, /*#__PURE__*/React.createElement(Link, {
99
+ to: resolveFubaoPath("/pre-pregnancy-care/husband/husband-exam?id=".concat(id))
100
+ }, text));
101
+ }
102
+ }, {
103
+ title: '男方门诊号',
104
+ dataIndex: 'manOutpatientNo',
105
+ width: APP_CONFIG.CELL_WIDTH_SMALL
106
+ }, {
107
+ title: '男方年龄(岁)',
108
+ dataIndex: 'manAge',
109
+ width: APP_CONFIG.CELL_WIDTH_SMALL
110
+ }, {
111
+ title: '男方手机号码',
112
+ dataIndex: 'manTelephone',
113
+ width: APP_CONFIG.CELL_WIDTH_SMALL
114
+ }];
115
+ (function (_super) {
116
+ __extends(List, _super);
117
+ function List() {
118
+ var _this = _super !== null && _super.apply(this, arguments) || this;
119
+ _this.staticDefaultQuery = {
120
+ page: 0,
121
+ size: 20,
122
+ sort: 'id,desc',
123
+ 'deleteFlag.equals': 0
124
+ };
125
+ _this.state = {
126
+ total: 0,
127
+ defaultQuery: _this.staticDefaultQuery,
128
+ dataSource: [],
129
+ selectedRowKeys: [],
130
+ selectedRows: [],
131
+ visible: false,
132
+ editable: false,
133
+ id: undefined,
134
+ editKey: undefined,
135
+ loading: false,
136
+ isSearchColumnModal: false,
137
+ printId: undefined,
138
+ resource: ''
139
+ };
140
+ _this.columns = __spreadArray(__spreadArray([], _this.props.tableColumns, true), [{
141
+ title: '档案状态',
142
+ dataIndex: 'fileStatus',
143
+ width: 68,
144
+ sortType: 'number',
145
+ fixed: 'right',
146
+ align: 'center',
147
+ render: function render(fileStatus, rowData) {
148
+ if (fileStatus === 2) {
149
+ return /*#__PURE__*/React.createElement(Button, {
150
+ size: "small",
151
+ onClick: _this.handleEdit(rowData)
152
+ }, "\u5DF2\u5BA1\u6838");
153
+ }
154
+ return /*#__PURE__*/React.createElement(Button, {
155
+ type: "primary",
156
+ size: "small",
157
+ onClick: _this.handleEdit(rowData)
158
+ }, "\u5F85\u5BA1\u6838");
159
+ }
160
+ }, {
161
+ title: '操作',
162
+ showSorter: false,
163
+ showFilter: false,
164
+ fixed: 'right',
165
+ width: 330,
166
+ align: 'center',
167
+ render: function render(value, rowData, index) {
168
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
169
+ type: "link",
170
+ size: "small",
171
+ icon: /*#__PURE__*/React.createElement(EyeOutlined, {
172
+ className: "global-table-action-icon global-table-action-view"
173
+ }),
174
+ onClick: _this.handleView(rowData)
175
+ }, "\u67E5\u770B"), /*#__PURE__*/React.createElement(Divider, {
176
+ type: "vertical"
177
+ }), /*#__PURE__*/React.createElement(Button, {
178
+ type: "link",
179
+ size: "small",
180
+ icon: /*#__PURE__*/React.createElement(PrinterOutlined, {
181
+ className: "global-table-action-icon global-table-action-edit"
182
+ }),
183
+ onClick: _this.handlePrint(rowData, 'progestationCheckPrint')
184
+ }, "\u6253\u5370", /*#__PURE__*/React.createElement("span", {
185
+ style: {
186
+ color: '#6c6b6b'
187
+ }
188
+ }, "(\u5973\u65B9)")), /*#__PURE__*/React.createElement(Divider, {
189
+ type: "vertical"
190
+ }), /*#__PURE__*/React.createElement(Button, {
191
+ type: "link",
192
+ size: "small",
193
+ icon: /*#__PURE__*/React.createElement(PrinterOutlined, {
194
+ className: "global-table-action-icon global-table-action-edit"
195
+ }),
196
+ onClick: _this.handlePrint(rowData, 'progestationCheckPrint')
197
+ }, "\u6253\u5370", /*#__PURE__*/React.createElement("span", {
198
+ style: {
199
+ color: '#6c6b6b'
200
+ }
201
+ }, "(\u7537\u65B9)")), /*#__PURE__*/React.createElement(Divider, {
202
+ type: "vertical"
203
+ }), /*#__PURE__*/React.createElement(Popconfirm, {
204
+ title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A".concat(get(_this.props, 'baseTitle'), "\u5417?"),
205
+ onConfirm: _this.handleDelete(rowData),
206
+ okText: "\u786E\u5B9A",
207
+ cancelText: "\u53D6\u6D88"
208
+ }, /*#__PURE__*/React.createElement(Button, {
209
+ type: "link",
210
+ size: "small",
211
+ icon: /*#__PURE__*/React.createElement(DeleteOutlined, {
212
+ className: "global-table-action-icon global-table-action-delete"
213
+ })
214
+ }, "\u5220\u9664")));
215
+ }
216
+ }], false);
217
+ _this.handleSearch = function () {
218
+ return __awaiter(_this, void 0, void 0, function () {
219
+ var _a, editKey, defaultQuery, baseUrl, dataSource, total, query, _res, res;
220
+ return __generator(this, function (_b) {
221
+ switch (_b.label) {
222
+ case 0:
223
+ _a = this.state, editKey = _a.editKey, defaultQuery = _a.defaultQuery;
224
+ baseUrl = this.props.baseUrl;
225
+ if (!baseUrl) {
226
+ return [2];
227
+ }
228
+ if (!isNil(editKey)) {
229
+ message.error('请保存未保存的记录');
230
+ return [2];
231
+ }
232
+ this.setState({
233
+ loading: true
234
+ });
235
+ dataSource = [];
236
+ total = 0;
237
+ query = this.formatQuery(defaultQuery);
238
+ return [4, fubaoRequest.get("".concat(baseUrl, "/page"), {
239
+ params: query
240
+ })];
241
+ case 1:
242
+ _res = _b.sent();
243
+ res = _res.data;
244
+ if (isArray(res.data.pageData)) {
245
+ dataSource = res.data.pageData;
246
+ }
247
+ if (!isNaN(Number(res.data.totalElements))) {
248
+ total = Number(res.data.totalElements);
249
+ }
250
+ this.setState({
251
+ dataSource: dataSource,
252
+ total: total,
253
+ loading: false
254
+ });
255
+ return [2];
256
+ }
257
+ });
258
+ });
259
+ };
260
+ _this.handleAdd = function () {
261
+ _this.props.history;
262
+ fubaoHistoryPush("/pre-pregnancy-care/file-management/add", _this.props);
263
+ };
264
+ _this.handleView = function (rowData) {
265
+ return function () {
266
+ var id = rowData.id;
267
+ fubaoHistoryPush("/pre-pregnancy-care/wife/wife-exam?id=".concat(id), _this.props);
268
+ };
269
+ };
270
+ _this.handlePrint = function (rowData, resource) {
271
+ return function () {
272
+ var id = rowData.id;
273
+ _this.setState({
274
+ printId: id,
275
+ resource: resource
276
+ });
277
+ mchcModal__.open('print_modal', {
278
+ modal_data: {
279
+ request: fubaoRequest,
280
+ requestConfig: {
281
+ url: "/api/progestationCheckPrint",
282
+ data: {
283
+ resource: resource,
284
+ template: '',
285
+ version: '',
286
+ note: '',
287
+ id: id
288
+ }
289
+ }
290
+ }
291
+ });
292
+ };
293
+ };
294
+ _this.handleEdit = function (rowData) {
295
+ return function () {
296
+ var id = rowData.id;
297
+ _this.props.history;
298
+ fubaoHistoryPush("/pre-pregnancy-care/file-management/edit?id=".concat(id), _this.props);
299
+ };
300
+ };
301
+ _this.handleDelete = function (rowData) {
302
+ return function () {
303
+ return __awaiter(_this, void 0, void 0, function () {
304
+ var _res;
305
+ return __generator(this, function (_a) {
306
+ switch (_a.label) {
307
+ case 0:
308
+ return [4, fubaoRequest["delete"]("/api/progestation/check/deleteProgestationCheckArchives/".concat(get(rowData, 'id')))];
309
+ case 1:
310
+ _res = _a.sent();
311
+ _res.data;
312
+ this.handleSearch();
313
+ return [2];
314
+ }
315
+ });
316
+ });
317
+ };
318
+ };
319
+ _this.renderSearchColumnModal = function () {
320
+ var _a = _this.state;
321
+ _a.printId;
322
+ _a.resource;
323
+ return null;
324
+ };
325
+ return _this;
326
+ }
327
+ List.prototype.componentDidActivate = function () {
328
+ return __awaiter(this, void 0, void 0, function () {
329
+ return __generator(this, function (_a) {
330
+ this.handleSearch();
331
+ return [2];
332
+ });
333
+ });
334
+ };
335
+ List.defaultProps = {
336
+ baseUrl: '/api/progestation/check/getProgestationCheckArchives',
337
+ request: fubaoRequest,
338
+ baseTitle: '档案管理',
339
+ needPagination: true,
340
+ showQuery: true,
341
+ showAdd: true,
342
+ tableColumns: tableColumns,
343
+ rowKey: 'id',
344
+ Table: ProductsTable,
345
+ Query: Query,
346
+ otherTableProps: {
347
+ scroll: {
348
+ x: 1298
349
+ }
350
+ }
351
+ };
352
+ return List;
353
+ })(BaseListOld);
354
+ var s = new ModelService({
355
+ n: 'ProgestationCheckArchives',
356
+ prePath: '/progestation/check',
357
+ fuckPage: true
358
+ });
359
+ function FileManagementList(props) {
360
+ var conf_fn = function conf_fn() {
361
+ return import('./premarital-care.file-management.config.js').then(function (mod) {
362
+ return mod["default"](true);
363
+ });
364
+ };
365
+ var _a = BF_Wrap2({
366
+ default_conf: {
367
+ title: "\u5B55\u524D\u68C0\u67E5-\u6863\u6848\u5217\u8868",
368
+ tableColumns: conf_fn,
369
+ searchConfig: function searchConfig() {
370
+ return import('./premarital-care.file-management.config2.js');
371
+ }
372
+ }
373
+ }),
374
+ Wrap = _a.Wrap,
375
+ config = _a.config;
376
+ var search_form = Form.useForm()[0];
377
+ var id_NO_msg = useReadIdNO().id_NO_msg;
378
+ useEffect(function () {
379
+ if ((id_NO_msg === null || id_NO_msg === void 0 ? void 0 : id_NO_msg.send_id) === 'list') search_form.setFieldsValue({
380
+ womanName: id_NO_msg.data.name
381
+ });
382
+ }, [id_NO_msg]);
383
+ var handlePrint = function handlePrint(rowData, resource) {
384
+ return function () {
385
+ var id = rowData.id;
386
+ mchcModal__.open('print_modal', {
387
+ modal_data: {
388
+ request: fubaoRequest,
389
+ requestData: {
390
+ url: '/api/progestationCheckupsPrint',
391
+ resource: resource,
392
+ id: id
393
+ }
394
+ }
395
+ });
396
+ };
397
+ };
398
+ function handleAdd() {
399
+ fubaoHistoryPush("/pre-pregnancy-care/file-management/add", props);
400
+ }
401
+ return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(MyBaseList, {
402
+ tableColumns: __DEV__ ? conf_fn : config === null || config === void 0 ? void 0 : config.tableColumns,
403
+ searchForm: search_form,
404
+ RenderBtns: function RenderBtns() {
405
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IdNOButton, {
406
+ send_id: 'list'
407
+ }), /*#__PURE__*/React.createElement(OkButton, {
408
+ onClick: handleAdd
409
+ }, "\u65B0\u589E"));
410
+ },
411
+ action_col: function action_col(_a) {
412
+ var handleDelete = _a.handleDelete;
413
+ return {
414
+ title: '操作',
415
+ showSorter: false,
416
+ showFilter: false,
417
+ fixed: 'right',
418
+ width: 330,
419
+ render: function render(value, rowData, index) {
420
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
421
+ type: "link",
422
+ size: "small",
423
+ onClick: function onClick() {
424
+ var id = rowData.id;
425
+ fubaoHistoryPush("/pre-pregnancy-care/wife/wife-exam?id=".concat(id), props);
426
+ }
427
+ }, "\u67E5\u770B"), /*#__PURE__*/React.createElement(Divider, {
428
+ type: "vertical"
429
+ }), /*#__PURE__*/React.createElement(Button, {
430
+ type: "link",
431
+ size: "small",
432
+ onClick: handlePrint(rowData, 'womanProgestationCheckupsPrint')
433
+ }, "\u6253\u5370", /*#__PURE__*/React.createElement("span", {
434
+ style: {
435
+ color: '#6c6b6b'
436
+ }
437
+ }, "(\u5973\u65B9)")), /*#__PURE__*/React.createElement(Divider, {
438
+ type: "vertical"
439
+ }), /*#__PURE__*/React.createElement(Button, {
440
+ type: "link",
441
+ size: "small",
442
+ onClick: handlePrint(rowData, 'manProgestationCheckupsPrint')
443
+ }, "\u6253\u5370", /*#__PURE__*/React.createElement("span", {
444
+ style: {
445
+ color: '#6c6b6b'
446
+ }
447
+ }, "(\u7537\u65B9)")), /*#__PURE__*/React.createElement(Divider, {
448
+ type: "vertical"
449
+ }), /*#__PURE__*/React.createElement(Button, {
450
+ onClick: function onClick() {
451
+ return handleDelete(rowData);
452
+ },
453
+ type: "link",
454
+ size: "small"
455
+ }, "\u5220\u9664"));
456
+ }
457
+ };
458
+ },
459
+ customModelService: s,
460
+ showRowDelBtn: true,
461
+ baseTitle: "\u6863\u6848\u7BA1\u7406",
462
+ showAdd: false,
463
+ fuckPage: true,
464
+ beforeSearch: function beforeSearch(v) {
465
+ var filingDay = v.filingDay,
466
+ others = __rest(v, ["filingDay"]);
467
+ var rangeData = formatRangeDate({
468
+ filingDay: filingDay
469
+ });
470
+ var res = __assign(__assign({}, rangeData), others);
471
+ return res;
472
+ },
473
+ beforeSubmit: function beforeSubmit(v) {
474
+ var configurationValue = v.configurationValue,
475
+ configurationReplenishExplain = v.configurationReplenishExplain;
476
+ var configurationState = v.configurationState;
477
+ if (configurationValue && configurationReplenishExplain) {
478
+ configurationState = 1;
479
+ }
480
+ if (!configurationValue && !configurationReplenishExplain) {
481
+ configurationState = 0;
482
+ }
483
+ v.configurationState = configurationState;
484
+ return v;
485
+ },
486
+ searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
487
+ searchParams: {
488
+ pageSize: 10
489
+ }
490
+ }));
491
+ }
492
+ export { FileManagementList as default };
@@ -1,14 +1,9 @@
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 'antd/es/form/style';
6
- import _Form from 'antd/es/form';
7
- import { e as __rest, c as __assign } from './tslib.es6.js';
1
+ import { e as __rest, b as __assign } from './tslib.es6.js';
8
2
  import { OkButton, fubaoHistoryPush } from '@lm_fe/components_m';
9
3
  import { BF_Wrap2, useReadIdNO, MyBaseList, IdNOButton, mchcModal__ } from '@lm_fe/pages';
10
4
  import { ModelService } from '@lm_fe/service';
11
5
  import { formatRangeDate, fubaoRequest } from '@lm_fe/utils';
6
+ import { Form, Button, Divider } from 'antd';
12
7
  import React, { useEffect } from 'react';
13
8
  var s = new ModelService({
14
9
  n: 'PremaritalCheckArchives',
@@ -17,7 +12,7 @@ var s = new ModelService({
17
12
  });
18
13
  function FileManagementList(props) {
19
14
  var conf_fn = function conf_fn() {
20
- return import('./.root59.js').then(function (mod) {
15
+ return import('./premarital-care.file-management.config.js').then(function (mod) {
21
16
  return mod["default"]();
22
17
  });
23
18
  };
@@ -26,13 +21,13 @@ function FileManagementList(props) {
26
21
  title: "\u5A5A\u524D\u68C0\u67E5-\u6863\u6848\u5217\u8868",
27
22
  tableColumns: conf_fn,
28
23
  searchConfig: function searchConfig() {
29
- return import('./.root60.js');
24
+ return import('./premarital-care.file-management.config2.js');
30
25
  }
31
26
  }
32
27
  }),
33
28
  Wrap = _a.Wrap,
34
29
  config = _a.config;
35
- var search_form = _Form.useForm()[0];
30
+ var search_form = Form.useForm()[0];
36
31
  var id_NO_msg = useReadIdNO().id_NO_msg;
37
32
  useEffect(function () {
38
33
  if ((id_NO_msg === null || id_NO_msg === void 0 ? void 0 : id_NO_msg.send_id) === 'list') search_form.setFieldsValue({
@@ -61,7 +56,7 @@ function FileManagementList(props) {
61
56
  tableColumns: __DEV__ ? conf_fn : config === null || config === void 0 ? void 0 : config.tableColumns,
62
57
  RenderBtns: function RenderBtns() {
63
58
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IdNOButton, {
64
- send_id: "list"
59
+ send_id: 'list'
65
60
  }), /*#__PURE__*/React.createElement(OkButton, {
66
61
  onClick: handleAdd
67
62
  }, "\u65B0\u589E"));
@@ -76,16 +71,16 @@ function FileManagementList(props) {
76
71
  fixed: 'right',
77
72
  width: 330,
78
73
  render: function render(value, rowData, index) {
79
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Button, {
74
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
80
75
  type: "link",
81
76
  size: "small",
82
77
  onClick: function onClick() {
83
78
  var id = rowData.id;
84
79
  fubaoHistoryPush("/premarital-care/wife-v2/wife-exam?id=".concat(id), props);
85
80
  }
86
- }, "\u67E5\u770B"), /*#__PURE__*/React.createElement(_Divider, {
81
+ }, "\u67E5\u770B"), /*#__PURE__*/React.createElement(Divider, {
87
82
  type: "vertical"
88
- }), /*#__PURE__*/React.createElement(_Button, {
83
+ }), /*#__PURE__*/React.createElement(Button, {
89
84
  type: "link",
90
85
  size: "small",
91
86
  onClick: handlePrint(rowData, 'womanPremaritalCheckupsPrint')
@@ -93,9 +88,9 @@ function FileManagementList(props) {
93
88
  style: {
94
89
  color: '#6c6b6b'
95
90
  }
96
- }, "(\u5973\u65B9)")), /*#__PURE__*/React.createElement(_Divider, {
91
+ }, "(\u5973\u65B9)")), /*#__PURE__*/React.createElement(Divider, {
97
92
  type: "vertical"
98
- }), /*#__PURE__*/React.createElement(_Button, {
93
+ }), /*#__PURE__*/React.createElement(Button, {
99
94
  type: "link",
100
95
  size: "small",
101
96
  onClick: handlePrint(rowData, 'manPremaritalCheckupsPrint')
@@ -103,9 +98,9 @@ function FileManagementList(props) {
103
98
  style: {
104
99
  color: '#6c6b6b'
105
100
  }
106
- }, "(\u7537\u65B9)")), /*#__PURE__*/React.createElement(_Divider, {
101
+ }, "(\u7537\u65B9)")), /*#__PURE__*/React.createElement(Divider, {
107
102
  type: "vertical"
108
- }), /*#__PURE__*/React.createElement(_Button, {
103
+ }), /*#__PURE__*/React.createElement(Button, {
109
104
  onClick: function onClick() {
110
105
  return handleDelete(rowData);
111
106
  },
@@ -149,4 +144,3 @@ function FileManagementList(props) {
149
144
  }));
150
145
  }
151
146
  export { FileManagementList as default };
152
- //# sourceMappingURL=.root44.js.map
@@ -1,11 +1,10 @@
1
- import 'antd/es/space/style';
2
- import _Space from 'antd/es/space';
3
1
  import { OkButton } from '@lm_fe/components_m';
4
2
  import { BF_Wrap2, MyBaseList, safe_navigate } from '@lm_fe/pages';
3
+ import { Space } from 'antd';
5
4
  import React from 'react';
6
5
  function Patients(props) {
7
6
  var conf_fn = function conf_fn() {
8
- return import('./.root63.js');
7
+ return import('./fubao.report-entry.patients2.js');
9
8
  };
10
9
  var _a = BF_Wrap2({
11
10
  default_conf: {
@@ -31,9 +30,9 @@ function Patients(props) {
31
30
  });
32
31
  }
33
32
  return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(MyBaseList, {
34
- RenderAction: function RenderAction(ctx) {
35
- return /*#__PURE__*/React.createElement(_Space, null, /*#__PURE__*/React.createElement(OkButton, {
36
- size: "small",
33
+ ActionAddonBefore: function ActionAddonBefore(ctx) {
34
+ return /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(OkButton, {
35
+ size: 'small',
37
36
  onClick: function onClick() {
38
37
  return show_report(ctx.rowData);
39
38
  }
@@ -43,9 +42,7 @@ function Patients(props) {
43
42
  useListSourceCount: true,
44
43
  initialSearchValue: {},
45
44
  searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
46
- showAdd: false,
47
45
  tableColumns: __DEV__ ? conf_fn : config === null || config === void 0 ? void 0 : config.tableColumns
48
46
  }));
49
47
  }
50
48
  export { Patients as default };
51
- //# sourceMappingURL=.root47.js.map
@@ -13,7 +13,7 @@ var form_config = defineFormConfig([{
13
13
  "dataIndex": "gender",
14
14
  inputType: 'MS',
15
15
  "inputProps": {
16
- "optionKey": "性别2"
16
+ "uniqueKey": "性别2"
17
17
  }
18
18
  }, {
19
19
  "title": "申请日期",
@@ -26,4 +26,3 @@ var form_config = defineFormConfig([{
26
26
  "dataIndex": "dept"
27
27
  }]);
28
28
  export { form_config as default };
29
- //# sourceMappingURL=.root63.js.map
@@ -1,9 +1,9 @@
1
+ import { b as __assign } from './tslib.es6.js';
1
2
  import React, { lazy } from 'react';
2
3
  var ReportEntryInner = /*#__PURE__*/lazy(function () {
3
- return import('./.root62.js');
4
+ return import('./fubao.report-entry.reports2.js');
4
5
  });
5
6
  var ReportEntryInner$1 = function ReportEntryInner$1(props) {
6
- return /*#__PURE__*/React.createElement(ReportEntryInner, props);
7
+ return /*#__PURE__*/React.createElement(ReportEntryInner, __assign({}, props));
7
8
  };
8
9
  export { ReportEntryInner, ReportEntryInner$1 as default };
9
- //# sourceMappingURL=.root40.js.map