@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,26 +1,12 @@
1
1
  import { F as FolicAcidNurse } from './index.js';
2
2
  export { F as default } from './index.js';
3
- import 'antd/es/message/style';
4
- import 'antd/es/message';
5
- import 'lodash/set';
6
- import 'lodash/map';
7
- import 'lodash/isEmpty';
8
- import 'lodash/get';
9
3
  import './tslib.es6.js';
10
4
  import '@lm_fe/components_m';
11
5
  import '@lm_fe/service';
12
6
  import '@lm_fe/utils';
7
+ import 'lodash';
13
8
  import 'dayjs';
14
- import 'antd/es/space/style';
15
- import 'antd/es/space';
16
- import 'antd/es/button/style';
17
- import 'antd/es/button';
18
- import 'antd/es/modal/style';
19
- import 'antd/es/modal';
20
- import 'lodash/size';
21
- import 'lodash/omit';
22
- import 'lodash/cloneDeep';
23
9
  import '@ant-design/icons';
24
10
  import '@lm_fe/env';
11
+ import 'antd';
25
12
  import 'react';
26
- //# sourceMappingURL=.root14.js.map
@@ -1,26 +1,12 @@
1
1
  import { F as FolicAcidNurse } from './index.js';
2
2
  export { F as default } from './index.js';
3
- import 'antd/es/message/style';
4
- import 'antd/es/message';
5
- import 'lodash/set';
6
- import 'lodash/map';
7
- import 'lodash/isEmpty';
8
- import 'lodash/get';
9
3
  import './tslib.es6.js';
10
4
  import '@lm_fe/components_m';
11
5
  import '@lm_fe/service';
12
6
  import '@lm_fe/utils';
7
+ import 'lodash';
13
8
  import 'dayjs';
14
- import 'antd/es/space/style';
15
- import 'antd/es/space';
16
- import 'antd/es/button/style';
17
- import 'antd/es/button';
18
- import 'antd/es/modal/style';
19
- import 'antd/es/modal';
20
- import 'lodash/size';
21
- import 'lodash/omit';
22
- import 'lodash/cloneDeep';
23
9
  import '@ant-design/icons';
24
10
  import '@lm_fe/env';
11
+ import 'antd';
25
12
  import 'react';
26
- //# sourceMappingURL=.root15.js.map
@@ -1,10 +1,9 @@
1
- import 'antd/es/button/style';
2
- import _Button from 'antd/es/button';
3
1
  import { MyBaseList } from '@lm_fe/pages';
4
2
  import { SLocal_State, ModelService, SLocal_History } from '@lm_fe/service';
5
3
  import React from 'react';
6
4
  import { APP_CONFIG } from '@lm_fe/env';
7
5
  import { safe_json_parse, expect_array, formatDate } from '@lm_fe/utils';
6
+ import { Button } from 'antd';
8
7
  var tableColumns = [{
9
8
  title: '姓名',
10
9
  dataIndex: 'name',
@@ -29,7 +28,7 @@ var tableColumns = [{
29
28
  width: APP_CONFIG.CELL_WIDTH_SMALL,
30
29
  inputType: 'MS',
31
30
  inputProps: {
32
- optionKey: '证件类型',
31
+ uniqueKey: '证件类型',
33
32
  marshal: 0
34
33
  }
35
34
  }, {
@@ -175,8 +174,8 @@ function List(props) {
175
174
  },
176
175
  ActionAddonBefore: function ActionAddonBefore(_a) {
177
176
  var rowData = _a.rowData;
178
- return /*#__PURE__*/React.createElement(_Button, {
179
- size: "small",
177
+ return /*#__PURE__*/React.createElement(Button, {
178
+ size: 'small',
180
179
  onClick: function onClick() {
181
180
  return SLocal_History.historyPush("/fubao/folic-acid/file-management/edit?id=".concat(rowData.id));
182
181
  }
@@ -211,4 +210,3 @@ function List(props) {
211
210
  });
212
211
  }
213
212
  export { List, List as default };
214
- //# sourceMappingURL=.root16.js.map
@@ -1,7 +1,11 @@
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 from 'react';
4
- import { defineFormConfig } from '@lm_fe/service';
5
+ import { F as Follow_up_btn_婚前 } from './index2.js';
6
+ import './tslib.es6.js';
7
+ import '@lm_fe/components_m';
8
+ import '@lm_fe/env';
5
9
  var BASE_URL = '/api/follow/premaritalCheckMasculineFollow';
6
10
  function BreastCancerDataReport(prop) {
7
11
  var _a = BF_Wrap2({
@@ -108,9 +112,14 @@ function BreastCancerDataReport(prop) {
108
112
  validateDate: getMomentRange().近一周.map(formatDate)
109
113
  },
110
114
  searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
115
+ ActionAddonBefore: function ActionAddonBefore(ctx) {
116
+ return /*#__PURE__*/React.createElement(Follow_up_btn_婚前, {
117
+ rowData: ctx.rowData,
118
+ handleSearch: ctx.handleSearch
119
+ });
120
+ },
111
121
  showExport: true,
112
122
  tableColumns: config === null || config === void 0 ? void 0 : config.tableColumns
113
123
  }));
114
124
  }
115
125
  export { BreastCancerDataReport as default };
116
- //# sourceMappingURL=.root17.js.map
@@ -2,6 +2,10 @@ import { BF_Wrap2, MyBaseList } from '@lm_fe/pages';
2
2
  import { getMomentRange, formatDate } from '@lm_fe/utils';
3
3
  import React from 'react';
4
4
  import { defineFormConfig } from '@lm_fe/service';
5
+ import { F as Follow_up_btn_孕前 } from './index3.js';
6
+ import './tslib.es6.js';
7
+ import '@lm_fe/components_m';
8
+ import '@lm_fe/env';
5
9
  var BASE_URL = '/api/follow/progestationCheckMasculineFollow';
6
10
  function BreastCancerDataReport(prop) {
7
11
  var _a = BF_Wrap2({
@@ -107,10 +111,15 @@ function BreastCancerDataReport(prop) {
107
111
  initialSearchValue: {
108
112
  validateDate: getMomentRange().近一周.map(formatDate)
109
113
  },
114
+ ActionAddonBefore: function ActionAddonBefore(ctx) {
115
+ return /*#__PURE__*/React.createElement(Follow_up_btn_孕前, {
116
+ rowData: ctx.rowData,
117
+ handleSearch: ctx.handleSearch
118
+ });
119
+ },
110
120
  searchConfig: config === null || config === void 0 ? void 0 : config.searchConfig,
111
121
  showExport: true,
112
122
  tableColumns: config === null || config === void 0 ? void 0 : config.tableColumns
113
123
  }));
114
124
  }
115
125
  export { BreastCancerDataReport as default };
116
- //# sourceMappingURL=.root18.js.map
@@ -1,20 +1,10 @@
1
- import 'antd/es/message/style';
2
- import _message from 'antd/es/message';
3
- import 'antd/es/popconfirm/style';
4
- import _Popconfirm from 'antd/es/popconfirm';
5
- import 'antd/es/divider/style';
6
- import _Divider from 'antd/es/divider';
7
- import 'antd/es/button/style';
8
- import _Button from 'antd/es/button';
9
- import _isArray from 'lodash/isArray';
10
- import _isNil from 'lodash/isNil';
11
- import _get from 'lodash/get';
12
- import { b as __extends, _ as __awaiter, a as __generator, c as __assign, d as __spreadArray } from './tslib.es6.js';
1
+ import { c as __extends, _ as __awaiter, a as __generator, b as __assign, d as __spreadArray } from './tslib.es6.js';
13
2
  import React from 'react';
14
3
  import { BaseTableOld, BaseQuery, APP_CONFIG, getDataSource, BaseListOld } from '@lm_fe/components_m';
15
- import _map from 'lodash/map';
4
+ import { Button, Divider, Popconfirm, message } from 'antd';
16
5
  import { RedoOutlined, SearchOutlined, ExportOutlined, EyeOutlined, DeleteOutlined } from '@ant-design/icons';
17
6
  import { downloadFile, formatDate, fubaoRequest } from '@lm_fe/utils';
7
+ import { map, isNil, get, isArray } from 'lodash';
18
8
  var ProductsTable = function (_super) {
19
9
  __extends(ProductsTable, _super);
20
10
  function ProductsTable() {
@@ -86,14 +76,14 @@ var Query = function (_super) {
86
76
  queryFormDescriptions: queryFormDescriptions
87
77
  };
88
78
  _this.renderBtn = function () {
89
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Button, {
79
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
90
80
  icon: /*#__PURE__*/React.createElement(RedoOutlined, null),
91
81
  onClick: _this.handleReset
92
- }, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(_Button, {
82
+ }, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(Button, {
93
83
  type: "primary",
94
84
  icon: /*#__PURE__*/React.createElement(SearchOutlined, null),
95
85
  htmlType: "submit"
96
- }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(_Button, {
86
+ }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(Button, {
97
87
  type: "primary",
98
88
  icon: /*#__PURE__*/React.createElement(ExportOutlined, null),
99
89
  onClick: _this.handleExport
@@ -109,9 +99,9 @@ var Query = function (_super) {
109
99
  case 1:
110
100
  data = _a.sent();
111
101
  queryData = {};
112
- _map(data, function (value, key) {
102
+ map(data, function (value, key) {
113
103
  var _a;
114
- if (!_isNil(value)) {
104
+ if (!isNil(value)) {
115
105
  if (key === 'reportdate') {
116
106
  var startDate = formatDate(value[0]);
117
107
  var endDate = formatDate(value[1]);
@@ -392,21 +382,21 @@ var List = function (_super) {
392
382
  width: 150,
393
383
  align: 'center',
394
384
  render: function render(value, rowData, index) {
395
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Button, {
385
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
396
386
  type: "link",
397
387
  size: "small",
398
388
  icon: /*#__PURE__*/React.createElement(EyeOutlined, {
399
389
  className: "global-table-action-icon global-table-action-edit"
400
390
  }),
401
391
  onClick: _this.handleEdit(rowData)
402
- }, "\u7F16\u8F91"), /*#__PURE__*/React.createElement(_Divider, {
392
+ }, "\u7F16\u8F91"), /*#__PURE__*/React.createElement(Divider, {
403
393
  type: "vertical"
404
- }), /*#__PURE__*/React.createElement(_Popconfirm, {
405
- title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A".concat(_get(_this.props, 'baseTitle'), "\u5417?"),
394
+ }), /*#__PURE__*/React.createElement(Popconfirm, {
395
+ title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A".concat(get(_this.props, 'baseTitle'), "\u5417?"),
406
396
  onConfirm: _this.handleDelete(rowData),
407
397
  okText: "\u786E\u5B9A",
408
398
  cancelText: "\u53D6\u6D88"
409
- }, /*#__PURE__*/React.createElement(_Button, {
399
+ }, /*#__PURE__*/React.createElement(Button, {
410
400
  type: "link",
411
401
  size: "small"
412
402
  }, /*#__PURE__*/React.createElement(DeleteOutlined, {
@@ -425,8 +415,8 @@ var List = function (_super) {
425
415
  if (!baseUrl) {
426
416
  return [2];
427
417
  }
428
- if (!_isNil(editKey)) {
429
- _message.error('请保存未保存的记录');
418
+ if (!isNil(editKey)) {
419
+ message.error('请保存未保存的记录');
430
420
  return [2];
431
421
  }
432
422
  this.setState({
@@ -437,7 +427,7 @@ var List = function (_super) {
437
427
  return [4, getDataSource(baseUrl, query, processFromApi)];
438
428
  case 1:
439
429
  _c = _d.sent(), data = _c.data, count = _c.count;
440
- if (data && _isArray(data)) ;
430
+ if (data && isArray(data)) ;
441
431
  if (count) {
442
432
  total = Number(count);
443
433
  }
@@ -479,4 +469,3 @@ var List = function (_super) {
479
469
  return List;
480
470
  }(BaseListOld);
481
471
  export { List as default };
482
- //# sourceMappingURL=.root19.js.map
@@ -1,19 +1,12 @@
1
- import _set from 'lodash/set';
2
- import _get from 'lodash/get';
3
- import { b as __extends, _ as __awaiter, a as __generator, c as __assign } from './tslib.es6.js';
1
+ import { c as __extends, _ as __awaiter, a as __generator, b as __assign } from './tslib.es6.js';
4
2
  import { resolveFubaoPath, BaseEditPanelForm, formDescriptionsWithoutSectionApi, BaseEditPanel, fromApi, toApi } from '@lm_fe/components_m';
5
3
  import { fubaoRequest, getSearchParamsValue } from '@lm_fe/utils';
4
+ import { get, size, set } from 'lodash';
6
5
  import { SLocal_History, SMchc_FormDescriptions } from '@lm_fe/service';
7
6
  import dayjs from 'dayjs';
8
- import 'antd/es/space/style';
9
- import _Space from 'antd/es/space';
10
- import 'antd/es/button/style';
11
- import _Button from 'antd/es/button';
12
- import 'antd/es/message/style';
13
- import _message from 'antd/es/message';
14
- import _size from 'lodash/size';
15
7
  import { CloseOutlined, SaveOutlined } from '@ant-design/icons';
16
- import { mchcUtils } from '@lm_fe/env';
8
+ import { mchcEnv, mchcUtils } from '@lm_fe/env';
9
+ import { message, Button, Space } from 'antd';
17
10
  var AdmissionForm = function (_super) {
18
11
  __extends(AdmissionForm, _super);
19
12
  function AdmissionForm() {
@@ -24,7 +17,7 @@ var AdmissionForm = function (_super) {
24
17
  var _a, _b;
25
18
  if (id === 'residenceAddress') {
26
19
  var value = (_a = _this.form) === null || _a === void 0 ? void 0 : _a.getFieldValue('permanentResidenceAddress');
27
- !value && _message.info('请先填写完整的户口地址信息!');
20
+ !value && mchcEnv.info('请先填写完整的户口地址信息!');
28
21
  value && ((_b = _this.form) === null || _b === void 0 ? void 0 : _b.setFieldsValue({
29
22
  residenceAddress: value
30
23
  }));
@@ -37,8 +30,8 @@ var AdmissionForm = function (_super) {
37
30
  var form, idNO, personal;
38
31
  return __generator(this, function (_a) {
39
32
  form = this.form;
40
- if (_get(allValues, 'idType') === 1 && _size(_get(allValues, 'idNO')) === 18 && (_get(changedValues, 'idType') || _get(changedValues, 'idNO'))) {
41
- idNO = _get(allValues, 'idNO');
33
+ if (get(allValues, 'idType') === 1 && size(get(allValues, 'idNO')) === 18 && (get(changedValues, 'idType') || get(changedValues, 'idNO'))) {
34
+ idNO = get(allValues, 'idNO');
42
35
  personal = mchcUtils.checkIdNo(idNO);
43
36
  if (personal.status) {
44
37
  form && form.setFieldsValue({
@@ -48,7 +41,7 @@ var AdmissionForm = function (_super) {
48
41
  age: personal.age
49
42
  });
50
43
  } else {
51
- _message.warning("".concat(_get(personal, 'message')));
44
+ message.warning("".concat(get(personal, 'message')));
52
45
  }
53
46
  }
54
47
  return [2];
@@ -61,24 +54,24 @@ var AdmissionForm = function (_super) {
61
54
  return __generator(this, function (_b) {
62
55
  _a = this.props, _a.history, data = _a.data, _a.deleteTab, _a.routerPath, _a.tabs, _a.keepAliveProviderRef, _a.updateTabs;
63
56
  form = this.form;
64
- if (!_get(data, 'id')) form.resetFields();
57
+ if (!get(data, 'id')) form.resetFields();
65
58
  SLocal_History.closeAndPush(resolveFubaoPath('/family-planning/file-management/list'));
66
59
  return [2];
67
60
  });
68
61
  });
69
62
  };
70
63
  _this.renderCancelBtn = function () {
71
- return /*#__PURE__*/React.createElement(_Button, {
64
+ return React.createElement(Button, {
72
65
  size: "large",
73
- icon: /*#__PURE__*/React.createElement(CloseOutlined, null),
66
+ icon: React.createElement(CloseOutlined, null),
74
67
  onClick: _this.handleCancel
75
68
  }, "\u5173\u95ED");
76
69
  };
77
70
  _this.renderCheckBtn = function () {
78
- return /*#__PURE__*/React.createElement(_Button, {
71
+ return React.createElement(Button, {
79
72
  size: "large",
80
73
  type: "primary",
81
- icon: /*#__PURE__*/React.createElement(SaveOutlined, null),
74
+ icon: React.createElement(SaveOutlined, null),
82
75
  htmlType: "submit",
83
76
  onClick: _this.handleFinish,
84
77
  disabled: false
@@ -86,7 +79,7 @@ var AdmissionForm = function (_super) {
86
79
  };
87
80
  _this.renderBtns = function () {
88
81
  var history = _this.props.history;
89
- return /*#__PURE__*/React.createElement(_Space, null, history && _this.renderCancelBtn(), _this.renderCheckBtn());
82
+ return React.createElement(Space, null, history && _this.renderCancelBtn(), _this.renderCheckBtn());
90
83
  };
91
84
  return _this;
92
85
  }
@@ -103,7 +96,7 @@ var FamilyPlanning_FileManagement_NurseDesk = function (_super) {
103
96
  switch (_d.label) {
104
97
  case 0:
105
98
  _a = this.props, _a.routerQuery, moduleName = _a.moduleName, _b = _a.fromApi, fromApi$1 = _b === void 0 ? fromApi : _b, user = _a.user, system = _a.system;
106
- id = _get(this.props, 'id') || getSearchParamsValue('id');
99
+ id = get(this.props, 'id') || getSearchParamsValue('id');
107
100
  return [4, SMchc_FormDescriptions.getModuleParseCache(moduleName)];
108
101
  case 1:
109
102
  formDescriptions = _d.sent();
@@ -122,13 +115,13 @@ var FamilyPlanning_FileManagement_NurseDesk = function (_super) {
122
115
  case 4:
123
116
  data = _c;
124
117
  if (data) {
125
- data = _get(data, 'data.pageData.0');
118
+ data = get(data, 'data.pageData.0');
126
119
  }
127
120
  data = id ? fromApi$1(data, formDescriptionsWithoutSection) : {};
128
- formKey = _get(data, 'id') || Math.random();
129
- if (!_get(data, 'testingFacility')) _set(data, 'testingFacility', _get(system, 'config.hospitalName'));
130
- if (!_get(data, 'registerDate')) _set(data, 'registerDate', dayjs(new Date()));
131
- if (!_get(data, 'registerPerson')) _set(data, 'registerPerson', _get(user, 'basicInfo.firstName'));
121
+ formKey = get(data, 'id') || Math.random();
122
+ if (!get(data, 'testingFacility')) set(data, 'testingFacility', get(system, 'config.hospitalName'));
123
+ if (!get(data, 'registerDate')) set(data, 'registerDate', dayjs(new Date()));
124
+ if (!get(data, 'registerPerson')) set(data, 'registerPerson', get(user, 'basicInfo.firstName'));
132
125
  this.setState({
133
126
  formDescriptions: formDescriptions,
134
127
  formDescriptionsWithoutSection: formDescriptionsWithoutSection,
@@ -154,7 +147,7 @@ var FamilyPlanning_FileManagement_NurseDesk = function (_super) {
154
147
  params = __assign(__assign({}, params), {
155
148
  fileState: 1
156
149
  });
157
- if (!_get(values, 'id')) return [3, 3];
150
+ if (!get(values, 'id')) return [3, 3];
158
151
  return [4, fubaoRequest.put('/api/family/planning/updateFamilyPlanningFile', params)];
159
152
  case 2:
160
153
  res = _c.sent();
@@ -163,7 +156,7 @@ var FamilyPlanning_FileManagement_NurseDesk = function (_super) {
163
156
  return [4, fubaoRequest.post(baseUrl, params)];
164
157
  case 4:
165
158
  res = _c.sent().data;
166
- if (_get(res, 'code') === 1) {
159
+ if (get(res, 'code') === 1) {
167
160
  SLocal_History.closeAndPush(resolveFubaoPath('/family-planning/file-management/list'));
168
161
  }
169
162
  _c.label = 5;
@@ -194,4 +187,3 @@ var FamilyPlanning_FileManagement_NurseDesk = function (_super) {
194
187
  }(BaseEditPanel);
195
188
  var BasicInfo = FamilyPlanning_FileManagement_NurseDesk;
196
189
  export { BasicInfo as default };
197
- //# sourceMappingURL=.root2.js.map
@@ -1,10 +1,7 @@
1
- import { b as __extends, c as __assign, d as __spreadArray } from './tslib.es6.js';
1
+ import { c as __extends, b as __assign, d as __spreadArray } from './tslib.es6.js';
2
2
  import { BaseEditPanelForm, BaseEditPanel } from '@lm_fe/components_m';
3
- import _set from 'lodash/set';
4
- import _map from 'lodash/map';
5
- import _isObject from 'lodash/isObject';
6
- import _get from 'lodash/get';
7
3
  import { formatDateTime, fubaoRequest } from '@lm_fe/utils';
4
+ import { map, get, set, isObject } from 'lodash';
8
5
  import dayjs from 'dayjs';
9
6
  var AdmissionForm = function (_super) {
10
7
  __extends(AdmissionForm, _super);
@@ -15,49 +12,49 @@ var AdmissionForm = function (_super) {
15
12
  }(BaseEditPanelForm);
16
13
  var fromApi = function fromApi(data, nativeFormDescriptions) {
17
14
  var result = {};
18
- _map(nativeFormDescriptions, function (desctiption, key) {
15
+ map(nativeFormDescriptions, function (desctiption, key) {
19
16
  var tranferRules = desctiption.tranfer_rules;
20
17
  var type = 'default';
21
18
  var path = key;
22
19
  if (tranferRules && JSON.parse(tranferRules)) {
23
20
  var tranferRulesJson = JSON.parse(tranferRules);
24
- type = _get(tranferRulesJson, 'type') ? _get(tranferRulesJson, 'type') : 'default';
25
- path = _get(tranferRulesJson, 'path') ? _get(tranferRulesJson, 'path') : key;
21
+ type = get(tranferRulesJson, 'type') ? get(tranferRulesJson, 'type') : 'default';
22
+ path = get(tranferRulesJson, 'path') ? get(tranferRulesJson, 'path') : key;
26
23
  }
27
24
  switch (type) {
28
25
  case 'key_and_keyNote':
29
- _set(result, "".concat(key, ".key"), _get(data, path));
30
- _set(result, "".concat(key, ".keyNote"), _get(data, "".concat(path, "Note")));
26
+ set(result, "".concat(key, ".key"), get(data, path));
27
+ set(result, "".concat(key, ".keyNote"), get(data, "".concat(path, "Note")));
31
28
  break;
32
29
  case 'stage':
33
- _set(result, "".concat(key, ".0"), _get(data, "".concat(key, "h")));
34
- _set(result, "".concat(key, ".1"), _get(data, "".concat(key, "m")));
30
+ set(result, "".concat(key, ".0"), get(data, "".concat(key, "h")));
31
+ set(result, "".concat(key, ".1"), get(data, "".concat(key, "m")));
35
32
  break;
36
33
  case 'apgar':
37
- _map(_get(data, 'noenateRecord'), function (record, index) {
38
- _set(result, "".concat(key, ".").concat(index, ".apgar1"), _get(record, 'apgar1'));
39
- _set(result, "".concat(key, ".").concat(index, ".apgar5"), _get(record, 'apgar5'));
40
- _set(result, "".concat(key, ".").concat(index, ".apgar10"), _get(record, 'apgar10'));
34
+ map(get(data, 'noenateRecord'), function (record, index) {
35
+ set(result, "".concat(key, ".").concat(index, ".apgar1"), get(record, 'apgar1'));
36
+ set(result, "".concat(key, ".").concat(index, ".apgar5"), get(record, 'apgar5'));
37
+ set(result, "".concat(key, ".").concat(index, ".apgar10"), get(record, 'apgar10'));
41
38
  });
42
39
  break;
43
40
  case 'moment':
44
- _set(result, key, dayjs(_get(data, path)));
41
+ set(result, key, dayjs(get(data, path)));
45
42
  break;
46
43
  case 'default':
47
44
  default:
48
- _set(result, key, _get(data, path));
45
+ set(result, key, get(data, path));
49
46
  break;
50
47
  }
51
48
  });
52
49
  return __assign(__assign({}, result), {
53
- id: _get(data, 'id')
50
+ id: get(data, 'id')
54
51
  });
55
52
  };
56
53
  var toApi = function toApi(data, nativeFormDescriptions) {
57
54
  var isObjectKeyArray = [];
58
55
  var isNotObjectKeyArray = [];
59
- _map(data, function (item, key) {
60
- if (_isObject(item)) {
56
+ map(data, function (item, key) {
57
+ if (isObject(item)) {
61
58
  isObjectKeyArray.push(key);
62
59
  } else {
63
60
  isNotObjectKeyArray.push(key);
@@ -65,41 +62,41 @@ var toApi = function toApi(data, nativeFormDescriptions) {
65
62
  });
66
63
  var result = {};
67
64
  var dataKeys = __spreadArray(__spreadArray([], isObjectKeyArray, true), isNotObjectKeyArray, true);
68
- _set(result, 'noenateRecords', _get(data, 'fetusAppendages'));
69
- _map(dataKeys, function (key) {
70
- var item = _get(data, key);
71
- var tranferRules = _get(nativeFormDescriptions, "".concat(key, ".tranfer_rules"));
65
+ set(result, 'noenateRecords', get(data, 'fetusAppendages'));
66
+ map(dataKeys, function (key) {
67
+ var item = get(data, key);
68
+ var tranferRules = get(nativeFormDescriptions, "".concat(key, ".tranfer_rules"));
72
69
  var type = 'default';
73
70
  var path = key;
74
71
  if (tranferRules && JSON.parse(tranferRules)) {
75
72
  var tranferRulesJson = JSON.parse(tranferRules);
76
- type = _get(tranferRulesJson, 'type') ? _get(tranferRulesJson, 'type') : 'default';
77
- path = _get(tranferRulesJson, 'path') ? _get(tranferRulesJson, 'path') : key;
73
+ type = get(tranferRulesJson, 'type') ? get(tranferRulesJson, 'type') : 'default';
74
+ path = get(tranferRulesJson, 'path') ? get(tranferRulesJson, 'path') : key;
78
75
  }
79
76
  switch (type) {
80
77
  case 'key_and_keyNote':
81
- _set(result, path, _get(item, 'key'));
82
- _set(result, "".concat(path, "Note"), _get(item, 'keyNote'));
78
+ set(result, path, get(item, 'key'));
79
+ set(result, "".concat(path, "Note"), get(item, 'keyNote'));
83
80
  break;
84
81
  case 'stage':
85
- _set(result, "".concat(key, "h"), Number(_get(item, '0')));
86
- _set(result, "".concat(key, "m"), Number(_get(item, '1')));
82
+ set(result, "".concat(key, "h"), Number(get(item, '0')));
83
+ set(result, "".concat(key, "m"), Number(get(item, '1')));
87
84
  break;
88
85
  case 'apgar':
89
- _map(_get(data, 'noenateRecord'), function (record, index) {
90
- _set(result, "".concat(key, ".").concat(index, ".apgar1"), _get(record, 'apgar1'));
91
- _set(result, "".concat(key, ".").concat(index, ".apgar5"), _get(record, 'apgar5'));
92
- _set(result, "".concat(key, ".").concat(index, ".apgar10"), _get(record, 'apgar10'));
86
+ map(get(data, 'noenateRecord'), function (record, index) {
87
+ set(result, "".concat(key, ".").concat(index, ".apgar1"), get(record, 'apgar1'));
88
+ set(result, "".concat(key, ".").concat(index, ".apgar5"), get(record, 'apgar5'));
89
+ set(result, "".concat(key, ".").concat(index, ".apgar10"), get(record, 'apgar10'));
93
90
  });
94
91
  break;
95
92
  case 'moment':
96
- _set(result, path, formatDateTime(item));
93
+ set(result, path, formatDateTime(item));
97
94
  break;
98
95
  case 'fetusAppendages':
99
96
  break;
100
97
  case 'default':
101
98
  default:
102
- _set(result, path, item);
99
+ set(result, path, item);
103
100
  break;
104
101
  }
105
102
  });
@@ -122,4 +119,3 @@ var Panel = function (_super) {
122
119
  return Panel;
123
120
  }(BaseEditPanel);
124
121
  export { Panel as default };
125
- //# sourceMappingURL=.root20.js.map
@@ -1,8 +1,7 @@
1
- import _get from 'lodash/get';
2
- import { b as __extends, c as __assign, _ as __awaiter, a as __generator } from './tslib.es6.js';
1
+ import { c as __extends, b as __assign, _ as __awaiter, a as __generator } from './tslib.es6.js';
3
2
  import { BaseTableOld, BaseQuery, fubaoHistoryPush, BaseListOld } from '@lm_fe/components_m';
4
3
  import { formatDateTime, fubaoRequest } from '@lm_fe/utils';
5
- import _map from 'lodash/map';
4
+ import { get, map } from 'lodash';
6
5
  var ProductsTable = function (_super) {
7
6
  __extends(ProductsTable, _super);
8
7
  function ProductsTable() {
@@ -43,21 +42,21 @@ var tableColumns = [{
43
42
  dataIndex: 'outpatientNO',
44
43
  align: 'center',
45
44
  render: function render(value, rowData) {
46
- return _get(rowData, 'gynecologicalPatient.outpatientNO');
45
+ return get(rowData, 'gynecologicalPatient.outpatientNO');
47
46
  }
48
47
  }, {
49
48
  title: '姓名',
50
49
  dataIndex: 'name',
51
50
  align: 'center',
52
51
  render: function render(value, rowData) {
53
- return _get(rowData, 'gynecologicalPatient.name');
52
+ return get(rowData, 'gynecologicalPatient.name');
54
53
  }
55
54
  }, {
56
55
  title: '证件号码',
57
56
  dataIndex: 'idNO',
58
57
  align: 'center',
59
58
  render: function render(value, rowData) {
60
- return _get(rowData, 'gynecologicalPatient.idNO');
59
+ return get(rowData, 'gynecologicalPatient.idNO');
61
60
  }
62
61
  }, {
63
62
  title: '检查日期',
@@ -88,11 +87,11 @@ var tableColumns = [{
88
87
  align: 'center'
89
88
  }];
90
89
  var processFromApi = function processFromApi(data) {
91
- return _map(data, function (item) {
90
+ return map(data, function (item) {
92
91
  return __assign(__assign({}, item), {
93
- name: _get(item, 'wife.name'),
94
- age: _get(item, 'wife.age'),
95
- husbandname: _get(item, 'husband.name')
92
+ name: get(item, 'wife.name'),
93
+ age: get(item, 'wife.age'),
94
+ husbandname: get(item, 'husband.name')
96
95
  });
97
96
  });
98
97
  };
@@ -106,7 +105,7 @@ var List = function (_super) {
106
105
  };
107
106
  _this.handleEdit = function (rowData) {
108
107
  return function () {
109
- var id = _get(rowData, 'id');
108
+ var id = get(rowData, 'id');
110
109
  _this.props.history;
111
110
  fubaoHistoryPush("/gynecological-diseases/breast-cancer-screen/edit?id=".concat(id), _this.props);
112
111
  };
@@ -122,19 +121,19 @@ var List = function (_super) {
122
121
  switch (_a.label) {
123
122
  case 0:
124
123
  queryData = __assign({}, this.staticDefaultQuery);
125
- if (_get(data, 'outpatientNO')) {
124
+ if (get(data, 'outpatientNO')) {
126
125
  queryData = __assign(__assign({}, queryData), {
127
- 'gynecologicalPatientCriteria.outpatientNO.contains': _get(data, 'outpatientNO')
126
+ 'gynecologicalPatientCriteria.outpatientNO.contains': get(data, 'outpatientNO')
128
127
  });
129
128
  }
130
- if (_get(data, 'name')) {
129
+ if (get(data, 'name')) {
131
130
  queryData = __assign(__assign({}, queryData), {
132
- 'gynecologicalPatientCriteria.name.contains': _get(data, 'name')
131
+ 'gynecologicalPatientCriteria.name.contains': get(data, 'name')
133
132
  });
134
133
  }
135
- if (_get(data, 'idNO')) {
134
+ if (get(data, 'idNO')) {
136
135
  queryData = __assign(__assign({}, queryData), {
137
- 'gynecologicalPatientCriteria.idNO.contains': _get(data, 'idNO')
136
+ 'gynecologicalPatientCriteria.idNO.contains': get(data, 'idNO')
138
137
  });
139
138
  }
140
139
  return [4, this.setState({
@@ -167,4 +166,3 @@ var List = function (_super) {
167
166
  return List;
168
167
  }(BaseListOld);
169
168
  export { List as default };
170
- //# sourceMappingURL=.root21.js.map