@lm_fe/pages-fubao 0.1.201 → 0.2.5
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 +5 -3
- package/dist/a_chunks/{.root55.js → CervicalCarcinoma.Screening.form.js} +1 -8
- package/dist/a_chunks/{.root57.js → CervicalCarcinoma.Screening.form2.js} +0 -7
- package/dist/a_chunks/Form.js +3 -5
- package/dist/a_chunks/{.root56.js → MammaryCancer.Screening.form.js} +4 -28
- package/dist/a_chunks/{.root58.js → MammaryCancer.Screening.form2.js} +0 -1
- 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/{.root.js → family-planning.file-management.doctor-desk.js} +241 -281
- package/dist/a_chunks/family-planning.file-management.doctor-desk2.js +18 -0
- package/dist/a_chunks/{.root9.js → family-planning.file-management.list.js} +16 -26
- package/dist/a_chunks/{.root2.js → family-planning.file-management.nurse-desk.js} +22 -30
- package/dist/a_chunks/{.root13.js → family-planning.tracing-management.list.js} +300 -331
- package/dist/a_chunks/folic-acid.file-management.add.js +12 -0
- package/dist/a_chunks/folic-acid.file-management.edit.js +12 -0
- package/dist/a_chunks/{.root16.js → folic-acid.file-management.list.js} +4 -6
- package/dist/a_chunks/{.root17.js → follow-up.positive.premarital.js} +11 -2
- package/dist/a_chunks/{.root18.js → follow-up.positive.progestation.js} +10 -1
- package/dist/a_chunks/form_config.js +11 -130
- package/dist/a_chunks/{.root3.js → fubao.data-report.breast-cancer.js} +4 -6
- package/dist/a_chunks/{.root4.js → fubao.data-report.cervical-cancer.js} +4 -6
- package/dist/a_chunks/{.root5.js → fubao.family-planning.booking-management.js} +3 -3
- package/dist/a_chunks/{.root52.js → fubao.family-planning.booking-management2.js} +167 -219
- package/dist/a_chunks/{.root6.js → fubao.family-planning.curettage-statistics.js} +6 -9
- package/dist/a_chunks/fubao.family-planning.file-management.js +9 -0
- package/dist/a_chunks/{.root10.js → fubao.family-planning.surgery-management.js} +9 -15
- package/dist/a_chunks/{.root11.js → fubao.family-planning.surgery-scheduling.js} +210 -244
- package/dist/a_chunks/fubao.family-planning.tracing-management.js +14 -0
- package/dist/a_chunks/{.root28.js → fubao.gynecological-diseases.pathological-follow-up.js} +11 -15
- package/dist/a_chunks/{.root29.js → fubao.gynecological-diseases.pathological-reminder.js} +11 -15
- package/dist/a_chunks/fubao.gynecological-diseases.two-cancers.js +141 -0
- package/dist/a_chunks/fubao.pre-pregnancy-care.file-management.js +492 -0
- package/dist/a_chunks/{.root44.js → fubao.premarital-care.file-management.js} +13 -19
- package/dist/a_chunks/{.root47.js → fubao.report-entry.patients.js} +5 -8
- package/dist/a_chunks/{.root63.js → fubao.report-entry.patients2.js} +1 -2
- package/dist/a_chunks/{.root40.js → fubao.report-entry.reports.js} +3 -3
- package/dist/a_chunks/{.root62.js → fubao.report-entry.reports2.js} +64 -65
- package/dist/a_chunks/{.root64.js → fubao.report-entry.reports3.js} +0 -1
- package/dist/a_chunks/{.root65.js → fubao.report-entry.reports4.js} +0 -1
- package/dist/a_chunks/fubao.statistic.abnormal-breast-cancer.js +97 -0
- package/dist/a_chunks/fubao.statistic.abnormal-cervical-cancer.js +94 -0
- package/dist/a_chunks/{.root48.js → fubao.statistic.breast-cancer.js} +0 -1
- package/dist/a_chunks/{.root49.js → fubao.statistic.cervical-cancer.js} +0 -1
- package/dist/a_chunks/fubao.statistic.premarital-checkup.js +120 -0
- package/dist/a_chunks/fubao.statistic.progestation-checkup.js +89 -0
- package/dist/a_chunks/{.root19.js → gynecological-diseases.adolescent-management.list.js} +16 -27
- package/dist/a_chunks/gynecological-diseases.breast.edit.js +121 -0
- package/dist/a_chunks/{.root21.js → gynecological-diseases.breast.list.js} +16 -18
- package/dist/a_chunks/{.root24.js → gynecological-diseases.cervical-cancer-report.list.js} +10 -14
- package/dist/a_chunks/gynecological-diseases.cervical.edit.js +121 -0
- package/dist/a_chunks/{.root23.js → gynecological-diseases.cervical.list.js} +16 -18
- package/dist/a_chunks/{.root25.js → gynecological-diseases.hpv-report.list.js} +10 -14
- package/dist/a_chunks/{.root26.js → gynecological-diseases.mammary-cancer-report.list.js} +10 -14
- package/dist/a_chunks/{.root27.js → gynecological-diseases.menopause-management.list.js} +16 -27
- package/dist/a_chunks/{.root30.js → gynecological-diseases.regular-screening.list.js} +9 -14
- package/dist/a_chunks/gynecological-diseases.two-cancers.add.js +12 -0
- package/dist/a_chunks/{.root32.js → gynecological-diseases.two-cancers.edit.js} +11 -19
- package/dist/a_chunks/{.root33.js → gynecological-diseases.two-cancers.exam.js} +309 -336
- package/dist/a_chunks/{.root34.js → gynecological-diseases.two-cancers.followup.js} +1 -2
- 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 +140 -0
- package/dist/a_chunks/index6.js +1169 -0
- package/dist/a_chunks/index7.js +1006 -0
- package/dist/a_chunks/{.root61.js → pages.fubao.premarital-care.js} +4 -5
- package/dist/a_chunks/pages.fubao.premarital-care2.js +114 -0
- package/dist/a_chunks/pages.fubao.premarital-care3.js +132 -0
- package/dist/a_chunks/pre-pregnancy-care.file-management.add.js +12 -0
- package/dist/a_chunks/pre-pregnancy-care.file-management.edit.js +199 -0
- package/dist/a_chunks/pre-pregnancy-care.file-management.edit2.js +830 -0
- package/dist/a_chunks/{.root39.js → pre-pregnancy-care.husband.husband-exam.js} +57 -84
- package/dist/a_chunks/{.root41.js → pre-pregnancy-care.wife.wife-exam.js} +57 -84
- package/dist/a_chunks/premarital-care.file-management.add.js +12 -0
- package/dist/a_chunks/{.root59.js → premarital-care.file-management.config.js} +10 -11
- package/dist/a_chunks/{.root60.js → premarital-care.file-management.config2.js} +0 -1
- package/dist/a_chunks/premarital-care.file-management.edit.js +199 -0
- package/dist/a_chunks/premarital-care.file-management.edit2.js +817 -0
- package/dist/a_chunks/{.root45.js → premarital-care.husband-v2.husband-exam.js} +56 -83
- package/dist/a_chunks/{.root46.js → premarital-care.wife-v2.wife-exam.js} +56 -83
- package/dist/a_chunks/style-inject.es.js +0 -1
- package/dist/a_chunks/tslib.es6.js +1 -2
- package/dist/a_chunks/{.root53.js → two-cancers.edit.form_config.js} +1 -2
- package/dist/a_chunks/{.root54.js → two-cancers.edit.form_config2.js} +4 -5
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js +0 -1
- package/dist/index.js +59 -54
- 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/gynecological-diseases/pathological-follow-up/config/table.d.ts +2 -1
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/config/table.d.ts +2 -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/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 +0 -45
- package/dist/a_chunks/.root12.js.map +0 -1
- package/dist/a_chunks/.root13.js.map +0 -1
- package/dist/a_chunks/.root14.js +0 -26
- package/dist/a_chunks/.root14.js.map +0 -1
- package/dist/a_chunks/.root15.js +0 -26
- 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 +0 -125
- package/dist/a_chunks/.root20.js.map +0 -1
- package/dist/a_chunks/.root21.js.map +0 -1
- package/dist/a_chunks/.root22.js +0 -125
- 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 +0 -20
- 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 +0 -281
- package/dist/a_chunks/.root35.js.map +0 -1
- package/dist/a_chunks/.root36.js +0 -26
- package/dist/a_chunks/.root36.js.map +0 -1
- package/dist/a_chunks/.root37.js +0 -1497
- package/dist/a_chunks/.root37.js.map +0 -1
- package/dist/a_chunks/.root38.js +0 -2956
- 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 +0 -26
- package/dist/a_chunks/.root42.js.map +0 -1
- package/dist/a_chunks/.root43.js +0 -1542
- 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 +0 -263
- package/dist/a_chunks/.root50.js.map +0 -1
- package/dist/a_chunks/.root51.js +0 -232
- 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 +0 -58
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root8.js +0 -19
- 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
|
@@ -1,24 +1,15 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import _Space from 'antd/es/space';
|
|
3
|
-
import 'antd/es/modal/style';
|
|
4
|
-
import _Modal from 'antd/es/modal';
|
|
5
|
-
import 'antd/es/button/style';
|
|
6
|
-
import _Button from 'antd/es/button';
|
|
7
|
-
import _set from 'lodash/set';
|
|
8
|
-
import _map from 'lodash/map';
|
|
9
|
-
import _get from 'lodash/get';
|
|
10
|
-
import { b as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
|
|
1
|
+
import { c as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
|
|
11
2
|
import React from 'react';
|
|
12
|
-
import { P as PhysicalExamination, M as MedicalHistory, a as PhysicalExamination$1, b as PhysicalExamination$2, c as PhysicalExamination$3, d as PhysicalExamination$4 } from './
|
|
3
|
+
import { P as PhysicalExamination, M as MedicalHistory, a as PhysicalExamination$1, b as PhysicalExamination$2, c as PhysicalExamination$3, d as PhysicalExamination$4 } from './index6.js';
|
|
4
|
+
import { Modal, Button, Space } from 'antd';
|
|
5
|
+
import { get, map, set } from 'lodash';
|
|
13
6
|
import { getSearchParamsValue, fubaoRequest } from '@lm_fe/utils';
|
|
14
|
-
import { c as classnames } from './
|
|
7
|
+
import { c as classnames } from './index4.js';
|
|
15
8
|
import { ExclamationCircleOutlined, CheckCircleOutlined } from '@ant-design/icons';
|
|
16
9
|
import { s as styleInject } from './style-inject.es.js';
|
|
17
|
-
import {
|
|
10
|
+
import { OkButton, PanelTitle, fubaoHistoryPush, PanelWithChild } from '@lm_fe/components_m';
|
|
18
11
|
import { DoctorEnd_SurveyReport, DoctorEnd_ImageReport } from '@lm_fe/pages-mchc';
|
|
19
|
-
import ReportEntryInner from '
|
|
20
|
-
import 'antd/es/form/style';
|
|
21
|
-
import 'antd/es/form';
|
|
12
|
+
import ReportEntryInner from './fubao.report-entry.reports.js';
|
|
22
13
|
import '@lm_fe/pages';
|
|
23
14
|
import './form_config.js';
|
|
24
15
|
import '@lm_fe/env';
|
|
@@ -34,62 +25,51 @@ var panel = function (_super) {
|
|
|
34
25
|
};
|
|
35
26
|
_this.renderHeader = function () {
|
|
36
27
|
var data = _this.state.data;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
className: PanelWithChild.styles["panel-with-child_header-secend-item-label"]
|
|
67
|
-
}, "\u914D\u5076\u59D3\u540D:"), /*#__PURE__*/React.createElement("span", {
|
|
68
|
-
className: PanelWithChild.styles["panel-with-child_header-secend-item-value"]
|
|
69
|
-
}, _get(data, 'womanName'))), /*#__PURE__*/React.createElement("div", {
|
|
70
|
-
className: PanelWithChild.styles["panel-with-child_header-secend-item"]
|
|
71
|
-
}, _get(data, 'manProgestationCheckArchivesDetailVM') && /*#__PURE__*/React.createElement(_Button, {
|
|
72
|
-
type: "primary",
|
|
73
|
-
onClick: function onClick() {
|
|
74
|
-
_this.handleClickButton();
|
|
75
|
-
}
|
|
76
|
-
}, "\u6253\u5F00\u914D\u5076\u75C5\u5386")));
|
|
28
|
+
var f_vm = get(data, 'manProgestationCheckArchivesDetailVM');
|
|
29
|
+
var h = [{
|
|
30
|
+
title: '姓名',
|
|
31
|
+
value: get(data, 'manName')
|
|
32
|
+
}, {
|
|
33
|
+
title: '性别',
|
|
34
|
+
value: '男'
|
|
35
|
+
}, {
|
|
36
|
+
title: '年龄',
|
|
37
|
+
value: get(data, 'manAge')
|
|
38
|
+
}, {
|
|
39
|
+
title: '门诊号',
|
|
40
|
+
value: get(data, 'manOutpatientNo')
|
|
41
|
+
}, {
|
|
42
|
+
title: '女方姓名',
|
|
43
|
+
value: get(data, 'womanName')
|
|
44
|
+
}, f_vm && {
|
|
45
|
+
title: '女方病历',
|
|
46
|
+
value: /*#__PURE__*/React.createElement(OkButton, {
|
|
47
|
+
type: "primary",
|
|
48
|
+
onClick: function onClick() {
|
|
49
|
+
_this.handleClickButton();
|
|
50
|
+
},
|
|
51
|
+
btn_text: "\u6253\u5F00"
|
|
52
|
+
})
|
|
53
|
+
}];
|
|
54
|
+
return /*#__PURE__*/React.createElement(PanelTitle, {
|
|
55
|
+
headerItems: h
|
|
56
|
+
});
|
|
77
57
|
};
|
|
78
58
|
_this.handleClickButton = function () {
|
|
79
59
|
var data = _this.state.data;
|
|
80
60
|
var id = getSearchParamsValue('id');
|
|
81
61
|
_this.props.history;
|
|
82
|
-
if (
|
|
62
|
+
if (get(data, 'manProgestationCheckArchivesDetailVM')) {
|
|
83
63
|
fubaoHistoryPush("/pre-pregnancy-care/wife/wife-exam?id=".concat(id), _this.props);
|
|
84
64
|
} else {
|
|
85
|
-
|
|
65
|
+
Modal.error({
|
|
86
66
|
title: '配偶暂未建档,请完善配偶档案信息',
|
|
87
|
-
content: /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(
|
|
67
|
+
content: (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
88
68
|
type: "primary",
|
|
89
69
|
onClick: function onClick() {
|
|
90
70
|
_this.handleJump();
|
|
91
71
|
}
|
|
92
|
-
}, "\u53BB\u5B8C\u5584\u914D\u5076\u6863\u6848\u4FE1\u606F")),
|
|
72
|
+
}, "\u53BB\u5B8C\u5584\u914D\u5076\u6863\u6848\u4FE1\u606F"))),
|
|
93
73
|
onOk: function onOk() {}
|
|
94
74
|
});
|
|
95
75
|
}
|
|
@@ -116,9 +96,9 @@ var panel = function (_super) {
|
|
|
116
96
|
};
|
|
117
97
|
_this.handleChangeTabs = function (key, icon) {
|
|
118
98
|
var tabs = _this.state.tabs;
|
|
119
|
-
|
|
99
|
+
map(tabs, function (item, index) {
|
|
120
100
|
if (key === item.key) {
|
|
121
|
-
|
|
101
|
+
set(item, 'icon', icon);
|
|
122
102
|
}
|
|
123
103
|
});
|
|
124
104
|
_this.setState({
|
|
@@ -127,8 +107,8 @@ var panel = function (_super) {
|
|
|
127
107
|
};
|
|
128
108
|
_this.getIcon = function (tab) {
|
|
129
109
|
var activeKey = _this.state.activeKey;
|
|
130
|
-
if (
|
|
131
|
-
if (
|
|
110
|
+
if (get(tab, 'icon')) {
|
|
111
|
+
if (get(tab, 'icon') === 'error') {
|
|
132
112
|
return /*#__PURE__*/React.createElement(ExclamationCircleOutlined, {
|
|
133
113
|
style: {
|
|
134
114
|
position: 'relative',
|
|
@@ -160,13 +140,13 @@ var panel = function (_super) {
|
|
|
160
140
|
tabs = _a.tabs;
|
|
161
141
|
return /*#__PURE__*/React.createElement("div", {
|
|
162
142
|
className: PanelWithChild.styles["panel-with-child-desk-tabs"]
|
|
163
|
-
},
|
|
143
|
+
}, map(tabs, function (tab) {
|
|
164
144
|
var _a;
|
|
165
145
|
return /*#__PURE__*/React.createElement("div", {
|
|
166
146
|
key: tab.key,
|
|
167
147
|
onClick: _this.handleClickTab(tab.key),
|
|
168
148
|
className: classnames(PanelWithChild.styles["panel-with-child-desk-tabs-item"], (_a = {}, _a[PanelWithChild.styles['panel-with-child-desk-tabs-item-active']] = activeKey === tab.key, _a))
|
|
169
|
-
}, /*#__PURE__*/React.createElement(
|
|
149
|
+
}, /*#__PURE__*/React.createElement(Space, null, _this.getIcon(tab), tab.title));
|
|
170
150
|
}));
|
|
171
151
|
};
|
|
172
152
|
_this.renderContent = function () {
|
|
@@ -175,12 +155,12 @@ var panel = function (_super) {
|
|
|
175
155
|
var _b = _this.state,
|
|
176
156
|
data = _b.data,
|
|
177
157
|
activeKey = _b.activeKey;
|
|
178
|
-
var sex_data =
|
|
158
|
+
var sex_data = get(data, 'manProgestationCheckArchivesDetailVM');
|
|
179
159
|
return /*#__PURE__*/React.createElement("div", {
|
|
180
160
|
className: classnames(PanelWithChild.styles["panel-with-child-desk"], 'hj-desk')
|
|
181
161
|
}, _this.renderTabs(), /*#__PURE__*/React.createElement("div", {
|
|
182
162
|
className: PanelWithChild.styles["panel-with-child-desk-content"]
|
|
183
|
-
}, activeKey === 'BasicInfo' && /*#__PURE__*/React.createElement(PhysicalExamination, {
|
|
163
|
+
}, activeKey === 'BasicInfo' && (/*#__PURE__*/React.createElement(PhysicalExamination, {
|
|
184
164
|
moduleName: "husband-pre-pregnancy-care-basic-info",
|
|
185
165
|
filesData: data,
|
|
186
166
|
handleClickTab: _this.handleClickTab,
|
|
@@ -189,7 +169,7 @@ var panel = function (_super) {
|
|
|
189
169
|
id: id,
|
|
190
170
|
type: "husband",
|
|
191
171
|
onRef: _this.onRef
|
|
192
|
-
}), activeKey === 'MedicalHistory' && /*#__PURE__*/React.createElement(MedicalHistory, {
|
|
172
|
+
})), activeKey === 'MedicalHistory' && (/*#__PURE__*/React.createElement(MedicalHistory, {
|
|
193
173
|
moduleName: "husband-pre-pregnancy-care-medical-history",
|
|
194
174
|
filesData: data,
|
|
195
175
|
handleClickTab: _this.handleClickTab,
|
|
@@ -198,7 +178,7 @@ var panel = function (_super) {
|
|
|
198
178
|
id: id,
|
|
199
179
|
type: "husband",
|
|
200
180
|
onRef: _this.onRef
|
|
201
|
-
}), activeKey === 'PhysicalExamination' && /*#__PURE__*/React.createElement(PhysicalExamination$1, {
|
|
181
|
+
})), activeKey === 'PhysicalExamination' && (/*#__PURE__*/React.createElement(PhysicalExamination$1, {
|
|
202
182
|
moduleName: "husband-pre-pregnancy-care-physical-exam",
|
|
203
183
|
filesData: data,
|
|
204
184
|
handleClickTab: _this.handleClickTab,
|
|
@@ -207,7 +187,7 @@ var panel = function (_super) {
|
|
|
207
187
|
id: id,
|
|
208
188
|
type: "husband",
|
|
209
189
|
onRef: _this.onRef
|
|
210
|
-
}), activeKey === 'SecondSex' && /*#__PURE__*/React.createElement(PhysicalExamination$2, {
|
|
190
|
+
})), activeKey === 'SecondSex' && (/*#__PURE__*/React.createElement(PhysicalExamination$2, {
|
|
211
191
|
moduleName: "husband-pre-pregnancy-care-second-sex",
|
|
212
192
|
filesData: data,
|
|
213
193
|
handleClickTab: _this.handleClickTab,
|
|
@@ -216,7 +196,7 @@ var panel = function (_super) {
|
|
|
216
196
|
id: id,
|
|
217
197
|
type: "husband",
|
|
218
198
|
onRef: _this.onRef
|
|
219
|
-
}), activeKey === 'Inspection' && /*#__PURE__*/React.createElement(PhysicalExamination$3, {
|
|
199
|
+
})), activeKey === 'Inspection' && (/*#__PURE__*/React.createElement(PhysicalExamination$3, {
|
|
220
200
|
moduleName: "husband-pre-pregnancy-care-inspection-results",
|
|
221
201
|
filesData: data,
|
|
222
202
|
handleClickTab: _this.handleClickTab,
|
|
@@ -225,7 +205,7 @@ var panel = function (_super) {
|
|
|
225
205
|
id: id,
|
|
226
206
|
type: "husband",
|
|
227
207
|
onRef: _this.onRef
|
|
228
|
-
}), activeKey === 'GuidanceEvaluation' && /*#__PURE__*/React.createElement(PhysicalExamination$4, {
|
|
208
|
+
})), activeKey === 'GuidanceEvaluation' && (/*#__PURE__*/React.createElement(PhysicalExamination$4, {
|
|
229
209
|
moduleName: "husband-pre-pregnancy-care-guidance",
|
|
230
210
|
filesData: data,
|
|
231
211
|
handleChangeTabs: _this.handleChangeTabs,
|
|
@@ -233,7 +213,7 @@ var panel = function (_super) {
|
|
|
233
213
|
id: id,
|
|
234
214
|
type: "husband",
|
|
235
215
|
onRef: _this.onRef
|
|
236
|
-
}), activeKey === 'SurveyReport' && /*#__PURE__*/React.createElement(DoctorEnd_SurveyReport, {
|
|
216
|
+
})), activeKey === 'SurveyReport' && /*#__PURE__*/React.createElement(DoctorEnd_SurveyReport, {
|
|
237
217
|
headerInfo: data
|
|
238
218
|
}), activeKey === 'ImageReport' && /*#__PURE__*/React.createElement(DoctorEnd_ImageReport, {
|
|
239
219
|
headerInfo: data
|
|
@@ -264,12 +244,6 @@ var panel = function (_super) {
|
|
|
264
244
|
}, {
|
|
265
245
|
key: 'GuidanceEvaluation',
|
|
266
246
|
title: '指导/评估'
|
|
267
|
-
}, {
|
|
268
|
-
key: 'SurveyReport',
|
|
269
|
-
title: '检验报告'
|
|
270
|
-
}, {
|
|
271
|
-
key: 'ImageReport',
|
|
272
|
-
title: '影像报告'
|
|
273
247
|
}, {
|
|
274
248
|
key: 'ReportEntry',
|
|
275
249
|
title: '报告查看'
|
|
@@ -287,9 +261,9 @@ var panel = function (_super) {
|
|
|
287
261
|
return [4, fubaoRequest.get("/api/progestation/check/getByProgestationCheckArchivesId?progestationCheckArchivesId.equals=".concat(id, "&childrenSign.equals=0"))];
|
|
288
262
|
case 1:
|
|
289
263
|
data = _a.sent().data;
|
|
290
|
-
activeKey =
|
|
264
|
+
activeKey = get(this.props, 'routerQuery.activeKey') || 'BasicInfo';
|
|
291
265
|
if (data) {
|
|
292
|
-
data =
|
|
266
|
+
data = get(data, 'data');
|
|
293
267
|
}
|
|
294
268
|
this.setState({
|
|
295
269
|
data: data,
|
|
@@ -304,9 +278,8 @@ var panel = function (_super) {
|
|
|
304
278
|
var id = getSearchParamsValue('id');
|
|
305
279
|
this.props.history;
|
|
306
280
|
fubaoHistoryPush("/pre-pregnancy-care/file-management/edit?id=".concat(id), this.props);
|
|
307
|
-
|
|
281
|
+
Modal.destroyAll();
|
|
308
282
|
};
|
|
309
283
|
return panel;
|
|
310
284
|
}(PanelWithChild);
|
|
311
285
|
export { panel as default };
|
|
312
|
-
//# sourceMappingURL=.root39.js.map
|
|
@@ -1,24 +1,15 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import _Space from 'antd/es/space';
|
|
3
|
-
import 'antd/es/modal/style';
|
|
4
|
-
import _Modal from 'antd/es/modal';
|
|
5
|
-
import 'antd/es/button/style';
|
|
6
|
-
import _Button from 'antd/es/button';
|
|
7
|
-
import _set from 'lodash/set';
|
|
8
|
-
import _map from 'lodash/map';
|
|
9
|
-
import _get from 'lodash/get';
|
|
10
|
-
import { b as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
|
|
1
|
+
import { c as __extends, _ as __awaiter, a as __generator } from './tslib.es6.js';
|
|
11
2
|
import React from 'react';
|
|
12
|
-
import { P as PhysicalExamination, M as MedicalHistory, a as PhysicalExamination$1, b as PhysicalExamination$2, c as PhysicalExamination$3, d as PhysicalExamination$4 } from './
|
|
3
|
+
import { P as PhysicalExamination, M as MedicalHistory, a as PhysicalExamination$1, b as PhysicalExamination$2, c as PhysicalExamination$3, d as PhysicalExamination$4 } from './index6.js';
|
|
4
|
+
import { Modal, Button, Space } from 'antd';
|
|
5
|
+
import { get, map, set } from 'lodash';
|
|
13
6
|
import { getSearchParamsValue, fubaoRequest } from '@lm_fe/utils';
|
|
14
|
-
import { c as classnames } from './
|
|
7
|
+
import { c as classnames } from './index4.js';
|
|
15
8
|
import { ExclamationCircleOutlined, CheckCircleOutlined } from '@ant-design/icons';
|
|
16
9
|
import { s as styleInject } from './style-inject.es.js';
|
|
17
|
-
import {
|
|
10
|
+
import { OkButton, PanelTitle, fubaoHistoryPush, PanelWithChild } from '@lm_fe/components_m';
|
|
18
11
|
import { DoctorEnd_SurveyReport, DoctorEnd_ImageReport } from '@lm_fe/pages-mchc';
|
|
19
|
-
import ReportEntryInner from '
|
|
20
|
-
import 'antd/es/form/style';
|
|
21
|
-
import 'antd/es/form';
|
|
12
|
+
import ReportEntryInner from './fubao.report-entry.reports.js';
|
|
22
13
|
import '@lm_fe/pages';
|
|
23
14
|
import './form_config.js';
|
|
24
15
|
import '@lm_fe/env';
|
|
@@ -34,68 +25,57 @@ var panel = function (_super) {
|
|
|
34
25
|
};
|
|
35
26
|
_this.renderHeader = function () {
|
|
36
27
|
var data = _this.state.data;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
className: PanelWithChild.styles["panel-with-child_header-secend-item-label"]
|
|
67
|
-
}, "\u914D\u5076\u59D3\u540D:"), /*#__PURE__*/React.createElement("span", {
|
|
68
|
-
className: PanelWithChild.styles["panel-with-child_header-secend-item-value"]
|
|
69
|
-
}, _get(data, 'manName'))), /*#__PURE__*/React.createElement("div", {
|
|
70
|
-
className: PanelWithChild.styles["panel-with-child_header-secend-item"]
|
|
71
|
-
}, _get(data, 'manProgestationCheckArchivesDetailVM') && /*#__PURE__*/React.createElement(_Button, {
|
|
72
|
-
type: "primary",
|
|
73
|
-
onClick: function onClick() {
|
|
74
|
-
_this.handleClickButton();
|
|
75
|
-
}
|
|
76
|
-
}, "\u6253\u5F00\u914D\u5076\u75C5\u5386")));
|
|
28
|
+
var f_vm = get(data, 'manProgestationCheckArchivesDetailVM');
|
|
29
|
+
var h = [{
|
|
30
|
+
title: '姓名',
|
|
31
|
+
value: get(data, 'womanName')
|
|
32
|
+
}, {
|
|
33
|
+
title: '性别',
|
|
34
|
+
value: '女'
|
|
35
|
+
}, {
|
|
36
|
+
title: '年龄',
|
|
37
|
+
value: get(data, 'womanAge')
|
|
38
|
+
}, {
|
|
39
|
+
title: '门诊号',
|
|
40
|
+
value: get(data, 'womanOutpatientNo')
|
|
41
|
+
}, {
|
|
42
|
+
title: '男方姓名',
|
|
43
|
+
value: get(data, 'manName')
|
|
44
|
+
}, f_vm && {
|
|
45
|
+
title: '男方病历',
|
|
46
|
+
value: /*#__PURE__*/React.createElement(OkButton, {
|
|
47
|
+
type: "primary",
|
|
48
|
+
onClick: function onClick() {
|
|
49
|
+
_this.handleClickButton();
|
|
50
|
+
},
|
|
51
|
+
btn_text: "\u6253\u5F00"
|
|
52
|
+
})
|
|
53
|
+
}];
|
|
54
|
+
return /*#__PURE__*/React.createElement(PanelTitle, {
|
|
55
|
+
headerItems: h
|
|
56
|
+
});
|
|
77
57
|
};
|
|
78
58
|
_this.handleJump = function () {
|
|
79
59
|
var id = getSearchParamsValue('id');
|
|
80
60
|
_this.props.history;
|
|
81
61
|
fubaoHistoryPush("/pre-pregnancy-care/file-management/edit?id=".concat(id), _this.props);
|
|
82
|
-
|
|
62
|
+
Modal.destroyAll();
|
|
83
63
|
};
|
|
84
64
|
_this.handleClickButton = function () {
|
|
85
65
|
var data = _this.state.data;
|
|
86
66
|
var id = getSearchParamsValue('id');
|
|
87
67
|
_this.props.history;
|
|
88
|
-
if (
|
|
68
|
+
if (get(data, 'manProgestationCheckArchivesDetailVM')) {
|
|
89
69
|
fubaoHistoryPush("/pre-pregnancy-care/husband/husband-exam?id=".concat(id), _this.props);
|
|
90
70
|
} else {
|
|
91
|
-
|
|
71
|
+
Modal.error({
|
|
92
72
|
title: '配偶暂未建档,请完善配偶档案信息',
|
|
93
|
-
content: /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(
|
|
73
|
+
content: (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
94
74
|
type: "primary",
|
|
95
75
|
onClick: function onClick() {
|
|
96
76
|
_this.handleJump();
|
|
97
77
|
}
|
|
98
|
-
}, "\u53BB\u5B8C\u5584\u914D\u5076\u6863\u6848\u4FE1\u606F")),
|
|
78
|
+
}, "\u53BB\u5B8C\u5584\u914D\u5076\u6863\u6848\u4FE1\u606F"))),
|
|
99
79
|
onOk: function onOk() {}
|
|
100
80
|
});
|
|
101
81
|
}
|
|
@@ -122,9 +102,9 @@ var panel = function (_super) {
|
|
|
122
102
|
};
|
|
123
103
|
_this.handleChangeTabs = function (key, icon) {
|
|
124
104
|
var tabs = _this.state.tabs;
|
|
125
|
-
|
|
105
|
+
map(tabs, function (item, index) {
|
|
126
106
|
if (key === item.key) {
|
|
127
|
-
|
|
107
|
+
set(item, 'icon', icon);
|
|
128
108
|
}
|
|
129
109
|
});
|
|
130
110
|
_this.setState({
|
|
@@ -133,8 +113,8 @@ var panel = function (_super) {
|
|
|
133
113
|
};
|
|
134
114
|
_this.getIcon = function (tab) {
|
|
135
115
|
var activeKey = _this.state.activeKey;
|
|
136
|
-
if (
|
|
137
|
-
if (
|
|
116
|
+
if (get(tab, 'icon')) {
|
|
117
|
+
if (get(tab, 'icon') === 'error') {
|
|
138
118
|
return /*#__PURE__*/React.createElement(ExclamationCircleOutlined, {
|
|
139
119
|
style: {
|
|
140
120
|
position: 'relative',
|
|
@@ -166,13 +146,13 @@ var panel = function (_super) {
|
|
|
166
146
|
tabs = _a.tabs;
|
|
167
147
|
return /*#__PURE__*/React.createElement("div", {
|
|
168
148
|
className: PanelWithChild.styles["panel-with-child-desk-tabs"]
|
|
169
|
-
},
|
|
149
|
+
}, map(tabs, function (tab) {
|
|
170
150
|
var _a;
|
|
171
151
|
return /*#__PURE__*/React.createElement("div", {
|
|
172
152
|
key: tab.key,
|
|
173
153
|
onClick: _this.handleClickTab(tab.key),
|
|
174
154
|
className: classnames(PanelWithChild.styles["panel-with-child-desk-tabs-item"], (_a = {}, _a[PanelWithChild.styles['panel-with-child-desk-tabs-item-active']] = activeKey === tab.key, _a))
|
|
175
|
-
}, /*#__PURE__*/React.createElement(
|
|
155
|
+
}, /*#__PURE__*/React.createElement(Space, null, _this.getIcon(tab), tab.title));
|
|
176
156
|
}));
|
|
177
157
|
};
|
|
178
158
|
_this.renderContent = function () {
|
|
@@ -181,12 +161,12 @@ var panel = function (_super) {
|
|
|
181
161
|
var _b = _this.state,
|
|
182
162
|
data = _b.data,
|
|
183
163
|
activeKey = _b.activeKey;
|
|
184
|
-
var sex_data =
|
|
164
|
+
var sex_data = get(data, 'womanProgestationCheckArchivesDetailVM');
|
|
185
165
|
return /*#__PURE__*/React.createElement("div", {
|
|
186
166
|
className: classnames(PanelWithChild.styles["panel-with-child-desk"], 'hj-desk')
|
|
187
167
|
}, _this.renderTabs(), /*#__PURE__*/React.createElement("div", {
|
|
188
168
|
className: PanelWithChild.styles["panel-with-child-desk-content"]
|
|
189
|
-
}, activeKey === 'BasicInfo' && /*#__PURE__*/React.createElement(PhysicalExamination, {
|
|
169
|
+
}, activeKey === 'BasicInfo' && (/*#__PURE__*/React.createElement(PhysicalExamination, {
|
|
190
170
|
moduleName: "wife-pre-pregnancy-care-basic-info",
|
|
191
171
|
filesData: data,
|
|
192
172
|
handleClickTab: _this.handleClickTab,
|
|
@@ -195,7 +175,7 @@ var panel = function (_super) {
|
|
|
195
175
|
id: id,
|
|
196
176
|
type: "wife",
|
|
197
177
|
onRef: _this.onRef
|
|
198
|
-
}), activeKey === 'MedicalHistory' && /*#__PURE__*/React.createElement(MedicalHistory, {
|
|
178
|
+
})), activeKey === 'MedicalHistory' && (/*#__PURE__*/React.createElement(MedicalHistory, {
|
|
199
179
|
moduleName: "wife-pre-pregnancy-care-medical-history",
|
|
200
180
|
filesData: data,
|
|
201
181
|
handleClickTab: _this.handleClickTab,
|
|
@@ -204,7 +184,7 @@ var panel = function (_super) {
|
|
|
204
184
|
id: id,
|
|
205
185
|
type: "wife",
|
|
206
186
|
onRef: _this.onRef
|
|
207
|
-
}), activeKey === 'PhysicalExamination' && /*#__PURE__*/React.createElement(PhysicalExamination$1, {
|
|
187
|
+
})), activeKey === 'PhysicalExamination' && (/*#__PURE__*/React.createElement(PhysicalExamination$1, {
|
|
208
188
|
moduleName: "wife-pre-pregnancy-care-physical-exam",
|
|
209
189
|
filesData: data,
|
|
210
190
|
handleClickTab: _this.handleClickTab,
|
|
@@ -213,7 +193,7 @@ var panel = function (_super) {
|
|
|
213
193
|
id: id,
|
|
214
194
|
type: "wife",
|
|
215
195
|
onRef: _this.onRef
|
|
216
|
-
}), activeKey === 'SecondSex' && /*#__PURE__*/React.createElement(PhysicalExamination$2, {
|
|
196
|
+
})), activeKey === 'SecondSex' && (/*#__PURE__*/React.createElement(PhysicalExamination$2, {
|
|
217
197
|
moduleName: "wife-pre-pregnancy-care-second-sex",
|
|
218
198
|
filesData: data,
|
|
219
199
|
handleClickTab: _this.handleClickTab,
|
|
@@ -222,7 +202,7 @@ var panel = function (_super) {
|
|
|
222
202
|
id: id,
|
|
223
203
|
type: "wife",
|
|
224
204
|
onRef: _this.onRef
|
|
225
|
-
}), activeKey === 'Inspection' && /*#__PURE__*/React.createElement(PhysicalExamination$3, {
|
|
205
|
+
})), activeKey === 'Inspection' && (/*#__PURE__*/React.createElement(PhysicalExamination$3, {
|
|
226
206
|
moduleName: "wife-pre-pregnancy-care-inspection-results",
|
|
227
207
|
filesData: data,
|
|
228
208
|
handleClickTab: _this.handleClickTab,
|
|
@@ -231,7 +211,7 @@ var panel = function (_super) {
|
|
|
231
211
|
id: id,
|
|
232
212
|
type: "wife",
|
|
233
213
|
onRef: _this.onRef
|
|
234
|
-
}), activeKey === 'GuidanceEvaluation' && /*#__PURE__*/React.createElement(PhysicalExamination$4, {
|
|
214
|
+
})), activeKey === 'GuidanceEvaluation' && (/*#__PURE__*/React.createElement(PhysicalExamination$4, {
|
|
235
215
|
moduleName: "wife-pre-pregnancy-care-guidance",
|
|
236
216
|
filesData: data,
|
|
237
217
|
handleChangeTabs: _this.handleChangeTabs,
|
|
@@ -239,7 +219,7 @@ var panel = function (_super) {
|
|
|
239
219
|
id: id,
|
|
240
220
|
type: "wife",
|
|
241
221
|
onRef: _this.onRef
|
|
242
|
-
}), activeKey === 'SurveyReport' && /*#__PURE__*/React.createElement(DoctorEnd_SurveyReport, {
|
|
222
|
+
})), activeKey === 'SurveyReport' && /*#__PURE__*/React.createElement(DoctorEnd_SurveyReport, {
|
|
243
223
|
headerInfo: data
|
|
244
224
|
}), activeKey === 'ImageReport' && /*#__PURE__*/React.createElement(DoctorEnd_ImageReport, {
|
|
245
225
|
headerInfo: data
|
|
@@ -270,12 +250,6 @@ var panel = function (_super) {
|
|
|
270
250
|
}, {
|
|
271
251
|
key: 'GuidanceEvaluation',
|
|
272
252
|
title: '指导/评估'
|
|
273
|
-
}, {
|
|
274
|
-
key: 'SurveyReport',
|
|
275
|
-
title: '检验报告'
|
|
276
|
-
}, {
|
|
277
|
-
key: 'ImageReport',
|
|
278
|
-
title: '影像报告'
|
|
279
253
|
}, {
|
|
280
254
|
key: 'ReportEntry',
|
|
281
255
|
title: '报告查看'
|
|
@@ -293,9 +267,9 @@ var panel = function (_super) {
|
|
|
293
267
|
return [4, fubaoRequest.get("/api/progestation/check/getByProgestationCheckArchivesId?progestationCheckArchivesId.equals=".concat(id, "&childrenSign.equals=0"))];
|
|
294
268
|
case 1:
|
|
295
269
|
data = _a.sent().data;
|
|
296
|
-
activeKey =
|
|
270
|
+
activeKey = get(this.props, 'routerQuery.activeKey') || 'BasicInfo';
|
|
297
271
|
if (data) {
|
|
298
|
-
data =
|
|
272
|
+
data = get(data, 'data');
|
|
299
273
|
}
|
|
300
274
|
this.setState({
|
|
301
275
|
data: data,
|
|
@@ -309,4 +283,3 @@ var panel = function (_super) {
|
|
|
309
283
|
return panel;
|
|
310
284
|
}(PanelWithChild);
|
|
311
285
|
export { panel as default };
|
|
312
|
-
//# sourceMappingURL=.root41.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import WifePanel_new from './premarital-care.file-management.edit.js';
|
|
2
|
+
export { default } from './premarital-care.file-management.edit.js';
|
|
3
|
+
import './tslib.es6.js';
|
|
4
|
+
import 'dayjs';
|
|
5
|
+
import 'lodash';
|
|
6
|
+
import '@lm_fe/components_m';
|
|
7
|
+
import '@lm_fe/env';
|
|
8
|
+
import '@lm_fe/provoke';
|
|
9
|
+
import '@lm_fe/utils';
|
|
10
|
+
import 'antd';
|
|
11
|
+
import 'react';
|
|
12
|
+
import '@lm_fe/pages';
|
|
@@ -18,9 +18,9 @@ function tableColumns(is_孕前) {
|
|
|
18
18
|
render: is_孕前 ? function (text, record) {
|
|
19
19
|
var id = record.id;
|
|
20
20
|
var _path = ctx.utils.transmit_happy_pre("/pre-pregnancy-care/wife/wife-exam?id=".concat(id), '/fubao');
|
|
21
|
-
return
|
|
21
|
+
return React.createElement(ctx.ui.Button, {
|
|
22
22
|
size: "small",
|
|
23
|
-
type:
|
|
23
|
+
type: 'link',
|
|
24
24
|
onClick: function onClick() {
|
|
25
25
|
return ctx.safeTo(_path);
|
|
26
26
|
}
|
|
@@ -28,9 +28,9 @@ function tableColumns(is_孕前) {
|
|
|
28
28
|
} : function (text, record) {
|
|
29
29
|
var id = record.id;
|
|
30
30
|
var _path = ctx.utils.transmit_happy_pre("/premarital-care/wife-v2/wife-exam?id=".concat(id), '/fubao');
|
|
31
|
-
return
|
|
31
|
+
return React.createElement(ctx.ui.Button, {
|
|
32
32
|
size: "small",
|
|
33
|
-
type:
|
|
33
|
+
type: 'link',
|
|
34
34
|
onClick: function onClick() {
|
|
35
35
|
return ctx.safeTo(_path);
|
|
36
36
|
}
|
|
@@ -55,9 +55,9 @@ function tableColumns(is_孕前) {
|
|
|
55
55
|
render: is_孕前 ? function (text, record) {
|
|
56
56
|
var id = record.id;
|
|
57
57
|
var _path = ctx.utils.transmit_happy_pre("/pre-pregnancy-care/husband/husband-exam?id=".concat(id), '/fubao');
|
|
58
|
-
return
|
|
58
|
+
return React.createElement(ctx.ui.Button, {
|
|
59
59
|
size: "small",
|
|
60
|
-
type:
|
|
60
|
+
type: 'link',
|
|
61
61
|
onClick: function onClick() {
|
|
62
62
|
return ctx.safeTo(_path);
|
|
63
63
|
}
|
|
@@ -65,9 +65,9 @@ function tableColumns(is_孕前) {
|
|
|
65
65
|
} : function (text, record) {
|
|
66
66
|
var id = record.id;
|
|
67
67
|
var _path = ctx.utils.transmit_happy_pre("/premarital-care/husband-v2/husband-exam?id=".concat(id), '/fubao');
|
|
68
|
-
return
|
|
68
|
+
return React.createElement(ctx.ui.Button, {
|
|
69
69
|
size: "small",
|
|
70
|
-
type:
|
|
70
|
+
type: 'link',
|
|
71
71
|
onClick: function onClick() {
|
|
72
72
|
return ctx.safeTo(_path);
|
|
73
73
|
}
|
|
@@ -95,7 +95,7 @@ function tableColumns(is_孕前) {
|
|
|
95
95
|
var id = rowData.id;
|
|
96
96
|
var _path = ctx.utils.transmit_happy_pre("/pre-pregnancy-care/file-management/edit?id=".concat(id), '/fubao');
|
|
97
97
|
var 已审核 = fileStatus === 2;
|
|
98
|
-
return
|
|
98
|
+
return React.createElement(ctx.ui.Button, {
|
|
99
99
|
onClick: function onClick() {
|
|
100
100
|
return ctx.safeTo(_path);
|
|
101
101
|
},
|
|
@@ -106,7 +106,7 @@ function tableColumns(is_孕前) {
|
|
|
106
106
|
var id = rowData.id;
|
|
107
107
|
var _path = ctx.utils.transmit_happy_pre("/premarital-care/file-management/edit?id=".concat(id), '/fubao');
|
|
108
108
|
var 已审核 = fileStatus === 2;
|
|
109
|
-
return
|
|
109
|
+
return React.createElement(ctx.ui.Button, {
|
|
110
110
|
onClick: function onClick() {
|
|
111
111
|
return ctx.safeTo(_path);
|
|
112
112
|
},
|
|
@@ -117,4 +117,3 @@ function tableColumns(is_孕前) {
|
|
|
117
117
|
}]);
|
|
118
118
|
}
|
|
119
119
|
export { tableColumns as default };
|
|
120
|
-
//# sourceMappingURL=.root59.js.map
|