@lm_fe/pages 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 +1 -1
- package/dist/a_chunks/{.root5.js → components.doctor_end.ExemplaryCase.js} +36 -68
- package/dist/a_chunks/components.doctor_end.HeaderInfo.js +635 -0
- package/dist/a_chunks/curve.components.BmiCanvas.js +242 -0
- package/dist/a_chunks/curve.components.FetusCanvas.js +259 -0
- package/dist/a_chunks/curve.components.FetusCanvasNICHD.js +1907 -0
- package/dist/a_chunks/curve.components.Pregnogram.js +166 -0
- package/dist/a_chunks/data.js +572 -0
- package/dist/a_chunks/func.js +86 -0
- package/dist/a_chunks/index.js +1049 -286
- package/dist/a_chunks/modals.entries.BF_Form.js +41 -0
- package/dist/a_chunks/modals.entries.StupidTemplateModal2.js +22 -0
- package/dist/a_chunks/modals.entries.box.js +23 -0
- package/dist/a_chunks/{.root11.js → modals.entries.modal_form.js} +99 -70
- package/dist/a_chunks/modals.entries.modal_page.js +143 -0
- package/dist/a_chunks/{.root13.js → modals.entries.print_modal.js} +22 -48
- package/dist/a_chunks/modals.entries.result_template.js +201 -0
- package/dist/a_chunks/{.root14.js → modals.entries.template_modal3.js} +80 -124
- package/dist/a_chunks/modals.entries.test.js +30 -0
- package/dist/a_chunks/{.root16.js → modals.entries.text_search.js} +20 -49
- package/dist/a_chunks/{.root17.js → modals.entries./344/271/231/350/202/235/347/256/241/347/220/206.js} +17 -45
- package/dist/a_chunks/{.root18.js → modals.entries./345/255/220/347/227/253/345/211/215/346/234/237/351/243/216/351/231/251/350/257/204/344/274/260/350/241/250.js} +68 -93
- package/dist/a_chunks/modals.entries./346/213/223/345/261/225/351/207/217/350/241/250.js +257 -0
- package/dist/a_chunks/{.root19.js → modals.entries./346/242/205/346/257/222/347/256/241/347/220/206.js} +58 -90
- package/dist/a_chunks/{.root20.js → modals.entries./346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250.js} +144 -154
- package/dist/a_chunks/{.root21.js → modals.entries./347/230/242/347/227/225/345/255/220/345/256/253/351/230/264/351/201/223/350/257/225/344/272/247/350/241/250.js} +27 -48
- package/dist/a_chunks/{.root22.js → modals.entries./350/257/212/346/226/255/345/216/206/345/217/262.js} +9 -37
- package/dist/a_chunks/{.root23.js → modals.entries./351/242/204/350/255/246/346/217/220/351/206/222_/351/253/230/345/215/261/345/277/253/350/256/257.js} +127 -172
- package/dist/a_chunks/{.root24.js → modals.entries./351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206.js} +438 -336
- package/dist/a_chunks/modals.entries./351/253/230/345/215/261/351/232/217/350/256/277.js +102 -0
- package/dist/a_chunks/modals.entries./351/253/230/345/215/261/351/232/217/350/256/2772.js +157 -0
- package/dist/a_chunks/{.root8.js → src.block./346/243/200/351/252/214/346/243/200/346/237/245.js} +69 -208
- package/dist/a_chunks/{.root3.js → src.components.Base_List.js} +329 -320
- package/dist/a_chunks/src.components.Layout_Sider.js +101 -0
- package/dist/a_chunks/src.components.Layout_TabButton.js +69 -0
- package/dist/a_chunks/src.components.Login.js +151 -0
- package/dist/a_chunks/src.components.MenuSearch.js +106 -0
- package/dist/a_chunks/{.root7.js → src.components.QuickDocButton.js} +1 -2
- package/dist/a_chunks/src.pages.questionnaire.js +1633 -0
- package/dist/a_chunks/use_fetus.js +138 -0
- package/dist/a_chunks/utils.js +100 -0
- package/dist/a_chunks/utils2.js +36 -0
- package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/Inner.d.ts +1 -0
- package/dist/components/BF_Form/Wrap.d.ts +2 -2
- package/dist/components/BF_Form/index.d.ts +4 -2
- package/dist/components/BF_Form/types.d.ts +7 -0
- package/dist/components/BF_Form/use_table_config.d.ts +1 -5
- package/dist/components/Base_List/Helper.d.ts +0 -5
- package/dist/components/Base_List/_MyBaseList.d.ts +1 -0
- package/dist/components/Base_List/index.d.ts +2 -1
- package/dist/components/Base_List/types.d.ts +6 -3
- package/dist/components/Base_List/use_MyBaseList.d.ts +10 -0
- package/dist/components/Base_List/utils.d.ts +11 -0
- package/dist/components/HighRiskTableEntry/utils.d.ts +4 -3
- package/dist/components/IdNOButton/index copy.d.ts +1 -1
- package/dist/components/Layout_Sider/Inner.d.ts +2 -4
- package/dist/components/Layout_Sider/index.d.ts +2 -2
- package/dist/components/Layout_Sider/utils.d.ts +13 -0
- package/dist/components/Layout_TabButton/Inner.d.ts +2 -10
- package/dist/components/Layout_TabButton/index.d.ts +3 -8
- package/dist/components/Layout_TabButton/types.d.ts +8 -0
- package/dist/components/Login/Inner.d.ts +0 -1
- package/dist/components/Login/index.d.ts +2 -1
- package/dist/components/MenuSearch/Inner.d.ts +6 -0
- package/dist/components/MenuSearch/index.d.ts +2 -0
- package/dist/components/QuickDocButton/index.d.ts +5 -1
- package/dist/components/doctor_end/HeaderInfo/FuckTag.d.ts +6 -0
- package/dist/components/doctor_end/HeaderInfo/index.d.ts +1 -0
- package/dist/components/doctor_end/HeaderInfo/types.d.ts +1 -3
- package/dist/components/doctor_end/HeaderInfo/use_headinfo_color.d.ts +8 -0
- package/dist/components/exception/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/curve/components/BmiCanvas/index.d.ts +11 -0
- package/dist/curve/components/FetusCanvas/FetuGrowsEdit.d.ts +7 -0
- package/dist/curve/components/FetusCanvas/config.d.ts +3 -0
- package/dist/curve/components/FetusCanvas/index.d.ts +4 -0
- package/dist/curve/components/FetusCanvas/requestMethods.d.ts +7 -0
- package/dist/curve/components/FetusCanvas/use_fetus.d.ts +33 -0
- package/dist/curve/components/FetusCanvasNICHD/config.d.ts +3 -0
- package/dist/curve/components/FetusCanvasNICHD/data.d.ts +84 -0
- package/dist/curve/components/FetusCanvasNICHD/index.d.ts +4 -0
- package/dist/curve/components/Pregnogram/index.d.ts +11 -0
- package/dist/curve/components/api.d.ts +17 -0
- package/dist/curve/components-new/BmiCanvas/index.d.ts +23 -0
- package/dist/curve/components-new/FetusCanvas/config.d.ts +2 -0
- package/dist/curve/components-new/FetusCanvas/index.d.ts +19 -0
- package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +7 -0
- package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +2 -0
- package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +84 -0
- package/dist/curve/components-new/FetusCanvasNICHD/index.d.ts +21 -0
- package/dist/curve/components-new/Pregnogram/index.d.ts +13 -0
- package/dist/curve/data.d.ts +125 -0
- package/dist/curve/func.d.ts +12 -0
- package/dist/curve/func.test.d.ts +1 -0
- package/dist/curve/index.d.ts +7 -0
- package/dist/curve/intro-steps.d.ts +7 -0
- package/dist/curve/utils.d.ts +8 -0
- package/dist/form_config/conceiveMode.d.ts +2 -0
- package/dist/form_config/index.d.ts +4 -0
- package/dist/form_config/mlUltrasounds.d.ts +2 -0
- package/dist/form_config/not_yes_input.d.ts +4 -0
- package/dist/form_config/pressure.d.ts +4 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/use_duck_form.d.ts +18 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +8 -33
- package/dist/modals/entries/StupidTemplateModal2/index copy.d.ts +22 -0
- package/dist/modals/entries/StupidTemplateModal2/index.d.ts +1 -2
- package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +7 -1
- package/dist/modals/entries/box/index.d.ts +6 -0
- package/dist/modals/entries/modal_form/index.d.ts +1 -1
- package/dist/modals/entries/result_template/index.d.ts +24 -0
- package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +2 -1
- package/dist/modals/entries/template_modal3/index copy 2.d.ts +1 -1
- package/dist/modals/entries/template_modal3/index.d.ts +6 -3
- package/dist/modals/entries/text_search/index.d.ts +1 -1
- package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +1 -1
- package/dist/modals/entries//345/255/220/347/227/253/345/211/215/346/234/237/351/243/216/351/231/251/350/257/204/344/274/260/350/241/250/utils.d.ts +5 -0
- package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/History.d.ts +10 -0
- package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/index.d.ts +9 -0
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/ThrombusGysy.d.ts +2 -7
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/config.d.ts +2 -1
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/Default/ThrombusDefault.d.ts +2 -7
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/index.d.ts +2 -2
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/types.d.ts +3 -3
- package/dist/modals/entries//347/230/242/347/227/225/345/255/220/345/256/253/351/230/264/351/201/223/350/257/225/344/272/247/350/241/250/index.d.ts +2 -2
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/HighriskSign.d.ts +4 -5
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/HighriskTimeline.d.ts +1 -1
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/Tag.d.ts +12 -0
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/utils.d.ts +8 -0
- package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/form_config.d.ts +4 -2
- package/dist/modals/index.d.ts +4 -1
- package/dist/modals/meta.d.ts +4 -1
- package/dist/pages/doc_record/index.d.ts +1 -1
- package/dist/pages/index.d.ts +1 -0
- package/dist/pages/questionnaire/Inner.d.ts +4 -0
- package/dist/pages/questionnaire/Qn.d.ts +3 -0
- package/dist/pages/questionnaire/SelectButton.d.ts +4 -0
- package/dist/pages/questionnaire/create/Step2Right.d.ts +11 -0
- package/dist/pages/questionnaire/create/common.d.ts +46 -0
- package/dist/pages/questionnaire/create/fakeData.d.ts +6 -0
- package/dist/pages/questionnaire/create/question-item.d.ts +14 -0
- package/dist/pages/questionnaire/create/step1.d.ts +12 -0
- package/dist/pages/questionnaire/create/step2.d.ts +10 -0
- package/dist/pages/questionnaire/create/step3.d.ts +8 -0
- package/dist/pages/questionnaire/create/step4.d.ts +8 -0
- package/dist/pages/questionnaire/index.d.ts +3 -0
- package/dist/pages/questionnaire/types.d.ts +10 -0
- package/dist/utils/helper.d.ts +5 -0
- package/dist/utils/index.d.ts +2 -1
- package/package.json +34 -16
- package/dist/a_chunks/.root.js +0 -245
- package/dist/a_chunks/.root.js.map +0 -1
- package/dist/a_chunks/.root10.js +0 -474
- 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 -200
- 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 +0 -58
- 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 +0 -76
- 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 +0 -281
- package/dist/a_chunks/.root25.js.map +0 -1
- package/dist/a_chunks/.root3.js.map +0 -1
- package/dist/a_chunks/.root4.js +0 -629
- package/dist/a_chunks/.root4.js.map +0 -1
- package/dist/a_chunks/.root5.js.map +0 -1
- package/dist/a_chunks/.root6.js +0 -164
- package/dist/a_chunks/.root6.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 +0 -69
- package/dist/a_chunks/.root9.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/index.js.map +0 -1
- package/dist/components/BF_Form/use_table_config copy.d.ts +0 -13
- package/dist/index.js.map +0 -1
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/index copy.d.ts" +0 -12
|
@@ -1,44 +1,16 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import _Modal from 'antd/es/modal';
|
|
3
|
-
import { _ as _extends } from './extends.js';
|
|
4
|
-
import 'antd/es/space/style';
|
|
5
|
-
import _Space from 'antd/es/space';
|
|
6
|
-
import 'antd/es/button/style';
|
|
7
|
-
import _Button from 'antd/es/button';
|
|
8
|
-
import _isEmpty from 'lodash/isEmpty';
|
|
9
|
-
import _forEach from 'lodash/forEach';
|
|
10
|
-
import { s as styleInject, d as __rest, _ as __awaiter, a as __generator, c as __spreadArray } from './index.js';
|
|
1
|
+
import { s as styleInject, d as __rest, b as __awaiter, c as __generator, a as __assign, _ as __spreadArray } from './index.js';
|
|
11
2
|
import { SMchc_TemplateTrees } from '@lm_fe/service';
|
|
3
|
+
import { Modal, Space, Button } from 'antd';
|
|
4
|
+
import { forEach, isEmpty } from 'lodash';
|
|
12
5
|
import React, { useState, useRef, useEffect } from 'react';
|
|
13
6
|
import ReactToPrint from 'react-to-print';
|
|
14
7
|
import { LazyAntd } from '@lm_fe/components';
|
|
15
|
-
import '
|
|
16
|
-
import '
|
|
17
|
-
import '
|
|
18
|
-
import 'antd/es/col';
|
|
19
|
-
import 'antd/es/list/style';
|
|
20
|
-
import 'antd/es/list';
|
|
21
|
-
import 'antd/es/tooltip/style';
|
|
22
|
-
import 'antd/es/tooltip';
|
|
23
|
-
import 'lodash/get';
|
|
24
|
-
import '@ant-design/icons';
|
|
8
|
+
import { mchcEnv } from '@lm_fe/env';
|
|
9
|
+
import { f as fuck_user_info, a as fuck_sign_user, b as fuck_sign_doctor } from './utils2.js';
|
|
10
|
+
import '@lm_fe/utils';
|
|
25
11
|
import 'classnames';
|
|
26
|
-
import 'antd/es/spin/style';
|
|
27
|
-
import 'antd/es/spin';
|
|
28
12
|
import '@lm_fe/components_m';
|
|
29
|
-
import '@lm_fe/
|
|
30
|
-
import 'antd/es/form/style';
|
|
31
|
-
import 'antd/es/form';
|
|
32
|
-
import 'antd/es/result/style';
|
|
33
|
-
import 'antd/es/result';
|
|
34
|
-
import 'antd/es/menu/style';
|
|
35
|
-
import 'antd/es/menu';
|
|
36
|
-
import 'antd/es/message/style';
|
|
37
|
-
import 'antd/es/message';
|
|
38
|
-
import '@lm_fe/env';
|
|
39
|
-
import 'lodash/keys';
|
|
40
|
-
import 'antd/es/divider/style';
|
|
41
|
-
import 'antd/es/divider';
|
|
13
|
+
import '@lm_fe/provoke';
|
|
42
14
|
var css_248z = "@media print {\n html,\n body {\n background-color: #fff !important;\n }\n html .index-module_printtoalc__Eq-V4,\n body .index-module_printtoalc__Eq-V4 {\n padding: 12px;\n }\n}\n.index-module_tree-title__S78sH {\n width: 100%;\n}\n.index-module_tree-title__S78sH > .ant-tree-switcher,\n.index-module_tree-title__S78sH > .ant-tree-checkbox {\n display: none;\n}\n.index-module_tree-title__S78sH > .ant-tree-node-content-wrapper {\n width: 100%;\n height: 30px;\n margin-bottom: 10px;\n line-height: 30px;\n text-align: center;\n background-color: #e6f7ff;\n border-bottom: 3px solid #6699ff;\n}\n";
|
|
43
15
|
var styles = {
|
|
44
16
|
"printtoalc": "index-module_printtoalc__Eq-V4",
|
|
@@ -57,7 +29,7 @@ function Index(props) {
|
|
|
57
29
|
var modal_data = props.modal_data,
|
|
58
30
|
close = props.close,
|
|
59
31
|
others = __rest(props, ["modal_data", "close"]);
|
|
60
|
-
var
|
|
32
|
+
var headerInfo = modal_data.headerInfo;
|
|
61
33
|
var _a = useState([]),
|
|
62
34
|
treeToalc = _a[0],
|
|
63
35
|
setTreeToalc = _a[1];
|
|
@@ -65,6 +37,7 @@ function Index(props) {
|
|
|
65
37
|
toalcKeys = _b[0],
|
|
66
38
|
setToalcKeys = _b[1];
|
|
67
39
|
var printTableRef = useRef(null);
|
|
40
|
+
var pregnancyId = headerInfo.id;
|
|
68
41
|
useEffect(function () {
|
|
69
42
|
(function () {
|
|
70
43
|
return __awaiter(_this, void 0, void 0, function () {
|
|
@@ -93,7 +66,7 @@ function Index(props) {
|
|
|
93
66
|
return function () {};
|
|
94
67
|
}, []);
|
|
95
68
|
function handleCheck(keys) {
|
|
96
|
-
|
|
69
|
+
forEach(treeToalc, function (item) {
|
|
97
70
|
if (keys.includes(String(item.id))) {
|
|
98
71
|
item.selected = true;
|
|
99
72
|
} else {
|
|
@@ -149,7 +122,7 @@ function Index(props) {
|
|
|
149
122
|
tmpData.title = item.val;
|
|
150
123
|
tmpData.key = String(item.id);
|
|
151
124
|
tmpData.children = transferTemplateData(data, item.id);
|
|
152
|
-
if (
|
|
125
|
+
if (isEmpty(tmpData.children)) {
|
|
153
126
|
tmpData.isLeaf = true;
|
|
154
127
|
} else {
|
|
155
128
|
tmpData.isLeaf = false;
|
|
@@ -161,24 +134,24 @@ function Index(props) {
|
|
|
161
134
|
}
|
|
162
135
|
function renderFooter() {
|
|
163
136
|
var _this = this;
|
|
164
|
-
return /*#__PURE__*/React.createElement(
|
|
137
|
+
return /*#__PURE__*/React.createElement(Space, {
|
|
165
138
|
style: {
|
|
166
139
|
display: 'flex',
|
|
167
140
|
alignItems: 'center',
|
|
168
141
|
justifyContent: 'center'
|
|
169
142
|
}
|
|
170
|
-
}, /*#__PURE__*/React.createElement(
|
|
143
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
171
144
|
key: "back",
|
|
172
145
|
onClick: function onClick() {
|
|
173
146
|
return close === null || close === void 0 ? void 0 : close(false);
|
|
174
147
|
}
|
|
175
|
-
}, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(
|
|
148
|
+
}, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
|
|
176
149
|
key: "submit",
|
|
177
150
|
type: "primary",
|
|
178
151
|
onClick: handleOk
|
|
179
152
|
}, "\u786E\u5B9A"), /*#__PURE__*/React.createElement(ReactToPrint, {
|
|
180
153
|
trigger: function trigger() {
|
|
181
|
-
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(
|
|
154
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
182
155
|
type: "primary"
|
|
183
156
|
}, "\u6253\u5370"));
|
|
184
157
|
},
|
|
@@ -196,20 +169,20 @@ function Index(props) {
|
|
|
196
169
|
}));
|
|
197
170
|
}
|
|
198
171
|
var treeData = transferTemplateData(treeToalc);
|
|
199
|
-
return /*#__PURE__*/React.createElement(
|
|
172
|
+
return /*#__PURE__*/React.createElement(Modal, __assign({}, others, {
|
|
200
173
|
className: styles["tolac-modal"],
|
|
201
174
|
title: "\u7622\u75D5\u5B50\u5BAB\u9634\u9053\u8BD5\u4EA7\u8868",
|
|
202
175
|
width: 800,
|
|
203
176
|
onOk: handleOk,
|
|
204
177
|
maskClosable: false,
|
|
205
178
|
footer: renderFooter()
|
|
206
|
-
}), !!treeToalc.length && /*#__PURE__*/React.createElement(Tree, {
|
|
179
|
+
}), !!treeToalc.length && (/*#__PURE__*/React.createElement(Tree, {
|
|
207
180
|
checkable: true,
|
|
208
181
|
defaultExpandAll: true,
|
|
209
182
|
checkedKeys: toalcKeys,
|
|
210
183
|
treeData: treeData,
|
|
211
184
|
onCheck: handleCheck
|
|
212
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
185
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
213
186
|
style: {
|
|
214
187
|
display: 'none'
|
|
215
188
|
}
|
|
@@ -223,13 +196,19 @@ function Index(props) {
|
|
|
223
196
|
style: {
|
|
224
197
|
textAlign: 'center'
|
|
225
198
|
}
|
|
226
|
-
}, "\u7622\u75D5\u5B50\u5BAB\u9634\u9053\u8BD5\u4EA7\u8868"), !!treeToalc.length && /*#__PURE__*/React.createElement(Tree, {
|
|
199
|
+
}, "\u7622\u75D5\u5B50\u5BAB\u9634\u9053\u8BD5\u4EA7\u8868"), fuck_user_info(headerInfo), !!treeToalc.length && (/*#__PURE__*/React.createElement(Tree, {
|
|
227
200
|
checkable: true,
|
|
228
201
|
defaultExpandAll: true,
|
|
229
202
|
checkedKeys: toalcKeys,
|
|
230
203
|
treeData: treeData,
|
|
231
204
|
onCheck: handleCheck
|
|
232
|
-
}))
|
|
205
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
206
|
+
style: {
|
|
207
|
+
display: mchcEnv["in"](['越秀妇幼']) ? 'block' : 'none',
|
|
208
|
+
lineHeight: 2.6,
|
|
209
|
+
pageBreakBefore: 'always',
|
|
210
|
+
padding: '48px 24px'
|
|
211
|
+
}
|
|
212
|
+
}, /*#__PURE__*/React.createElement("div", null, "\u60A3\u8005\u77E5\u60C5\u9009\u62E9"), /*#__PURE__*/React.createElement("div", null, "1\u3001\u533B\u751F\u5DF2\u544A\u77E5\u6211\u5173\u4E8E\u765C\u75D5\u5B50\u5BAB\u7684\u4ECB\u7ECD\u3001\u76EE\u524D\u5B55\u4EA7\u5987\u7684\u60C5\u51B5\u53CA\u53EF\u91C7\u53D6\u7684\u5206\u5A29\u65B9\u5F0F\u3002"), /*#__PURE__*/React.createElement("div", null, "2\u3001\u6211\u540C\u610F\u533B\u751F\u6839\u636E\u5B55\u4EA7\u5987\u60C5\u51B5\u800C\u8981\u91C7\u53D6\u7684\u5206\u5A29\u65B9\u5F0F\u3002"), /*#__PURE__*/React.createElement("div", null, "3\u3001\u6211\u5E76\u672A\u5F97\u5230\u767E\u5206\u4E4B\u767E\u6210\u529F\u7684\u8BB8\u8BFA\u3002"), /*#__PURE__*/React.createElement("div", null, "4.\u6211\u5DF2\u8BE6\u7EC6\u9605\u8BFB\u4EE5\u4E0A\u5185\u5BB9\uFF0C\u5BF9\u533B\u5E08\u8BE6\u7EC6\u544A\u77E5\u7684\u5404\u79CD\u98CE\u9669\u8868\u793A\u5B8C\u5168\u7406\u89E3\u3002"), fuck_sign_user(), /*#__PURE__*/React.createElement("div", null, "\u6211\u5DF2\u544A\u77E5\u5B55\u4EA7\u5987\u53CA\u5B55\u4EA7\u5987\u4EB2\u5C5E\u6216\u6388\u6743\u5173\u7CFB\u4EBA\u5173\u4E8E\u765C\u75D5\u5B50\u5BAB\u7684\u4ECB\u7ECD\uFF0C\u76EE\u524D\u5B55\u4EA7\u5987\u7684\u60C5\u51B5\u53CA\u53EF\u91C7\u53D6\u7684\u5206\u5A29\u65B9\u5F0F\u3002"), fuck_sign_doctor()))));
|
|
233
213
|
}
|
|
234
214
|
export { Index as default };
|
|
235
|
-
//# sourceMappingURL=.root21.js.map
|
|
@@ -1,42 +1,15 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import _Modal from 'antd/es/modal';
|
|
3
|
-
import { _ as _extends } from './extends.js';
|
|
4
|
-
import 'antd/es/button/style';
|
|
5
|
-
import _Button from 'antd/es/button';
|
|
6
|
-
import _get from 'lodash/get';
|
|
7
|
-
import { d as __rest } from './index.js';
|
|
1
|
+
import { d as __rest, a as __assign } from './index.js';
|
|
8
2
|
import { LazyAntd } from '@lm_fe/components';
|
|
9
3
|
import { SMchc_Doctor } from '@lm_fe/service';
|
|
10
4
|
import { request } from '@lm_fe/utils';
|
|
5
|
+
import { Modal, Button } from 'antd';
|
|
6
|
+
import { get } from 'lodash';
|
|
11
7
|
import React, { useState, useRef, useEffect } from 'react';
|
|
12
8
|
import ReactToPrint from 'react-to-print';
|
|
13
|
-
import 'antd/es/row/style';
|
|
14
|
-
import 'antd/es/row';
|
|
15
|
-
import 'antd/es/col/style';
|
|
16
|
-
import 'antd/es/col';
|
|
17
|
-
import 'antd/es/list/style';
|
|
18
|
-
import 'antd/es/list';
|
|
19
|
-
import 'antd/es/tooltip/style';
|
|
20
|
-
import 'antd/es/tooltip';
|
|
21
|
-
import '@ant-design/icons';
|
|
22
9
|
import 'classnames';
|
|
23
|
-
import 'antd/es/spin/style';
|
|
24
|
-
import 'antd/es/spin';
|
|
25
10
|
import '@lm_fe/components_m';
|
|
26
|
-
import 'antd/es/form/style';
|
|
27
|
-
import 'antd/es/form';
|
|
28
|
-
import 'antd/es/result/style';
|
|
29
|
-
import 'antd/es/result';
|
|
30
|
-
import 'antd/es/menu/style';
|
|
31
|
-
import 'antd/es/menu';
|
|
32
|
-
import 'antd/es/message/style';
|
|
33
|
-
import 'antd/es/message';
|
|
34
|
-
import 'antd/es/space/style';
|
|
35
|
-
import 'antd/es/space';
|
|
36
11
|
import '@lm_fe/env';
|
|
37
|
-
import '
|
|
38
|
-
import 'antd/es/divider/style';
|
|
39
|
-
import 'antd/es/divider';
|
|
12
|
+
import '@lm_fe/provoke';
|
|
40
13
|
LazyAntd.Tree;
|
|
41
14
|
LazyAntd.TreeSelect;
|
|
42
15
|
LazyAntd.Select;
|
|
@@ -125,11 +98,11 @@ function Test(_a) {
|
|
|
125
98
|
marginLeft: '15px',
|
|
126
99
|
marginBottom: '15px'
|
|
127
100
|
}
|
|
128
|
-
}, /*#__PURE__*/React.createElement("span", null,
|
|
101
|
+
}, /*#__PURE__*/React.createElement("span", null, get(headerInfo, 'name')), " \xA0\xA0\xA0\xA0", /*#__PURE__*/React.createElement("span", null, "\u5C31\u8BCA\u5361\u53F7\uFF1A", get(headerInfo, 'outpatientNO')), "\xA0\xA0\xA0\xA0", /*#__PURE__*/React.createElement("span", null, "\u5E74\u9F84\uFF1A", get(headerInfo, 'age'))), renderTable());
|
|
129
102
|
};
|
|
130
103
|
var buttons = [/*#__PURE__*/React.createElement(ReactToPrint, {
|
|
131
104
|
trigger: function trigger() {
|
|
132
|
-
return /*#__PURE__*/React.createElement(
|
|
105
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
133
106
|
type: "primary"
|
|
134
107
|
}, "\u6253\u5370\u6700\u65B0\u8BCA\u65AD");
|
|
135
108
|
},
|
|
@@ -137,8 +110,8 @@ function Test(_a) {
|
|
|
137
110
|
return printDiagRef.current;
|
|
138
111
|
}
|
|
139
112
|
})];
|
|
140
|
-
return /*#__PURE__*/React.createElement(
|
|
141
|
-
|
|
113
|
+
return /*#__PURE__*/React.createElement(Modal, __assign({}, others, {
|
|
114
|
+
open: visible,
|
|
142
115
|
width: '80%',
|
|
143
116
|
footer: buttons,
|
|
144
117
|
onCancel: onCancel,
|
|
@@ -147,7 +120,7 @@ function Test(_a) {
|
|
|
147
120
|
},
|
|
148
121
|
bodyStyle: {
|
|
149
122
|
height: '80vh',
|
|
150
|
-
overflowY: '
|
|
123
|
+
overflowY: 'auto'
|
|
151
124
|
},
|
|
152
125
|
destroyOnClose: true,
|
|
153
126
|
className: "diag-record-modal",
|
|
@@ -155,4 +128,3 @@ function Test(_a) {
|
|
|
155
128
|
}), renderTable(), renderPrint());
|
|
156
129
|
}
|
|
157
130
|
export { Test as default };
|
|
158
|
-
//# sourceMappingURL=.root22.js.map
|