@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,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('./.root62.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('./.root63.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,24 +1,15 @@
1
- import 'antd/es/space/style';
2
- import _Space from 'antd/es/space';
3
- import 'antd/es/modal/style';
4
- import _Modal from 'antd/es/modal';
5
- import 'antd/es/button/style';
6
- import _Button from 'antd/es/button';
7
- import _set from 'lodash/set';
8
- import _map from 'lodash/map';
9
- import _get from 'lodash/get';
10
- import { b as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
1
+ import { c as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
11
2
  import { ExclamationCircleOutlined, CheckCircleOutlined } from '@ant-design/icons';
12
- import { PanelWithChild, fubaoHistoryPush } from '@lm_fe/components_m';
3
+ import { OkButton, PanelTitle, fubaoHistoryPush, PanelWithChild } from '@lm_fe/components_m';
13
4
  import { DoctorEnd_SurveyReport, DoctorEnd_ImageReport } from '@lm_fe/pages-mchc';
14
5
  import { getSearchParamsValue, fubaoRequest } from '@lm_fe/utils';
15
- import { c as classnames } from './index2.js';
6
+ import { Modal, Button, Space } from 'antd';
7
+ import { c as classnames } from './index4.js';
8
+ import { get, map, set } from 'lodash';
16
9
  import React from 'react';
17
10
  import ReportEntryInner from './.root40.js';
18
- import { M as MedicalHistory, a as MedicalHistory$1, P as PhysicalExamination, b as PhysicalExamination$1, c as PhysicalExamination$2, d as PhysicalExamination$3 } from './index4.js';
11
+ import { M as MedicalHistory, a as MedicalHistory$1, P as PhysicalExamination, b as PhysicalExamination$1, c as PhysicalExamination$2, d as PhysicalExamination$3 } from './index7.js';
19
12
  import { s as styleInject } from './style-inject.es.js';
20
- import 'antd/es/form/style';
21
- import 'antd/es/form';
22
13
  import '@lm_fe/env';
23
14
  import '@lm_fe/pages';
24
15
  import '@lm_fe/service';
@@ -34,68 +25,57 @@ var panel = function (_super) {
34
25
  };
35
26
  _this.renderHeader = function () {
36
27
  var data = _this.state.data;
37
- return /*#__PURE__*/React.createElement("div", {
38
- className: PanelWithChild.styles["panel-with-child_header"]
39
- }, /*#__PURE__*/React.createElement("div", {
40
- className: PanelWithChild.styles["panel-with-child_header-item"]
41
- }, /*#__PURE__*/React.createElement("span", {
42
- className: PanelWithChild.styles["panel-with-child_header-item-label"]
43
- }, "\u59D3\u540D:"), /*#__PURE__*/React.createElement("span", {
44
- className: PanelWithChild.styles["panel-with-child_header-item-value"]
45
- }, _get(data, 'manName'))), /*#__PURE__*/React.createElement("div", {
46
- className: PanelWithChild.styles["panel-with-child_header-item"]
47
- }, /*#__PURE__*/React.createElement("span", {
48
- className: PanelWithChild.styles["panel-with-child_header-item-label"]
49
- }, "\u6027\u522B:"), /*#__PURE__*/React.createElement("span", {
50
- className: PanelWithChild.styles["panel-with-child_header-item-value"]
51
- }, "\u7537")), /*#__PURE__*/React.createElement("div", {
52
- className: PanelWithChild.styles["panel-with-child_header-item"]
53
- }, /*#__PURE__*/React.createElement("span", {
54
- className: PanelWithChild.styles["panel-with-child_header-item-label"]
55
- }, "\u5E74\u9F84:"), /*#__PURE__*/React.createElement("span", {
56
- className: PanelWithChild.styles["panel-with-child_header-item-value"]
57
- }, _get(data, 'manAge'))), /*#__PURE__*/React.createElement("div", {
58
- className: PanelWithChild.styles["panel-with-child_header-secend-item"]
59
- }, /*#__PURE__*/React.createElement("span", {
60
- className: PanelWithChild.styles["panel-with-child_header-secend-item-label"]
61
- }, "\u95E8\u8BCA\u53F7:"), /*#__PURE__*/React.createElement("span", {
62
- className: PanelWithChild.styles["panel-with-child_header-secend-item-value"]
63
- }, _get(data, 'manOutpatientNo'))), /*#__PURE__*/React.createElement("div", {
64
- className: PanelWithChild.styles["panel-with-child_header-secend-item"]
65
- }, /*#__PURE__*/React.createElement("span", {
66
- className: PanelWithChild.styles["panel-with-child_header-secend-item-label"]
67
- }, "\u914D\u5076\u59D3\u540D:"), /*#__PURE__*/React.createElement("span", {
68
- className: PanelWithChild.styles["panel-with-child_header-secend-item-value"]
69
- }, _get(data, 'womanName'))), /*#__PURE__*/React.createElement("div", {
70
- className: PanelWithChild.styles["panel-with-child_header-secend-item"]
71
- }, _get(data, 'womanPremaritalCheckArchivesDetailVM') && /*#__PURE__*/React.createElement(_Button, {
72
- type: "primary",
73
- onClick: function onClick() {
74
- _this.handleClickButton();
75
- }
76
- }, "\u6253\u5F00\u914D\u5076\u75C5\u5386")));
28
+ var f_vm = get(data, 'womanPremaritalCheckArchivesDetailVM');
29
+ var h = [{
30
+ title: '姓名',
31
+ value: get(data, 'manName')
32
+ }, {
33
+ title: '性别',
34
+ value: '男'
35
+ }, {
36
+ title: '年龄',
37
+ value: get(data, 'manAge')
38
+ }, {
39
+ title: '门诊号',
40
+ value: get(data, 'manOutpatientNo')
41
+ }, {
42
+ title: '女方姓名',
43
+ value: get(data, 'womanName')
44
+ }, f_vm && {
45
+ title: '女方病历',
46
+ value: /*#__PURE__*/React.createElement(OkButton, {
47
+ type: "primary",
48
+ onClick: function onClick() {
49
+ _this.handleClickButton();
50
+ },
51
+ btn_text: "\u6253\u5F00"
52
+ })
53
+ }];
54
+ return /*#__PURE__*/React.createElement(PanelTitle, {
55
+ headerItems: h
56
+ });
77
57
  };
78
58
  _this.handleJump = function () {
79
59
  var id = getSearchParamsValue('id');
80
60
  _this.props.history;
81
61
  fubaoHistoryPush("/premarital-care/file-management/edit?id=".concat(id), _this.props);
82
- _Modal.destroyAll();
62
+ Modal.destroyAll();
83
63
  };
84
64
  _this.handleClickButton = function () {
85
65
  var data = _this.state.data;
86
66
  var id = getSearchParamsValue('id');
87
67
  _this.props.history;
88
- if (_get(data, 'womanPremaritalCheckArchivesDetailVM')) {
68
+ if (get(data, 'womanPremaritalCheckArchivesDetailVM')) {
89
69
  fubaoHistoryPush("/premarital-care/wife-v2/wife-exam?id=".concat(id), _this.props);
90
70
  } else {
91
- _Modal.error({
71
+ Modal.error({
92
72
  title: '配偶暂未建档,请完善配偶档案信息',
93
- content: /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_Button, {
73
+ content: (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
94
74
  type: "primary",
95
75
  onClick: function onClick() {
96
76
  _this.handleJump();
97
77
  }
98
- }, "\u53BB\u5B8C\u5584\u914D\u5076\u6863\u6848\u4FE1\u606F")),
78
+ }, "\u53BB\u5B8C\u5584\u914D\u5076\u6863\u6848\u4FE1\u606F"))),
99
79
  onOk: function onOk() {}
100
80
  });
101
81
  }
@@ -122,9 +102,9 @@ var panel = function (_super) {
122
102
  };
123
103
  _this.handleChangeTabs = function (key, icon) {
124
104
  var tabs = _this.state.tabs;
125
- _map(tabs, function (item, index) {
105
+ map(tabs, function (item, index) {
126
106
  if (key === item.key) {
127
- _set(item, 'icon', icon);
107
+ set(item, 'icon', icon);
128
108
  }
129
109
  });
130
110
  _this.setState({
@@ -133,8 +113,8 @@ var panel = function (_super) {
133
113
  };
134
114
  _this.getIcon = function (tab) {
135
115
  var activeKey = _this.state.activeKey;
136
- if (_get(tab, 'icon')) {
137
- if (_get(tab, 'icon') === 'error') {
116
+ if (get(tab, 'icon')) {
117
+ if (get(tab, 'icon') === 'error') {
138
118
  return /*#__PURE__*/React.createElement(ExclamationCircleOutlined, {
139
119
  style: {
140
120
  position: 'relative',
@@ -166,13 +146,13 @@ var panel = function (_super) {
166
146
  tabs = _a.tabs;
167
147
  return /*#__PURE__*/React.createElement("div", {
168
148
  className: PanelWithChild.styles["panel-with-child-desk-tabs"]
169
- }, _map(tabs, function (tab) {
149
+ }, map(tabs, function (tab) {
170
150
  var _a;
171
151
  return /*#__PURE__*/React.createElement("div", {
172
152
  key: tab.key,
173
153
  onClick: _this.handleClickTab(tab.key),
174
154
  className: classnames(PanelWithChild.styles["panel-with-child-desk-tabs-item"], (_a = {}, _a[PanelWithChild.styles['panel-with-child-desk-tabs-item-active']] = activeKey === tab.key, _a))
175
- }, /*#__PURE__*/React.createElement(_Space, null, _this.getIcon(tab), tab.title));
155
+ }, /*#__PURE__*/React.createElement(Space, null, _this.getIcon(tab), tab.title));
176
156
  }));
177
157
  };
178
158
  _this.renderContent = function () {
@@ -181,12 +161,12 @@ var panel = function (_super) {
181
161
  var _b = _this.state,
182
162
  data = _b.data,
183
163
  activeKey = _b.activeKey;
184
- var sex_data = _get(data, 'manPremaritalCheckArchivesDetailVM');
164
+ var sex_data = get(data, 'manPremaritalCheckArchivesDetailVM');
185
165
  return /*#__PURE__*/React.createElement("div", {
186
166
  className: classnames(PanelWithChild.styles["panel-with-child-desk"], 'hj-desk')
187
167
  }, _this.renderTabs(), /*#__PURE__*/React.createElement("div", {
188
168
  className: PanelWithChild.styles["panel-with-child-desk-content"]
189
- }, activeKey === 'BasicInfo' && /*#__PURE__*/React.createElement(MedicalHistory, {
169
+ }, activeKey === 'BasicInfo' && (/*#__PURE__*/React.createElement(MedicalHistory, {
190
170
  moduleName: "husband-premarital-care-basic-info",
191
171
  filesData: data,
192
172
  handleClickTab: _this.handleClickTab,
@@ -195,7 +175,7 @@ var panel = function (_super) {
195
175
  id: id,
196
176
  type: "husband",
197
177
  onRef: _this.onRef
198
- }), activeKey === 'MedicalHistory' && /*#__PURE__*/React.createElement(MedicalHistory$1, {
178
+ })), activeKey === 'MedicalHistory' && (/*#__PURE__*/React.createElement(MedicalHistory$1, {
199
179
  moduleName: "husband-premarital-care-medical-history",
200
180
  filesData: data,
201
181
  handleClickTab: _this.handleClickTab,
@@ -204,7 +184,7 @@ var panel = function (_super) {
204
184
  id: id,
205
185
  type: "husband",
206
186
  onRef: _this.onRef
207
- }), activeKey === 'PhysicalExamination' && /*#__PURE__*/React.createElement(PhysicalExamination, {
187
+ })), activeKey === 'PhysicalExamination' && (/*#__PURE__*/React.createElement(PhysicalExamination, {
208
188
  moduleName: "husband-premarital-care-physical-exam",
209
189
  filesData: data,
210
190
  handleClickTab: _this.handleClickTab,
@@ -213,7 +193,7 @@ var panel = function (_super) {
213
193
  id: id,
214
194
  type: "husband",
215
195
  onRef: _this.onRef
216
- }), activeKey === 'SecondSex' && /*#__PURE__*/React.createElement(PhysicalExamination$1, {
196
+ })), activeKey === 'SecondSex' && (/*#__PURE__*/React.createElement(PhysicalExamination$1, {
217
197
  moduleName: "husband-premarital-care-second-sex",
218
198
  filesData: data,
219
199
  handleClickTab: _this.handleClickTab,
@@ -222,7 +202,7 @@ var panel = function (_super) {
222
202
  id: id,
223
203
  type: "husband",
224
204
  onRef: _this.onRef
225
- }), activeKey === 'Inspection' && /*#__PURE__*/React.createElement(PhysicalExamination$2, {
205
+ })), activeKey === 'Inspection' && (/*#__PURE__*/React.createElement(PhysicalExamination$2, {
226
206
  moduleName: "husband-premarital-care-inspection-results",
227
207
  filesData: data,
228
208
  handleClickTab: _this.handleClickTab,
@@ -231,7 +211,7 @@ var panel = function (_super) {
231
211
  id: id,
232
212
  type: "husband",
233
213
  onRef: _this.onRef
234
- }), activeKey === 'GuidanceEvaluation' && /*#__PURE__*/React.createElement(PhysicalExamination$3, {
214
+ })), activeKey === 'GuidanceEvaluation' && (/*#__PURE__*/React.createElement(PhysicalExamination$3, {
235
215
  moduleName: "husband-premarital-care-guidance-evaluation",
236
216
  filesData: data,
237
217
  handleChangeTabs: _this.handleChangeTabs,
@@ -239,7 +219,7 @@ var panel = function (_super) {
239
219
  id: id,
240
220
  type: "husband",
241
221
  onRef: _this.onRef
242
- }), activeKey === 'SurveyReport' && /*#__PURE__*/React.createElement(DoctorEnd_SurveyReport, {
222
+ })), activeKey === 'SurveyReport' && /*#__PURE__*/React.createElement(DoctorEnd_SurveyReport, {
243
223
  headerInfo: data
244
224
  }), activeKey === 'ImageReport' && /*#__PURE__*/React.createElement(DoctorEnd_ImageReport, {
245
225
  headerInfo: data
@@ -270,12 +250,6 @@ var panel = function (_super) {
270
250
  }, {
271
251
  key: 'GuidanceEvaluation',
272
252
  title: '指导/评估'
273
- }, {
274
- key: 'SurveyReport',
275
- title: '检验报告'
276
- }, {
277
- key: 'ImageReport',
278
- title: '影像报告'
279
253
  }, {
280
254
  key: 'ReportEntry',
281
255
  title: '报告查看'
@@ -296,7 +270,7 @@ var panel = function (_super) {
296
270
  data = res.data;
297
271
  activeKey = getSearchParamsValue('activeKey') || 'BasicInfo';
298
272
  if (data) {
299
- data = _get(data, 'data');
273
+ data = get(data, 'data');
300
274
  }
301
275
  this.setState({
302
276
  data: data,
@@ -310,4 +284,3 @@ var panel = function (_super) {
310
284
  return panel;
311
285
  }(PanelWithChild);
312
286
  export { panel as default };
313
- //# sourceMappingURL=.root45.js.map
@@ -1,24 +1,15 @@
1
- import 'antd/es/space/style';
2
- import _Space from 'antd/es/space';
3
- import 'antd/es/modal/style';
4
- import _Modal from 'antd/es/modal';
5
- import 'antd/es/button/style';
6
- import _Button from 'antd/es/button';
7
- import _set from 'lodash/set';
8
- import _map from 'lodash/map';
9
- import _get from 'lodash/get';
10
- import { b as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
1
+ import { c as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
11
2
  import { ExclamationCircleOutlined, CheckCircleOutlined } from '@ant-design/icons';
12
- import { PanelWithChild, fubaoHistoryPush } from '@lm_fe/components_m';
3
+ import { OkButton, PanelTitle, fubaoHistoryPush, PanelWithChild } from '@lm_fe/components_m';
13
4
  import { DoctorEnd_SurveyReport, DoctorEnd_ImageReport } from '@lm_fe/pages-mchc';
14
5
  import { getSearchParamsValue, fubaoRequest } from '@lm_fe/utils';
15
- import { c as classnames } from './index2.js';
6
+ import { Modal, Button, Space } from 'antd';
7
+ import { c as classnames } from './index4.js';
8
+ import { get, map, set } from 'lodash';
16
9
  import React from 'react';
17
10
  import ReportEntryInner from './.root40.js';
18
- import { M as MedicalHistory, a as MedicalHistory$1, P as PhysicalExamination, b as PhysicalExamination$1, c as PhysicalExamination$2, d as PhysicalExamination$3 } from './index4.js';
11
+ import { M as MedicalHistory, a as MedicalHistory$1, P as PhysicalExamination, b as PhysicalExamination$1, c as PhysicalExamination$2, d as PhysicalExamination$3 } from './index7.js';
19
12
  import { s as styleInject } from './style-inject.es.js';
20
- import 'antd/es/form/style';
21
- import 'antd/es/form';
22
13
  import '@lm_fe/env';
23
14
  import '@lm_fe/pages';
24
15
  import '@lm_fe/service';
@@ -34,68 +25,57 @@ var panel = function (_super) {
34
25
  };
35
26
  _this.renderHeader = function () {
36
27
  var data = _this.state.data;
37
- return /*#__PURE__*/React.createElement("div", {
38
- className: PanelWithChild.styles["panel-with-child_header"]
39
- }, /*#__PURE__*/React.createElement("div", {
40
- className: PanelWithChild.styles["panel-with-child_header-item"]
41
- }, /*#__PURE__*/React.createElement("span", {
42
- className: PanelWithChild.styles["panel-with-child_header-item-label"]
43
- }, "\u59D3\u540D:"), /*#__PURE__*/React.createElement("span", {
44
- className: PanelWithChild.styles["panel-with-child_header-item-value"]
45
- }, _get(data, 'womanName'))), /*#__PURE__*/React.createElement("div", {
46
- className: PanelWithChild.styles["panel-with-child_header-item"]
47
- }, /*#__PURE__*/React.createElement("span", {
48
- className: PanelWithChild.styles["panel-with-child_header-item-label"]
49
- }, "\u6027\u522B:"), /*#__PURE__*/React.createElement("span", {
50
- className: PanelWithChild.styles["panel-with-child_header-item-value"]
51
- }, "\u5973")), /*#__PURE__*/React.createElement("div", {
52
- className: PanelWithChild.styles["panel-with-child_header-item"]
53
- }, /*#__PURE__*/React.createElement("span", {
54
- className: PanelWithChild.styles["panel-with-child_header-item-label"]
55
- }, "\u5E74\u9F84:"), /*#__PURE__*/React.createElement("span", {
56
- className: PanelWithChild.styles["panel-with-child_header-item-value"]
57
- }, _get(data, 'womanAge'))), /*#__PURE__*/React.createElement("div", {
58
- className: PanelWithChild.styles["panel-with-child_header-secend-item"]
59
- }, /*#__PURE__*/React.createElement("span", {
60
- className: PanelWithChild.styles["panel-with-child_header-secend-item-label"]
61
- }, "\u95E8\u8BCA\u53F7:"), /*#__PURE__*/React.createElement("span", {
62
- className: PanelWithChild.styles["panel-with-child_header-secend-item-value"]
63
- }, _get(data, 'womanOutpatientNo'))), /*#__PURE__*/React.createElement("div", {
64
- className: PanelWithChild.styles["panel-with-child_header-secend-item"]
65
- }, /*#__PURE__*/React.createElement("span", {
66
- className: PanelWithChild.styles["panel-with-child_header-secend-item-label"]
67
- }, "\u914D\u5076\u59D3\u540D:"), /*#__PURE__*/React.createElement("span", {
68
- className: PanelWithChild.styles["panel-with-child_header-secend-item-value"]
69
- }, _get(data, 'manName'))), /*#__PURE__*/React.createElement("div", {
70
- className: PanelWithChild.styles["panel-with-child_header-secend-item"]
71
- }, _get(data, 'manPremaritalCheckArchivesDetailVM') && /*#__PURE__*/React.createElement(_Button, {
72
- type: "primary",
73
- onClick: function onClick() {
74
- _this.handleClickButton();
75
- }
76
- }, "\u6253\u5F00\u914D\u5076\u75C5\u5386")));
28
+ var f_vm = get(data, 'manPremaritalCheckArchivesDetailVM');
29
+ var h = [{
30
+ title: '姓名',
31
+ value: get(data, 'womanName')
32
+ }, {
33
+ title: '性别',
34
+ value: '女'
35
+ }, {
36
+ title: '年龄',
37
+ value: get(data, 'womanAge')
38
+ }, {
39
+ title: '门诊号',
40
+ value: get(data, 'womanOutpatientNo')
41
+ }, {
42
+ title: '男方姓名',
43
+ value: get(data, 'manName')
44
+ }, f_vm && {
45
+ title: '男方病历',
46
+ value: /*#__PURE__*/React.createElement(OkButton, {
47
+ type: "primary",
48
+ onClick: function onClick() {
49
+ _this.handleClickButton();
50
+ },
51
+ btn_text: "\u6253\u5F00"
52
+ })
53
+ }];
54
+ return /*#__PURE__*/React.createElement(PanelTitle, {
55
+ headerItems: h
56
+ });
77
57
  };
78
58
  _this.handleJump = function () {
79
59
  var id = getSearchParamsValue('id');
80
60
  _this.props.history;
81
61
  fubaoHistoryPush("/premarital-care/file-management/edit?id=".concat(id), _this.props);
82
- _Modal.destroyAll();
62
+ Modal.destroyAll();
83
63
  };
84
64
  _this.handleClickButton = function () {
85
65
  var data = _this.state.data;
86
66
  var id = getSearchParamsValue('id');
87
67
  _this.props.history;
88
- if (_get(data, 'manPremaritalCheckArchivesDetailVM')) {
68
+ if (get(data, 'manPremaritalCheckArchivesDetailVM')) {
89
69
  fubaoHistoryPush("/premarital-care/husband-v2/husband-exam?id=".concat(id), _this.props);
90
70
  } else {
91
- _Modal.error({
71
+ Modal.error({
92
72
  title: '配偶暂未建档,请完善配偶档案信息',
93
- content: /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_Button, {
73
+ content: (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
94
74
  type: "primary",
95
75
  onClick: function onClick() {
96
76
  _this.handleJump();
97
77
  }
98
- }, "\u53BB\u5B8C\u5584\u914D\u5076\u6863\u6848\u4FE1\u606F")),
78
+ }, "\u53BB\u5B8C\u5584\u914D\u5076\u6863\u6848\u4FE1\u606F"))),
99
79
  onOk: function onOk() {}
100
80
  });
101
81
  }
@@ -122,9 +102,9 @@ var panel = function (_super) {
122
102
  };
123
103
  _this.handleChangeTabs = function (key, icon) {
124
104
  var tabs = _this.state.tabs;
125
- _map(tabs, function (item, index) {
105
+ map(tabs, function (item, index) {
126
106
  if (key === item.key) {
127
- _set(item, 'icon', icon);
107
+ set(item, 'icon', icon);
128
108
  }
129
109
  });
130
110
  _this.setState({
@@ -133,8 +113,8 @@ var panel = function (_super) {
133
113
  };
134
114
  _this.getIcon = function (tab) {
135
115
  var activeKey = _this.state.activeKey;
136
- if (_get(tab, 'icon')) {
137
- if (_get(tab, 'icon') === 'error') {
116
+ if (get(tab, 'icon')) {
117
+ if (get(tab, 'icon') === 'error') {
138
118
  return /*#__PURE__*/React.createElement(ExclamationCircleOutlined, {
139
119
  style: {
140
120
  position: 'relative',
@@ -166,13 +146,13 @@ var panel = function (_super) {
166
146
  tabs = _a.tabs;
167
147
  return /*#__PURE__*/React.createElement("div", {
168
148
  className: PanelWithChild.styles["panel-with-child-desk-tabs"]
169
- }, _map(tabs, function (tab) {
149
+ }, map(tabs, function (tab) {
170
150
  var _a;
171
151
  return /*#__PURE__*/React.createElement("div", {
172
152
  key: tab.key,
173
153
  onClick: _this.handleClickTab(tab.key),
174
154
  className: classnames(PanelWithChild.styles["panel-with-child-desk-tabs-item"], (_a = {}, _a[PanelWithChild.styles['panel-with-child-desk-tabs-item-active']] = activeKey === tab.key, _a))
175
- }, /*#__PURE__*/React.createElement(_Space, null, _this.getIcon(tab), tab.title));
155
+ }, /*#__PURE__*/React.createElement(Space, null, _this.getIcon(tab), tab.title));
176
156
  }));
177
157
  };
178
158
  _this.renderContent = function () {
@@ -181,12 +161,12 @@ var panel = function (_super) {
181
161
  var _b = _this.state,
182
162
  data = _b.data,
183
163
  activeKey = _b.activeKey;
184
- var sex_data = _get(data, 'womanPremaritalCheckArchivesDetailVM');
164
+ var sex_data = get(data, 'womanPremaritalCheckArchivesDetailVM');
185
165
  return /*#__PURE__*/React.createElement("div", {
186
166
  className: classnames(PanelWithChild.styles["panel-with-child-desk"], 'hj-desk')
187
167
  }, _this.renderTabs(), /*#__PURE__*/React.createElement("div", {
188
168
  className: PanelWithChild.styles["panel-with-child-desk-content"]
189
- }, activeKey === 'BasicInfo' && /*#__PURE__*/React.createElement(MedicalHistory, {
169
+ }, activeKey === 'BasicInfo' && (/*#__PURE__*/React.createElement(MedicalHistory, {
190
170
  moduleName: "wife-premarital-care-basic-info",
191
171
  filesData: data,
192
172
  handleClickTab: _this.handleClickTab,
@@ -195,7 +175,7 @@ var panel = function (_super) {
195
175
  id: id,
196
176
  type: "wife",
197
177
  onRef: _this.onRef
198
- }), activeKey === 'MedicalHistory' && /*#__PURE__*/React.createElement(MedicalHistory$1, {
178
+ })), activeKey === 'MedicalHistory' && (/*#__PURE__*/React.createElement(MedicalHistory$1, {
199
179
  moduleName: "wife-premarital-care-medical-history",
200
180
  filesData: data,
201
181
  handleClickTab: _this.handleClickTab,
@@ -204,7 +184,7 @@ var panel = function (_super) {
204
184
  id: id,
205
185
  type: "wife",
206
186
  onRef: _this.onRef
207
- }), activeKey === 'PhysicalExamination' && /*#__PURE__*/React.createElement(PhysicalExamination, {
187
+ })), activeKey === 'PhysicalExamination' && (/*#__PURE__*/React.createElement(PhysicalExamination, {
208
188
  moduleName: "wife-premarital-care-physical-exam",
209
189
  filesData: data,
210
190
  handleClickTab: _this.handleClickTab,
@@ -213,7 +193,7 @@ var panel = function (_super) {
213
193
  id: id,
214
194
  type: "wife",
215
195
  onRef: _this.onRef
216
- }), activeKey === 'SecondSex' && /*#__PURE__*/React.createElement(PhysicalExamination$1, {
196
+ })), activeKey === 'SecondSex' && (/*#__PURE__*/React.createElement(PhysicalExamination$1, {
217
197
  moduleName: "wife-premarital-care-second-sex",
218
198
  filesData: data,
219
199
  handleClickTab: _this.handleClickTab,
@@ -222,7 +202,7 @@ var panel = function (_super) {
222
202
  id: id,
223
203
  type: "wife",
224
204
  onRef: _this.onRef
225
- }), activeKey === 'Inspection' && /*#__PURE__*/React.createElement(PhysicalExamination$2, {
205
+ })), activeKey === 'Inspection' && (/*#__PURE__*/React.createElement(PhysicalExamination$2, {
226
206
  moduleName: "wife-premarital-care-inspection-results",
227
207
  filesData: data,
228
208
  handleClickTab: _this.handleClickTab,
@@ -231,7 +211,7 @@ var panel = function (_super) {
231
211
  id: id,
232
212
  type: "wife",
233
213
  onRef: _this.onRef
234
- }), activeKey === 'GuidanceEvaluation' && /*#__PURE__*/React.createElement(PhysicalExamination$3, {
214
+ })), activeKey === 'GuidanceEvaluation' && (/*#__PURE__*/React.createElement(PhysicalExamination$3, {
235
215
  moduleName: "wife-premarital-care-guidance-evaluation",
236
216
  filesData: data,
237
217
  handleChangeTabs: _this.handleChangeTabs,
@@ -239,7 +219,7 @@ var panel = function (_super) {
239
219
  id: id,
240
220
  type: "wife",
241
221
  onRef: _this.onRef
242
- }), activeKey === 'SurveyReport' && /*#__PURE__*/React.createElement(DoctorEnd_SurveyReport, {
222
+ })), activeKey === 'SurveyReport' && /*#__PURE__*/React.createElement(DoctorEnd_SurveyReport, {
243
223
  headerInfo: data
244
224
  }), activeKey === 'ImageReport' && /*#__PURE__*/React.createElement(DoctorEnd_ImageReport, {
245
225
  headerInfo: data
@@ -270,12 +250,6 @@ var panel = function (_super) {
270
250
  }, {
271
251
  key: 'GuidanceEvaluation',
272
252
  title: '指导/评估'
273
- }, {
274
- key: 'SurveyReport',
275
- title: '检验报告'
276
- }, {
277
- key: 'ImageReport',
278
- title: '影像报告'
279
253
  }, {
280
254
  key: 'ReportEntry',
281
255
  title: '报告查看'
@@ -296,7 +270,7 @@ var panel = function (_super) {
296
270
  data = res.data;
297
271
  activeKey = getSearchParamsValue('activeKey') || 'BasicInfo';
298
272
  if (data) {
299
- data = _get(data, 'data');
273
+ data = get(data, 'data');
300
274
  }
301
275
  this.setState({
302
276
  data: data,
@@ -310,4 +284,3 @@ var panel = function (_super) {
310
284
  return panel;
311
285
  }(PanelWithChild);
312
286
  export { panel as default };
313
- //# sourceMappingURL=.root46.js.map