@lm_fe/pages 0.2.2 → 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.
Files changed (52) hide show
  1. package/README.md +1 -1
  2. package/dist/a_chunks/{.root5.js → components.doctor_end.HeaderInfo.js} +3 -4
  3. package/dist/a_chunks/index.js +150 -64
  4. package/dist/a_chunks/{.root22.js → modals.entries.template_modal3.js} +5 -5
  5. package/dist/a_chunks/modals.entries./346/213/223/345/261/225/351/207/217/350/241/250.js +257 -0
  6. package/dist/a_chunks/{.root28.js → modals.entries./346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250.js} +1 -1
  7. package/dist/a_chunks/{.root32.js → modals.entries./351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206.js} +3 -2
  8. package/dist/a_chunks/{.root33.js → modals.entries./351/253/230/345/215/261/351/232/217/350/256/277.js} +1 -1
  9. package/dist/a_chunks/{.root10.js → src.block./346/243/200/351/252/214/346/243/200/346/237/245.js} +48 -149
  10. package/dist/a_chunks/{.root4.js → src.components.Base_List.js} +14 -3
  11. package/dist/a_chunks/{.root2.js → src.components.Layout_Sider.js} +1 -4
  12. package/dist/a_chunks/{.root3.js → src.components.Layout_TabButton.js} +4 -1
  13. package/dist/components/HighRiskTableEntry/utils.d.ts +4 -3
  14. package/dist/curve/components/FetusCanvas/use_fetus.d.ts +33 -0
  15. package/dist/curve/components-new/BmiCanvas/index.d.ts +23 -0
  16. package/dist/curve/components-new/FetusCanvas/index.d.ts +19 -0
  17. package/dist/curve/components-new/FetusCanvasNICHD/index.d.ts +21 -0
  18. package/dist/curve/components-new/Pregnogram/index.d.ts +13 -0
  19. package/dist/hooks/use_duck_form.d.ts +18 -0
  20. package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +22 -0
  21. package/dist/modals/entries/template_modal3/index.d.ts +1 -0
  22. package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/History.d.ts +10 -0
  23. package/dist/modals/entries//346/213/223/345/261/225/351/207/217/350/241/250/index.d.ts +9 -0
  24. 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 +12 -0
  25. package/dist/modals/index.d.ts +2 -1
  26. package/dist/modals/meta.d.ts +2 -1
  27. package/package.json +8 -8
  28. /package/dist/a_chunks/{.root6.js → components.doctor_end.ExemplaryCase.js} +0 -0
  29. /package/dist/a_chunks/{.root11.js → curve.components.BmiCanvas.js} +0 -0
  30. /package/dist/a_chunks/{.root12.js → curve.components.FetusCanvas.js} +0 -0
  31. /package/dist/a_chunks/{.root13.js → curve.components.FetusCanvasNICHD.js} +0 -0
  32. /package/dist/a_chunks/{.root14.js → curve.components.Pregnogram.js} +0 -0
  33. /package/dist/a_chunks/{.root15.js → modals.entries.BF_Form.js} +0 -0
  34. /package/dist/a_chunks/{.root16.js → modals.entries.StupidTemplateModal2.js} +0 -0
  35. /package/dist/a_chunks/{.root17.js → modals.entries.box.js} +0 -0
  36. /package/dist/a_chunks/{.root18.js → modals.entries.modal_form.js} +0 -0
  37. /package/dist/a_chunks/{.root19.js → modals.entries.modal_page.js} +0 -0
  38. /package/dist/a_chunks/{.root20.js → modals.entries.print_modal.js} +0 -0
  39. /package/dist/a_chunks/{.root21.js → modals.entries.result_template.js} +0 -0
  40. /package/dist/a_chunks/{.root23.js → modals.entries.test.js} +0 -0
  41. /package/dist/a_chunks/{.root24.js → modals.entries.text_search.js} +0 -0
  42. /package/dist/a_chunks/{.root25.js → modals.entries./344/271/231/350/202/235/347/256/241/347/220/206.js"} +0 -0
  43. /package/dist/a_chunks/{.root26.js → modals.entries./345/255/220/347/227/253/345/211/215/346/234/237/351/243/216/351/231/251/350/257/204/344/274/260/350/241/250.js"} +0 -0
  44. /package/dist/a_chunks/{.root27.js → modals.entries./346/242/205/346/257/222/347/256/241/347/220/206.js"} +0 -0
  45. /package/dist/a_chunks/{.root29.js → modals.entries./347/230/242/347/227/225/345/255/220/345/256/253/351/230/264/351/201/223/350/257/225/344/272/247/350/241/250.js"} +0 -0
  46. /package/dist/a_chunks/{.root30.js → modals.entries./350/257/212/346/226/255/345/216/206/345/217/262.js"} +0 -0
  47. /package/dist/a_chunks/{.root31.js → modals.entries./351/242/204/350/255/246/346/217/220/351/206/222_/351/253/230/345/215/261/345/277/253/350/256/257.js"} +0 -0
  48. /package/dist/a_chunks/{.root34.js → modals.entries./351/253/230/345/215/261/351/232/217/350/256/2772.js"} +0 -0
  49. /package/dist/a_chunks/{.root7.js → src.components.Login.js} +0 -0
  50. /package/dist/a_chunks/{.root9.js → src.components.MenuSearch.js} +0 -0
  51. /package/dist/a_chunks/{.root8.js → src.components.QuickDocButton.js} +0 -0
  52. /package/dist/a_chunks/{.root.js → src.pages.questionnaire.js} +0 -0
@@ -31,11 +31,7 @@ var form_confg = defineFormConfig([{
31
31
  "inputProps": {
32
32
  'options': mchcEnv.get_other_options('aboOptions'),
33
33
  marshal: 0,
34
- 'placeholder': 'ABO血型',
35
- 'labelSign': {
36
- 'type': 'iconfont',
37
- 'value': 'icon-number_light'
38
- }
34
+ 'placeholder': 'ABO血型'
39
35
  },
40
36
  layout: '1/3',
41
37
  isNewRow: 1
@@ -44,7 +40,6 @@ var form_confg = defineFormConfig([{
44
40
  "label": "男方RH血型",
45
41
  "inputType": "select",
46
42
  "inputProps": {
47
- 'warningOption': 1,
48
43
  marshal: 0,
49
44
  'options': mchcEnv.get_other_options('rhOptions'),
50
45
  'style': {
@@ -57,11 +52,7 @@ var form_confg = defineFormConfig([{
57
52
  "label": "男方地贫",
58
53
  "inputType": "checkbox",
59
54
  "inputProps": {
60
- options: '正常,异常i,未查,其他i',
61
- 'labelSign': {
62
- 'type': 'iconfont',
63
- 'value': 'icon-number_light'
64
- }
55
+ options: '正常,异常i,未查,其他i'
65
56
  },
66
57
  layout: '1/3'
67
58
  }, {
@@ -71,11 +62,7 @@ var form_confg = defineFormConfig([{
71
62
  "inputProps": {
72
63
  'options': mchcEnv.get_other_options('aboOptions'),
73
64
  marshal: 0,
74
- 'disabled': true,
75
- 'labelSign': {
76
- 'type': 'iconfont',
77
- 'value': 'icon-number_light'
78
- }
65
+ 'disabled': true
79
66
  },
80
67
  layout: '1/3',
81
68
  "isNewRow": 1
@@ -86,10 +73,6 @@ var form_confg = defineFormConfig([{
86
73
  "inputProps": {
87
74
  'options': mchcEnv.get_other_options('rhOptions'),
88
75
  marshal: 0,
89
- 'warningOption': 1,
90
- 'style': {
91
- 'marginLeft': '-1px'
92
- },
93
76
  'disabled': true
94
77
  },
95
78
  layout: '1/3'
@@ -105,165 +88,114 @@ var form_confg = defineFormConfig([{
105
88
  "key": "tsh",
106
89
  "label": "TSH",
107
90
  "inputType": "InputNumber",
108
- "inputProps": {
109
- 'unit': 'uIU/ml',
110
- 'labelSign': {
111
- 'type': 'iconfont',
112
- 'value': 'icon-number_light'
113
- }
114
- },
91
+ unit: 'uIU/ml',
115
92
  layout: '1/3',
116
93
  "isNewRow": 1
117
94
  }, {
118
95
  "key": "t3",
119
96
  "label": "游离T3",
120
97
  "inputType": "InputNumber",
121
- "inputProps": {
122
- 'unit': 'pmol/L'
123
- },
98
+ unit: 'pmol/L',
124
99
  layout: '1/3'
125
100
  }, {
126
101
  "key": "t4",
127
102
  "label": "游离T4",
128
103
  "inputType": "InputNumber",
129
- "inputProps": {
130
- 'unit': 'pmol/L'
131
- },
104
+ unit: 'pmol/L',
132
105
  layout: '1/3'
133
106
  }, {
134
107
  "key": "hb",
135
108
  "label": "HB",
136
109
  "inputType": "InputNumber",
137
- "inputProps": {
138
- 'unit': 'g/L',
139
- 'labelSign': {
140
- 'type': 'iconfont',
141
- 'value': 'icon-number_light'
142
- }
143
- },
110
+ unit: 'g/L',
144
111
  layout: '1/3',
145
112
  "isNewRow": 1
146
113
  }, {
147
114
  "key": "mcv",
148
115
  "label": "MCV",
149
116
  "inputType": "InputNumber",
150
- "inputProps": {
151
- 'unit': 'fL'
152
- },
117
+ unit: 'fL',
153
118
  layout: '1/3'
154
119
  }, {
155
120
  "key": "plt",
156
121
  "label": "PLT",
157
122
  "inputType": "InputNumber",
158
- "inputProps": {
159
- 'unit': 'x10^9/L'
160
- },
123
+ unit: 'x10^9/L',
161
124
  layout: '1/3'
162
125
  }, {
163
126
  key: "urokinase__",
164
127
  "label": "尿蛋白",
165
128
  "inputType": "checkbox",
166
129
  "inputProps": {
167
- options: '阴性,弱阳性,阳性i,未查,其他i',
168
- 'labelSign': {
169
- 'type': 'iconfont',
170
- 'value': 'icon-number_light'
171
- }
130
+ options: '阴性,弱阳性,阳性i,未查,其他i'
172
131
  },
173
132
  layout: '1/3'
174
133
  }, {
175
134
  "key": "hbsag",
176
135
  "label": "HBsAg",
177
- "inputType": "autoComplete",
136
+ "inputType": "MA",
178
137
  "inputProps": {
179
- 'labelSign': {
180
- 'type': 'iconfont',
181
- 'value': 'icon-number_light'
182
- },
183
- options: mchcEnv.get_other_options('hbOptions'),
184
- 'positiveWarning': true
138
+ options: mchcEnv.get_other_options('hbOptions')
185
139
  },
186
140
  layout: '1/3'
187
141
  }, {
188
142
  "key": "hbsab",
189
143
  "label": "HBsAb",
190
- "inputType": "autoComplete",
144
+ "inputType": "MA",
191
145
  "inputProps": {
192
- 'options': mchcEnv.get_other_options('hbOptions'),
193
- 'positiveWarning': true
146
+ 'options': mchcEnv.get_other_options('hbOptions')
194
147
  },
195
148
  layout: '1/3'
196
149
  }, {
197
150
  "key": "hbeag",
198
151
  "label": "HBeAg",
199
- "inputType": "autoComplete",
152
+ "inputType": "MA",
200
153
  "inputProps": {
201
- 'options': mchcEnv.get_other_options('hbOptions'),
202
- 'positiveWarning': true
154
+ 'options': mchcEnv.get_other_options('hbOptions')
203
155
  },
204
156
  layout: '1/3'
205
157
  }, {
206
158
  "key": "hbeab",
207
159
  "label": "HBeAb",
208
- "inputType": "autoComplete",
160
+ "inputType": "MA",
209
161
  "inputProps": {
210
- 'options': mchcEnv.get_other_options('hbOptions'),
211
- 'positiveWarning': true
162
+ 'options': mchcEnv.get_other_options('hbOptions')
212
163
  },
213
164
  layout: '1/3',
214
165
  "isNewRow": 1
215
166
  }, {
216
167
  "key": "hbcab",
217
168
  "label": "HBcAb",
218
- "inputType": "autoComplete",
169
+ "inputType": "MA",
219
170
  "inputProps": {
220
- 'options': mchcEnv.get_other_options('hbOptions'),
221
- 'positiveWarning': true
171
+ 'options': mchcEnv.get_other_options('hbOptions')
222
172
  },
223
173
  layout: '1/3'
224
174
  }, {
225
175
  "key": "hbvdna",
226
176
  "label": "HBV DNA",
227
177
  "inputType": "InputNumber",
228
- "inputProps": {
229
- 'labelSign': {
230
- 'type': 'iconfont',
231
- 'value': 'icon-number_light'
232
- },
233
- 'unit': 'IU/ml'
234
- },
178
+ unit: 'IU/ml',
235
179
  layout: '1/3'
236
180
  }, {
237
181
  "key": "alt",
238
182
  "label": "ALT",
239
183
  "inputType": "InputNumber",
240
- "inputProps": {
241
- 'labelSign': {
242
- 'type': 'iconfont',
243
- 'value': 'icon-number_light'
244
- },
245
- 'unit': 'U/L'
246
- },
184
+ unit: 'U/L',
247
185
  layout: '1/3',
248
186
  "isNewRow": 1
249
187
  }, {
250
188
  "key": "ast",
251
189
  "label": "AST",
252
190
  "inputType": "InputNumber",
253
- "inputProps": {
254
- 'unit': 'U/L'
255
- },
191
+ unit: 'U/L',
256
192
  layout: '1/3'
257
193
  }, {
258
194
  "key": "pt",
259
195
  "label": "PT",
260
196
  "inputType": "InputNumber",
197
+ 'unit': 'sec',
261
198
  "inputProps": {
262
- 'labelSign': {
263
- 'type': 'iconfont',
264
- 'value': 'icon-number_light'
265
- },
266
- 'unit': 'sec',
267
199
  'min': 0,
268
200
  'max': 20,
269
201
  'disabled': true
@@ -285,8 +217,8 @@ var form_confg = defineFormConfig([{
285
217
  "key": "aptt",
286
218
  "label": "APTT",
287
219
  "inputType": "InputNumber",
220
+ 'unit': 'sec',
288
221
  "inputProps": {
289
- 'unit': 'sec',
290
222
  'min': 0,
291
223
  'max': 50,
292
224
  'disabled': true
@@ -296,8 +228,8 @@ var form_confg = defineFormConfig([{
296
228
  "key": "tt",
297
229
  "label": "TT",
298
230
  "inputType": "InputNumber",
231
+ 'unit': 'sec',
299
232
  "inputProps": {
300
- 'unit': 'sec',
301
233
  'min': 0,
302
234
  'max': 20,
303
235
  'disabled': true
@@ -308,8 +240,8 @@ var form_confg = defineFormConfig([{
308
240
  "key": "fib",
309
241
  "label": "FIB",
310
242
  "inputType": "InputNumber",
243
+ 'unit': 'g/L',
311
244
  "inputProps": {
312
- 'unit': 'g/L',
313
245
  'min': 0,
314
246
  'max': 5,
315
247
  'step': 0.1,
@@ -320,20 +252,14 @@ var form_confg = defineFormConfig([{
320
252
  "key": "sf",
321
253
  "label": "SF",
322
254
  "inputType": "InputNumber",
323
- "inputProps": {
324
- 'unit': 'ng/ml'
325
- },
255
+ unit: 'ng/ml',
326
256
  layout: '1/3'
327
257
  }, {
328
258
  key: "hcvResult__",
329
259
  "label": "丙肝抗体",
330
260
  "inputType": "checkbox",
331
261
  "inputProps": {
332
- options: '阴性,阳性i,未查',
333
- 'labelSign': {
334
- 'type': 'iconfont',
335
- 'value': 'icon-number_light'
336
- }
262
+ options: '阴性,阳性i,未查'
337
263
  },
338
264
  layout: '1/3'
339
265
  }, {
@@ -341,11 +267,7 @@ var form_confg = defineFormConfig([{
341
267
  "label": "丙肝RNA",
342
268
  "inputType": "checkbox",
343
269
  "inputProps": {
344
- options: '阴性,阳性i,未查',
345
- 'labelSign': {
346
- 'type': 'iconfont',
347
- 'value': 'icon-number_light'
348
- }
270
+ options: '阴性,阳性i,未查'
349
271
  },
350
272
  layout: '1/3'
351
273
  }, {
@@ -353,11 +275,7 @@ var form_confg = defineFormConfig([{
353
275
  "label": "梅毒",
354
276
  "inputType": "checkbox",
355
277
  "inputProps": {
356
- options: '阴性,阳性i,未查',
357
- 'labelSign': {
358
- 'type': 'iconfont',
359
- 'value': 'icon-number_light'
360
- }
278
+ options: '阴性,阳性i,未查'
361
279
  },
362
280
  layout: '1/3'
363
281
  }, {
@@ -365,11 +283,7 @@ var form_confg = defineFormConfig([{
365
283
  "label": "HIV",
366
284
  "inputType": "checkbox",
367
285
  "inputProps": {
368
- options: '阴性,阳性i,未查',
369
- 'labelSign': {
370
- 'type': 'iconfont',
371
- 'value': 'icon-number_light'
372
- }
286
+ options: '阴性,阳性i,未查'
373
287
  },
374
288
  layout: '1/3'
375
289
  }, {
@@ -377,11 +291,7 @@ var form_confg = defineFormConfig([{
377
291
  "label": "GBS",
378
292
  "inputType": "checkbox",
379
293
  "inputProps": {
380
- options: '阴性,阳性i,未查',
381
- 'labelSign': {
382
- 'type': 'iconfont',
383
- 'value': 'icon-number_light'
384
- }
294
+ options: '阴性,阳性i,未查'
385
295
  },
386
296
  layout: '1/3'
387
297
  }, {
@@ -398,11 +308,7 @@ var form_confg = defineFormConfig([{
398
308
  "inputType": "checkbox",
399
309
  "inputProps": {
400
310
  options: mchcEnv.get_other_options('downsScreenOptions'),
401
- marshal: 0,
402
- 'labelSign': {
403
- 'type': 'iconfont',
404
- 'value': 'icon-number_light'
405
- }
311
+ marshal: 0
406
312
  },
407
313
  layout: '1/3'
408
314
  }, {
@@ -411,11 +317,7 @@ var form_confg = defineFormConfig([{
411
317
  "inputType": "checkbox",
412
318
  "inputProps": {
413
319
  options: mchcEnv.get_other_options('downsScreenOptions'),
414
- marshal: 0,
415
- 'labelSign': {
416
- 'type': 'iconfont',
417
- 'value': 'icon-number_light'
418
- }
320
+ marshal: 0
419
321
  },
420
322
  layout: '1/3'
421
323
  }, {
@@ -424,11 +326,7 @@ var form_confg = defineFormConfig([{
424
326
  "inputType": "checkbox",
425
327
  "inputProps": {
426
328
  options: mchcEnv.get_other_options('downsScreenOptions'),
427
- marshal: 0,
428
- 'labelSign': {
429
- 'type': 'iconfont',
430
- 'value': 'icon-number_light'
431
- }
329
+ marshal: 0
432
330
  },
433
331
  layout: '1/3'
434
332
  }, {
@@ -436,12 +334,17 @@ var form_confg = defineFormConfig([{
436
334
  "label": "产前诊断",
437
335
  "inputType": "checkbox",
438
336
  "inputProps": {
439
- options: mchcEnv.get_other_options('prenatalDiagnosisOptions'),
440
- marshal: 0,
441
- 'labelSign': {
442
- 'type': 'iconfont',
443
- 'value': 'icon-number_light'
444
- }
337
+ options: [{
338
+ label: '正常',
339
+ value: 1
340
+ }, {
341
+ label: '异常',
342
+ value: 2
343
+ }, {
344
+ label: '拒绝产前诊断和知情同意书',
345
+ value: 4
346
+ }],
347
+ marshal: 0
445
348
  },
446
349
  layout: '1/3'
447
350
  }, {
@@ -449,11 +352,7 @@ var form_confg = defineFormConfig([{
449
352
  "label": "OGTT",
450
353
  "inputType": "checkbox",
451
354
  "inputProps": {
452
- options: mchcEnv.get_other_options('ogttOptions'),
453
- 'labelSign': {
454
- 'type': 'iconfont',
455
- 'value': 'icon-number_light'
456
- }
355
+ options: mchcEnv.get_other_options('ogttOptions')
457
356
  },
458
357
  layout: '1/3'
459
358
  }, {
@@ -1,7 +1,7 @@
1
1
  import { s as styleInject, a as __assign, _ as __spreadArray, b as __awaiter, c as __generator, m as mchcModal__, d as __rest } from './index.js';
2
2
  import { mchcConfig, mchcLogger, mchcEnv, mchcEvent } from '@lm_fe/env';
3
3
  import { SMchc_FormDescriptions, ModelService } from '@lm_fe/service';
4
- import { safeGetFromFuncOrData, safe_json_parse, safe_json_parse_arr, expect_array, Browser, downloadFile, formatDateTime, safe_async_call, sleep, cloneDeep } from '@lm_fe/utils';
4
+ import { safeGetFromFuncOrData, flat, safe_json_parse, safe_json_parse_arr, expect_array, Browser, downloadFile, formatDateTime, safe_async_call, sleep, cloneDeep } from '@lm_fe/utils';
5
5
  import { Form, message, Space, Divider, Button } from 'antd';
6
6
  import { get, isObject, isString, isNil, omit, isFunction } from 'lodash';
7
7
  import React, { useState, useEffect, useRef } from 'react';
@@ -54,6 +54,7 @@ function formatProps(props) {
54
54
  return _props;
55
55
  }
56
56
  function tranformQueryData(values, searchConfig, isFuck) {
57
+ var _a;
57
58
  if (searchConfig === void 0) {
58
59
  searchConfig = [];
59
60
  }
@@ -61,7 +62,17 @@ function tranformQueryData(values, searchConfig, isFuck) {
61
62
  isFuck = false;
62
63
  }
63
64
  var newValues = __assign({}, values);
64
- var kvArr = searchConfig.filter(function (_) {
65
+ var straws = flat((_a = searchConfig.filter(function (_) {
66
+ return (_ === null || _ === void 0 ? void 0 : _.inputType) === 'straw';
67
+ })) === null || _a === void 0 ? void 0 : _a.map(function (_) {
68
+ var _a;
69
+ return (_a = _ === null || _ === void 0 ? void 0 : _.children) !== null && _a !== void 0 ? _a : [];
70
+ })).map(function (_) {
71
+ return __assign(__assign({}, _), {
72
+ straw_children: true
73
+ });
74
+ });
75
+ var kvArr = __spreadArray(__spreadArray([], searchConfig, true), straws, true).filter(function (_) {
65
76
  return _;
66
77
  }).map(function (conf) {
67
78
  var k = SMchc_FormDescriptions.get_form_item_name_str(conf);
@@ -74,7 +85,7 @@ function tranformQueryData(values, searchConfig, isFuck) {
74
85
  v = _a[1],
75
86
  conf = _a[2];
76
87
  if (isFuck) return __assign(__assign({}, sum), (_b = {}, _b[k] = v, _b));
77
- var res = conf ? calcKeyByType(k, v, conf) : (_c = {}, _c[k] = v, _c);
88
+ var res = conf && !get(conf, 'straw_children') ? calcKeyByType(k, v, conf) : (_c = {}, _c[k] = v, _c);
78
89
  return __assign(__assign({}, sum), res);
79
90
  }, {});
80
91
  }
@@ -28,9 +28,6 @@ function Layout_Sider_Inner(props) {
28
28
  openKeys = _c[0],
29
29
  setOpenKeys = _c[1];
30
30
  var pathname = props.location.pathname;
31
- var _d = useState(false),
32
- cc = _d[0];
33
- _d[1];
34
31
  var history = props.history,
35
32
  updateTabs = props.updateTabs,
36
33
  location = props.location;
@@ -84,7 +81,7 @@ function Layout_Sider_Inner(props) {
84
81
  }, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(PerfectScrollbar, {
85
82
  style: {
86
83
  height: 'calc(100vh - 64px)',
87
- overflowY: cc ? 'hidden' : 'auto'
84
+ overflowY: 'auto'
88
85
  },
89
86
  options: {
90
87
  suppressScrollX: true
@@ -39,6 +39,9 @@ function Layout_TabButton_Inner(props) {
39
39
  e.stopPropagation();
40
40
  onClose && onClose(tabKey);
41
41
  };
42
+ var regx = /\/happy\/config-table\/list(.*)\/(.*)/;
43
+ var result = regx.exec(title);
44
+ var dispaly_title = result ? "\u52A8\u6001\u5217\u8868\u9875".concat(result[1], "-").concat(result[2]) : title;
42
45
  return /*#__PURE__*/React.createElement("div", {
43
46
  id: tabKey,
44
47
  style: {
@@ -50,7 +53,7 @@ function Layout_TabButton_Inner(props) {
50
53
  }, /*#__PURE__*/React.createElement("div", {
51
54
  title: title,
52
55
  className: styles['my-tab-btn-title']
53
- }, title), closable && (/*#__PURE__*/React.createElement("div", {
56
+ }, dispaly_title), closable && (/*#__PURE__*/React.createElement("div", {
54
57
  onClick: handleCloseTab,
55
58
  className: styles['my-tab-btn-close'],
56
59
  title: "\u5173\u95ED"
@@ -1,3 +1,4 @@
1
+ import { ICommonOption } from "@lm_fe/env";
1
2
  import { IMchc_Doctor_OutpatientHeaderInfo } from "@lm_fe/service";
2
3
  export interface IHighRiskTableEntryProps {
3
4
  headerInfo?: IMchc_Doctor_OutpatientHeaderInfo;
@@ -13,11 +14,11 @@ export declare enum remindEnum {
13
14
  remind,
14
15
  no
15
16
  }
16
- export declare function highRiskTablePopup(res: IData): void;
17
+ export declare function highRiskTablePopup(res: IData, headerInfo?: IMchc_Doctor_OutpatientHeaderInfo<"mchc">): void;
17
18
  export declare const popupRemindkeyMap: {
18
19
  VTE: readonly ["cicatrixLable", "isOpenVTETable"];
19
20
  子痫: readonly ["eclampsiaLable", "isOpenEclampsiaTable"];
20
21
  瘢痕子宫: readonly ["thrombusLable", "isOpenSCTable"];
21
22
  };
22
- export type TPopupRemindkey = keyof typeof popupRemindkeyMap;
23
- export declare function isShowPopupRemind(key: TPopupRemindkey, headerInfo?: IMchc_Doctor_OutpatientHeaderInfo, value?: IData): boolean;
23
+ export type TPopupRemindkey = (keyof typeof popupRemindkeyMap) | ICommonOption;
24
+ export declare function isShowPopupRemind(key_or_ext: TPopupRemindkey, headerInfo?: IMchc_Doctor_OutpatientHeaderInfo, value?: IData): boolean;
@@ -0,0 +1,33 @@
1
+ import React, { CSSProperties } from "react";
2
+ export interface IProps {
3
+ hidePrintBtn?: boolean;
4
+ isAllPregnancies?: boolean;
5
+ onLoad?(): void;
6
+ headerInfo?: any;
7
+ id?: any;
8
+ }
9
+ interface TPointData {
10
+ x: any;
11
+ y: any;
12
+ line: any;
13
+ fetus: any;
14
+ style: CSSProperties;
15
+ }
16
+ export declare function use_fetus(props: IProps): {
17
+ sys_theme: import("@lm_fe/provoke").THEME;
18
+ line_color: string;
19
+ font_color: string;
20
+ formData: {
21
+ mlUltrasounds: any[];
22
+ } | undefined;
23
+ isShowPointModal: boolean;
24
+ set_isShowPointModal: React.Dispatch<React.SetStateAction<boolean>>;
25
+ pointData: TPointData | undefined;
26
+ set_pointData: React.Dispatch<React.SetStateAction<TPointData | undefined>>;
27
+ set_formData: React.Dispatch<React.SetStateAction<{
28
+ mlUltrasounds: any[];
29
+ } | undefined>>;
30
+ imageRef: React.MutableRefObject<any>;
31
+ getFetusData: () => Promise<void>;
32
+ };
33
+ export {};
@@ -0,0 +1,23 @@
1
+ import { Component } from 'react';
2
+ import './index.less';
3
+ interface IndexState {
4
+ bmiIntro: string;
5
+ bmiBottomLine: any[];
6
+ bmiTopLine: any[];
7
+ bmiLinesPoints: any[];
8
+ bmiNum: string;
9
+ bmiTz: string;
10
+ bmiList: any[];
11
+ resdata: any;
12
+ }
13
+ export default class BmiCanvas extends Component<{}, IndexState> {
14
+ constructor(props: any);
15
+ default_type: number;
16
+ componentDidMount(): Promise<void>;
17
+ getResData(): Promise<void>;
18
+ getBmiData: (type: number) => Promise<void>;
19
+ handleRadioChange: (e: any) => void;
20
+ drawBmiCanvas(dd: any): void;
21
+ render(): import("react").JSX.Element;
22
+ }
23
+ export {};
@@ -0,0 +1,19 @@
1
+ import { Component } from 'react';
2
+ import './index.less';
3
+ export default class FetusCanvas extends Component {
4
+ state: {
5
+ formConfig: never[];
6
+ formHandler: {};
7
+ formData: never[];
8
+ isShowTableModal: boolean;
9
+ isShowPointModal: boolean;
10
+ pointData: null;
11
+ };
12
+ componentDidMount(): Promise<void>;
13
+ getFetusData: () => Promise<void>;
14
+ drawFetusCanvas: (dd: any) => void;
15
+ handleEditBtn: () => Promise<void>;
16
+ renderPointModal(): import("react").JSX.Element | null;
17
+ renderTableModal(): import("react").JSX.Element;
18
+ render(): import("react").JSX.Element;
19
+ }
@@ -0,0 +1,21 @@
1
+ import { Component } from 'react';
2
+ import './index.less';
3
+ export default class FetusCanvasNICHD extends Component {
4
+ state: {
5
+ formConfig: never[];
6
+ formHandler: {};
7
+ formData: never[];
8
+ isShowTableModal: boolean;
9
+ isShowPointModal: boolean;
10
+ pointData: null;
11
+ currentCurve: string;
12
+ };
13
+ componentDidMount(): Promise<void>;
14
+ getFetusData: () => Promise<void>;
15
+ drawFetusCanvas: (dd: any, type: any) => void;
16
+ handleEditBtn: () => Promise<void>;
17
+ handleIndexBtn: (e: any) => Promise<void>;
18
+ renderPointModal(): import("react").JSX.Element | null;
19
+ renderTableModal(): import("react").JSX.Element;
20
+ render(): import("react").JSX.Element;
21
+ }
@@ -0,0 +1,13 @@
1
+ import { Component } from 'react';
2
+ import './index.less';
3
+ interface IndexState {
4
+ fundalHeightList: any[];
5
+ }
6
+ export default class Pregnogram extends Component<{}, IndexState> {
7
+ constructor(props: any);
8
+ componentDidMount(): Promise<void>;
9
+ setHorizontal: (context: any, xCount: number, yCount: number, xStep: number, yStep: number, baseLeft: number, baseTop: number) => void;
10
+ drawPregnogramCanvas(dd: any): void;
11
+ render(): import("react").JSX.Element;
12
+ }
13
+ export {};
@@ -0,0 +1,18 @@
1
+ import { ModelService, TIdTypeCompatible } from "@lm_fe/service";
2
+ import { AnyObject } from "@lm_fe/utils";
3
+ import React from "react";
4
+ import { IBF_props } from "../components";
5
+ export interface IDuckFormConf {
6
+ init_values: AnyObject & {
7
+ id?: TIdTypeCompatible;
8
+ };
9
+ name: string;
10
+ bf_conf: IBF_props;
11
+ save_cb?(): void;
12
+ [x: string]: any;
13
+ }
14
+ export declare function use_duck_form(props: IDuckFormConf): {
15
+ node: React.JSX.Element;
16
+ form: import("antd").FormInstance<any>;
17
+ fetcher: React.MutableRefObject<ModelService<any>>;
18
+ };
@@ -0,0 +1,22 @@
1
+ import { DataNode } from 'antd/lib/tree';
2
+ import { IMchc_TemplateTree_Item } from '@lm_fe/service';
3
+ export declare const getTemplates: ({ templateType, userid }: {
4
+ templateType: any;
5
+ userid?: null | undefined;
6
+ }) => Promise<any>;
7
+ export declare const rootTemplate: {
8
+ id: number;
9
+ key: number;
10
+ value: number;
11
+ title: string;
12
+ children: never[];
13
+ };
14
+ export declare const transferTemplates: (templates: IMchc_TemplateTree_Item[], pid?: number) => (import("rc-tree/lib/interface").BasicDataNode & {
15
+ key: import("rc-tree/lib/interface").Key;
16
+ title?: React.ReactNode | ((data: DataNode) => React.ReactNode);
17
+ } & Partial<Record<"children", import("rc-tree").FieldDataNode<{
18
+ key: import("rc-tree/lib/interface").Key;
19
+ title?: React.ReactNode | ((data: DataNode) => React.ReactNode);
20
+ }, "children">[]>> & {
21
+ value?: any;
22
+ })[];