@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.
- package/README.md +4 -2
- package/dist/a_chunks/.root.js +240 -280
- package/dist/a_chunks/.root10.js +9 -15
- package/dist/a_chunks/.root11.js +210 -244
- package/dist/a_chunks/.root12.js +2 -33
- package/dist/a_chunks/.root13.js +300 -331
- package/dist/a_chunks/.root14.js +2 -16
- package/dist/a_chunks/.root15.js +2 -16
- package/dist/a_chunks/.root16.js +4 -6
- package/dist/a_chunks/.root17.js +11 -2
- package/dist/a_chunks/.root18.js +10 -1
- package/dist/a_chunks/.root19.js +16 -27
- package/dist/a_chunks/.root2.js +22 -30
- package/dist/a_chunks/.root20.js +34 -38
- package/dist/a_chunks/.root21.js +16 -18
- package/dist/a_chunks/.root22.js +34 -38
- package/dist/a_chunks/.root23.js +16 -18
- package/dist/a_chunks/.root24.js +10 -14
- package/dist/a_chunks/.root25.js +10 -14
- package/dist/a_chunks/.root26.js +10 -14
- package/dist/a_chunks/.root27.js +16 -27
- package/dist/a_chunks/.root28.js +15 -19
- package/dist/a_chunks/.root29.js +15 -19
- package/dist/a_chunks/.root3.js +4 -6
- package/dist/a_chunks/.root30.js +9 -14
- package/dist/a_chunks/.root31.js +2 -10
- package/dist/a_chunks/.root32.js +11 -19
- package/dist/a_chunks/.root33.js +308 -335
- package/dist/a_chunks/.root34.js +1 -2
- package/dist/a_chunks/.root35.js +14 -154
- package/dist/a_chunks/.root36.js +7 -21
- package/dist/a_chunks/.root37.js +183 -1481
- package/dist/a_chunks/.root38.js +32 -2496
- package/dist/a_chunks/.root39.js +56 -83
- package/dist/a_chunks/.root4.js +4 -6
- package/dist/a_chunks/.root40.js +3 -3
- package/dist/a_chunks/.root41.js +56 -83
- package/dist/a_chunks/.root42.js +6 -20
- package/dist/a_chunks/.root43.js +183 -1526
- package/dist/a_chunks/.root44.js +13 -19
- package/dist/a_chunks/.root45.js +55 -82
- package/dist/a_chunks/.root46.js +55 -82
- package/dist/a_chunks/.root47.js +5 -8
- package/dist/a_chunks/.root48.js +30 -22
- package/dist/a_chunks/.root49.js +30 -43
- package/dist/a_chunks/.root5.js +3 -3
- package/dist/a_chunks/.root50.js +53 -226
- package/dist/a_chunks/.root51.js +64 -188
- package/dist/a_chunks/.root52.js +113 -3122
- package/dist/a_chunks/.root53.js +85 -134
- package/dist/a_chunks/.root54.js +3071 -175
- package/dist/a_chunks/.root55.js +127 -478
- package/dist/a_chunks/.root56.js +170 -910
- package/dist/a_chunks/.root57.js +376 -399
- package/dist/a_chunks/.root58.js +808 -687
- package/dist/a_chunks/.root59.js +495 -118
- package/dist/a_chunks/.root6.js +6 -9
- package/dist/a_chunks/.root60.js +773 -45
- package/dist/a_chunks/.root61.js +738 -97
- package/dist/a_chunks/.root62.js +105 -273
- package/dist/a_chunks/.root63.js +38 -22
- package/dist/a_chunks/.root64.js +184 -16
- package/dist/a_chunks/.root65.js +107 -241
- package/dist/a_chunks/.root66.js +132 -0
- package/dist/a_chunks/.root67.js +286 -0
- package/dist/a_chunks/.root68.js +817 -0
- package/dist/a_chunks/.root69.js +28 -0
- package/dist/a_chunks/.root7.js +2 -42
- package/dist/a_chunks/.root70.js +19 -0
- package/dist/a_chunks/.root71.js +247 -0
- package/dist/a_chunks/.root8.js +2 -12
- package/dist/a_chunks/.root9.js +16 -26
- package/dist/a_chunks/Form.js +3 -5
- package/dist/a_chunks/ModalForm.js +254 -280
- package/dist/a_chunks/api.js +311 -325
- package/dist/a_chunks/common.js +0 -1
- package/dist/a_chunks/config.js +135 -164
- package/dist/a_chunks/form_config.js +11 -130
- package/dist/a_chunks/index.js +43 -57
- package/dist/a_chunks/index2.js +148 -64
- package/dist/a_chunks/index3.js +131 -1151
- package/dist/a_chunks/index4.js +57 -1040
- package/dist/a_chunks/index5.js +142 -0
- package/dist/a_chunks/index6.js +1169 -0
- package/dist/a_chunks/index7.js +1006 -0
- package/dist/a_chunks/style-inject.es.js +0 -1
- package/dist/a_chunks/tslib.es6.js +1 -2
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js +0 -1
- package/dist/index.js +10 -5
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Curettage/index.d.ts +1 -1
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/VideoReport/method.d.ts +1 -1
- package/dist/pages/fubao/folic-acid/file-management/list/index copy.d.ts +1 -1
- 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
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/form_config.d.ts +2 -1
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index copy.d.ts +18 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index.d.ts +3 -18
- package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/form_config_nv.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/file-management/config/table.d.ts +1 -1
- package/dist/pages/fubao/premarital-care/file-management/edit/form_config.d.ts +2 -1
- package/dist/pages/fubao/premarital-care/file-management/edit/index copy 2.d.ts +17 -0
- package/dist/pages/fubao/premarital-care/file-management/edit/index.d.ts +3 -17
- package/dist/pages/fubao/statistic/abnormal-breast-cancer/index.d.ts +2 -0
- package/dist/pages/fubao/statistic/abnormal-cervical-cancer/index.d.ts +2 -0
- package/dist/pages/fubao/statistic/premarital-checkup/./345/251/232/346/243/200/351/232/217/350/256/277/index.d.ts +1 -1
- package/dist/pages/fubao/statistic/progestation-checkup/./345/255/225/346/243/200/351/232/217/350/256/277/index.d.ts +1 -1
- package/dist/routes/index.d.ts +2 -0
- package/dist/routes/meta.d.ts +2 -0
- package/package.json +19 -14
- package/dist/a_chunks/.root.js.map +0 -1
- package/dist/a_chunks/.root10.js.map +0 -1
- package/dist/a_chunks/.root11.js.map +0 -1
- package/dist/a_chunks/.root12.js.map +0 -1
- package/dist/a_chunks/.root13.js.map +0 -1
- package/dist/a_chunks/.root14.js.map +0 -1
- package/dist/a_chunks/.root15.js.map +0 -1
- package/dist/a_chunks/.root16.js.map +0 -1
- package/dist/a_chunks/.root17.js.map +0 -1
- package/dist/a_chunks/.root18.js.map +0 -1
- package/dist/a_chunks/.root19.js.map +0 -1
- package/dist/a_chunks/.root2.js.map +0 -1
- package/dist/a_chunks/.root20.js.map +0 -1
- package/dist/a_chunks/.root21.js.map +0 -1
- package/dist/a_chunks/.root22.js.map +0 -1
- package/dist/a_chunks/.root23.js.map +0 -1
- package/dist/a_chunks/.root24.js.map +0 -1
- package/dist/a_chunks/.root25.js.map +0 -1
- package/dist/a_chunks/.root26.js.map +0 -1
- package/dist/a_chunks/.root27.js.map +0 -1
- package/dist/a_chunks/.root28.js.map +0 -1
- package/dist/a_chunks/.root29.js.map +0 -1
- package/dist/a_chunks/.root3.js.map +0 -1
- package/dist/a_chunks/.root30.js.map +0 -1
- package/dist/a_chunks/.root31.js.map +0 -1
- package/dist/a_chunks/.root32.js.map +0 -1
- package/dist/a_chunks/.root33.js.map +0 -1
- package/dist/a_chunks/.root34.js.map +0 -1
- package/dist/a_chunks/.root35.js.map +0 -1
- package/dist/a_chunks/.root36.js.map +0 -1
- package/dist/a_chunks/.root37.js.map +0 -1
- package/dist/a_chunks/.root38.js.map +0 -1
- package/dist/a_chunks/.root39.js.map +0 -1
- package/dist/a_chunks/.root4.js.map +0 -1
- package/dist/a_chunks/.root40.js.map +0 -1
- package/dist/a_chunks/.root41.js.map +0 -1
- package/dist/a_chunks/.root42.js.map +0 -1
- package/dist/a_chunks/.root43.js.map +0 -1
- package/dist/a_chunks/.root44.js.map +0 -1
- package/dist/a_chunks/.root45.js.map +0 -1
- package/dist/a_chunks/.root46.js.map +0 -1
- package/dist/a_chunks/.root47.js.map +0 -1
- package/dist/a_chunks/.root48.js.map +0 -1
- package/dist/a_chunks/.root49.js.map +0 -1
- package/dist/a_chunks/.root5.js.map +0 -1
- package/dist/a_chunks/.root50.js.map +0 -1
- package/dist/a_chunks/.root51.js.map +0 -1
- package/dist/a_chunks/.root52.js.map +0 -1
- package/dist/a_chunks/.root53.js.map +0 -1
- package/dist/a_chunks/.root54.js.map +0 -1
- package/dist/a_chunks/.root55.js.map +0 -1
- package/dist/a_chunks/.root56.js.map +0 -1
- package/dist/a_chunks/.root57.js.map +0 -1
- package/dist/a_chunks/.root58.js.map +0 -1
- package/dist/a_chunks/.root59.js.map +0 -1
- package/dist/a_chunks/.root6.js.map +0 -1
- package/dist/a_chunks/.root60.js.map +0 -1
- package/dist/a_chunks/.root61.js.map +0 -1
- package/dist/a_chunks/.root62.js.map +0 -1
- package/dist/a_chunks/.root63.js.map +0 -1
- package/dist/a_chunks/.root64.js.map +0 -1
- package/dist/a_chunks/.root65.js.map +0 -1
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root8.js.map +0 -1
- package/dist/a_chunks/.root9.js.map +0 -1
- package/dist/a_chunks/Form.js.map +0 -1
- package/dist/a_chunks/ModalForm.js.map +0 -1
- package/dist/a_chunks/api.js.map +0 -1
- package/dist/a_chunks/common.js.map +0 -1
- package/dist/a_chunks/config.js.map +0 -1
- package/dist/a_chunks/extends.js +0 -11
- package/dist/a_chunks/extends.js.map +0 -1
- package/dist/a_chunks/form_config.js.map +0 -1
- package/dist/a_chunks/index.js.map +0 -1
- package/dist/a_chunks/index2.js.map +0 -1
- package/dist/a_chunks/index3.js.map +0 -1
- package/dist/a_chunks/index4.js.map +0 -1
- package/dist/a_chunks/style-inject.es.js.map +0 -1
- package/dist/a_chunks/tslib.es6.js.map +0 -1
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/config/adapter.d.ts +0 -2
- package/dist/pages/fubao/premarital-care/.public-exam/config/adapter.d.ts +0 -2
- /package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/{form_config.d.ts → form_config_nan.d.ts} +0 -0
package/dist/a_chunks/.root22.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import {
|
|
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
|
-
|
|
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 =
|
|
25
|
-
path =
|
|
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
|
-
|
|
30
|
-
|
|
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
|
-
|
|
34
|
-
|
|
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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
-
|
|
41
|
+
set(result, key, dayjs(get(data, path)));
|
|
45
42
|
break;
|
|
46
43
|
case 'default':
|
|
47
44
|
default:
|
|
48
|
-
|
|
45
|
+
set(result, key, get(data, path));
|
|
49
46
|
break;
|
|
50
47
|
}
|
|
51
48
|
});
|
|
52
49
|
return __assign(__assign({}, result), {
|
|
53
|
-
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
|
-
|
|
60
|
-
if (
|
|
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
|
-
|
|
69
|
-
|
|
70
|
-
var item =
|
|
71
|
-
var tranferRules =
|
|
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 =
|
|
77
|
-
path =
|
|
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
|
-
|
|
82
|
-
|
|
78
|
+
set(result, path, get(item, 'key'));
|
|
79
|
+
set(result, "".concat(path, "Note"), get(item, 'keyNote'));
|
|
83
80
|
break;
|
|
84
81
|
case 'stage':
|
|
85
|
-
|
|
86
|
-
|
|
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
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
93
|
+
set(result, path, formatDateTime(item));
|
|
97
94
|
break;
|
|
98
95
|
case 'fetusAppendages':
|
|
99
96
|
break;
|
|
100
97
|
case 'default':
|
|
101
98
|
default:
|
|
102
|
-
|
|
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
|
package/dist/a_chunks/.root23.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
90
|
+
return map(data, function (item) {
|
|
92
91
|
return __assign(__assign({}, item), {
|
|
93
|
-
name:
|
|
94
|
-
age:
|
|
95
|
-
husbandname:
|
|
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 =
|
|
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 (
|
|
124
|
+
if (get(data, 'outpatientNO')) {
|
|
126
125
|
queryData = __assign(__assign({}, queryData), {
|
|
127
|
-
'gynecologicalPatientCriteria.outpatientNO.contains':
|
|
126
|
+
'gynecologicalPatientCriteria.outpatientNO.contains': get(data, 'outpatientNO')
|
|
128
127
|
});
|
|
129
128
|
}
|
|
130
|
-
if (
|
|
129
|
+
if (get(data, 'name')) {
|
|
131
130
|
queryData = __assign(__assign({}, queryData), {
|
|
132
|
-
'gynecologicalPatientCriteria.name.contains':
|
|
131
|
+
'gynecologicalPatientCriteria.name.contains': get(data, 'name')
|
|
133
132
|
});
|
|
134
133
|
}
|
|
135
|
-
if (
|
|
134
|
+
if (get(data, 'idNO')) {
|
|
136
135
|
queryData = __assign(__assign({}, queryData), {
|
|
137
|
-
'gynecologicalPatientCriteria.idNO.contains':
|
|
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
|
package/dist/a_chunks/.root24.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import '
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
package/dist/a_chunks/.root25.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import '
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
package/dist/a_chunks/.root26.js
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import '
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
package/dist/a_chunks/.root27.js
CHANGED
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
import '
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
-
|
|
102
|
+
map(data, function (value, key) {
|
|
113
103
|
var _a;
|
|
114
|
-
if (!
|
|
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(
|
|
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(
|
|
392
|
+
}, "\u7F16\u8F91"), /*#__PURE__*/React.createElement(Divider, {
|
|
403
393
|
type: "vertical"
|
|
404
|
-
}), /*#__PURE__*/React.createElement(
|
|
405
|
-
title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A".concat(
|
|
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(
|
|
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 (!
|
|
429
|
-
|
|
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 &&
|
|
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
|