@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,72 +1,21 @@
|
|
|
1
|
-
import 'antd
|
|
2
|
-
import _Button from 'antd/es/button';
|
|
3
|
-
import 'antd/es/layout/style';
|
|
4
|
-
import _Layout from 'antd/es/layout';
|
|
1
|
+
import { Input, Button, Form, Radio, Divider, Row, Col, AutoComplete, InputNumber, Steps, Popconfirm, Tag, Typography, Popover, Layout } from 'antd';
|
|
5
2
|
import React$1, { useState, useEffect, useRef, useCallback, useMemo } from 'react';
|
|
6
3
|
import { useDrag, useDrop, DndProvider } from 'react-dnd';
|
|
7
4
|
import { HTML5Backend } from 'react-dnd-html5-backend';
|
|
8
5
|
import store from 'store';
|
|
9
|
-
import {
|
|
6
|
+
import { c as __extends, d as __spreadArray, _ as __awaiter, a as __generator, b as __assign, e as __rest } from './tslib.es6.js';
|
|
10
7
|
import dayjs from 'dayjs';
|
|
11
|
-
import _set from 'lodash/set';
|
|
12
|
-
import _get from 'lodash/get';
|
|
13
8
|
import { fubaoRequest, formatDate } from '@lm_fe/utils';
|
|
14
|
-
import '
|
|
15
|
-
import _message from 'antd/es/message';
|
|
9
|
+
import { get, debounce, set, map } from 'lodash';
|
|
16
10
|
import { SLocal_State, ModelService, mchcEnums } from '@lm_fe/service';
|
|
17
|
-
import '
|
|
18
|
-
import _Row from 'antd/es/row';
|
|
19
|
-
import 'antd/es/input-number/style';
|
|
20
|
-
import _InputNumber from 'antd/es/input-number';
|
|
21
|
-
import 'antd/es/auto-complete/style';
|
|
22
|
-
import _AutoComplete from 'antd/es/auto-complete';
|
|
23
|
-
import 'antd/es/col/style';
|
|
24
|
-
import _Col from 'antd/es/col';
|
|
25
|
-
import 'antd/es/divider/style';
|
|
26
|
-
import _Divider from 'antd/es/divider';
|
|
27
|
-
import 'antd/es/input/style';
|
|
28
|
-
import _Input from 'antd/es/input';
|
|
29
|
-
import 'antd/es/form/style';
|
|
30
|
-
import _Form from 'antd/es/form';
|
|
31
|
-
import _debounce from 'lodash/debounce';
|
|
11
|
+
import { mchcEnv, mchcLogger } from '@lm_fe/env';
|
|
32
12
|
import { LazyAntd, DatePicker_L } from '@lm_fe/components';
|
|
33
|
-
import { mchcLogger } from '@lm_fe/env';
|
|
34
13
|
import { r as renderForm0_shared, v as valueToForm } from './ModalForm.js';
|
|
35
|
-
import { _ as _extends } from './extends.js';
|
|
36
|
-
import 'antd/es/radio/style';
|
|
37
|
-
import _Radio from 'antd/es/radio';
|
|
38
|
-
import 'antd/es/steps/style';
|
|
39
|
-
import _Steps from 'antd/es/steps';
|
|
40
14
|
import { mchcModal__ } from '@lm_fe/pages';
|
|
41
|
-
import 'antd/es/typography/style';
|
|
42
|
-
import _Typography from 'antd/es/typography';
|
|
43
|
-
import 'antd/es/tag/style';
|
|
44
|
-
import _Tag from 'antd/es/tag';
|
|
45
|
-
import 'antd/es/popconfirm/style';
|
|
46
|
-
import _Popconfirm from 'antd/es/popconfirm';
|
|
47
15
|
import { CloseOutlined, DownOutlined, UpOutlined, ExclamationCircleOutlined, QuestionCircleOutlined, EditOutlined, DeleteOutlined, PlusCircleOutlined, LeftOutlined, RightOutlined, SyncOutlined } from '@ant-design/icons';
|
|
48
16
|
import { s as styleInject } from './style-inject.es.js';
|
|
49
|
-
import 'antd/es/popover/style';
|
|
50
|
-
import _Popover from 'antd/es/popover';
|
|
51
|
-
import _map from 'lodash/map';
|
|
52
17
|
import { N as NurseTypesMapping } from './config.js';
|
|
53
|
-
import 'antd/es/modal/style';
|
|
54
|
-
import 'antd/es/modal';
|
|
55
|
-
import 'antd/es/tabs/style';
|
|
56
|
-
import 'antd/es/tabs';
|
|
57
|
-
import 'lodash/isEmpty';
|
|
58
|
-
import 'antd/es/checkbox/style';
|
|
59
|
-
import 'antd/es/checkbox';
|
|
60
|
-
import 'lodash/cloneDeep';
|
|
61
|
-
import 'lodash/indexOf';
|
|
62
|
-
import 'lodash/filter';
|
|
63
18
|
import '@lm_fe/components_m';
|
|
64
|
-
import 'lodash/isEqual';
|
|
65
|
-
import 'antd/es/space/style';
|
|
66
|
-
import 'antd/es/space';
|
|
67
|
-
import 'lodash/join';
|
|
68
|
-
import 'lodash/dropRight';
|
|
69
|
-
import 'lodash/isNil';
|
|
70
19
|
var START_HOUR = 8;
|
|
71
20
|
var END_HOUR = 18;
|
|
72
21
|
var DIFF_HOUR = END_HOUR - START_HOUR;
|
|
@@ -126,7 +75,7 @@ var MY_ModelService$1 = function (_super) {
|
|
|
126
75
|
method: 'POST',
|
|
127
76
|
data: this.transferSubmitData(data)
|
|
128
77
|
}).then(function (r) {
|
|
129
|
-
|
|
78
|
+
mchcEnv.info(r.msg);
|
|
130
79
|
return _this.transferSourceData(r.data);
|
|
131
80
|
});
|
|
132
81
|
};
|
|
@@ -135,7 +84,7 @@ var MY_ModelService$1 = function (_super) {
|
|
|
135
84
|
url: "/api/family/planning/cancelAppointmentSurgery/".concat(id),
|
|
136
85
|
method: 'DELETE'
|
|
137
86
|
}).then(function (r) {
|
|
138
|
-
|
|
87
|
+
mchcEnv.info(get(r, 'data.msg'));
|
|
139
88
|
});
|
|
140
89
|
};
|
|
141
90
|
MY_ModelService.prototype.getOptionalPregnancyList = function (name) {
|
|
@@ -317,7 +266,7 @@ var InformedConsentTable = function InformedConsentTable(_a) {
|
|
|
317
266
|
dataIndex: 'consentName',
|
|
318
267
|
width: 350,
|
|
319
268
|
render: function render(a, b) {
|
|
320
|
-
return /*#__PURE__*/React$1.createElement(
|
|
269
|
+
return /*#__PURE__*/React$1.createElement(Input, {
|
|
321
270
|
disabled: disabled,
|
|
322
271
|
value: a,
|
|
323
272
|
onChange: function onChange(e) {
|
|
@@ -354,7 +303,7 @@ var InformedConsentTable = function InformedConsentTable(_a) {
|
|
|
354
303
|
dataIndex: '',
|
|
355
304
|
align: 'center',
|
|
356
305
|
render: function render(a, b, idx) {
|
|
357
|
-
return /*#__PURE__*/React$1.createElement(
|
|
306
|
+
return /*#__PURE__*/React$1.createElement(Button, {
|
|
358
307
|
disabled: disabled,
|
|
359
308
|
onClick: function onClick() {
|
|
360
309
|
_data.splice(idx, 1);
|
|
@@ -363,7 +312,7 @@ var InformedConsentTable = function InformedConsentTable(_a) {
|
|
|
363
312
|
}, "\u5220\u9664");
|
|
364
313
|
}
|
|
365
314
|
}]
|
|
366
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
315
|
+
}), /*#__PURE__*/React$1.createElement(Button, {
|
|
367
316
|
disabled: disabled,
|
|
368
317
|
block: true,
|
|
369
318
|
onClick: function onClick() {
|
|
@@ -435,10 +384,10 @@ var StupidRadioGroup = function StupidRadioGroup(props) {
|
|
|
435
384
|
value = props.value,
|
|
436
385
|
disabled = props.disabled,
|
|
437
386
|
others = __rest(props, ["options", "name", "value", "disabled"]);
|
|
438
|
-
var fuckInputNode = /*#__PURE__*/React$1.createElement(
|
|
387
|
+
var fuckInputNode = /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
439
388
|
name: "".concat(name, "Note"),
|
|
440
389
|
noStyle: true
|
|
441
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
390
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
442
391
|
size: "small",
|
|
443
392
|
disabled: disabled,
|
|
444
393
|
style: {
|
|
@@ -448,13 +397,13 @@ var StupidRadioGroup = function StupidRadioGroup(props) {
|
|
|
448
397
|
width: 60
|
|
449
398
|
}
|
|
450
399
|
}));
|
|
451
|
-
return /*#__PURE__*/React$1.createElement(
|
|
400
|
+
return /*#__PURE__*/React$1.createElement(Radio.Group, __assign({}, others, {
|
|
452
401
|
value: value,
|
|
453
402
|
disabled: disabled
|
|
454
403
|
}), options === null || options === void 0 ? void 0 : options.map(function (_) {
|
|
455
404
|
var isActive = value == _.value;
|
|
456
405
|
var style = Object.assign({}, isActive ? _.activeStyle : {});
|
|
457
|
-
return /*#__PURE__*/React$1.createElement(
|
|
406
|
+
return /*#__PURE__*/React$1.createElement(Radio, {
|
|
458
407
|
key: _.value.toString(),
|
|
459
408
|
value: _.value
|
|
460
409
|
}, /*#__PURE__*/React$1.createElement("span", {
|
|
@@ -468,7 +417,7 @@ var Select$1 = LazyAntd.Select;
|
|
|
468
417
|
LazyAntd.Table;
|
|
469
418
|
LazyAntd.Dropdown;
|
|
470
419
|
LazyAntd.Pagination;
|
|
471
|
-
var Item$2 =
|
|
420
|
+
var Item$2 = Form.Item;
|
|
472
421
|
var requiredRule = [{
|
|
473
422
|
required: true,
|
|
474
423
|
message: ''
|
|
@@ -597,12 +546,12 @@ var Form0 = function Form0(_a) {
|
|
|
597
546
|
}
|
|
598
547
|
form._validateFields = doid;
|
|
599
548
|
form._save = doid;
|
|
600
|
-
var searchName = useCallback(
|
|
549
|
+
var searchName = useCallback(debounce(function (v) {
|
|
601
550
|
return SModel_EarlyPregnancyCheckSurgeryType.getOptionalPregnancyList(v).then(setOptionalPregnancy);
|
|
602
551
|
}, 500), []);
|
|
603
552
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
604
553
|
className: "stupid-modal-body"
|
|
605
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
554
|
+
}, /*#__PURE__*/React$1.createElement(Form, {
|
|
606
555
|
form: form,
|
|
607
556
|
labelCol: {
|
|
608
557
|
xs: 6
|
|
@@ -614,7 +563,7 @@ var Form0 = function Form0(_a) {
|
|
|
614
563
|
console.log('props', a);
|
|
615
564
|
set_formData(b);
|
|
616
565
|
}
|
|
617
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
566
|
+
}, /*#__PURE__*/React$1.createElement(Divider, null, "\u60A3\u8005\u4FE1\u606F "), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
618
567
|
xs: 8,
|
|
619
568
|
hidden: true
|
|
620
569
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
@@ -623,14 +572,14 @@ var Form0 = function Form0(_a) {
|
|
|
623
572
|
rules: [{
|
|
624
573
|
required: false
|
|
625
574
|
}]
|
|
626
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
575
|
+
}, /*#__PURE__*/React$1.createElement(Input, null))), /*#__PURE__*/React$1.createElement(Col, {
|
|
627
576
|
xs: 8
|
|
628
577
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
629
578
|
hidden: !!(remoteData === null || remoteData === void 0 ? void 0 : remoteData.id),
|
|
630
579
|
label: "\u59D3\u540D",
|
|
631
580
|
name: "name",
|
|
632
581
|
rules: requiredRule
|
|
633
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
582
|
+
}, /*#__PURE__*/React$1.createElement(AutoComplete, {
|
|
634
583
|
showSearch: true,
|
|
635
584
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
636
585
|
options: optionalPregnancy.map(function (_) {
|
|
@@ -655,33 +604,33 @@ var Form0 = function Form0(_a) {
|
|
|
655
604
|
label: "\u59D3\u540D",
|
|
656
605
|
name: "name",
|
|
657
606
|
rules: requiredRule
|
|
658
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
607
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
659
608
|
disabled: selected || disabled
|
|
660
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
609
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
661
610
|
xs: 8
|
|
662
611
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
663
612
|
label: "\u95E8\u8BCA\u53F7",
|
|
664
613
|
name: "outpatientNo",
|
|
665
614
|
rules: requiredRule
|
|
666
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
615
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
667
616
|
disabled: selected || disabled
|
|
668
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
617
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
669
618
|
xs: 8
|
|
670
619
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
671
620
|
label: "\u8BC1\u4EF6\u53F7\u7801",
|
|
672
621
|
name: "idNO",
|
|
673
622
|
rules: requiredRule
|
|
674
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
623
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
675
624
|
disabled: selected || disabled
|
|
676
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
625
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
677
626
|
xs: 8
|
|
678
627
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
679
628
|
label: "\u624B\u673A\u53F7\u7801",
|
|
680
629
|
name: "telephone",
|
|
681
630
|
rules: requiredRule
|
|
682
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
631
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
683
632
|
disabled: selected || disabled
|
|
684
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
633
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
685
634
|
xs: 16
|
|
686
635
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
687
636
|
label: "\u5BB6\u5EAD\u5730\u5740",
|
|
@@ -692,9 +641,9 @@ var Form0 = function Form0(_a) {
|
|
|
692
641
|
wrapperCol: {
|
|
693
642
|
xs: 19
|
|
694
643
|
}
|
|
695
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
644
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
696
645
|
disabled: selected || disabled
|
|
697
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
646
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
698
647
|
xs: 16
|
|
699
648
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
700
649
|
label: "\u672F\u524D\u8BCA\u65AD",
|
|
@@ -708,9 +657,9 @@ var Form0 = function Form0(_a) {
|
|
|
708
657
|
rules: [{
|
|
709
658
|
required: false
|
|
710
659
|
}]
|
|
711
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
660
|
+
}, /*#__PURE__*/React$1.createElement(Input.TextArea, {
|
|
712
661
|
disabled: disabled
|
|
713
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
662
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
714
663
|
xs: 8
|
|
715
664
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
716
665
|
label: "\u63A5\u8BCA\u65E5\u671F",
|
|
@@ -721,7 +670,7 @@ var Form0 = function Form0(_a) {
|
|
|
721
670
|
}, /*#__PURE__*/React$1.createElement(DatePicker_L, {
|
|
722
671
|
format: "YYYY-MM-DD",
|
|
723
672
|
disabled: selected || disabled
|
|
724
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
673
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
725
674
|
xs: 16
|
|
726
675
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
727
676
|
label: "\u533B\u5631",
|
|
@@ -735,9 +684,9 @@ var Form0 = function Form0(_a) {
|
|
|
735
684
|
rules: [{
|
|
736
685
|
required: false
|
|
737
686
|
}]
|
|
738
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
687
|
+
}, /*#__PURE__*/React$1.createElement(Input.TextArea, {
|
|
739
688
|
disabled: disabled
|
|
740
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
689
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
741
690
|
xs: 8
|
|
742
691
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
743
692
|
label: "\u63A5\u8BCA\u533B\u751F",
|
|
@@ -751,7 +700,7 @@ var Form0 = function Form0(_a) {
|
|
|
751
700
|
};
|
|
752
701
|
}),
|
|
753
702
|
disabled: disabled
|
|
754
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
703
|
+
}))), /*#__PURE__*/React$1.createElement(Divider, null, "\u672F\u524D\u68C0\u67E5"), /*#__PURE__*/React$1.createElement(Col, {
|
|
755
704
|
xs: 8
|
|
756
705
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
757
706
|
label: "HIV",
|
|
@@ -760,7 +709,7 @@ var Form0 = function Form0(_a) {
|
|
|
760
709
|
name: "hiv",
|
|
761
710
|
options: examStatusOptions,
|
|
762
711
|
disabled: disabled
|
|
763
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
712
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
764
713
|
xs: 8
|
|
765
714
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
766
715
|
label: "\u6885\u6BD2",
|
|
@@ -769,7 +718,7 @@ var Form0 = function Form0(_a) {
|
|
|
769
718
|
name: "syphilis",
|
|
770
719
|
options: examStatusOptions,
|
|
771
720
|
disabled: disabled
|
|
772
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
721
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
773
722
|
xs: 8
|
|
774
723
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
775
724
|
label: "\u4E59\u809D",
|
|
@@ -778,7 +727,7 @@ var Form0 = function Form0(_a) {
|
|
|
778
727
|
name: "hepatitisB",
|
|
779
728
|
options: examStatusOptions,
|
|
780
729
|
disabled: disabled
|
|
781
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
730
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
782
731
|
xs: 8
|
|
783
732
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
784
733
|
label: "\u4E19\u809D",
|
|
@@ -787,7 +736,7 @@ var Form0 = function Form0(_a) {
|
|
|
787
736
|
name: "hepatitisC",
|
|
788
737
|
options: examStatusOptions,
|
|
789
738
|
disabled: disabled
|
|
790
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
739
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
791
740
|
xs: 8
|
|
792
741
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
793
742
|
label: "\u51DD\u8840\u529F\u80FD",
|
|
@@ -796,7 +745,7 @@ var Form0 = function Form0(_a) {
|
|
|
796
745
|
name: "sixCoagulation",
|
|
797
746
|
options: examStatusOptions,
|
|
798
747
|
disabled: disabled
|
|
799
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
748
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
800
749
|
xs: 8
|
|
801
750
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
802
751
|
label: "\u767D\u5E26",
|
|
@@ -805,7 +754,7 @@ var Form0 = function Form0(_a) {
|
|
|
805
754
|
name: "leucorrhea",
|
|
806
755
|
options: examStatusOptions,
|
|
807
756
|
disabled: disabled
|
|
808
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
757
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
809
758
|
xs: 8
|
|
810
759
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
811
760
|
label: "\u6838\u9178",
|
|
@@ -814,31 +763,31 @@ var Form0 = function Form0(_a) {
|
|
|
814
763
|
name: "nat",
|
|
815
764
|
options: examStatusOptions,
|
|
816
765
|
disabled: disabled
|
|
817
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
766
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
818
767
|
xs: 8
|
|
819
768
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
820
769
|
label: "HB",
|
|
821
770
|
name: "hb"
|
|
822
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
771
|
+
}, /*#__PURE__*/React$1.createElement(InputNumber, {
|
|
823
772
|
addonAfter: "g/L",
|
|
824
773
|
disabled: disabled
|
|
825
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
774
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
826
775
|
xs: 8
|
|
827
776
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
828
777
|
label: "MCV",
|
|
829
778
|
name: "mcv"
|
|
830
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
779
|
+
}, /*#__PURE__*/React$1.createElement(InputNumber, {
|
|
831
780
|
addonAfter: "fL",
|
|
832
781
|
disabled: disabled
|
|
833
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
782
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
834
783
|
xs: 8
|
|
835
784
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
836
785
|
label: "PLT",
|
|
837
786
|
name: "plt"
|
|
838
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
787
|
+
}, /*#__PURE__*/React$1.createElement(InputNumber, {
|
|
839
788
|
addonAfter: "10^9/L",
|
|
840
789
|
disabled: disabled
|
|
841
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
790
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
842
791
|
xs: 8
|
|
843
792
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
844
793
|
label: "\u9EBB\u9189\u8BC4\u4F30",
|
|
@@ -847,7 +796,7 @@ var Form0 = function Form0(_a) {
|
|
|
847
796
|
name: "preanestheticEvaluation",
|
|
848
797
|
options: examStatusOptions,
|
|
849
798
|
disabled: disabled
|
|
850
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
799
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
851
800
|
xs: 8
|
|
852
801
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
853
802
|
label: "\u5FC3\u7535\u56FE",
|
|
@@ -862,7 +811,7 @@ var Form0 = function Form0(_a) {
|
|
|
862
811
|
return informedConsents.current = v;
|
|
863
812
|
},
|
|
864
813
|
data: (_c = commonData === null || commonData === void 0 ? void 0 : commonData.data) === null || _c === void 0 ? void 0 : _c.informedConsents
|
|
865
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
814
|
+
}), /*#__PURE__*/React$1.createElement(Divider, null, "\u624B\u672F\u9884\u7EA6"), /*#__PURE__*/React$1.createElement(Col, {
|
|
866
815
|
xs: 8
|
|
867
816
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
868
817
|
label: "\u624B\u672F\u540D\u79F0",
|
|
@@ -882,7 +831,7 @@ var Form0 = function Form0(_a) {
|
|
|
882
831
|
setTracingFormVisible(['人工流产', '药物流产'].includes(target) || __DEV__);
|
|
883
832
|
}
|
|
884
833
|
}
|
|
885
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
834
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
886
835
|
xs: 8
|
|
887
836
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
888
837
|
label: "\u9884\u7EA6\u65E5\u671F",
|
|
@@ -900,9 +849,9 @@ var Form0 = function Form0(_a) {
|
|
|
900
849
|
});
|
|
901
850
|
return getAttendanceOfThisDay(target) === '休息';
|
|
902
851
|
}
|
|
903
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
852
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
904
853
|
xs: 8
|
|
905
|
-
}, /*#__PURE__*/React$1.createElement("div", null, "\u5269\u4F59\u53F7\u6E90\uFF1A", all - reserved, "\uFF0C\u5DF2\u9884\u7EA6\uFF1A", reserved, "\uFF0C\u5F00\u653E\u53F7\u6E90\uFF1A", all)), /*#__PURE__*/React$1.createElement(
|
|
854
|
+
}, /*#__PURE__*/React$1.createElement("div", null, "\u5269\u4F59\u53F7\u6E90\uFF1A", all - reserved, "\uFF0C\u5DF2\u9884\u7EA6\uFF1A", reserved, "\uFF0C\u5F00\u653E\u53F7\u6E90\uFF1A", all)), /*#__PURE__*/React$1.createElement(Col, {
|
|
906
855
|
xs: 8
|
|
907
856
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
908
857
|
label: "\u65F6\u95F4\u6BB5",
|
|
@@ -919,7 +868,7 @@ var Form0 = function Form0(_a) {
|
|
|
919
868
|
disabled: checkDisabledHalfDay(scheduleData, _)
|
|
920
869
|
};
|
|
921
870
|
})
|
|
922
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
871
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
923
872
|
xs: 8
|
|
924
873
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
925
874
|
label: "\u7F34\u8D39\u60C5\u51B5",
|
|
@@ -933,9 +882,9 @@ var Form0 = function Form0(_a) {
|
|
|
933
882
|
};
|
|
934
883
|
}),
|
|
935
884
|
placeholder: "\u672A\u7F34\u8D39"
|
|
936
|
-
}))), tracingFormVisible && /*#__PURE__*/React$1.createElement(
|
|
885
|
+
}))), tracingFormVisible && (/*#__PURE__*/React$1.createElement(Col, {
|
|
937
886
|
xs: 24
|
|
938
|
-
}, renderForm0_shared('首次随访', false, remoteData, false, function () {}))), /*#__PURE__*/React$1.createElement(
|
|
887
|
+
}, renderForm0_shared('首次随访', false, remoteData, false, function () {})))), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
939
888
|
xs: 8
|
|
940
889
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
941
890
|
label: "\u767B\u8BB0\u65E5\u671F",
|
|
@@ -944,7 +893,7 @@ var Form0 = function Form0(_a) {
|
|
|
944
893
|
}, /*#__PURE__*/React$1.createElement(DatePicker_L, {
|
|
945
894
|
format: "YYYY-MM-DD",
|
|
946
895
|
disabled: true
|
|
947
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
896
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
948
897
|
xs: 8
|
|
949
898
|
}, /*#__PURE__*/React$1.createElement(Item$2, {
|
|
950
899
|
label: "\u767B\u8BB0\u8005",
|
|
@@ -973,8 +922,8 @@ var Select = LazyAntd.Select;
|
|
|
973
922
|
LazyAntd.Table;
|
|
974
923
|
LazyAntd.Dropdown;
|
|
975
924
|
LazyAntd.Pagination;
|
|
976
|
-
var Item$1 =
|
|
977
|
-
|
|
925
|
+
var Item$1 = Form.Item;
|
|
926
|
+
Radio.Group;
|
|
978
927
|
var Form1 = function Form1(_a) {
|
|
979
928
|
var _b, _c;
|
|
980
929
|
var form = _a.form,
|
|
@@ -1006,7 +955,7 @@ var Form1 = function Form1(_a) {
|
|
|
1006
955
|
}
|
|
1007
956
|
return function () {};
|
|
1008
957
|
}, [commonData]);
|
|
1009
|
-
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(
|
|
958
|
+
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Form, {
|
|
1010
959
|
form: form,
|
|
1011
960
|
labelCol: {
|
|
1012
961
|
xs: 6
|
|
@@ -1015,7 +964,7 @@ var Form1 = function Form1(_a) {
|
|
|
1015
964
|
xs: 14
|
|
1016
965
|
},
|
|
1017
966
|
onValuesChange: function onValuesChange(a, b) {}
|
|
1018
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
967
|
+
}, /*#__PURE__*/React$1.createElement(Divider, null, "\u57FA\u672C\u4FE1\u606F"), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1019
968
|
xs: 8,
|
|
1020
969
|
hidden: true
|
|
1021
970
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
@@ -1024,10 +973,10 @@ var Form1 = function Form1(_a) {
|
|
|
1024
973
|
rules: [{
|
|
1025
974
|
required: false
|
|
1026
975
|
}]
|
|
1027
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
976
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1028
977
|
placeholder: "\u8BF7\u8F93\u5165\u624B\u672F\u5BA4",
|
|
1029
978
|
disabled: true
|
|
1030
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
979
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1031
980
|
xs: 8
|
|
1032
981
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1033
982
|
label: "\u59D3\u540D",
|
|
@@ -1035,43 +984,43 @@ var Form1 = function Form1(_a) {
|
|
|
1035
984
|
rules: [{
|
|
1036
985
|
required: false
|
|
1037
986
|
}]
|
|
1038
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
987
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1039
988
|
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D",
|
|
1040
989
|
disabled: true
|
|
1041
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
990
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1042
991
|
xs: 8
|
|
1043
992
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1044
993
|
label: "\u95E8\u8BCA\u53F7",
|
|
1045
994
|
name: "outpatientNo"
|
|
1046
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
995
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1047
996
|
placeholder: "\u8BF7\u8F93\u5165\u95E8\u8BCA\u53F7",
|
|
1048
997
|
disabled: true
|
|
1049
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
998
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1050
999
|
xs: 8
|
|
1051
1000
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1052
1001
|
label: "\u8BC1\u4EF6\u53F7\u7801",
|
|
1053
1002
|
name: "idNO"
|
|
1054
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1003
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1055
1004
|
placeholder: "\u8BF7\u8F93\u5165\u8BC1\u4EF6\u53F7\u7801",
|
|
1056
1005
|
disabled: true
|
|
1057
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1006
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1058
1007
|
xs: 8
|
|
1059
1008
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1060
1009
|
label: "\u624B\u673A\u53F7\u7801",
|
|
1061
1010
|
name: "telephone",
|
|
1062
1011
|
rules: [{}]
|
|
1063
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1012
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1064
1013
|
placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801",
|
|
1065
1014
|
disabled: true
|
|
1066
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1015
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1067
1016
|
xs: 8
|
|
1068
1017
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1069
1018
|
label: "\u5BB6\u5EAD\u5730\u5740",
|
|
1070
1019
|
name: "residenceAddress"
|
|
1071
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1020
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1072
1021
|
placeholder: "\u8BF7\u8F93\u5165\u5BB6\u5EAD\u5730\u5740",
|
|
1073
1022
|
disabled: true
|
|
1074
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1023
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1075
1024
|
xs: 8
|
|
1076
1025
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1077
1026
|
label: "\u63A5\u8BCA\u65E5\u671F",
|
|
@@ -1083,7 +1032,7 @@ var Form1 = function Form1(_a) {
|
|
|
1083
1032
|
placeholder: "\u8BF7\u8F93\u5165\u63A5\u8BCA\u65E5\u671F",
|
|
1084
1033
|
format: "YYYY-MM-DD",
|
|
1085
1034
|
disabled: true
|
|
1086
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1035
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1087
1036
|
xs: 16
|
|
1088
1037
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1089
1038
|
label: "\u533B\u5631",
|
|
@@ -1097,10 +1046,10 @@ var Form1 = function Form1(_a) {
|
|
|
1097
1046
|
rules: [{
|
|
1098
1047
|
required: false
|
|
1099
1048
|
}]
|
|
1100
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1049
|
+
}, /*#__PURE__*/React$1.createElement(Input.TextArea, {
|
|
1101
1050
|
placeholder: "\u8BF7\u8F93\u5165\u533B\u5631",
|
|
1102
1051
|
disabled: true
|
|
1103
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1052
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1104
1053
|
xs: 8
|
|
1105
1054
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1106
1055
|
label: "\u63A5\u8BCA\u533B\u751F",
|
|
@@ -1114,15 +1063,15 @@ var Form1 = function Form1(_a) {
|
|
|
1114
1063
|
value: _
|
|
1115
1064
|
};
|
|
1116
1065
|
})
|
|
1117
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1066
|
+
}))), /*#__PURE__*/React$1.createElement(Divider, null, "\u624B\u672F\u9884\u7EA6"), /*#__PURE__*/React$1.createElement(Col, {
|
|
1118
1067
|
xs: 8
|
|
1119
1068
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1120
1069
|
label: "\u624B\u672F\u540D\u79F0",
|
|
1121
1070
|
name: "operationName"
|
|
1122
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1071
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1123
1072
|
disabled: true,
|
|
1124
1073
|
placeholder: "\u8BF7\u8F93\u5165\u624B\u672F\u540D\u79F0"
|
|
1125
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1074
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1126
1075
|
xs: 8
|
|
1127
1076
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1128
1077
|
label: "\u767B\u8BB0\u8005",
|
|
@@ -1136,7 +1085,7 @@ var Form1 = function Form1(_a) {
|
|
|
1136
1085
|
value: _
|
|
1137
1086
|
};
|
|
1138
1087
|
})
|
|
1139
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1088
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1140
1089
|
xs: 8
|
|
1141
1090
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1142
1091
|
label: "\u9884\u7EA6\u65E5\u671F",
|
|
@@ -1149,7 +1098,7 @@ var Form1 = function Form1(_a) {
|
|
|
1149
1098
|
placeholder: "\u8BF7\u8F93\u5165\u9884\u7EA6\u65F6\u95F4",
|
|
1150
1099
|
format: "YYYY-MM-DD",
|
|
1151
1100
|
disabled: true
|
|
1152
|
-
})))), /*#__PURE__*/React$1.createElement(
|
|
1101
|
+
})))), /*#__PURE__*/React$1.createElement(Divider, null, "\u672F\u524D\u7B7E\u5230"), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
1153
1102
|
xs: 8
|
|
1154
1103
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1155
1104
|
label: "\u8840\u538B",
|
|
@@ -1158,9 +1107,9 @@ var Form1 = function Form1(_a) {
|
|
|
1158
1107
|
required: true,
|
|
1159
1108
|
message: ''
|
|
1160
1109
|
}]
|
|
1161
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1110
|
+
}, /*#__PURE__*/React$1.createElement(Input.Group, {
|
|
1162
1111
|
compact: true
|
|
1163
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1112
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1164
1113
|
rules: [{
|
|
1165
1114
|
required: true,
|
|
1166
1115
|
message: ''
|
|
@@ -1169,11 +1118,11 @@ var Form1 = function Form1(_a) {
|
|
|
1169
1118
|
style: {
|
|
1170
1119
|
width: '30%'
|
|
1171
1120
|
}
|
|
1172
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1121
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1173
1122
|
disabled: status === '已签到' ? false : isDone,
|
|
1174
1123
|
placeholder: "\u8212\u5F20\u538B",
|
|
1175
1124
|
type: "number"
|
|
1176
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
1125
|
+
})), /*#__PURE__*/React$1.createElement(Input, {
|
|
1177
1126
|
style: {
|
|
1178
1127
|
width: 30,
|
|
1179
1128
|
borderLeft: 0,
|
|
@@ -1184,7 +1133,7 @@ var Form1 = function Form1(_a) {
|
|
|
1184
1133
|
},
|
|
1185
1134
|
placeholder: "/",
|
|
1186
1135
|
disabled: true
|
|
1187
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
1136
|
+
}), /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
1188
1137
|
rules: [{
|
|
1189
1138
|
required: true,
|
|
1190
1139
|
message: ''
|
|
@@ -1193,11 +1142,11 @@ var Form1 = function Form1(_a) {
|
|
|
1193
1142
|
style: {
|
|
1194
1143
|
width: '30%'
|
|
1195
1144
|
}
|
|
1196
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1145
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1197
1146
|
disabled: status === '已签到' ? false : isDone,
|
|
1198
1147
|
placeholder: "\u6536\u7F29\u538B",
|
|
1199
1148
|
type: "number"
|
|
1200
|
-
}))))), /*#__PURE__*/React$1.createElement(
|
|
1149
|
+
}))))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1201
1150
|
xs: 8
|
|
1202
1151
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1203
1152
|
label: "\u4F53\u6E29",
|
|
@@ -1206,12 +1155,12 @@ var Form1 = function Form1(_a) {
|
|
|
1206
1155
|
required: true,
|
|
1207
1156
|
message: ''
|
|
1208
1157
|
}]
|
|
1209
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1158
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1210
1159
|
disabled: status === '已签到' ? false : isDone,
|
|
1211
1160
|
placeholder: "\u8BF7\u8F93\u5165\u4F53\u6E29",
|
|
1212
1161
|
type: "number",
|
|
1213
1162
|
addonAfter: "\xB0C"
|
|
1214
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1163
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1215
1164
|
xs: 8
|
|
1216
1165
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1217
1166
|
label: "\u662F\u5426\u7A7A\u8179",
|
|
@@ -1230,7 +1179,7 @@ var Form1 = function Form1(_a) {
|
|
|
1230
1179
|
withFuckedInput: !!i
|
|
1231
1180
|
};
|
|
1232
1181
|
})
|
|
1233
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1182
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1234
1183
|
xs: 24
|
|
1235
1184
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1236
1185
|
label: "\u5907\u6CE8",
|
|
@@ -1241,10 +1190,10 @@ var Form1 = function Form1(_a) {
|
|
|
1241
1190
|
wrapperCol: {
|
|
1242
1191
|
xs: 21
|
|
1243
1192
|
}
|
|
1244
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1193
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1245
1194
|
disabled: status === '已签到' ? false : isDone,
|
|
1246
1195
|
placeholder: "\u8BF7\u8F93\u5165\u5907\u6CE8"
|
|
1247
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1196
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1248
1197
|
xs: 8
|
|
1249
1198
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1250
1199
|
label: "\u7B7E\u5230\u65F6\u95F4",
|
|
@@ -1254,12 +1203,12 @@ var Form1 = function Form1(_a) {
|
|
|
1254
1203
|
placeholder: "\u8BF7\u8F93\u5165\u7B7E\u5230\u65F6\u95F4",
|
|
1255
1204
|
format: "YYYY-MM-DD HH:mm",
|
|
1256
1205
|
showTime: true
|
|
1257
|
-
}))), /*#__PURE__*/React$1.createElement(
|
|
1206
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
1258
1207
|
xs: 8
|
|
1259
1208
|
}, /*#__PURE__*/React$1.createElement(Item$1, {
|
|
1260
1209
|
label: "\u7B7E\u5230\u767B\u8BB0\u8005",
|
|
1261
1210
|
name: "signInRegistrant"
|
|
1262
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1211
|
+
}, /*#__PURE__*/React$1.createElement(Input, {
|
|
1263
1212
|
disabled: status === '已签到' ? false : isDone,
|
|
1264
1213
|
placeholder: "\u8BF7\u8F93\u5165\u7B7E\u5230\u767B\u8BB0\u8005"
|
|
1265
1214
|
}))))));
|
|
@@ -1272,7 +1221,7 @@ var StepFrom = function StepFrom(props) {
|
|
|
1272
1221
|
currentStep = _a[0],
|
|
1273
1222
|
setCurrentStep = _a[1];
|
|
1274
1223
|
var forms = Array(data.length).fill(0).map(function (_) {
|
|
1275
|
-
return
|
|
1224
|
+
return Form.useForm()[0];
|
|
1276
1225
|
});
|
|
1277
1226
|
var _b = useState(),
|
|
1278
1227
|
commonData = _b[0],
|
|
@@ -1282,7 +1231,7 @@ var StepFrom = function StepFrom(props) {
|
|
|
1282
1231
|
setCommonData(initData);
|
|
1283
1232
|
}
|
|
1284
1233
|
}, [initData]);
|
|
1285
|
-
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(
|
|
1234
|
+
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Steps, {
|
|
1286
1235
|
current: currentStep,
|
|
1287
1236
|
style: {
|
|
1288
1237
|
marginBottom: 24
|
|
@@ -1291,7 +1240,7 @@ var StepFrom = function StepFrom(props) {
|
|
|
1291
1240
|
var title = _a.title,
|
|
1292
1241
|
subTitle = _a.subTitle,
|
|
1293
1242
|
description = _a.description;
|
|
1294
|
-
return /*#__PURE__*/React$1.createElement(
|
|
1243
|
+
return /*#__PURE__*/React$1.createElement(Steps.Step, {
|
|
1295
1244
|
key: idx,
|
|
1296
1245
|
title: title,
|
|
1297
1246
|
subTitle: subTitle,
|
|
@@ -1313,7 +1262,7 @@ var StepFrom = function StepFrom(props) {
|
|
|
1313
1262
|
justifyContent: 'center',
|
|
1314
1263
|
paddingTop: 12
|
|
1315
1264
|
}
|
|
1316
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1265
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
1317
1266
|
type: "primary",
|
|
1318
1267
|
hidden: currentStep === 0,
|
|
1319
1268
|
onClick: function onClick() {
|
|
@@ -1322,7 +1271,7 @@ var StepFrom = function StepFrom(props) {
|
|
|
1322
1271
|
style: {
|
|
1323
1272
|
marginLeft: 16
|
|
1324
1273
|
}
|
|
1325
|
-
}, "\u4E0A\u4E00\u9875"), /*#__PURE__*/React$1.createElement(
|
|
1274
|
+
}, "\u4E0A\u4E00\u9875"), /*#__PURE__*/React$1.createElement(Button, {
|
|
1326
1275
|
type: "primary",
|
|
1327
1276
|
hidden: currentStep === data.length - 1,
|
|
1328
1277
|
onClick: function onClick() {
|
|
@@ -1331,9 +1280,9 @@ var StepFrom = function StepFrom(props) {
|
|
|
1331
1280
|
setCurrentStep(currentStep + 1);
|
|
1332
1281
|
});
|
|
1333
1282
|
}
|
|
1334
|
-
}, "\u4E0B\u4E00\u9875"), /*#__PURE__*/React$1.createElement(
|
|
1283
|
+
}, "\u4E0B\u4E00\u9875"), /*#__PURE__*/React$1.createElement(Button, {
|
|
1335
1284
|
type: "primary",
|
|
1336
|
-
hidden:
|
|
1285
|
+
hidden: get(initData, 'data.progressStatus') === 3 || get(initData, 'data.progressStatus') === 4,
|
|
1337
1286
|
onClick: function onClick() {
|
|
1338
1287
|
var _a;
|
|
1339
1288
|
return (_a = forms[currentStep]) === null || _a === void 0 ? void 0 : _a._save();
|
|
@@ -1341,7 +1290,7 @@ var StepFrom = function StepFrom(props) {
|
|
|
1341
1290
|
style: {
|
|
1342
1291
|
marginLeft: 16
|
|
1343
1292
|
}
|
|
1344
|
-
}, (
|
|
1293
|
+
}, (get(initData, 'data.progressStatus') === 0 || get(initData, 'data.progressStatus') === 2) && currentStep === 1 ? '保存并签到' : '保存')));
|
|
1345
1294
|
};
|
|
1346
1295
|
var BookingModalNew = function BookingModalNew(props) {
|
|
1347
1296
|
var step = props.step,
|
|
@@ -1387,14 +1336,14 @@ function getResidue(activeOperationType, scheduleDataOfThisDay) {
|
|
|
1387
1336
|
for (var _i = 0, activeOperationType_1 = activeOperationType; _i < activeOperationType_1.length; _i++) {
|
|
1388
1337
|
var item = activeOperationType_1[_i];
|
|
1389
1338
|
var key = OPERATION_NAME_MAP[item];
|
|
1390
|
-
var residueNum =
|
|
1339
|
+
var residueNum = get(scheduleDataOfThisDay, "".concat(key, "ResidueNum"));
|
|
1391
1340
|
var flag = true;
|
|
1392
|
-
if (residueNum === 0 || !
|
|
1341
|
+
if (residueNum === 0 || !get(scheduleDataOfThisDay, "".concat(key))) {
|
|
1393
1342
|
flag = false;
|
|
1394
1343
|
}
|
|
1395
1344
|
flagArr.push(flag);
|
|
1396
|
-
if (
|
|
1397
|
-
|
|
1345
|
+
if (get(scheduleDataOfThisDay, "".concat(key))) {
|
|
1346
|
+
set(obj, key, residueNum);
|
|
1398
1347
|
}
|
|
1399
1348
|
}
|
|
1400
1349
|
}
|
|
@@ -1837,7 +1786,7 @@ function Item(_a) {
|
|
|
1837
1786
|
onMouseLeave: function onMouseLeave(e) {
|
|
1838
1787
|
return setHidden(true);
|
|
1839
1788
|
}
|
|
1840
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1789
|
+
}, /*#__PURE__*/React$1.createElement(Popconfirm, {
|
|
1841
1790
|
title: "\u5173\u95ED\u540E\uFF0C\u5F85\u9884\u7EA6\u5217\u8868\u5219\u4E0D\u518D\u663E\u793A\u8BE5\u60A3\u8005\u3002",
|
|
1842
1791
|
onConfirm: function onConfirm() {
|
|
1843
1792
|
setIsDel(true);
|
|
@@ -1845,7 +1794,7 @@ function Item(_a) {
|
|
|
1845
1794
|
},
|
|
1846
1795
|
okText: "\u786E\u5B9A",
|
|
1847
1796
|
cancelText: "\u53D6\u6D88"
|
|
1848
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1797
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
1849
1798
|
className: "close",
|
|
1850
1799
|
type: "text",
|
|
1851
1800
|
style: {
|
|
@@ -1869,7 +1818,7 @@ function Item(_a) {
|
|
|
1869
1818
|
style: {
|
|
1870
1819
|
marginLeft: 12
|
|
1871
1820
|
}
|
|
1872
|
-
}, data.payment ? null : /*#__PURE__*/React$1.createElement(
|
|
1821
|
+
}, data.payment ? null : /*#__PURE__*/React$1.createElement(Tag, {
|
|
1873
1822
|
color: dangerColor
|
|
1874
1823
|
}, "\u672A\u7F34\u8D39"))), /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("span", {
|
|
1875
1824
|
style: {
|
|
@@ -1907,7 +1856,7 @@ function Item(_a) {
|
|
|
1907
1856
|
color: weakColor
|
|
1908
1857
|
}
|
|
1909
1858
|
}, title, "\uFF1A"), getA(data.preoperativeExamination, key)));
|
|
1910
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
1859
|
+
}), /*#__PURE__*/React$1.createElement(Button, {
|
|
1911
1860
|
type: "text",
|
|
1912
1861
|
style: {
|
|
1913
1862
|
position: 'absolute',
|
|
@@ -1943,7 +1892,7 @@ function WorkFlow$1(props) {
|
|
|
1943
1892
|
display: 'flex',
|
|
1944
1893
|
flexDirection: 'column'
|
|
1945
1894
|
}
|
|
1946
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
1895
|
+
}, /*#__PURE__*/React$1.createElement(Typography.Title, {
|
|
1947
1896
|
onClick: function onClick(e) {},
|
|
1948
1897
|
level: 5,
|
|
1949
1898
|
style: {
|
|
@@ -1966,7 +1915,7 @@ function WorkFlow$1(props) {
|
|
|
1966
1915
|
fontSize: 12,
|
|
1967
1916
|
paddingLeft: 8
|
|
1968
1917
|
}
|
|
1969
|
-
}, "(".concat(leftList.length, ")")))), /*#__PURE__*/React$1.createElement(
|
|
1918
|
+
}, "(".concat(leftList.length, ")")))), /*#__PURE__*/React$1.createElement(Input.Search, {
|
|
1970
1919
|
style: {
|
|
1971
1920
|
padding: 12
|
|
1972
1921
|
},
|
|
@@ -1981,9 +1930,9 @@ function WorkFlow$1(props) {
|
|
|
1981
1930
|
}
|
|
1982
1931
|
}), /*#__PURE__*/React$1.createElement("div", {
|
|
1983
1932
|
style: {
|
|
1984
|
-
overflowY: '
|
|
1933
|
+
overflowY: 'auto'
|
|
1985
1934
|
}
|
|
1986
|
-
}, leftList.length > 0 ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("ul", {
|
|
1935
|
+
}, leftList.length > 0 ? (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("ul", {
|
|
1987
1936
|
style: {
|
|
1988
1937
|
padding: '0 12px'
|
|
1989
1938
|
}
|
|
@@ -2010,7 +1959,7 @@ function WorkFlow$1(props) {
|
|
|
2010
1959
|
textAlign: 'center',
|
|
2011
1960
|
marginBottom: 16
|
|
2012
1961
|
}
|
|
2013
|
-
}, "\u6CA1\u6709\u66F4\u591A\u4E86")) : /*#__PURE__*/React$1.createElement("div", {
|
|
1962
|
+
}, "\u6CA1\u6709\u66F4\u591A\u4E86"))) : (/*#__PURE__*/React$1.createElement("div", {
|
|
2014
1963
|
style: {
|
|
2015
1964
|
fontSize: 12,
|
|
2016
1965
|
color: '#8D8DAC',
|
|
@@ -2022,7 +1971,7 @@ function WorkFlow$1(props) {
|
|
|
2022
1971
|
}
|
|
2023
1972
|
}, /*#__PURE__*/React$1.createElement("img", {
|
|
2024
1973
|
src: "/lm_imgs/gy-not-thing.png"
|
|
2025
|
-
})), /*#__PURE__*/React$1.createElement("div", null, "\u6682\u65E0\u7528\u6237\u9700\u8981\u9884\u7EA6"))));
|
|
1974
|
+
})), /*#__PURE__*/React$1.createElement("div", null, "\u6682\u65E0\u7528\u6237\u9700\u8981\u9884\u7EA6")))));
|
|
2026
1975
|
}
|
|
2027
1976
|
var OverlayType;
|
|
2028
1977
|
(function (OverlayType) {
|
|
@@ -2033,7 +1982,7 @@ var OverlayType;
|
|
|
2033
1982
|
var Overlay = function Overlay(_a) {
|
|
2034
1983
|
var type = _a.type;
|
|
2035
1984
|
var color = getOverlayColor(type);
|
|
2036
|
-
return
|
|
1985
|
+
return React.createElement("div", {
|
|
2037
1986
|
className: "overlay",
|
|
2038
1987
|
style: {
|
|
2039
1988
|
position: 'absolute',
|
|
@@ -2070,7 +2019,7 @@ var DropContainer = function DropContainer(_a) {
|
|
|
2070
2019
|
var isBefore = handleIsBefore(appointmentDate);
|
|
2071
2020
|
var isWeekend = isDisabled;
|
|
2072
2021
|
var isBeforeFlag = isBefore < 0 ? true : false;
|
|
2073
|
-
var schedulingFlag =
|
|
2022
|
+
var schedulingFlag = get(scheduling, 'attendanceSet') === 3 ? true : false;
|
|
2074
2023
|
var _b = useDrop({
|
|
2075
2024
|
accept: ItemTypes,
|
|
2076
2025
|
canDrop: function canDrop(item) {
|
|
@@ -2151,7 +2100,7 @@ function DateSelect$2(props) {
|
|
|
2151
2100
|
var rowHeight = "calc((100% - 30px) / ".concat(morningNum + afternoonNum, ")");
|
|
2152
2101
|
var residueObj = getResidue(activeOperationType, scheduleDataOfThisDay);
|
|
2153
2102
|
var getDateTips = function getDateTips() {
|
|
2154
|
-
var attendanceSet =
|
|
2103
|
+
var attendanceSet = get(scheduleDataOfThisDay, 'attendanceSet');
|
|
2155
2104
|
if (attendanceSet === 0) {
|
|
2156
2105
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
2157
2106
|
className: "date-tips-day date-tips"
|
|
@@ -2213,7 +2162,7 @@ function DateSelect$2(props) {
|
|
|
2213
2162
|
style: {
|
|
2214
2163
|
height: rowHeight
|
|
2215
2164
|
}
|
|
2216
|
-
}, rowIndex % ((morningNum + afternoonNum) / 2) === 0 ? /*#__PURE__*/React$1.createElement("td", {
|
|
2165
|
+
}, rowIndex % ((morningNum + afternoonNum) / 2) === 0 ? (/*#__PURE__*/React$1.createElement("td", {
|
|
2217
2166
|
width: 40,
|
|
2218
2167
|
rowSpan: 5,
|
|
2219
2168
|
style: {
|
|
@@ -2225,7 +2174,7 @@ function DateSelect$2(props) {
|
|
|
2225
2174
|
letterSpacing: 8,
|
|
2226
2175
|
fontSize: 16
|
|
2227
2176
|
}
|
|
2228
|
-
}, morningOrAfternoon)) : null, Array(OPERATION_ARR.length).fill(0).map(function (_, colIndex) {
|
|
2177
|
+
}, morningOrAfternoon))) : null, Array(OPERATION_ARR.length).fill(0).map(function (_, colIndex) {
|
|
2229
2178
|
var realIndex = realRowIndex * OPERATION_ARR.length + colIndex;
|
|
2230
2179
|
var item = realDataArr[realIndex];
|
|
2231
2180
|
var data = item === null || item === void 0 ? void 0 : item.data;
|
|
@@ -2247,7 +2196,7 @@ function DateSelect$2(props) {
|
|
|
2247
2196
|
dd: dd,
|
|
2248
2197
|
appointmentMorningOrAfternoon: morningOrAfternoon,
|
|
2249
2198
|
isDisabled: disabled
|
|
2250
|
-
}, data ? /*#__PURE__*/React$1.createElement("div", {
|
|
2199
|
+
}, data ? (/*#__PURE__*/React$1.createElement("div", {
|
|
2251
2200
|
onClick: statusLabel === '已完成' ? function () {
|
|
2252
2201
|
openBookingModal(selectedDate, morningOrAfternoon, data, function () {
|
|
2253
2202
|
dd.initData();
|
|
@@ -2273,16 +2222,16 @@ function DateSelect$2(props) {
|
|
|
2273
2222
|
display: 'flex',
|
|
2274
2223
|
flexDirection: 'column'
|
|
2275
2224
|
}
|
|
2276
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2225
|
+
}, /*#__PURE__*/React$1.createElement(Row, {
|
|
2277
2226
|
gutter: 8,
|
|
2278
2227
|
className: "operation-name-row"
|
|
2279
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2228
|
+
}, /*#__PURE__*/React$1.createElement(Col, null, /*#__PURE__*/React$1.createElement("span", {
|
|
2280
2229
|
className: "word",
|
|
2281
2230
|
style: {
|
|
2282
2231
|
color: textColor || '#150F55',
|
|
2283
2232
|
fontWeight: 600
|
|
2284
2233
|
}
|
|
2285
|
-
}, data.name)), /*#__PURE__*/React$1.createElement(
|
|
2234
|
+
}, data.name)), /*#__PURE__*/React$1.createElement(Col, null, /*#__PURE__*/React$1.createElement("span", {
|
|
2286
2235
|
className: "word",
|
|
2287
2236
|
style: {
|
|
2288
2237
|
color: textColor || '#383F4A',
|
|
@@ -2300,11 +2249,11 @@ function DateSelect$2(props) {
|
|
|
2300
2249
|
flexDirection: 'column',
|
|
2301
2250
|
textAlign: 'center'
|
|
2302
2251
|
}
|
|
2303
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2252
|
+
}, /*#__PURE__*/React$1.createElement(Tag, {
|
|
2304
2253
|
color: fontColor
|
|
2305
2254
|
}, statusLabel), /*#__PURE__*/React$1.createElement("div", {
|
|
2306
2255
|
className: "handle"
|
|
2307
|
-
}, (statusLabel === '待签到' || statusLabel === '超时') && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(QuestionCircleOutlined, {
|
|
2256
|
+
}, (statusLabel === '待签到' || statusLabel === '超时') && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(QuestionCircleOutlined, {
|
|
2308
2257
|
title: "\u7B7E\u5230",
|
|
2309
2258
|
style: {
|
|
2310
2259
|
color: fontColor
|
|
@@ -2331,7 +2280,7 @@ function DateSelect$2(props) {
|
|
|
2331
2280
|
dd.getBetweenList();
|
|
2332
2281
|
}, 0);
|
|
2333
2282
|
}
|
|
2334
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
2283
|
+
}), /*#__PURE__*/React$1.createElement(Popconfirm, {
|
|
2335
2284
|
title: "\u53D6\u6D88\u540E\u5219\u4E0D\u518D\u663E\u793A\uFF0C\u662F\u5426\u786E\u8BA4\u53D6\u6D88?",
|
|
2336
2285
|
onConfirm: function onConfirm() {
|
|
2337
2286
|
SModel_EarlyPregnancyCheckSurgeryType.cancelAppointmentSurgery(data.id).then(function () {
|
|
@@ -2347,7 +2296,7 @@ function DateSelect$2(props) {
|
|
|
2347
2296
|
style: {
|
|
2348
2297
|
color: fontColor
|
|
2349
2298
|
}
|
|
2350
|
-
}))), statusLabel === '已签到' && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(EditOutlined, {
|
|
2299
|
+
})))), statusLabel === '已签到' && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(EditOutlined, {
|
|
2351
2300
|
title: "\u7F16\u8F91",
|
|
2352
2301
|
style: {
|
|
2353
2302
|
color: fontColor
|
|
@@ -2360,9 +2309,9 @@ function DateSelect$2(props) {
|
|
|
2360
2309
|
dd.getBetweenList();
|
|
2361
2310
|
}, 1);
|
|
2362
2311
|
}
|
|
2363
|
-
}))))) : /*#__PURE__*/React$1.createElement("div", {
|
|
2312
|
+
}))))))) : (/*#__PURE__*/React$1.createElement("div", {
|
|
2364
2313
|
className: "date-booking-button ".concat(realDataArr.length === realIndex ? 'visible' : ''),
|
|
2365
|
-
hidden: disabled || !
|
|
2314
|
+
hidden: disabled || !get(residueObj, 'isOpen'),
|
|
2366
2315
|
title: "\u6DFB\u52A0\u6216\u62D6\u52A8\u9884\u7EA6",
|
|
2367
2316
|
onClick: function onClick() {
|
|
2368
2317
|
return openBookingModal(selectedDate, morningOrAfternoon, {}, function () {
|
|
@@ -2382,7 +2331,7 @@ function DateSelect$2(props) {
|
|
|
2382
2331
|
style: {
|
|
2383
2332
|
marginRight: 4
|
|
2384
2333
|
}
|
|
2385
|
-
}), "\u6DFB\u52A0\u6216\u62D6\u52A8\u9884\u7EA6")));
|
|
2334
|
+
}), "\u6DFB\u52A0\u6216\u62D6\u52A8\u9884\u7EA6"))));
|
|
2386
2335
|
}));
|
|
2387
2336
|
}))));
|
|
2388
2337
|
}
|
|
@@ -2413,7 +2362,7 @@ function DateSelect$1(props) {
|
|
|
2413
2362
|
flex: 1,
|
|
2414
2363
|
display: 'flex',
|
|
2415
2364
|
justifyContent: 'center',
|
|
2416
|
-
overflowY: '
|
|
2365
|
+
overflowY: 'auto'
|
|
2417
2366
|
}
|
|
2418
2367
|
}, /*#__PURE__*/React$1.createElement("table", {
|
|
2419
2368
|
width: "98%",
|
|
@@ -2510,7 +2459,7 @@ function DateSelect$1(props) {
|
|
|
2510
2459
|
isOpen = _c.isOpen,
|
|
2511
2460
|
reserved = _c.reserved,
|
|
2512
2461
|
all = _c.all;
|
|
2513
|
-
return isOpen ? /*#__PURE__*/React$1.createElement("div", {
|
|
2462
|
+
return isOpen ? (/*#__PURE__*/React$1.createElement("div", {
|
|
2514
2463
|
style: {
|
|
2515
2464
|
lineHeight: '20px'
|
|
2516
2465
|
}
|
|
@@ -2536,7 +2485,7 @@ function DateSelect$1(props) {
|
|
|
2536
2485
|
style: {
|
|
2537
2486
|
color: "".concat(textColor !== '#ccc' ? '#828c99' : textColor)
|
|
2538
2487
|
}
|
|
2539
|
-
}, all))) : null;
|
|
2488
|
+
}, all)))) : null;
|
|
2540
2489
|
})))));
|
|
2541
2490
|
}));
|
|
2542
2491
|
})));
|
|
@@ -2558,7 +2507,7 @@ function DateSelect(props) {
|
|
|
2558
2507
|
var borderStyle = '1px solid #EDEEF6';
|
|
2559
2508
|
var headHeight = 10;
|
|
2560
2509
|
var renderResidueContent = function renderResidueContent(residueObj) {
|
|
2561
|
-
return
|
|
2510
|
+
return map(residueObj, function (value, key) {
|
|
2562
2511
|
if (key !== 'isOpen') {
|
|
2563
2512
|
var _a = findColor2(NurseTypesMapping[key]['name']);
|
|
2564
2513
|
_a[0];
|
|
@@ -2613,7 +2562,7 @@ function DateSelect(props) {
|
|
|
2613
2562
|
lineHeight: "".concat(headHeight, "px"),
|
|
2614
2563
|
height: headHeight
|
|
2615
2564
|
}
|
|
2616
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2565
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
2617
2566
|
type: isToday ? 'primary' : 'text',
|
|
2618
2567
|
size: "small",
|
|
2619
2568
|
onClick: function onClick() {
|
|
@@ -2700,27 +2649,27 @@ function DateSelect(props) {
|
|
|
2700
2649
|
background: backgroundColor,
|
|
2701
2650
|
position: 'relative'
|
|
2702
2651
|
}
|
|
2703
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2652
|
+
}, /*#__PURE__*/React$1.createElement(Row, {
|
|
2704
2653
|
style: {
|
|
2705
2654
|
lineHeight: '20px'
|
|
2706
2655
|
}
|
|
2707
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2656
|
+
}, /*#__PURE__*/React$1.createElement(Col, null, /*#__PURE__*/React$1.createElement("span", {
|
|
2708
2657
|
style: {
|
|
2709
2658
|
color: textColor || '#150F55',
|
|
2710
2659
|
fontWeight: 600,
|
|
2711
2660
|
marginRight: 4
|
|
2712
2661
|
}
|
|
2713
|
-
}, data.name)), /*#__PURE__*/React$1.createElement(
|
|
2662
|
+
}, data.name)), /*#__PURE__*/React$1.createElement(Col, null, /*#__PURE__*/React$1.createElement("span", {
|
|
2714
2663
|
style: {
|
|
2715
2664
|
fontSize: 12,
|
|
2716
2665
|
color: textColor
|
|
2717
2666
|
}
|
|
2718
2667
|
}, data.operationName))));
|
|
2719
|
-
}) || null,
|
|
2668
|
+
}) || null, get(residueObj, 'isOpen') && Object.keys(residueObj).length > 1 ? (/*#__PURE__*/React$1.createElement(Popover, {
|
|
2720
2669
|
content: renderResidueContent(residueObj),
|
|
2721
2670
|
title: ""
|
|
2722
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2723
|
-
className: "week-add-button ".concat(!
|
|
2671
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
2672
|
+
className: "week-add-button ".concat(!get(residueObj, 'isOpen') ? 'disabled' : ''),
|
|
2724
2673
|
hidden: disabled,
|
|
2725
2674
|
type: "dashed",
|
|
2726
2675
|
block: true,
|
|
@@ -2737,8 +2686,8 @@ function DateSelect(props) {
|
|
|
2737
2686
|
dd.getBetweenList();
|
|
2738
2687
|
});
|
|
2739
2688
|
}
|
|
2740
|
-
}, "\u6DFB\u52A0")) : /*#__PURE__*/React$1.createElement(
|
|
2741
|
-
className: "week-add-button ".concat(!
|
|
2689
|
+
}, "\u6DFB\u52A0"))) : (/*#__PURE__*/React$1.createElement(Button, {
|
|
2690
|
+
className: "week-add-button ".concat(!get(residueObj, 'isOpen') ? 'disabled' : ''),
|
|
2742
2691
|
hidden: disabled,
|
|
2743
2692
|
type: "dashed",
|
|
2744
2693
|
block: true,
|
|
@@ -2747,16 +2696,16 @@ function DateSelect(props) {
|
|
|
2747
2696
|
margin: '4px 0',
|
|
2748
2697
|
position: 'sticky',
|
|
2749
2698
|
bottom: 0,
|
|
2750
|
-
cursor: "".concat(!
|
|
2699
|
+
cursor: "".concat(!get(residueObj, 'isOpen') ? 'not-allowed' : 'pointer')
|
|
2751
2700
|
},
|
|
2752
|
-
onClick: !
|
|
2701
|
+
onClick: !get(residueObj, 'isOpen') ? function () {} : function () {
|
|
2753
2702
|
return openBookingModal(targetStartMoment, morningOrAfternoon, {}, function () {
|
|
2754
2703
|
dd.initData();
|
|
2755
2704
|
dd.getStatistic();
|
|
2756
2705
|
dd.getBetweenList();
|
|
2757
2706
|
});
|
|
2758
2707
|
}
|
|
2759
|
-
}, "\u6DFB\u52A0"))));
|
|
2708
|
+
}, "\u6DFB\u52A0")))));
|
|
2760
2709
|
}));
|
|
2761
2710
|
})));
|
|
2762
2711
|
}
|
|
@@ -2875,7 +2824,7 @@ function Right(props) {
|
|
|
2875
2824
|
title: "\u5DF2\u5B8C\u6210",
|
|
2876
2825
|
num: (_c = dd.statisticData) === null || _c === void 0 ? void 0 : _c.completeNum,
|
|
2877
2826
|
color: "#02937F"
|
|
2878
|
-
})), /*#__PURE__*/React$1.createElement(
|
|
2827
|
+
})), /*#__PURE__*/React$1.createElement(Divider, {
|
|
2879
2828
|
style: {
|
|
2880
2829
|
margin: 0
|
|
2881
2830
|
}
|
|
@@ -2885,7 +2834,7 @@ function Right(props) {
|
|
|
2885
2834
|
position: 'relative',
|
|
2886
2835
|
height: middleHeight
|
|
2887
2836
|
}
|
|
2888
|
-
}, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(
|
|
2837
|
+
}, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, {
|
|
2889
2838
|
style: {
|
|
2890
2839
|
color: '#979797'
|
|
2891
2840
|
},
|
|
@@ -2903,7 +2852,7 @@ function Right(props) {
|
|
|
2903
2852
|
style: {
|
|
2904
2853
|
width: 110
|
|
2905
2854
|
}
|
|
2906
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
2855
|
+
}), /*#__PURE__*/React$1.createElement(Button, {
|
|
2907
2856
|
style: {
|
|
2908
2857
|
color: '#979797'
|
|
2909
2858
|
},
|
|
@@ -2911,7 +2860,7 @@ function Right(props) {
|
|
|
2911
2860
|
type: "text",
|
|
2912
2861
|
icon: /*#__PURE__*/React$1.createElement(RightOutlined, null),
|
|
2913
2862
|
onClick: next
|
|
2914
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
2863
|
+
}), /*#__PURE__*/React$1.createElement(Button, {
|
|
2915
2864
|
type: "text",
|
|
2916
2865
|
style: {
|
|
2917
2866
|
background: '#fff',
|
|
@@ -2930,9 +2879,9 @@ function Right(props) {
|
|
|
2930
2879
|
top: '50%',
|
|
2931
2880
|
transform: 'translate(-50%,-50%)'
|
|
2932
2881
|
}
|
|
2933
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2882
|
+
}, /*#__PURE__*/React$1.createElement(Button.Group, {
|
|
2934
2883
|
style: {}
|
|
2935
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
2884
|
+
}, /*#__PURE__*/React$1.createElement(Button, {
|
|
2936
2885
|
type: mode === 'day' ? 'primary' : 'text',
|
|
2937
2886
|
onClick: function onClick(e) {
|
|
2938
2887
|
return setMode('day');
|
|
@@ -2940,7 +2889,7 @@ function Right(props) {
|
|
|
2940
2889
|
style: {
|
|
2941
2890
|
borderRadius: 4
|
|
2942
2891
|
}
|
|
2943
|
-
}, "\u65E5"), /*#__PURE__*/React$1.createElement(
|
|
2892
|
+
}, "\u65E5"), /*#__PURE__*/React$1.createElement(Button, {
|
|
2944
2893
|
type: mode === 'week' ? 'primary' : 'text',
|
|
2945
2894
|
onClick: function onClick(e) {
|
|
2946
2895
|
return setMode('week');
|
|
@@ -2949,7 +2898,7 @@ function Right(props) {
|
|
|
2949
2898
|
margin: '0 28px',
|
|
2950
2899
|
borderRadius: 4
|
|
2951
2900
|
}
|
|
2952
|
-
}, "\u5468"), /*#__PURE__*/React$1.createElement(
|
|
2901
|
+
}, "\u5468"), /*#__PURE__*/React$1.createElement(Button, {
|
|
2953
2902
|
type: mode === 'month' ? 'primary' : 'text',
|
|
2954
2903
|
onClick: function onClick(e) {
|
|
2955
2904
|
return setMode('month');
|
|
@@ -2957,7 +2906,7 @@ function Right(props) {
|
|
|
2957
2906
|
style: {
|
|
2958
2907
|
borderRadius: 4
|
|
2959
2908
|
}
|
|
2960
|
-
}, "\u6708"))), /*#__PURE__*/React$1.createElement(
|
|
2909
|
+
}, "\u6708"))), /*#__PURE__*/React$1.createElement(Divider, {
|
|
2961
2910
|
style: {
|
|
2962
2911
|
margin: '4px 0 0 0'
|
|
2963
2912
|
}
|
|
@@ -2977,17 +2926,17 @@ function Right(props) {
|
|
|
2977
2926
|
color: '#828C99',
|
|
2978
2927
|
fontSize: 14
|
|
2979
2928
|
}
|
|
2980
|
-
}, "\u7C7B\u578B\uFF1A"), mode === 'day' && !
|
|
2929
|
+
}, "\u7C7B\u578B\uFF1A"), mode === 'day' && !get(dd.scheduleArr[0], 'attendanceSet') ? (/*#__PURE__*/React$1.createElement("span", {
|
|
2981
2930
|
style: {
|
|
2982
2931
|
color: 'rgb(130, 140, 153)'
|
|
2983
2932
|
}
|
|
2984
|
-
}, "\u6682\u65E0") : colorList.filter(function (_) {
|
|
2933
|
+
}, "\u6682\u65E0")) : colorList.filter(function (_) {
|
|
2985
2934
|
var isOpen = getOperationNum(dd.scheduleArr[0], _.operationName).isOpen;
|
|
2986
2935
|
return mode === 'day' ? isOpen : OPERATION_ARR.includes(_.operationName);
|
|
2987
2936
|
}).map(function (_) {
|
|
2988
2937
|
var isActive = activeOperationType.has(_.operationName);
|
|
2989
2938
|
var reservedData = getOperationNum(dd.scheduleArr[0], _.operationName);
|
|
2990
|
-
return /*#__PURE__*/React$1.createElement(
|
|
2939
|
+
return /*#__PURE__*/React$1.createElement(Tag, {
|
|
2991
2940
|
onClick: function onClick() {
|
|
2992
2941
|
return toggleActiveType(_.operationName);
|
|
2993
2942
|
},
|
|
@@ -3002,7 +2951,7 @@ function Right(props) {
|
|
|
3002
2951
|
style: {
|
|
3003
2952
|
color: _.fontColor
|
|
3004
2953
|
}
|
|
3005
|
-
}, _.operationName, mode === 'day' ? "".concat(reservedData.reserved, "/").concat(reservedData.all) : ''), isActive ? /*#__PURE__*/React$1.createElement("span", {
|
|
2954
|
+
}, _.operationName, mode === 'day' ? "".concat(reservedData.reserved, "/").concat(reservedData.all) : ''), isActive ? (/*#__PURE__*/React$1.createElement("span", {
|
|
3006
2955
|
style: {
|
|
3007
2956
|
width: 6,
|
|
3008
2957
|
height: 6,
|
|
@@ -3013,16 +2962,16 @@ function Right(props) {
|
|
|
3013
2962
|
transform: 'translateX(-50%)',
|
|
3014
2963
|
backgroundColor: _.fontColor
|
|
3015
2964
|
}
|
|
3016
|
-
}) : '');
|
|
2965
|
+
})) : '');
|
|
3017
2966
|
})), /*#__PURE__*/React$1.createElement("div", {
|
|
3018
2967
|
style: {
|
|
3019
2968
|
height: "calc(100% - ".concat(headHeight, "px - ").concat(middleHeight, "px - ").concat(tagHeight, "px)"),
|
|
3020
2969
|
display: 'flex'
|
|
3021
2970
|
}
|
|
3022
|
-
}, mode === 'day' && /*#__PURE__*/React$1.createElement(DateSelect$2, baseData), mode === 'week' && /*#__PURE__*/React$1.createElement(DateSelect, baseData), mode === 'month' && /*#__PURE__*/React$1.createElement(DateSelect$1, baseData)));
|
|
2971
|
+
}, mode === 'day' && /*#__PURE__*/React$1.createElement(DateSelect$2, __assign({}, baseData)), mode === 'week' && /*#__PURE__*/React$1.createElement(DateSelect, __assign({}, baseData)), mode === 'month' && /*#__PURE__*/React$1.createElement(DateSelect$1, __assign({}, baseData))));
|
|
3023
2972
|
}
|
|
3024
|
-
var Content =
|
|
3025
|
-
Sider =
|
|
2973
|
+
var Content = Layout.Content,
|
|
2974
|
+
Sider = Layout.Sider;
|
|
3026
2975
|
var FAMILY_PLANNING_BOOKING_MANAGEMENT_COLLAPSED_KEY = 'FAMILY_PLANNING_BOOKING_MANAGEMENT_COLLAPSED_KEY';
|
|
3027
2976
|
function WorkFlow() {
|
|
3028
2977
|
var _a = useState(store.get(FAMILY_PLANNING_BOOKING_MANAGEMENT_COLLAPSED_KEY) || false),
|
|
@@ -3107,7 +3056,7 @@ function WorkFlow() {
|
|
|
3107
3056
|
}, /*#__PURE__*/React$1.createElement(Right, {
|
|
3108
3057
|
dd: dd,
|
|
3109
3058
|
colorList: colorList,
|
|
3110
|
-
toggleNode: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(
|
|
3059
|
+
toggleNode: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Button, {
|
|
3111
3060
|
type: "text",
|
|
3112
3061
|
onClick: function onClick() {
|
|
3113
3062
|
return onCollapse(!collapsed);
|
|
@@ -3126,4 +3075,3 @@ function WorkFlow() {
|
|
|
3126
3075
|
})))));
|
|
3127
3076
|
}
|
|
3128
3077
|
export { WorkFlow as default };
|
|
3129
|
-
//# sourceMappingURL=.root52.js.map
|