@lm_fe/pages 0.1.201 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/README.md +0 -0
  2. package/dist/a_chunks/.root.js +1610 -222
  3. package/dist/a_chunks/.root10.js +494 -462
  4. package/dist/a_chunks/.root11.js +231 -159
  5. package/dist/a_chunks/.root12.js +245 -186
  6. package/dist/a_chunks/.root13.js +1898 -104
  7. package/dist/a_chunks/.root14.js +147 -716
  8. package/dist/a_chunks/.root15.js +27 -44
  9. package/dist/a_chunks/.root16.js +18 -168
  10. package/dist/a_chunks/.root17.js +20 -255
  11. package/dist/a_chunks/.root18.js +168 -385
  12. package/dist/a_chunks/.root19.js +119 -403
  13. package/dist/a_chunks/.root2.js +101 -73
  14. package/dist/a_chunks/.root20.js +74 -945
  15. package/dist/a_chunks/.root21.js +168 -202
  16. package/dist/a_chunks/.root22.js +677 -144
  17. package/dist/a_chunks/.root23.js +27 -956
  18. package/dist/a_chunks/.root24.js +126 -742
  19. package/dist/a_chunks/.root25.js +214 -265
  20. package/dist/a_chunks/.root26.js +391 -0
  21. package/dist/a_chunks/.root27.js +395 -0
  22. package/dist/a_chunks/.root28.js +948 -0
  23. package/dist/a_chunks/.root29.js +214 -0
  24. package/dist/a_chunks/.root3.js +56 -1044
  25. package/dist/a_chunks/.root30.js +130 -0
  26. package/dist/a_chunks/.root31.js +914 -0
  27. package/dist/a_chunks/.root32.js +860 -0
  28. package/dist/a_chunks/.root33.js +102 -0
  29. package/dist/a_chunks/.root34.js +157 -0
  30. package/dist/a_chunks/.root4.js +1004 -581
  31. package/dist/a_chunks/.root5.js +610 -1414
  32. package/dist/a_chunks/.root6.js +1399 -155
  33. package/dist/a_chunks/.root7.js +151 -123
  34. package/dist/a_chunks/.root8.js +82 -504
  35. package/dist/a_chunks/.root9.js +97 -60
  36. package/dist/a_chunks/data.js +572 -0
  37. package/dist/a_chunks/func.js +86 -0
  38. package/dist/a_chunks/index.js +942 -265
  39. package/dist/a_chunks/use_fetus.js +138 -0
  40. package/dist/a_chunks/utils.js +100 -0
  41. package/dist/a_chunks/utils2.js +36 -0
  42. package/dist/block//346/243/200/351/252/214/346/243/200/346/237/245/Inner.d.ts +1 -0
  43. package/dist/components/BF_Form/Wrap.d.ts +2 -2
  44. package/dist/components/BF_Form/index.d.ts +4 -2
  45. package/dist/components/BF_Form/types.d.ts +7 -0
  46. package/dist/components/BF_Form/use_table_config.d.ts +1 -5
  47. package/dist/components/Base_List/Helper.d.ts +0 -5
  48. package/dist/components/Base_List/_MyBaseList.d.ts +1 -0
  49. package/dist/components/Base_List/index.d.ts +2 -1
  50. package/dist/components/Base_List/types.d.ts +6 -3
  51. package/dist/components/Base_List/use_MyBaseList.d.ts +10 -0
  52. package/dist/components/Base_List/utils.d.ts +11 -0
  53. package/dist/components/IdNOButton/index copy.d.ts +1 -1
  54. package/dist/components/Layout_Sider/Inner.d.ts +2 -4
  55. package/dist/components/Layout_Sider/index.d.ts +2 -2
  56. package/dist/components/Layout_Sider/utils.d.ts +13 -0
  57. package/dist/components/Layout_TabButton/Inner.d.ts +2 -10
  58. package/dist/components/Layout_TabButton/index.d.ts +3 -8
  59. package/dist/components/Layout_TabButton/types.d.ts +8 -0
  60. package/dist/components/Login/Inner.d.ts +0 -1
  61. package/dist/components/Login/index.d.ts +2 -1
  62. package/dist/components/MenuSearch/Inner.d.ts +6 -0
  63. package/dist/components/MenuSearch/index.d.ts +2 -0
  64. package/dist/components/QuickDocButton/index.d.ts +5 -1
  65. package/dist/components/doctor_end/HeaderInfo/FuckTag.d.ts +6 -0
  66. package/dist/components/doctor_end/HeaderInfo/index.d.ts +1 -0
  67. package/dist/components/doctor_end/HeaderInfo/types.d.ts +1 -3
  68. package/dist/components/doctor_end/HeaderInfo/use_headinfo_color.d.ts +8 -0
  69. package/dist/components/exception/index.d.ts +1 -0
  70. package/dist/components/index.d.ts +1 -0
  71. package/dist/curve/components/BmiCanvas/index.d.ts +11 -0
  72. package/dist/curve/components/FetusCanvas/FetuGrowsEdit.d.ts +7 -0
  73. package/dist/curve/components/FetusCanvas/config.d.ts +3 -0
  74. package/dist/curve/components/FetusCanvas/index.d.ts +4 -0
  75. package/dist/curve/components/FetusCanvas/requestMethods.d.ts +7 -0
  76. package/dist/curve/components/FetusCanvasNICHD/config.d.ts +3 -0
  77. package/dist/curve/components/FetusCanvasNICHD/data.d.ts +84 -0
  78. package/dist/curve/components/FetusCanvasNICHD/index.d.ts +4 -0
  79. package/dist/curve/components/Pregnogram/index.d.ts +11 -0
  80. package/dist/curve/components/api.d.ts +17 -0
  81. package/dist/curve/components-new/FetusCanvas/config.d.ts +2 -0
  82. package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +7 -0
  83. package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +2 -0
  84. package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +84 -0
  85. package/dist/curve/data.d.ts +125 -0
  86. package/dist/curve/func.d.ts +12 -0
  87. package/dist/curve/func.test.d.ts +1 -0
  88. package/dist/curve/index.d.ts +7 -0
  89. package/dist/curve/intro-steps.d.ts +7 -0
  90. package/dist/curve/utils.d.ts +8 -0
  91. package/dist/form_config/conceiveMode.d.ts +2 -0
  92. package/dist/form_config/index.d.ts +4 -0
  93. package/dist/form_config/mlUltrasounds.d.ts +2 -0
  94. package/dist/form_config/not_yes_input.d.ts +4 -0
  95. package/dist/form_config/pressure.d.ts +4 -0
  96. package/dist/hooks/index.d.ts +1 -0
  97. package/dist/index.d.ts +2 -0
  98. package/dist/index.js +8 -33
  99. package/dist/modals/entries/StupidTemplateModal2/index copy.d.ts +22 -0
  100. package/dist/modals/entries/StupidTemplateModal2/index.d.ts +1 -2
  101. package/dist/modals/entries/box/index.d.ts +6 -0
  102. package/dist/modals/entries/modal_form/index.d.ts +1 -1
  103. package/dist/modals/entries/result_template/index.d.ts +24 -0
  104. package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +2 -1
  105. package/dist/modals/entries/template_modal3/index copy 2.d.ts +1 -1
  106. package/dist/modals/entries/template_modal3/index.d.ts +5 -3
  107. package/dist/modals/entries/text_search/index.d.ts +1 -1
  108. package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +1 -1
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. package/dist/modals/entries//351/253/230/345/215/261/351/232/217/350/256/277/form_config.d.ts +4 -2
  121. package/dist/modals/index.d.ts +2 -0
  122. package/dist/modals/meta.d.ts +2 -0
  123. package/dist/pages/doc_record/index.d.ts +1 -1
  124. package/dist/pages/index.d.ts +1 -0
  125. package/dist/pages/questionnaire/Inner.d.ts +4 -0
  126. package/dist/pages/questionnaire/Qn.d.ts +3 -0
  127. package/dist/pages/questionnaire/SelectButton.d.ts +4 -0
  128. package/dist/pages/questionnaire/create/Step2Right.d.ts +11 -0
  129. package/dist/pages/questionnaire/create/common.d.ts +46 -0
  130. package/dist/pages/questionnaire/create/fakeData.d.ts +6 -0
  131. package/dist/pages/questionnaire/create/question-item.d.ts +14 -0
  132. package/dist/pages/questionnaire/create/step1.d.ts +12 -0
  133. package/dist/pages/questionnaire/create/step2.d.ts +10 -0
  134. package/dist/pages/questionnaire/create/step3.d.ts +8 -0
  135. package/dist/pages/questionnaire/create/step4.d.ts +8 -0
  136. package/dist/pages/questionnaire/index.d.ts +3 -0
  137. package/dist/pages/questionnaire/types.d.ts +10 -0
  138. package/dist/utils/helper.d.ts +5 -0
  139. package/dist/utils/index.d.ts +2 -1
  140. package/package.json +34 -16
  141. package/dist/a_chunks/.root.js.map +0 -1
  142. package/dist/a_chunks/.root10.js.map +0 -1
  143. package/dist/a_chunks/.root11.js.map +0 -1
  144. package/dist/a_chunks/.root12.js.map +0 -1
  145. package/dist/a_chunks/.root13.js.map +0 -1
  146. package/dist/a_chunks/.root14.js.map +0 -1
  147. package/dist/a_chunks/.root15.js.map +0 -1
  148. package/dist/a_chunks/.root16.js.map +0 -1
  149. package/dist/a_chunks/.root17.js.map +0 -1
  150. package/dist/a_chunks/.root18.js.map +0 -1
  151. package/dist/a_chunks/.root19.js.map +0 -1
  152. package/dist/a_chunks/.root2.js.map +0 -1
  153. package/dist/a_chunks/.root20.js.map +0 -1
  154. package/dist/a_chunks/.root21.js.map +0 -1
  155. package/dist/a_chunks/.root22.js.map +0 -1
  156. package/dist/a_chunks/.root23.js.map +0 -1
  157. package/dist/a_chunks/.root24.js.map +0 -1
  158. package/dist/a_chunks/.root25.js.map +0 -1
  159. package/dist/a_chunks/.root3.js.map +0 -1
  160. package/dist/a_chunks/.root4.js.map +0 -1
  161. package/dist/a_chunks/.root5.js.map +0 -1
  162. package/dist/a_chunks/.root6.js.map +0 -1
  163. package/dist/a_chunks/.root7.js.map +0 -1
  164. package/dist/a_chunks/.root8.js.map +0 -1
  165. package/dist/a_chunks/.root9.js.map +0 -1
  166. package/dist/a_chunks/extends.js +0 -11
  167. package/dist/a_chunks/extends.js.map +0 -1
  168. package/dist/a_chunks/index.js.map +0 -1
  169. package/dist/components/BF_Form/use_table_config copy.d.ts +0 -13
  170. package/dist/index.js.map +0 -1
  171. package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +0 -16
  172. package/dist/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/add-diagnoses/add-diagnoses.d.ts +0 -12
  173. 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
@@ -0,0 +1,395 @@
1
+ import { s as styleInject, d as __rest, b as __awaiter, c as __generator, a as __assign } from './index.js';
2
+ import { get, size, forEach, orderBy, set, cloneDeep, without } from 'lodash';
3
+ import React, { useState, useEffect } from 'react';
4
+ import { Modal_L, LazyAntd } from '@lm_fe/components';
5
+ import { SMchc_SyphilisManage } from '@lm_fe/service';
6
+ import { getSearchParamsValue } from '@lm_fe/utils';
7
+ import { otherOptions } from '@lm_fe/env';
8
+ import { getGesWeek, MyForm, getFormData } from '@lm_fe/components_m';
9
+ import 'antd';
10
+ import 'classnames';
11
+ import '@lm_fe/provoke';
12
+ var css_248z = ".index-module_syphilis-modal__tfvEm .ant-modal-body {\n max-height: 600px;\n overflow: auto;\n}\n";
13
+ var styles = {
14
+ "syphilis-modal": "index-module_syphilis-modal__tfvEm"
15
+ };
16
+ styleInject(css_248z);
17
+ LazyAntd.Modal;
18
+ function SyphilisManagement(props) {
19
+ var _this = this;
20
+ var _a;
21
+ var disabled_yz = false;
22
+ var modal_data = props.modal_data,
23
+ close = props.close,
24
+ others = __rest(props, ["modal_data", "close"]);
25
+ var headerInfo = modal_data.headerInfo;
26
+ var _b = useState({}),
27
+ formHandler = _b[0],
28
+ setFormHandler = _b[1];
29
+ var _c = useState({}),
30
+ syphilisData = _c[0],
31
+ setSyphilisData = _c[1];
32
+ var id = (_a = headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.id) !== null && _a !== void 0 ? _a : getSearchParamsValue('id');
33
+ useEffect(function () {
34
+ (function () {
35
+ return __awaiter(_this, void 0, void 0, function () {
36
+ var syphilisList, syphilisData, syphilisTreatments, newData_1;
37
+ return __generator(this, function (_a) {
38
+ switch (_a.label) {
39
+ case 0:
40
+ return [4, SMchc_SyphilisManage.getList({
41
+ params: {
42
+ 'pregnancyId.equals': id
43
+ }
44
+ })];
45
+ case 1:
46
+ syphilisList = _a.sent();
47
+ syphilisData = syphilisList[0] || {};
48
+ syphilisTreatments = get(syphilisData, 'syphilisTreatments');
49
+ if (size(syphilisTreatments) > 0) {
50
+ newData_1 = [];
51
+ forEach(syphilisTreatments, function (item) {
52
+ var syphilisInjections = orderBy(get(item, 'syphilisInjections'), 'injectionDate', ['asc']);
53
+ var obj = {};
54
+ set(obj, 'id', get(item, 'id'));
55
+ set(obj, 'firstId', get(syphilisInjections, '0.id'));
56
+ set(obj, 'firstUserId', get(syphilisInjections, '0.user.id'));
57
+ set(obj, 'firstInjectionDate', get(syphilisInjections, '0.injectionDate'));
58
+ set(obj, 'firstInjectionGesweek', get(syphilisInjections, '0.gesweek'));
59
+ set(obj, 'firstInjectionResult', get(syphilisInjections, '0.injectionResult'));
60
+ set(obj, 'secondId', get(syphilisInjections, '1.id'));
61
+ set(obj, 'secondUserId', get(syphilisInjections, '1.user.id'));
62
+ set(obj, 'secondInjectionDate', get(syphilisInjections, '1.injectionDate'));
63
+ set(obj, 'secondInjectionGesweek', get(syphilisInjections, '1.gesweek'));
64
+ set(obj, 'secondInjectionResult', get(syphilisInjections, '1.injectionResult'));
65
+ set(obj, 'thirdId', get(syphilisInjections, '2.id'));
66
+ set(obj, 'thirdUserId', get(syphilisInjections, '2.user.id'));
67
+ set(obj, 'thirdInjectionDate', get(syphilisInjections, '2.injectionDate'));
68
+ set(obj, 'thirdInjectionGesweek', get(syphilisInjections, '2.gesweek'));
69
+ set(obj, 'thirdInjectionResult', get(syphilisInjections, '2.injectionResult'));
70
+ newData_1.push(obj);
71
+ });
72
+ set(syphilisData, 'syphilisTreatments', newData_1);
73
+ }
74
+ setSyphilisData(syphilisData);
75
+ return [2];
76
+ }
77
+ });
78
+ });
79
+ })();
80
+ return function () {};
81
+ }, []);
82
+ useEffect(function () {
83
+ if (formHandler.subscribe) {
84
+ formHandler.subscribe('syphilisTreatments', 'change', function (val) {
85
+ var sureEdd = get(headerInfo, "edd");
86
+ var newVal = cloneDeep(val);
87
+ newVal.forEach(function (item) {
88
+ if (item.firstInjectionDate && sureEdd) {
89
+ item.firstInjectionGesweek = getGesWeek(sureEdd, item.firstInjectionDate);
90
+ }
91
+ if (item.secondInjectionDate && sureEdd) {
92
+ item.secondInjectionGesweek = getGesWeek(sureEdd, item.secondInjectionDate);
93
+ }
94
+ if (item.thirdInjectionDate && sureEdd) {
95
+ item.thirdInjectionGesweek = getGesWeek(sureEdd, item.thirdInjectionDate);
96
+ }
97
+ });
98
+ formHandler.syphilisTreatments.actions.setValue(newVal);
99
+ });
100
+ }
101
+ }, [formHandler, headerInfo]);
102
+ function handleCancel() {
103
+ close === null || close === void 0 ? void 0 : close(false);
104
+ }
105
+ function handleOk() {
106
+ return __awaiter(this, void 0, void 0, function () {
107
+ var res, formData, syphilisTreatments, newData_2;
108
+ return __generator(this, function (_a) {
109
+ switch (_a.label) {
110
+ case 0:
111
+ return [4, formHandler.submit()];
112
+ case 1:
113
+ res = _a.sent().res;
114
+ formData = getFormData(res);
115
+ syphilisTreatments = get(formData, 'syphilisTreatments');
116
+ if (size(syphilisTreatments) > 0) {
117
+ newData_2 = [];
118
+ forEach(syphilisTreatments, function (item) {
119
+ var obj = {};
120
+ set(obj, 'id', get(item, 'id'));
121
+ if (get(item, 'firstInjectionDate') || get(item, 'firstInjectionResult')) {
122
+ if (get(item, 'firstId')) set(obj, 'syphilisInjections.0.id', get(item, 'firstId'));
123
+ set(obj, 'syphilisInjections.0.injectionDate', get(item, 'firstInjectionDate'));
124
+ set(obj, 'syphilisInjections.0.gesweek', get(item, 'firstInjectionGesweek'));
125
+ set(obj, 'syphilisInjections.0.injectionResult', get(item, 'firstInjectionResult'));
126
+ if (get(item, 'firstUserId')) set(obj, 'syphilisInjections.0.user.id', get(item, 'firstUserId'));
127
+ }
128
+ if (get(item, 'secondInjectionDate') || get(item, 'secondInjectionResult')) {
129
+ if (get(item, 'secondId')) set(obj, 'syphilisInjections.1.id', get(item, 'secondId'));
130
+ set(obj, 'syphilisInjections.1.injectionDate', get(item, 'secondInjectionDate'));
131
+ set(obj, 'syphilisInjections.1.gesweek', get(item, 'secondInjectionGesweek'));
132
+ set(obj, 'syphilisInjections.1.injectionResult', get(item, 'secondInjectionResult'));
133
+ if (get(item, 'secondUserId')) set(obj, 'syphilisInjections.1.user.id', get(item, 'secondUserId'));
134
+ }
135
+ if (get(item, 'thirdInjectionDate') || get(item, 'thirdInjectionResult')) {
136
+ if (get(item, 'thirdId')) set(obj, 'syphilisInjections.2.id', get(item, 'thirdId'));
137
+ set(obj, 'syphilisInjections.2.injectionDate', get(item, 'thirdInjectionDate'));
138
+ set(obj, 'syphilisInjections.2.gesweek', get(item, 'thirdInjectionGesweek'));
139
+ set(obj, 'syphilisInjections.2.injectionResult', get(item, 'thirdInjectionResult'));
140
+ if (get(item, 'thirdUserId')) set(obj, 'syphilisInjections.2.user.id', get(item, 'thirdUserId'));
141
+ }
142
+ set(obj, 'syphilisInjections', without(get(obj, 'syphilisInjections'), undefined));
143
+ newData_2.push(obj);
144
+ });
145
+ set(formData, 'syphilisTreatments', newData_2);
146
+ }
147
+ if (!get(syphilisData, 'id')) return [3, 3];
148
+ set(formData, 'id', get(syphilisData, 'id'));
149
+ set(formData, 'pregnancy.id', id);
150
+ return [4, SMchc_SyphilisManage.put(formData)];
151
+ case 2:
152
+ _a.sent();
153
+ return [3, 5];
154
+ case 3:
155
+ set(formData, 'pregnancy.id', id);
156
+ return [4, SMchc_SyphilisManage.post(formData)];
157
+ case 4:
158
+ _a.sent();
159
+ _a.label = 5;
160
+ case 5:
161
+ close === null || close === void 0 ? void 0 : close(true);
162
+ return [2];
163
+ }
164
+ });
165
+ });
166
+ }
167
+ function config() {
168
+ var config = [{
169
+ name: 'referral',
170
+ key: 'referral',
171
+ label: '转诊',
172
+ input_type: 'checkbox',
173
+ input_props: {
174
+ type: 'group',
175
+ options: otherOptions.nyOptions
176
+ },
177
+ span: 12
178
+ }, {
179
+ name: 'consent',
180
+ key: 'consent',
181
+ label: '同意治疗',
182
+ input_type: 'checkbox',
183
+ input_props: {
184
+ type: 'group',
185
+ options: otherOptions.nyOptions
186
+ },
187
+ span: 12
188
+ }, {
189
+ name: 'tppa',
190
+ key: 'tppa',
191
+ label: 'TPPA滴度',
192
+ input_type: 'input',
193
+ span: 6
194
+ }, {
195
+ name: 'trust',
196
+ key: 'trust',
197
+ label: 'TRUST滴度',
198
+ input_type: 'input',
199
+ span: 6
200
+ }, {
201
+ name: '',
202
+ key: '',
203
+ label: '疗程',
204
+ header_label: true,
205
+ just_header: true,
206
+ input_type: ''
207
+ }, {
208
+ name: 'syphilisTreatments',
209
+ key: 'syphilisTreatments',
210
+ label: '',
211
+ input_type: 'array-custom',
212
+ is_new_row: true,
213
+ input_props: {
214
+ array_title: '疗程',
215
+ config: [{
216
+ name: 'id',
217
+ key: 'id',
218
+ label: 'id',
219
+ input_type: 'input',
220
+ hidden: true,
221
+ span: 5
222
+ }, {
223
+ name: 'firstId',
224
+ key: 'firstId',
225
+ label: '',
226
+ input_type: 'input',
227
+ hidden: true,
228
+ span: 5
229
+ }, {
230
+ name: 'secondId',
231
+ key: 'secondId',
232
+ label: '',
233
+ input_type: 'input',
234
+ hidden: true,
235
+ span: 5
236
+ }, {
237
+ name: 'thirdId',
238
+ key: 'thirdId',
239
+ label: '',
240
+ input_type: 'input',
241
+ hidden: true,
242
+ span: 5
243
+ }, {
244
+ name: 'firstUserId',
245
+ key: 'firstUserId',
246
+ label: '',
247
+ input_type: 'input',
248
+ hidden: true,
249
+ span: 5
250
+ }, {
251
+ name: 'secondUserId',
252
+ key: 'secondUserId',
253
+ label: '',
254
+ input_type: 'input',
255
+ hidden: true,
256
+ span: 5
257
+ }, {
258
+ name: 'thirdUserId',
259
+ key: 'thirdUserId',
260
+ label: '',
261
+ input_type: 'input',
262
+ hidden: true,
263
+ span: 5
264
+ }, {
265
+ name: 'firstInjectionDate',
266
+ key: 'firstInjectionDate',
267
+ label: '第一针',
268
+ input_type: 'date',
269
+ span: 6
270
+ }, {
271
+ name: 'firstInjectionGesweek',
272
+ key: 'firstInjectionGesweek',
273
+ label: '孕周',
274
+ input_type: 'input',
275
+ input_props: {
276
+ disabled: disabled_yz
277
+ },
278
+ span: 6
279
+ }, {
280
+ name: 'firstInjectionResult',
281
+ key: 'firstInjectionResult',
282
+ label: '执行情况',
283
+ input_type: 'select',
284
+ input_props: {
285
+ options: otherOptions.resultOptions,
286
+ warningOption: '未执行'
287
+ },
288
+ span: 6
289
+ }, {
290
+ name: 'secondInjectionDate',
291
+ key: 'secondInjectionDate',
292
+ label: '第二针',
293
+ input_type: 'date',
294
+ is_new_row: true,
295
+ span: 6
296
+ }, {
297
+ name: 'secondInjectionGesweek',
298
+ key: 'secondInjectionGesweek',
299
+ label: '孕周',
300
+ input_type: 'input',
301
+ input_props: {
302
+ disabled: disabled_yz
303
+ },
304
+ span: 6
305
+ }, {
306
+ name: 'secondInjectionResult',
307
+ key: 'secondInjectionResult',
308
+ label: '执行情况',
309
+ input_type: 'select',
310
+ input_props: {
311
+ options: otherOptions.resultOptions,
312
+ warningOption: '未执行'
313
+ },
314
+ span: 6
315
+ }, {
316
+ name: 'thirdInjectionDate',
317
+ key: 'thirdInjectionDate',
318
+ label: '第三针',
319
+ input_type: 'date',
320
+ is_new_row: true,
321
+ span: 6
322
+ }, {
323
+ name: 'thirdInjectionGesweek',
324
+ key: 'thirdInjectionGesweek',
325
+ label: '孕周',
326
+ input_type: 'input',
327
+ input_props: {
328
+ disabled: disabled_yz
329
+ },
330
+ span: 6
331
+ }, {
332
+ name: 'thirdInjectionResult',
333
+ key: 'thirdInjectionResult',
334
+ label: '执行情况',
335
+ input_type: 'select',
336
+ input_props: {
337
+ options: otherOptions.resultOptions,
338
+ warningOption: '未执行'
339
+ },
340
+ span: 6
341
+ }]
342
+ }
343
+ }, {
344
+ name: '',
345
+ key: '',
346
+ label: 'TRUST随访结果',
347
+ header_label: true,
348
+ just_header: true,
349
+ input_type: ''
350
+ }, {
351
+ name: 'syphilisFollowUps',
352
+ key: 'syphilisFollowUps',
353
+ label: '',
354
+ input_type: 'array-custom',
355
+ is_new_row: true,
356
+ input_props: {
357
+ array_title: '结果',
358
+ config: [{
359
+ name: 'id',
360
+ key: 'id',
361
+ label: 'id',
362
+ input_type: 'input',
363
+ hidden: true,
364
+ span: 5
365
+ }, {
366
+ name: 'reportDate',
367
+ key: 'reportDate',
368
+ label: '报告时间',
369
+ input_type: 'date',
370
+ span: 6
371
+ }, {
372
+ name: 'trust',
373
+ key: 'trust',
374
+ label: 'TRUST滴度',
375
+ input_type: 'input',
376
+ span: 6
377
+ }]
378
+ }
379
+ }];
380
+ return config;
381
+ }
382
+ return /*#__PURE__*/React.createElement(Modal_L, __assign({}, others, {
383
+ title: "\u6885\u6BD2\u4E13\u6848\u7BA1\u7406",
384
+ className: styles["syphilis-modal"],
385
+ width: 1000,
386
+ onCancel: handleCancel,
387
+ onOk: handleOk
388
+ }), /*#__PURE__*/React.createElement(MyForm, {
389
+ config: config(),
390
+ value: syphilisData,
391
+ getFormHandler: setFormHandler,
392
+ submitChange: false
393
+ }));
394
+ }
395
+ export { SyphilisManagement as default };