@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,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=.root22.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/cervical-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=.root23.js.map
@@ -1,10 +1,7 @@
1
- import 'antd/es/form/style';
2
- import _Form from 'antd/es/form';
3
- import 'antd/es/button/style';
4
- import _Button from 'antd/es/button';
5
- 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';
6
2
  import { RedoOutlined, SearchOutlined, ExportOutlined } from '@ant-design/icons';
7
3
  import { LazyAntd, RangePicker_L } from '@lm_fe/components';
4
+ import { Button, Form } from 'antd';
8
5
  import React, { Component } from 'react';
9
6
  var tableColumns1 = [{
10
7
  title: '项目县(区)',
@@ -445,14 +442,14 @@ var List = function (_super) {
445
442
  });
446
443
  };
447
444
  _this.renderBtn = function () {
448
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Button, {
445
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
449
446
  icon: /*#__PURE__*/React.createElement(RedoOutlined, null),
450
447
  onClick: _this.handleReset
451
- }, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(_Button, {
448
+ }, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(Button, {
452
449
  type: "primary",
453
450
  icon: /*#__PURE__*/React.createElement(SearchOutlined, null),
454
451
  htmlType: "submit"
455
- }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(_Button, {
452
+ }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(Button, {
456
453
  type: "primary",
457
454
  icon: /*#__PURE__*/React.createElement(ExportOutlined, null),
458
455
  onClick: _this.handleExport
@@ -482,14 +479,14 @@ var List = function (_super) {
482
479
  paddingTop: 14,
483
480
  paddingBottom: 14
484
481
  }
485
- }, /*#__PURE__*/React.createElement(_Form, {
482
+ }, /*#__PURE__*/React.createElement(Form, {
486
483
  autoComplete: "off",
487
484
  ref: function ref(form) {
488
485
  _this.form = form;
489
486
  },
490
487
  layout: "inline",
491
488
  onFinish: this.handleSearch
492
- }, /*#__PURE__*/React.createElement(_Form.Item, {
489
+ }, /*#__PURE__*/React.createElement(Form.Item, {
493
490
  label: "\u5EFA\u6863\u65E5\u671F",
494
491
  name: "createDate"
495
492
  }, /*#__PURE__*/React.createElement(Select, {
@@ -506,7 +503,7 @@ var List = function (_super) {
506
503
  value: "3"
507
504
  }, "\u6309\u5B63\u5EA6"), /*#__PURE__*/React.createElement(Option, {
508
505
  value: "4"
509
- }, "\u6309\u6708\u5EA6"))), /*#__PURE__*/React.createElement(_Form.Item, {
506
+ }, "\u6309\u6708\u5EA6"))), /*#__PURE__*/React.createElement(Form.Item, {
510
507
  label: "",
511
508
  name: "date"
512
509
  }, /*#__PURE__*/React.createElement(RangePicker_L, {
@@ -515,13 +512,13 @@ var List = function (_super) {
515
512
  style: {
516
513
  width: 216
517
514
  }
518
- })), /*#__PURE__*/React.createElement(_Form.Item, {
515
+ })), /*#__PURE__*/React.createElement(Form.Item, {
519
516
  colon: false,
520
517
  label: "",
521
518
  style: {
522
519
  marginLeft: 12
523
520
  }
524
- }, /*#__PURE__*/React.createElement(_Button.Group, null, this.renderBtn())))), /*#__PURE__*/React.createElement("div", {
521
+ }, /*#__PURE__*/React.createElement(Button.Group, null, this.renderBtn())))), /*#__PURE__*/React.createElement("div", {
525
522
  id: "table-scrollContainer",
526
523
  className: "global-base-table_table"
527
524
  }, /*#__PURE__*/React.createElement(Table, {
@@ -550,4 +547,3 @@ var List = function (_super) {
550
547
  return List;
551
548
  }(Component);
552
549
  export { List as default };
553
- //# sourceMappingURL=.root24.js.map
@@ -1,10 +1,7 @@
1
- import 'antd/es/form/style';
2
- import _Form from 'antd/es/form';
3
- import 'antd/es/button/style';
4
- import _Button from 'antd/es/button';
5
- 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';
6
2
  import { RedoOutlined, SearchOutlined, ExportOutlined } from '@ant-design/icons';
7
3
  import { LazyAntd, RangePicker_L } from '@lm_fe/components';
4
+ import { Button, Form } from 'antd';
8
5
  import React, { Component } from 'react';
9
6
  var tableColumns1 = [{
10
7
  title: '项目县(区)',
@@ -465,14 +462,14 @@ var List = function (_super) {
465
462
  });
466
463
  };
467
464
  _this.renderBtn = function () {
468
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Button, {
465
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
469
466
  icon: /*#__PURE__*/React.createElement(RedoOutlined, null),
470
467
  onClick: _this.handleReset
471
- }, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(_Button, {
468
+ }, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(Button, {
472
469
  type: "primary",
473
470
  icon: /*#__PURE__*/React.createElement(SearchOutlined, null),
474
471
  htmlType: "submit"
475
- }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(_Button, {
472
+ }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(Button, {
476
473
  type: "primary",
477
474
  icon: /*#__PURE__*/React.createElement(ExportOutlined, null),
478
475
  onClick: _this.handleExport
@@ -502,14 +499,14 @@ var List = function (_super) {
502
499
  paddingTop: 14,
503
500
  paddingBottom: 14
504
501
  }
505
- }, /*#__PURE__*/React.createElement(_Form, {
502
+ }, /*#__PURE__*/React.createElement(Form, {
506
503
  autoComplete: "off",
507
504
  ref: function ref(form) {
508
505
  _this.form = form;
509
506
  },
510
507
  layout: "inline",
511
508
  onFinish: this.handleSearch
512
- }, /*#__PURE__*/React.createElement(_Form.Item, {
509
+ }, /*#__PURE__*/React.createElement(Form.Item, {
513
510
  label: "\u5EFA\u6863\u65E5\u671F",
514
511
  name: "createDate"
515
512
  }, /*#__PURE__*/React.createElement(Select, {
@@ -526,7 +523,7 @@ var List = function (_super) {
526
523
  value: "3"
527
524
  }, "\u6309\u5B63\u5EA6"), /*#__PURE__*/React.createElement(Option, {
528
525
  value: "4"
529
- }, "\u6309\u6708\u5EA6"))), /*#__PURE__*/React.createElement(_Form.Item, {
526
+ }, "\u6309\u6708\u5EA6"))), /*#__PURE__*/React.createElement(Form.Item, {
530
527
  label: "",
531
528
  name: "date"
532
529
  }, /*#__PURE__*/React.createElement(RangePicker_L, {
@@ -535,13 +532,13 @@ var List = function (_super) {
535
532
  style: {
536
533
  width: 216
537
534
  }
538
- })), /*#__PURE__*/React.createElement(_Form.Item, {
535
+ })), /*#__PURE__*/React.createElement(Form.Item, {
539
536
  colon: false,
540
537
  label: "",
541
538
  style: {
542
539
  marginLeft: 12
543
540
  }
544
- }, /*#__PURE__*/React.createElement(_Button.Group, null, this.renderBtn())))), /*#__PURE__*/React.createElement("div", {
541
+ }, /*#__PURE__*/React.createElement(Button.Group, null, this.renderBtn())))), /*#__PURE__*/React.createElement("div", {
545
542
  id: "table-scrollContainer",
546
543
  className: "global-base-table_table"
547
544
  }, /*#__PURE__*/React.createElement(Table, {
@@ -570,4 +567,3 @@ var List = function (_super) {
570
567
  return List;
571
568
  }(Component);
572
569
  export { List as default };
573
- //# sourceMappingURL=.root25.js.map
@@ -1,10 +1,7 @@
1
- import 'antd/es/form/style';
2
- import _Form from 'antd/es/form';
3
- import 'antd/es/button/style';
4
- import _Button from 'antd/es/button';
5
- 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';
6
2
  import { RedoOutlined, SearchOutlined, ExportOutlined } from '@ant-design/icons';
7
3
  import { LazyAntd, RangePicker_L } from '@lm_fe/components';
4
+ import { Button, Form } from 'antd';
8
5
  import React, { Component } from 'react';
9
6
  var tableColumns1 = [{
10
7
  title: '项目县(区)',
@@ -389,14 +386,14 @@ var List = function (_super) {
389
386
  });
390
387
  };
391
388
  _this.renderBtn = function () {
392
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Button, {
389
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
393
390
  icon: /*#__PURE__*/React.createElement(RedoOutlined, null),
394
391
  onClick: _this.handleReset
395
- }, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(_Button, {
392
+ }, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(Button, {
396
393
  type: "primary",
397
394
  icon: /*#__PURE__*/React.createElement(SearchOutlined, null),
398
395
  htmlType: "submit"
399
- }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(_Button, {
396
+ }, "\u67E5\u8BE2"), /*#__PURE__*/React.createElement(Button, {
400
397
  type: "primary",
401
398
  icon: /*#__PURE__*/React.createElement(ExportOutlined, null),
402
399
  onClick: _this.handleExport
@@ -426,14 +423,14 @@ var List = function (_super) {
426
423
  paddingTop: 14,
427
424
  paddingBottom: 14
428
425
  }
429
- }, /*#__PURE__*/React.createElement(_Form, {
426
+ }, /*#__PURE__*/React.createElement(Form, {
430
427
  autoComplete: "off",
431
428
  ref: function ref(form) {
432
429
  _this.form = form;
433
430
  },
434
431
  layout: "inline",
435
432
  onFinish: this.handleSearch
436
- }, /*#__PURE__*/React.createElement(_Form.Item, {
433
+ }, /*#__PURE__*/React.createElement(Form.Item, {
437
434
  label: "\u5EFA\u6863\u65E5\u671F",
438
435
  name: "createDate"
439
436
  }, /*#__PURE__*/React.createElement(Select, {
@@ -450,7 +447,7 @@ var List = function (_super) {
450
447
  value: "3"
451
448
  }, "\u6309\u5B63\u5EA6"), /*#__PURE__*/React.createElement(Option, {
452
449
  value: "4"
453
- }, "\u6309\u6708\u5EA6"))), /*#__PURE__*/React.createElement(_Form.Item, {
450
+ }, "\u6309\u6708\u5EA6"))), /*#__PURE__*/React.createElement(Form.Item, {
454
451
  label: "",
455
452
  name: "date"
456
453
  }, /*#__PURE__*/React.createElement(RangePicker_L, {
@@ -459,13 +456,13 @@ var List = function (_super) {
459
456
  style: {
460
457
  width: 216
461
458
  }
462
- })), /*#__PURE__*/React.createElement(_Form.Item, {
459
+ })), /*#__PURE__*/React.createElement(Form.Item, {
463
460
  colon: false,
464
461
  label: "",
465
462
  style: {
466
463
  marginLeft: 12
467
464
  }
468
- }, /*#__PURE__*/React.createElement(_Button.Group, null, this.renderBtn())))), /*#__PURE__*/React.createElement("div", {
465
+ }, /*#__PURE__*/React.createElement(Button.Group, null, this.renderBtn())))), /*#__PURE__*/React.createElement("div", {
469
466
  id: "table-scrollContainer",
470
467
  className: "global-base-table_table"
471
468
  }, /*#__PURE__*/React.createElement(Table, {
@@ -494,4 +491,3 @@ var List = function (_super) {
494
491
  return List;
495
492
  }(Component);
496
493
  export { List as default };
497
- //# sourceMappingURL=.root26.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';
16
4
  import { RedoOutlined, SearchOutlined, ExportOutlined, EyeOutlined, DeleteOutlined } from '@ant-design/icons';
17
5
  import { downloadFile, formatDate, fubaoRequest } from '@lm_fe/utils';
6
+ import { Button, Divider, Popconfirm, message } from 'antd';
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=.root27.js.map