@lm_fe/pages-fubao 0.1.201 → 0.2.2

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 (192) hide show
  1. package/README.md +4 -2
  2. package/dist/a_chunks/.root.js +240 -280
  3. package/dist/a_chunks/.root10.js +9 -15
  4. package/dist/a_chunks/.root11.js +210 -244
  5. package/dist/a_chunks/.root12.js +2 -33
  6. package/dist/a_chunks/.root13.js +300 -331
  7. package/dist/a_chunks/.root14.js +2 -16
  8. package/dist/a_chunks/.root15.js +2 -16
  9. package/dist/a_chunks/.root16.js +4 -6
  10. package/dist/a_chunks/.root17.js +11 -2
  11. package/dist/a_chunks/.root18.js +10 -1
  12. package/dist/a_chunks/.root19.js +16 -27
  13. package/dist/a_chunks/.root2.js +22 -30
  14. package/dist/a_chunks/.root20.js +34 -38
  15. package/dist/a_chunks/.root21.js +16 -18
  16. package/dist/a_chunks/.root22.js +34 -38
  17. package/dist/a_chunks/.root23.js +16 -18
  18. package/dist/a_chunks/.root24.js +10 -14
  19. package/dist/a_chunks/.root25.js +10 -14
  20. package/dist/a_chunks/.root26.js +10 -14
  21. package/dist/a_chunks/.root27.js +16 -27
  22. package/dist/a_chunks/.root28.js +15 -19
  23. package/dist/a_chunks/.root29.js +15 -19
  24. package/dist/a_chunks/.root3.js +4 -6
  25. package/dist/a_chunks/.root30.js +9 -14
  26. package/dist/a_chunks/.root31.js +2 -10
  27. package/dist/a_chunks/.root32.js +11 -19
  28. package/dist/a_chunks/.root33.js +308 -335
  29. package/dist/a_chunks/.root34.js +1 -2
  30. package/dist/a_chunks/.root35.js +14 -154
  31. package/dist/a_chunks/.root36.js +7 -21
  32. package/dist/a_chunks/.root37.js +183 -1481
  33. package/dist/a_chunks/.root38.js +32 -2496
  34. package/dist/a_chunks/.root39.js +56 -83
  35. package/dist/a_chunks/.root4.js +4 -6
  36. package/dist/a_chunks/.root40.js +3 -3
  37. package/dist/a_chunks/.root41.js +56 -83
  38. package/dist/a_chunks/.root42.js +6 -20
  39. package/dist/a_chunks/.root43.js +183 -1526
  40. package/dist/a_chunks/.root44.js +13 -19
  41. package/dist/a_chunks/.root45.js +55 -82
  42. package/dist/a_chunks/.root46.js +55 -82
  43. package/dist/a_chunks/.root47.js +5 -8
  44. package/dist/a_chunks/.root48.js +30 -22
  45. package/dist/a_chunks/.root49.js +30 -43
  46. package/dist/a_chunks/.root5.js +3 -3
  47. package/dist/a_chunks/.root50.js +53 -226
  48. package/dist/a_chunks/.root51.js +64 -188
  49. package/dist/a_chunks/.root52.js +113 -3122
  50. package/dist/a_chunks/.root53.js +85 -134
  51. package/dist/a_chunks/.root54.js +3071 -175
  52. package/dist/a_chunks/.root55.js +127 -478
  53. package/dist/a_chunks/.root56.js +170 -910
  54. package/dist/a_chunks/.root57.js +376 -399
  55. package/dist/a_chunks/.root58.js +808 -687
  56. package/dist/a_chunks/.root59.js +495 -118
  57. package/dist/a_chunks/.root6.js +6 -9
  58. package/dist/a_chunks/.root60.js +773 -45
  59. package/dist/a_chunks/.root61.js +738 -97
  60. package/dist/a_chunks/.root62.js +105 -273
  61. package/dist/a_chunks/.root63.js +38 -22
  62. package/dist/a_chunks/.root64.js +184 -16
  63. package/dist/a_chunks/.root65.js +107 -241
  64. package/dist/a_chunks/.root66.js +132 -0
  65. package/dist/a_chunks/.root67.js +286 -0
  66. package/dist/a_chunks/.root68.js +817 -0
  67. package/dist/a_chunks/.root69.js +28 -0
  68. package/dist/a_chunks/.root7.js +2 -42
  69. package/dist/a_chunks/.root70.js +19 -0
  70. package/dist/a_chunks/.root71.js +247 -0
  71. package/dist/a_chunks/.root8.js +2 -12
  72. package/dist/a_chunks/.root9.js +16 -26
  73. package/dist/a_chunks/Form.js +3 -5
  74. package/dist/a_chunks/ModalForm.js +254 -280
  75. package/dist/a_chunks/api.js +311 -325
  76. package/dist/a_chunks/common.js +0 -1
  77. package/dist/a_chunks/config.js +135 -164
  78. package/dist/a_chunks/form_config.js +11 -130
  79. package/dist/a_chunks/index.js +43 -57
  80. package/dist/a_chunks/index2.js +148 -64
  81. package/dist/a_chunks/index3.js +131 -1151
  82. package/dist/a_chunks/index4.js +57 -1040
  83. package/dist/a_chunks/index5.js +142 -0
  84. package/dist/a_chunks/index6.js +1169 -0
  85. package/dist/a_chunks/index7.js +1006 -0
  86. package/dist/a_chunks/style-inject.es.js +0 -1
  87. package/dist/a_chunks/tslib.es6.js +1 -2
  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 +10 -5
  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/folic-acid/file-management/list/index copy.d.ts +1 -1
  93. 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
  94. package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/form_config.d.ts +2 -1
  95. package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index copy.d.ts +18 -0
  96. package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index.d.ts +3 -18
  97. package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/form_config_nv.d.ts +4 -0
  98. package/dist/pages/fubao/premarital-care/file-management/config/table.d.ts +1 -1
  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.map +0 -1
  113. package/dist/a_chunks/.root13.js.map +0 -1
  114. package/dist/a_chunks/.root14.js.map +0 -1
  115. package/dist/a_chunks/.root15.js.map +0 -1
  116. package/dist/a_chunks/.root16.js.map +0 -1
  117. package/dist/a_chunks/.root17.js.map +0 -1
  118. package/dist/a_chunks/.root18.js.map +0 -1
  119. package/dist/a_chunks/.root19.js.map +0 -1
  120. package/dist/a_chunks/.root2.js.map +0 -1
  121. package/dist/a_chunks/.root20.js.map +0 -1
  122. package/dist/a_chunks/.root21.js.map +0 -1
  123. package/dist/a_chunks/.root22.js.map +0 -1
  124. package/dist/a_chunks/.root23.js.map +0 -1
  125. package/dist/a_chunks/.root24.js.map +0 -1
  126. package/dist/a_chunks/.root25.js.map +0 -1
  127. package/dist/a_chunks/.root26.js.map +0 -1
  128. package/dist/a_chunks/.root27.js.map +0 -1
  129. package/dist/a_chunks/.root28.js.map +0 -1
  130. package/dist/a_chunks/.root29.js.map +0 -1
  131. package/dist/a_chunks/.root3.js.map +0 -1
  132. package/dist/a_chunks/.root30.js.map +0 -1
  133. package/dist/a_chunks/.root31.js.map +0 -1
  134. package/dist/a_chunks/.root32.js.map +0 -1
  135. package/dist/a_chunks/.root33.js.map +0 -1
  136. package/dist/a_chunks/.root34.js.map +0 -1
  137. package/dist/a_chunks/.root35.js.map +0 -1
  138. package/dist/a_chunks/.root36.js.map +0 -1
  139. package/dist/a_chunks/.root37.js.map +0 -1
  140. package/dist/a_chunks/.root38.js.map +0 -1
  141. package/dist/a_chunks/.root39.js.map +0 -1
  142. package/dist/a_chunks/.root4.js.map +0 -1
  143. package/dist/a_chunks/.root40.js.map +0 -1
  144. package/dist/a_chunks/.root41.js.map +0 -1
  145. package/dist/a_chunks/.root42.js.map +0 -1
  146. package/dist/a_chunks/.root43.js.map +0 -1
  147. package/dist/a_chunks/.root44.js.map +0 -1
  148. package/dist/a_chunks/.root45.js.map +0 -1
  149. package/dist/a_chunks/.root46.js.map +0 -1
  150. package/dist/a_chunks/.root47.js.map +0 -1
  151. package/dist/a_chunks/.root48.js.map +0 -1
  152. package/dist/a_chunks/.root49.js.map +0 -1
  153. package/dist/a_chunks/.root5.js.map +0 -1
  154. package/dist/a_chunks/.root50.js.map +0 -1
  155. package/dist/a_chunks/.root51.js.map +0 -1
  156. package/dist/a_chunks/.root52.js.map +0 -1
  157. package/dist/a_chunks/.root53.js.map +0 -1
  158. package/dist/a_chunks/.root54.js.map +0 -1
  159. package/dist/a_chunks/.root55.js.map +0 -1
  160. package/dist/a_chunks/.root56.js.map +0 -1
  161. package/dist/a_chunks/.root57.js.map +0 -1
  162. package/dist/a_chunks/.root58.js.map +0 -1
  163. package/dist/a_chunks/.root59.js.map +0 -1
  164. package/dist/a_chunks/.root6.js.map +0 -1
  165. package/dist/a_chunks/.root60.js.map +0 -1
  166. package/dist/a_chunks/.root61.js.map +0 -1
  167. package/dist/a_chunks/.root62.js.map +0 -1
  168. package/dist/a_chunks/.root63.js.map +0 -1
  169. package/dist/a_chunks/.root64.js.map +0 -1
  170. package/dist/a_chunks/.root65.js.map +0 -1
  171. package/dist/a_chunks/.root7.js.map +0 -1
  172. package/dist/a_chunks/.root8.js.map +0 -1
  173. package/dist/a_chunks/.root9.js.map +0 -1
  174. package/dist/a_chunks/Form.js.map +0 -1
  175. package/dist/a_chunks/ModalForm.js.map +0 -1
  176. package/dist/a_chunks/api.js.map +0 -1
  177. package/dist/a_chunks/common.js.map +0 -1
  178. package/dist/a_chunks/config.js.map +0 -1
  179. package/dist/a_chunks/extends.js +0 -11
  180. package/dist/a_chunks/extends.js.map +0 -1
  181. package/dist/a_chunks/form_config.js.map +0 -1
  182. package/dist/a_chunks/index.js.map +0 -1
  183. package/dist/a_chunks/index2.js.map +0 -1
  184. package/dist/a_chunks/index3.js.map +0 -1
  185. package/dist/a_chunks/index4.js.map +0 -1
  186. package/dist/a_chunks/style-inject.es.js.map +0 -1
  187. package/dist/a_chunks/tslib.es6.js.map +0 -1
  188. package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js.map +0 -1
  189. package/dist/index.js.map +0 -1
  190. package/dist/pages/fubao/pre-pregnancy-care/.public-exam/config/adapter.d.ts +0 -2
  191. package/dist/pages/fubao/premarital-care/.public-exam/config/adapter.d.ts +0 -2
  192. /package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/{form_config.d.ts → form_config_nan.d.ts} +0 -0
@@ -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('./.root69.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
@@ -1,11 +1,17 @@
1
1
  import { BF_Wrap2, MyBaseList } from '@lm_fe/pages';
2
+ import { defineFormConfig } from '@lm_fe/service';
2
3
  import { getMomentRange, formatDate } from '@lm_fe/utils';
3
4
  import React, { useEffect } from 'react';
5
+ import { F as Follow_up_btn_两癌 } from './index5.js';
6
+ import './tslib.es6.js';
7
+ import 'antd';
8
+ import '@lm_fe/env';
9
+ import '@lm_fe/components_m';
4
10
  function BreastCancerDataReport(prop) {
5
11
  var _a = BF_Wrap2({
6
12
  default_conf: {
7
- title: '两癌筛查-乳腺癌统计',
8
- name: "/api/statistics/breast/cancer/findAll",
13
+ title: '两癌筛查-乳腺癌异常统计',
14
+ name: "/api/statistics/breast/cancer/exception/findAll",
9
15
  tableColumns: [{
10
16
  title: '门诊号',
11
17
  dataIndex: 'outpatientNO'
@@ -25,13 +31,13 @@ function BreastCancerDataReport(prop) {
25
31
  title: '身份证地址',
26
32
  dataIndex: 'residenceAddress'
27
33
  }, {
28
- title: '检查时间',
29
- dataIndex: 'checkDate'
34
+ title: '建档日期',
35
+ dataIndex: 'registerDate'
30
36
  }, {
31
- title: '病理结果',
32
- dataIndex: 'pathologyResult'
37
+ title: '结果',
38
+ dataIndex: 'xresult'
33
39
  }],
34
- searchConfig: [{
40
+ searchConfig: defineFormConfig([{
35
41
  label: '门诊号',
36
42
  name: 'outpatientNO',
37
43
  inputType: 'Input'
@@ -44,26 +50,24 @@ function BreastCancerDataReport(prop) {
44
50
  name: 'idNO',
45
51
  inputType: 'Input'
46
52
  }, {
47
- label: '检查日期',
48
- name: 'checkDate',
49
- inputType: 'rangeDate'
50
- }, {
51
- label: '登记日期',
53
+ label: '建档日期',
52
54
  name: 'registerDate',
53
55
  inputType: 'rangeDate'
54
- }, {
55
- label: '组织病理检查',
56
- name: 'uploadState',
57
- inputType: 'MS',
58
- inputProps: {
59
- uniqueKey: 'cancer.pathologyResultErrorType'
60
- }
61
56
  }, {
62
57
  label: '身份证地址',
63
58
  name: 'residenceAddress',
64
59
  inputType: 'MyAddress',
65
60
  inputProps: {}
66
- }]
61
+ }, {
62
+ label: '分类',
63
+ name: 'type',
64
+ inputType: 'MS',
65
+ inputProps: {
66
+ uniqueKey: 'cancer.pathologyResultErrorType',
67
+ type: 'tags',
68
+ width: 360
69
+ }
70
+ }])
67
71
  }
68
72
  }),
69
73
  Wrap = _a.Wrap,
@@ -81,11 +85,15 @@ function BreastCancerDataReport(prop) {
81
85
  validateDate: getMomentRange().近一周.map(formatDate)
82
86
  },
83
87
  searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
84
- showAction: false,
88
+ RenderAction: function RenderAction(ctx) {
89
+ return /*#__PURE__*/React.createElement(Follow_up_btn_两癌, {
90
+ rowData: ctx.rowData,
91
+ handleSearch: ctx.handleSearch
92
+ });
93
+ },
85
94
  showAdd: false,
86
95
  showExport: true,
87
96
  tableColumns: config === null || config === void 0 ? void 0 : config.tableColumns
88
97
  }));
89
98
  }
90
99
  export { BreastCancerDataReport as default };
91
- //# sourceMappingURL=.root48.js.map
@@ -1,11 +1,17 @@
1
1
  import { BF_Wrap2, MyBaseList } from '@lm_fe/pages';
2
2
  import { getMomentRange, formatDate } from '@lm_fe/utils';
3
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 'antd';
8
+ import '@lm_fe/env';
9
+ import '@lm_fe/components_m';
4
10
  function BreastCancerDataReport(prop) {
5
11
  var _a = BF_Wrap2({
6
12
  default_conf: {
7
- title: '两癌筛查-宫颈癌统计',
8
- name: "/api/statistics/cervical/cancer/findAll",
13
+ title: '两癌筛查-宫颈癌异常统计',
14
+ name: "/api/statistics/cervical/cancer/exception/findAll",
9
15
  tableColumns: [{
10
16
  title: '门诊号',
11
17
  dataIndex: 'outpatientNO'
@@ -25,13 +31,13 @@ function BreastCancerDataReport(prop) {
25
31
  title: '身份证地址',
26
32
  dataIndex: 'residenceAddress'
27
33
  }, {
28
- title: '检查时间',
29
- dataIndex: 'checkDate'
34
+ title: '建档日期',
35
+ dataIndex: 'registerDate'
30
36
  }, {
31
- title: '病理结果',
32
- dataIndex: 'pathologyResult'
37
+ title: 'hpv结果',
38
+ dataIndex: 'hpvResult'
33
39
  }],
34
- searchConfig: [{
40
+ searchConfig: defineFormConfig([{
35
41
  label: '门诊号',
36
42
  name: 'outpatientNO',
37
43
  inputType: 'Input'
@@ -44,39 +50,7 @@ function BreastCancerDataReport(prop) {
44
50
  name: 'idNO',
45
51
  inputType: 'Input'
46
52
  }, {
47
- label: '检查日期',
48
- name: 'checkDate',
49
- inputType: 'rangeDate'
50
- }, {
51
- label: 'HIV检测',
52
- name: 'testResult',
53
- inputType: 'MS',
54
- inputProps: {
55
- options: '阴性,阳性'
56
- }
57
- }, {
58
- label: 'TBS结果',
59
- name: 'tbsResult',
60
- inputType: 'MS',
61
- inputProps: {
62
- uniqueKey: 'cancer.exceptionType'
63
- }
64
- }, {
65
- label: '阴道镜检查',
66
- name: 'colposcopyAdequacy',
67
- inputType: 'MS',
68
- inputProps: {
69
- uniqueKey: 'cancer.colposcopyAdequacyType'
70
- }
71
- }, {
72
- label: '组织病理检查',
73
- name: 'organPathologyCheck',
74
- inputType: 'MS',
75
- inputProps: {
76
- uniqueKey: 'cancer.exceptionType'
77
- }
78
- }, {
79
- label: '登记日期',
53
+ label: '建档日期',
80
54
  name: 'registerDate',
81
55
  inputType: 'rangeDate'
82
56
  }, {
@@ -84,7 +58,16 @@ function BreastCancerDataReport(prop) {
84
58
  name: 'residenceAddress',
85
59
  inputType: 'MyAddress',
86
60
  inputProps: {}
87
- }]
61
+ }, {
62
+ label: '分类',
63
+ name: 'type',
64
+ inputType: 'MS',
65
+ inputProps: {
66
+ uniqueKey: 'cancer.pathologyResultErrorType',
67
+ type: 'tags',
68
+ width: 360
69
+ }
70
+ }])
88
71
  }
89
72
  }),
90
73
  Wrap = _a.Wrap,
@@ -98,12 +81,16 @@ function BreastCancerDataReport(prop) {
98
81
  initialSearchValue: {
99
82
  validateDate: getMomentRange().近一周.map(formatDate)
100
83
  },
84
+ RenderAction: function RenderAction(ctx) {
85
+ return /*#__PURE__*/React.createElement(Follow_up_btn_两癌, {
86
+ rowData: ctx.rowData,
87
+ handleSearch: ctx.handleSearch
88
+ });
89
+ },
101
90
  searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
102
- showAction: false,
103
91
  showAdd: false,
104
92
  showExport: true,
105
93
  tableColumns: config === null || config === void 0 ? void 0 : config.tableColumns
106
94
  }));
107
95
  }
108
96
  export { BreastCancerDataReport as default };
109
- //# sourceMappingURL=.root49.js.map
@@ -1,11 +1,11 @@
1
+ import { b as __assign } from './tslib.es6.js';
1
2
  import React, { Suspense, lazy } from 'react';
2
3
  var Inner = /*#__PURE__*/lazy(function () {
3
- return import('./.root52.js');
4
+ return import('./.root54.js');
4
5
  });
5
6
  var BookingManagement = function BookingManagement(props) {
6
7
  return /*#__PURE__*/React.createElement(Suspense, {
7
8
  fallback: /*#__PURE__*/React.createElement("div", null, "Loading...")
8
- }, /*#__PURE__*/React.createElement(Inner, props));
9
+ }, /*#__PURE__*/React.createElement(Inner, __assign({}, props)));
9
10
  };
10
11
  export { BookingManagement as default };
11
- //# sourceMappingURL=.root5.js.map
@@ -1,159 +1,37 @@
1
- import { _ as __awaiter, a as __generator, d as __spreadArray } from './tslib.es6.js';
2
- import { mchcModal__, BF_Wrap2, MyBaseList } from '@lm_fe/pages';
3
- import { safe_async_call, request, getMomentRange, formatDate } from '@lm_fe/utils';
4
- import React from 'react';
5
- import { OkButton } from '@lm_fe/components_m';
6
- import { rt_ctx } from '@lm_fe/env';
7
- import { defineFormConfig } from '@lm_fe/service';
8
- var ctx = rt_ctx;
9
- var form_config = [{
10
- label: "档案类型",
11
- name: "fileType",
12
- inputType: 'MC',
13
- inputProps: {
14
- optionKey: '性别2',
15
- marshal: 0
16
- },
17
- layout: '1/1'
18
- }, {
19
- label: "女方姓名",
20
- name: "womanName",
21
- inputType: 'MA',
22
- layout: '1/3'
23
- }, {
24
- label: "女方年龄",
25
- name: "womanAge",
26
- inputType: 'input_number',
27
- layout: '1/3'
28
- }, {
29
- label: "女方电话号码",
30
- name: "womanTelephone",
31
- inputType: 'MA',
32
- layout: '1/3'
33
- }, {
34
- label: "男方姓名",
35
- name: "manName",
36
- inputType: 'MA',
37
- layout: '1/3'
38
- }, {
39
- label: "男方年龄",
40
- name: "manAge",
41
- inputType: 'input_number',
42
- layout: '1/3'
43
- }, {
44
- label: "男方电话号码",
45
- name: "manTelephone",
46
- inputType: 'MA',
47
- layout: '1/3'
48
- }, {
49
- label: "追踪随访内容",
50
- children: [{
51
- name: "followupRecordVMList",
52
- inputType: "MyEditTable",
53
- inputProps: {
54
- marshal: 0,
55
- genRowData: function genRowData(list) {
56
- return {
57
- followupDate: ctx.utils.formatDate()
58
- };
59
- },
60
- formDescriptions: [{
61
- title: '怀孕状态',
62
- dataIndex: 'pregnancyStatus',
63
- inputType: 'MS',
64
- inputProps: {
65
- uniqueKey: 'Pregnancy.pregnancyStatus',
66
- marshal: 0
67
- }
68
- }, {
69
- title: '传染病内容',
70
- dataIndex: 'infectionContent',
71
- inputType: 'Input'
72
- }, {
73
- title: '随访内容',
74
- dataIndex: 'followupContent',
75
- inputType: 'Input'
76
- }, {
77
- title: '随访状态',
78
- dataIndex: 'followupState',
79
- inputType: 'MS',
80
- inputProps: {
81
- optionKey: '随访状态',
82
- marshal: 0
83
- }
84
- }]
85
- },
86
- layout: '1/1'
87
- }]
88
- }];
89
- var opt_url = '/api/premarital/check/followup/premaritalCheckFollowupCase';
90
- function Follow_up_btn(props) {
91
- var handleSearch = props.handleSearch,
92
- _a = props.rowData,
93
- rowData = _a === void 0 ? {} : _a;
94
- var premaritalCheckArchivesId = rowData.premaritalCheckArchivesId,
95
- fileType = rowData.fileType;
96
- function showView() {
97
- return __awaiter(this, void 0, void 0, function () {
98
- var record;
99
- return __generator(this, function (_a) {
100
- switch (_a.label) {
101
- case 0:
102
- return [4, request.get("/api/premarital/check/followup/premaritalCheckFollowup", {
103
- params: {
104
- premaritalCheckArchivesId: premaritalCheckArchivesId,
105
- fileType: fileType
106
- },
107
- unboxing: true,
108
- ignore_usr: true
109
- })];
110
- case 1:
111
- record = _a.sent();
112
- mchcModal__.open('modal_form', {
113
- modal_data: {
114
- bf_title: '婚前检查-随访',
115
- formDescriptions: form_config,
116
- getInitialData: function getInitialData() {
117
- return record.data;
118
- },
119
- onSubmit: function onSubmit(data) {
120
- return __awaiter(this, void 0, void 0, function () {
121
- var fn;
122
- return __generator(this, function (_a) {
123
- switch (_a.label) {
124
- case 0:
125
- fn = data.id ? request.put : request.post;
126
- return [4, fn(opt_url, data, {
127
- successText: '操作成功',
128
- ignore_usr: true
129
- })];
130
- case 1:
131
- _a.sent();
132
- safe_async_call(handleSearch);
133
- return [2, 1];
134
- }
135
- });
136
- });
137
- }
138
- }
139
- });
140
- return [2];
141
- }
142
- });
143
- });
144
- }
145
- return /*#__PURE__*/React.createElement(OkButton, {
146
- type: "link",
147
- size: "small",
148
- onClick: showView
149
- }, "\u968F\u8BBF");
150
- }
1
+ import { BF_Wrap2, MyBaseList } from '@lm_fe/pages';
2
+ import { getMomentRange, formatDate } from '@lm_fe/utils';
3
+ import React, { useEffect } from 'react';
151
4
  function BreastCancerDataReport(prop) {
152
5
  var _a = BF_Wrap2({
153
6
  default_conf: {
154
- title: '婚前检查-统计',
155
- name: '/api/statistics/premarital/check/findAll',
156
- searchConfig: defineFormConfig([{
7
+ title: '两癌筛查-乳腺癌统计',
8
+ name: "/api/statistics/breast/cancer/findAll",
9
+ tableColumns: [{
10
+ title: '门诊号',
11
+ dataIndex: 'outpatientNO'
12
+ }, {
13
+ title: '姓名',
14
+ dataIndex: 'name'
15
+ }, {
16
+ title: '年龄',
17
+ dataIndex: 'age'
18
+ }, {
19
+ title: '电话',
20
+ dataIndex: 'telephone'
21
+ }, {
22
+ title: '证件号码',
23
+ dataIndex: 'idNO'
24
+ }, {
25
+ title: '身份证地址',
26
+ dataIndex: 'residenceAddress'
27
+ }, {
28
+ title: '检查时间',
29
+ dataIndex: 'checkDate'
30
+ }, {
31
+ title: '病理结果',
32
+ dataIndex: 'pathologyResult'
33
+ }],
34
+ searchConfig: [{
157
35
  label: '门诊号',
158
36
  name: 'outpatientNO',
159
37
  inputType: 'Input'
@@ -166,98 +44,47 @@ function BreastCancerDataReport(prop) {
166
44
  name: 'idNO',
167
45
  inputType: 'Input'
168
46
  }, {
169
- label: '梅毒',
170
- name: 'syphilis',
171
- inputType: 'MS',
172
- inputProps: {
173
- options: '阴性,阳性'
174
- }
47
+ label: '检查日期',
48
+ name: 'checkDate',
49
+ inputType: 'rangeDate'
175
50
  }, {
176
- label: 'HIV',
177
- name: 'hiv',
178
- inputType: 'MS',
179
- inputProps: {
180
- options: '阴性,阳性'
181
- }
51
+ label: '登记日期',
52
+ name: 'registerDate',
53
+ inputType: 'rangeDate'
182
54
  }, {
183
- label: '淋球菌',
184
- name: 'gonococcus',
55
+ label: '组织病理检查',
56
+ name: 'uploadState',
185
57
  inputType: 'MS',
186
58
  inputProps: {
187
- options: '阴性,阳性'
59
+ uniqueKey: 'cancer.pathologyResultErrorType'
188
60
  }
189
61
  }, {
190
- label: '档案类型',
191
- name: 'fileType',
192
- inputType: 'MS',
193
- inputProps: {
194
- optionKey: '性别2'
195
- }
196
- }]),
197
- tableColumns: defineFormConfig([{
198
- title: '档案类型',
199
- dataIndex: 'fileType',
200
- inputType: 'MS',
201
- inputProps: {
202
- optionKey: '性别2'
203
- }
204
- }, {
205
- title: '门诊号',
206
- dataIndex: 'outpatientNO'
207
- }, {
208
- title: '姓名',
209
- dataIndex: 'name'
210
- }, {
211
- title: '年龄',
212
- dataIndex: 'age'
213
- }, {
214
- title: '电话',
215
- dataIndex: 'telephone'
216
- }, {
217
- title: '证件号码',
218
- dataIndex: 'idNO'
219
- }, {
220
- title: '地址',
221
- dataIndex: 'permanentResidenceAddress'
222
- }, {
223
- title: '随访时间',
224
- dataIndex: 'followupDate'
225
- }, {
226
- title: '随访内容',
227
- dataIndex: 'followupContent'
228
- }])
62
+ label: '身份证地址',
63
+ name: 'residenceAddress',
64
+ inputType: 'MyAddress',
65
+ inputProps: {}
66
+ }]
229
67
  }
230
68
  }),
231
- config = _a.config,
232
- Wrap = _a.Wrap;
69
+ Wrap = _a.Wrap,
70
+ config = _a.config;
71
+ useEffect(function () {
72
+ return function () {};
73
+ }, []);
233
74
  return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(MyBaseList, {
234
75
  name: config === null || config === void 0 ? void 0 : config.name,
235
76
  searchParams: {},
77
+ baseTitle: "\u4E73\u817A\u764C\u7EDF\u8BA1",
236
78
  needChecked: true,
237
79
  useListSourceCount: true,
238
80
  initialSearchValue: {
239
- filingDay: getMomentRange().近一周.map(formatDate)
81
+ validateDate: getMomentRange().近一周.map(formatDate)
240
82
  },
241
- baseTitle: "\u5A5A\u524D\u68C0\u67E5\u7EDF\u8BA1",
242
83
  searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
243
84
  showAction: false,
244
85
  showAdd: false,
245
86
  showExport: true,
246
- genColumns: function genColumns(_a) {
247
- var _b;
248
- var handleSearch = _a.handleSearch;
249
- return __spreadArray(__spreadArray([], (_b = config === null || config === void 0 ? void 0 : config.tableColumns) !== null && _b !== void 0 ? _b : [], true), [{
250
- title: '操作',
251
- dataIndex: 'pathologyResult',
252
- render: function render(a, rowData) {
253
- return /*#__PURE__*/React.createElement(Follow_up_btn, {
254
- handleSearch: handleSearch,
255
- rowData: rowData
256
- });
257
- }
258
- }], false);
259
- }
87
+ tableColumns: config === null || config === void 0 ? void 0 : config.tableColumns
260
88
  }));
261
89
  }
262
90
  export { BreastCancerDataReport as default };
263
- //# sourceMappingURL=.root50.js.map