@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/.root62.js
CHANGED
|
@@ -1,287 +1,119 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import
|
|
3
|
-
import '
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { c as __assign, _ as __awaiter, a as __generator } from './tslib.es6.js';
|
|
10
|
-
import { BF_Wrap2, MyBaseList, mchcModal__ } from '@lm_fe/pages';
|
|
11
|
-
import { getSearchParamsValue, request, getMomentRange, formatDate } from '@lm_fe/utils';
|
|
12
|
-
import React, { useState, useEffect } from 'react';
|
|
13
|
-
import 'antd/es/empty/style';
|
|
14
|
-
import _Empty from 'antd/es/empty';
|
|
15
|
-
import 'antd/es/row/style';
|
|
16
|
-
import _Row from 'antd/es/row';
|
|
17
|
-
import 'antd/es/col/style';
|
|
18
|
-
import _Col from 'antd/es/col';
|
|
19
|
-
import { MyFormSectionForm, LoadingPlaceholder, PanelTitleWrapper } from '@lm_fe/components_m';
|
|
20
|
-
import { mchcEnv } from '@lm_fe/env';
|
|
21
|
-
function Template(props) {
|
|
22
|
-
var _a;
|
|
23
|
-
var data = props.data,
|
|
24
|
-
form = props.form,
|
|
25
|
-
deptLink = props.deptLink,
|
|
26
|
-
disabled = props.disabled;
|
|
27
|
-
if (!deptLink) return /*#__PURE__*/React.createElement("span", null, "\u672A\u80FD\u786E\u5B9A deptLink\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458");
|
|
28
|
-
var conf_fn = function conf_fn() {
|
|
29
|
-
return import('./.root65.js');
|
|
30
|
-
};
|
|
31
|
-
var _b = useState(),
|
|
32
|
-
cur_tmp = _b[0],
|
|
33
|
-
setCur_tmp = _b[1];
|
|
34
|
-
var _c = BF_Wrap2({
|
|
35
|
-
default_conf: {
|
|
36
|
-
title: "\u62A5\u544A\u5F55\u5165-\u6A21\u677F-".concat(deptLink),
|
|
37
|
-
tableColumns: conf_fn
|
|
38
|
-
}
|
|
39
|
-
}),
|
|
40
|
-
config = _c.config,
|
|
41
|
-
Wrap = _c.Wrap;
|
|
42
|
-
var tpl_conf = (_a = config === null || config === void 0 ? void 0 : config.tableColumns) !== null && _a !== void 0 ? _a : [];
|
|
43
|
-
useEffect(function () {
|
|
44
|
-
if (data) {
|
|
45
|
-
var cur = tpl_conf.find(function (_) {
|
|
46
|
-
return _.tpl_values.suitNO === data.suitNO;
|
|
47
|
-
});
|
|
48
|
-
if (cur) {
|
|
49
|
-
cur.tpl_values = data;
|
|
50
|
-
pick_tmp(cur);
|
|
51
|
-
}
|
|
52
|
-
} else {
|
|
53
|
-
pick_tmp(tpl_conf[0]);
|
|
54
|
-
}
|
|
55
|
-
return function () {};
|
|
56
|
-
}, [data, tpl_conf]);
|
|
57
|
-
function pick_tmp(c) {
|
|
58
|
-
if (!c) return;
|
|
59
|
-
form.resetFields();
|
|
60
|
-
setCur_tmp(c);
|
|
61
|
-
form.setFieldsValue(c.tpl_values);
|
|
62
|
-
}
|
|
63
|
-
return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
|
|
64
|
-
span: 2
|
|
65
|
-
}, "\u8BF7\u9009\u62E9\u7EC4\u5957"), /*#__PURE__*/React.createElement(_Col, {
|
|
66
|
-
span: 20
|
|
67
|
-
}, tpl_conf.map(function (c) {
|
|
68
|
-
var is_cur = (cur_tmp === null || cur_tmp === void 0 ? void 0 : cur_tmp.tpl_name) === c.tpl_name;
|
|
69
|
-
var is_frozen = is_cur ? false : disabled || !!(data === null || data === void 0 ? void 0 : data.id);
|
|
70
|
-
return /*#__PURE__*/React.createElement(_Button, {
|
|
71
|
-
disabled: is_frozen,
|
|
72
|
-
size: "small",
|
|
73
|
-
onClick: function onClick() {
|
|
74
|
-
return pick_tmp(c);
|
|
75
|
-
},
|
|
76
|
-
type: is_cur ? 'primary' : 'dashed',
|
|
77
|
-
key: c.tpl_name
|
|
78
|
-
}, c.tpl_name);
|
|
79
|
-
}))), cur_tmp ? /*#__PURE__*/React.createElement(MyFormSectionForm, {
|
|
80
|
-
disableAll: disabled,
|
|
81
|
-
form: form,
|
|
82
|
-
formDescriptions: cur_tmp === null || cur_tmp === void 0 ? void 0 : cur_tmp.tpl_form
|
|
83
|
-
}) : /*#__PURE__*/React.createElement(_Empty, {
|
|
84
|
-
description: "\u8BF7\u9009\u62E9\u6A21\u677F"
|
|
85
|
-
}));
|
|
86
|
-
}
|
|
87
|
-
function ReportEntryInner(props) {
|
|
88
|
-
var _this = this;
|
|
89
|
-
var _a;
|
|
90
|
-
var injected = props.injected;
|
|
91
|
-
var idNO = (_a = props.idNO) !== null && _a !== void 0 ? _a : getSearchParamsValue('idNO');
|
|
92
|
-
var conf_fn = function conf_fn() {
|
|
93
|
-
return import('./.root64.js');
|
|
94
|
-
};
|
|
95
|
-
var _b = useState(),
|
|
96
|
-
patient = _b[0],
|
|
97
|
-
setPatient = _b[1];
|
|
98
|
-
var form = _Form.useForm()[0];
|
|
99
|
-
var _c = BF_Wrap2({
|
|
100
|
-
default_conf: {
|
|
101
|
-
title: '报告录入-报告列表',
|
|
102
|
-
tableColumns: conf_fn,
|
|
103
|
-
searchConfig: []
|
|
104
|
-
}
|
|
105
|
-
}),
|
|
106
|
-
config = _c.config,
|
|
107
|
-
Wrap = _c.Wrap;
|
|
108
|
-
useEffect(function () {
|
|
109
|
-
request.get('/api/patients', {
|
|
110
|
-
params: {
|
|
111
|
-
'idNO.equals': idNO
|
|
112
|
-
},
|
|
113
|
-
ignore_usr: true
|
|
114
|
-
}).then(function (res) {
|
|
115
|
-
return setPatient(res.data[0]);
|
|
116
|
-
});
|
|
117
|
-
return function () {};
|
|
118
|
-
}, []);
|
|
119
|
-
function pop_modal() {
|
|
120
|
-
mchcModal__.pop();
|
|
121
|
-
}
|
|
122
|
-
if (!patient) return /*#__PURE__*/React.createElement(LoadingPlaceholder, {
|
|
123
|
-
tip: "\u6B63\u5728\u52A0\u8F7D ".concat(idNO, " \u7684\u62A5\u544A...")
|
|
124
|
-
});
|
|
125
|
-
/*#__PURE__*/
|
|
126
|
-
React.createElement("div", {
|
|
127
|
-
style: {
|
|
128
|
-
padding: 4
|
|
129
|
-
}
|
|
130
|
-
}, /*#__PURE__*/React.createElement("span", null, "\u59D3\u540D:", patient.name), /*#__PURE__*/React.createElement(_Divider, {
|
|
131
|
-
type: "vertical"
|
|
132
|
-
}), /*#__PURE__*/React.createElement("span", null, "\u8BC1\u4EF6\u53F7:", idNO), /*#__PURE__*/React.createElement(_Divider, {
|
|
133
|
-
type: "vertical"
|
|
134
|
-
}), /*#__PURE__*/React.createElement("span", null, "\u6027\u522B:", mchcEnv.get_option_label('性别2', patient.gender)), /*#__PURE__*/React.createElement(_Divider, {
|
|
135
|
-
type: "vertical"
|
|
136
|
-
}), /*#__PURE__*/React.createElement("span", null, "\u5E74\u9F84:", patient.age));
|
|
137
|
-
function check_row_disabled(rowData) {
|
|
138
|
-
var 已审核 = (rowData === null || rowData === void 0 ? void 0 : rowData.state) === 2;
|
|
139
|
-
return injected || 已审核;
|
|
140
|
-
}
|
|
141
|
-
function review(rows, cb) {
|
|
142
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
143
|
-
var _rows;
|
|
144
|
-
return __generator(this, function (_a) {
|
|
145
|
-
switch (_a.label) {
|
|
146
|
-
case 0:
|
|
147
|
-
_rows = rows.filter(function (_) {
|
|
148
|
-
return _.state !== 2;
|
|
149
|
-
});
|
|
150
|
-
if (!confirm("\u8BF7\u786E\u8BA4\u5BA1\u6838 ".concat(_rows.map(function (_) {
|
|
151
|
-
return "".concat(_.suitName, "_").concat(_.examinationDate);
|
|
152
|
-
}).join('、')))) return [3, 2];
|
|
153
|
-
return [4, request.put('/api/reports/batch-review', {
|
|
154
|
-
ids: _rows.map(function (_) {
|
|
155
|
-
return _.id;
|
|
156
|
-
})
|
|
157
|
-
}, {
|
|
158
|
-
ignore_usr: true
|
|
159
|
-
})];
|
|
160
|
-
case 1:
|
|
161
|
-
_a.sent();
|
|
162
|
-
cb();
|
|
163
|
-
_a.label = 2;
|
|
164
|
-
case 2:
|
|
165
|
-
return [2];
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
});
|
|
1
|
+
import { APP_CONFIG } from '@lm_fe/components_m';
|
|
2
|
+
import { rt_ctx } from '@lm_fe/env';
|
|
3
|
+
import { defineFormConfig } from '@lm_fe/service';
|
|
4
|
+
var ctx = rt_ctx;
|
|
5
|
+
var React = ctx.React;
|
|
6
|
+
function tableColumns(is_孕前) {
|
|
7
|
+
if (is_孕前 === void 0) {
|
|
8
|
+
is_孕前 = false;
|
|
169
9
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
var selectRows = ctx.getCheckRows();
|
|
185
|
-
return /*#__PURE__*/React.createElement(_Button.Group, null, /*#__PURE__*/React.createElement(_Button, {
|
|
186
|
-
hidden: injected,
|
|
187
|
-
disabled: !selectRows.length,
|
|
10
|
+
return defineFormConfig([{
|
|
11
|
+
title: '建档日期',
|
|
12
|
+
dataIndex: 'filingDay',
|
|
13
|
+
width: APP_CONFIG.CELL_WIDTH_SMALL
|
|
14
|
+
}, {
|
|
15
|
+
title: '女方姓名',
|
|
16
|
+
dataIndex: 'womanName',
|
|
17
|
+
width: APP_CONFIG.CELL_WIDTH_SMALL,
|
|
18
|
+
render: is_孕前 ? function (text, record) {
|
|
19
|
+
var id = record.id;
|
|
20
|
+
var _path = ctx.utils.transmit_happy_pre("/pre-pregnancy-care/wife/wife-exam?id=".concat(id), '/fubao');
|
|
21
|
+
return React.createElement(ctx.ui.Button, {
|
|
22
|
+
size: "small",
|
|
23
|
+
type: 'link',
|
|
188
24
|
onClick: function onClick() {
|
|
189
|
-
return
|
|
25
|
+
return ctx.safeTo(_path);
|
|
190
26
|
}
|
|
191
|
-
},
|
|
27
|
+
}, text);
|
|
28
|
+
} : function (text, record) {
|
|
29
|
+
var id = record.id;
|
|
30
|
+
var _path = ctx.utils.transmit_happy_pre("/premarital-care/wife-v2/wife-exam?id=".concat(id), '/fubao');
|
|
31
|
+
return React.createElement(ctx.ui.Button, {
|
|
32
|
+
size: "small",
|
|
33
|
+
type: 'link',
|
|
192
34
|
onClick: function onClick() {
|
|
193
|
-
|
|
194
|
-
modal_data: {
|
|
195
|
-
requestData: __assign({
|
|
196
|
-
url: '/api/printReport'
|
|
197
|
-
}, patient)
|
|
198
|
-
}
|
|
199
|
-
});
|
|
35
|
+
return ctx.safeTo(_path);
|
|
200
36
|
}
|
|
201
|
-
},
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
37
|
+
}, text);
|
|
38
|
+
}
|
|
39
|
+
}, {
|
|
40
|
+
title: '女方门诊号',
|
|
41
|
+
dataIndex: 'womanOutpatientNo',
|
|
42
|
+
width: APP_CONFIG.CELL_WIDTH_SMALL
|
|
43
|
+
}, {
|
|
44
|
+
title: '女方年龄(岁)',
|
|
45
|
+
dataIndex: 'womanAge',
|
|
46
|
+
width: APP_CONFIG.CELL_WIDTH_SMALL
|
|
47
|
+
}, {
|
|
48
|
+
title: '女方手机号码',
|
|
49
|
+
dataIndex: 'womanTelephone',
|
|
50
|
+
width: APP_CONFIG.CELL_WIDTH_SMALL
|
|
51
|
+
}, {
|
|
52
|
+
title: '男方姓名',
|
|
53
|
+
dataIndex: 'manName',
|
|
54
|
+
width: APP_CONFIG.CELL_WIDTH_SMALL,
|
|
55
|
+
render: is_孕前 ? function (text, record) {
|
|
56
|
+
var id = record.id;
|
|
57
|
+
var _path = ctx.utils.transmit_happy_pre("/pre-pregnancy-care/husband/husband-exam?id=".concat(id), '/fubao');
|
|
58
|
+
return React.createElement(ctx.ui.Button, {
|
|
208
59
|
size: "small",
|
|
209
|
-
type:
|
|
60
|
+
type: 'link',
|
|
210
61
|
onClick: function onClick() {
|
|
211
|
-
return ctx.
|
|
62
|
+
return ctx.safeTo(_path);
|
|
212
63
|
}
|
|
213
|
-
},
|
|
214
|
-
|
|
64
|
+
}, text);
|
|
65
|
+
} : function (text, record) {
|
|
66
|
+
var id = record.id;
|
|
67
|
+
var _path = ctx.utils.transmit_happy_pre("/premarital-care/husband-v2/husband-exam?id=".concat(id), '/fubao');
|
|
68
|
+
return React.createElement(ctx.ui.Button, {
|
|
215
69
|
size: "small",
|
|
216
|
-
|
|
70
|
+
type: 'link',
|
|
217
71
|
onClick: function onClick() {
|
|
218
|
-
return ctx.
|
|
72
|
+
return ctx.safeTo(_path);
|
|
219
73
|
}
|
|
220
|
-
},
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
74
|
+
}, text);
|
|
75
|
+
}
|
|
76
|
+
}, {
|
|
77
|
+
title: '男方门诊号',
|
|
78
|
+
dataIndex: 'manOutpatientNo',
|
|
79
|
+
width: APP_CONFIG.CELL_WIDTH_SMALL
|
|
80
|
+
}, {
|
|
81
|
+
title: '男方年龄(岁)',
|
|
82
|
+
dataIndex: 'manAge',
|
|
83
|
+
width: APP_CONFIG.CELL_WIDTH_SMALL
|
|
84
|
+
}, {
|
|
85
|
+
title: '男方手机号码',
|
|
86
|
+
dataIndex: 'manTelephone',
|
|
87
|
+
width: APP_CONFIG.CELL_WIDTH_SMALL
|
|
88
|
+
}, {
|
|
89
|
+
title: '档案状态',
|
|
90
|
+
dataIndex: 'fileStatus',
|
|
91
|
+
width: 68,
|
|
92
|
+
fixed: 'right',
|
|
93
|
+
align: 'center',
|
|
94
|
+
render: is_孕前 ? function (fileStatus, rowData) {
|
|
95
|
+
var id = rowData.id;
|
|
96
|
+
var _path = ctx.utils.transmit_happy_pre("/pre-pregnancy-care/file-management/edit?id=".concat(id), '/fubao');
|
|
97
|
+
var 已审核 = fileStatus === 2;
|
|
98
|
+
return React.createElement(ctx.ui.Button, {
|
|
99
|
+
onClick: function onClick() {
|
|
100
|
+
return ctx.safeTo(_path);
|
|
237
101
|
},
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
return [4, ctx.handleSearch()];
|
|
253
|
-
case 2:
|
|
254
|
-
_b.sent();
|
|
255
|
-
_b.label = 3;
|
|
256
|
-
case 3:
|
|
257
|
-
pop_modal();
|
|
258
|
-
return [2];
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
}, "\u786E\u5B9A"), /*#__PURE__*/React.createElement(_Button, {
|
|
264
|
-
onClick: pop_modal
|
|
265
|
-
}, "\u53D6\u6D88"))
|
|
266
|
-
});
|
|
102
|
+
size: "small",
|
|
103
|
+
type: 已审核 ? 'default' : 'primary'
|
|
104
|
+
}, 已审核 ? '已审核' : '待审核');
|
|
105
|
+
} : function (fileStatus, rowData) {
|
|
106
|
+
var id = rowData.id;
|
|
107
|
+
var _path = ctx.utils.transmit_happy_pre("/premarital-care/file-management/edit?id=".concat(id), '/fubao');
|
|
108
|
+
var 已审核 = fileStatus === 2;
|
|
109
|
+
return React.createElement(ctx.ui.Button, {
|
|
110
|
+
onClick: function onClick() {
|
|
111
|
+
return ctx.safeTo(_path);
|
|
112
|
+
},
|
|
113
|
+
size: "small",
|
|
114
|
+
type: 已审核 ? 'default' : 'primary'
|
|
115
|
+
}, 已审核 ? '已审核' : '待审核');
|
|
267
116
|
}
|
|
268
|
-
})
|
|
269
|
-
if (injected) return node;
|
|
270
|
-
return /*#__PURE__*/React.createElement(PanelTitleWrapper, {
|
|
271
|
-
headerItems: [{
|
|
272
|
-
title: '姓名',
|
|
273
|
-
value: patient === null || patient === void 0 ? void 0 : patient.name
|
|
274
|
-
}, {
|
|
275
|
-
title: '性别',
|
|
276
|
-
value: mchcEnv.get_option_label('性别2', patient === null || patient === void 0 ? void 0 : patient.gender)
|
|
277
|
-
}, {
|
|
278
|
-
title: '年龄',
|
|
279
|
-
value: patient === null || patient === void 0 ? void 0 : patient.age
|
|
280
|
-
}, {
|
|
281
|
-
title: '证件号',
|
|
282
|
-
value: patient === null || patient === void 0 ? void 0 : patient.idNO
|
|
283
|
-
}]
|
|
284
|
-
}, node);
|
|
117
|
+
}]);
|
|
285
118
|
}
|
|
286
|
-
export {
|
|
287
|
-
//# sourceMappingURL=.root62.js.map
|
|
119
|
+
export { tableColumns as default };
|
package/dist/a_chunks/.root63.js
CHANGED
|
@@ -1,29 +1,45 @@
|
|
|
1
|
+
import '@lm_fe/env';
|
|
1
2
|
import { defineFormConfig } from '@lm_fe/service';
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
var search = defineFormConfig([{
|
|
4
|
+
inputType: 'rangeDate',
|
|
5
|
+
name: 'filingDay',
|
|
6
|
+
label: '建档日期',
|
|
7
|
+
props: {}
|
|
5
8
|
}, {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"dataIndex": "gender",
|
|
14
|
-
inputType: 'MS',
|
|
15
|
-
"inputProps": {
|
|
16
|
-
"optionKey": "性别2"
|
|
9
|
+
inputType: 'Input',
|
|
10
|
+
name: 'womanTelephone',
|
|
11
|
+
label: '女方手机号码',
|
|
12
|
+
props: {
|
|
13
|
+
style: {
|
|
14
|
+
width: 130
|
|
15
|
+
}
|
|
17
16
|
}
|
|
18
17
|
}, {
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
inputType: 'Input',
|
|
19
|
+
name: 'womanName',
|
|
20
|
+
label: '女方姓名',
|
|
21
|
+
props: {
|
|
22
|
+
style: {
|
|
23
|
+
width: 130
|
|
24
|
+
}
|
|
25
|
+
}
|
|
21
26
|
}, {
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
inputType: 'Input',
|
|
28
|
+
name: 'manTelephone',
|
|
29
|
+
label: '男方手机号码',
|
|
30
|
+
props: {
|
|
31
|
+
style: {
|
|
32
|
+
width: 130
|
|
33
|
+
}
|
|
34
|
+
}
|
|
24
35
|
}, {
|
|
25
|
-
|
|
26
|
-
|
|
36
|
+
inputType: 'Input',
|
|
37
|
+
name: 'manName',
|
|
38
|
+
label: '男方姓名',
|
|
39
|
+
props: {
|
|
40
|
+
style: {
|
|
41
|
+
width: 130
|
|
42
|
+
}
|
|
43
|
+
}
|
|
27
44
|
}]);
|
|
28
|
-
export {
|
|
29
|
-
//# sourceMappingURL=.root63.js.map
|
|
45
|
+
export { search as default };
|
package/dist/a_chunks/.root64.js
CHANGED
|
@@ -1,20 +1,188 @@
|
|
|
1
|
+
import { rt_ctx } from '@lm_fe/env';
|
|
1
2
|
import { defineFormConfig } from '@lm_fe/service';
|
|
3
|
+
var ctx = rt_ctx;
|
|
2
4
|
var form_config = defineFormConfig([{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
"name": "基本信息",
|
|
6
|
+
"children": [{
|
|
7
|
+
"key": "name",
|
|
8
|
+
"label": "姓名",
|
|
9
|
+
"inputType": "input",
|
|
10
|
+
required: function required() {
|
|
11
|
+
return ctx.required;
|
|
12
|
+
},
|
|
13
|
+
layout: '1/3'
|
|
14
|
+
}, {
|
|
15
|
+
"key": "outpatientNo",
|
|
16
|
+
"label": "门诊号",
|
|
17
|
+
"inputType": "input",
|
|
18
|
+
required: function required() {
|
|
19
|
+
return ctx.required;
|
|
20
|
+
},
|
|
21
|
+
layout: '1/3'
|
|
22
|
+
}, {
|
|
23
|
+
"key": "telephone",
|
|
24
|
+
"label": "电话号码",
|
|
25
|
+
"inputType": "input",
|
|
26
|
+
"rules": [{
|
|
27
|
+
'type': 'string',
|
|
28
|
+
'min': 11,
|
|
29
|
+
'message': '请输入11位手机号码'
|
|
30
|
+
}, {
|
|
31
|
+
'max': 11,
|
|
32
|
+
'message': '请输入正确的手机号码格式'
|
|
33
|
+
}],
|
|
34
|
+
layout: '1/3'
|
|
35
|
+
}, {
|
|
36
|
+
"key": "idType",
|
|
37
|
+
"label": "证件类型",
|
|
38
|
+
"inputType": "normal_select",
|
|
39
|
+
"tranferRules": {
|
|
40
|
+
'type': 'IDCardMapping'
|
|
41
|
+
},
|
|
42
|
+
required: function required() {
|
|
43
|
+
return ctx.required;
|
|
44
|
+
},
|
|
45
|
+
layout: '1/3'
|
|
46
|
+
}, {
|
|
47
|
+
"key": "idNO",
|
|
48
|
+
"label": "证件号码",
|
|
49
|
+
"inputType": "input",
|
|
50
|
+
required: function required() {
|
|
51
|
+
return ctx.required;
|
|
52
|
+
},
|
|
53
|
+
layout: '1/3'
|
|
54
|
+
}, {
|
|
55
|
+
"key": "dob",
|
|
56
|
+
"label": "出生日期",
|
|
57
|
+
"inputType": "single_date_picker",
|
|
58
|
+
"tranferRules": {
|
|
59
|
+
'type': 'dayjs()'
|
|
60
|
+
},
|
|
61
|
+
required: function required() {
|
|
62
|
+
return ctx.required;
|
|
63
|
+
},
|
|
64
|
+
layout: '1/3'
|
|
65
|
+
}, {
|
|
66
|
+
"key": "ethnic",
|
|
67
|
+
"label": "民族",
|
|
68
|
+
"inputType": "MS",
|
|
69
|
+
required: function required() {
|
|
70
|
+
return ctx.required;
|
|
71
|
+
},
|
|
72
|
+
"inputProps": {
|
|
73
|
+
uniqueKey: '民族s',
|
|
74
|
+
marshal: 0
|
|
75
|
+
},
|
|
76
|
+
layout: '1/3'
|
|
77
|
+
}, {
|
|
78
|
+
"key": "age",
|
|
79
|
+
"label": "年龄",
|
|
80
|
+
"inputType": "input_number",
|
|
81
|
+
required: function required() {
|
|
82
|
+
return ctx.required;
|
|
83
|
+
},
|
|
84
|
+
layout: '1/3'
|
|
85
|
+
}, {
|
|
86
|
+
"key": "permanentResidence",
|
|
87
|
+
"label": "籍贯",
|
|
88
|
+
"inputType": "MS",
|
|
89
|
+
required: function required() {
|
|
90
|
+
return ctx.required;
|
|
91
|
+
},
|
|
92
|
+
"inputProps": {
|
|
93
|
+
uniqueKey: '省份s'
|
|
94
|
+
},
|
|
95
|
+
layout: '1/3'
|
|
96
|
+
}, {
|
|
97
|
+
"key": "education",
|
|
98
|
+
"label": "文化程度",
|
|
99
|
+
"inputType": "MS",
|
|
100
|
+
"inputProps": {
|
|
101
|
+
uniqueKey: '文化程度s',
|
|
102
|
+
marshal: 0
|
|
103
|
+
},
|
|
104
|
+
layout: '1/3'
|
|
105
|
+
}, {
|
|
106
|
+
"key": "profession",
|
|
107
|
+
"label": "职业",
|
|
108
|
+
"inputType": "MS",
|
|
109
|
+
"inputProps": {
|
|
110
|
+
uniqueKey: '职业s',
|
|
111
|
+
marshal: 0
|
|
112
|
+
},
|
|
113
|
+
layout: '1/3'
|
|
114
|
+
}, {
|
|
115
|
+
"key": "nationality",
|
|
116
|
+
"label": "国籍",
|
|
117
|
+
"inputType": "country_select",
|
|
118
|
+
required: function required() {
|
|
119
|
+
return ctx.required;
|
|
120
|
+
},
|
|
121
|
+
layout: '1/3'
|
|
122
|
+
}, {
|
|
123
|
+
"key": "permanentResidenceAddress",
|
|
124
|
+
"label": "户口地址",
|
|
125
|
+
"inputType": "MyAddress",
|
|
126
|
+
required: function required() {
|
|
127
|
+
return ctx.required;
|
|
128
|
+
},
|
|
129
|
+
layout: '2/3'
|
|
130
|
+
}, {
|
|
131
|
+
"key": "residenceAddress",
|
|
132
|
+
"label": "居住地址",
|
|
133
|
+
"inputType": "MyAddress",
|
|
134
|
+
required: function required() {
|
|
135
|
+
return ctx.required;
|
|
136
|
+
},
|
|
137
|
+
"inputProps": {
|
|
138
|
+
addressBtns: [{
|
|
139
|
+
name: 'permanentResidenceAddress',
|
|
140
|
+
label: '同上'
|
|
141
|
+
}]
|
|
142
|
+
},
|
|
143
|
+
layout: '2/3'
|
|
144
|
+
}, {
|
|
145
|
+
"key": "imageAddress",
|
|
146
|
+
"label": "上传图片",
|
|
147
|
+
"inputType": "image_upload_preview_Intranet",
|
|
148
|
+
"inputProps": {
|
|
149
|
+
'placeholder': '',
|
|
150
|
+
'actionApi': '/api/premarital/check/uploadImage',
|
|
151
|
+
'outputParamType': 'new'
|
|
152
|
+
},
|
|
153
|
+
"span": 12,
|
|
154
|
+
"offset": 0,
|
|
155
|
+
"formItemLayout": {
|
|
156
|
+
'labelCol': {
|
|
157
|
+
'span': 4
|
|
158
|
+
},
|
|
159
|
+
'wrapperCol': {
|
|
160
|
+
'span': 8
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}, {
|
|
164
|
+
"key": "imageName",
|
|
165
|
+
"label": "图片名称",
|
|
166
|
+
"inputType": "input",
|
|
167
|
+
required: function required() {
|
|
168
|
+
return ctx.required;
|
|
169
|
+
},
|
|
170
|
+
"inputProps": {
|
|
171
|
+
'placeholder': ''
|
|
172
|
+
},
|
|
173
|
+
"span": 12,
|
|
174
|
+
"offset": 0,
|
|
175
|
+
"formItemLayout": {
|
|
176
|
+
'labelCol': {
|
|
177
|
+
'span': 4
|
|
178
|
+
},
|
|
179
|
+
'wrapperCol': {
|
|
180
|
+
'span': 8
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"styles": {
|
|
184
|
+
'opacity': 0
|
|
185
|
+
}
|
|
186
|
+
}]
|
|
18
187
|
}]);
|
|
19
188
|
export { form_config as default };
|
|
20
|
-
//# sourceMappingURL=.root64.js.map
|