@lm_fe/components_m 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.
- package/README.md +0 -0
- package/dist/BaseEditPanel/BaseEditPanelFormFC.d.ts +3 -0
- package/dist/BaseEditPanel/PanelWithChildFC.d.ts +10 -15
- package/dist/BaseList/index.d.ts +2 -2
- package/dist/BaseList/methods/index.d.ts +1 -4
- package/dist/BaseListOld/methods/index.d.ts +1 -5
- package/dist/BaseModalForm/DynamicForm.d.ts +0 -24
- package/dist/BaseModalForm/PatientList/index.d.ts +2 -2
- package/dist/BaseModalForm/index.d.ts +2 -2
- package/dist/BusinessComponents/BloodPressure/index.d.ts +2 -1
- package/dist/BusinessComponents/DiagnosisListInduced/index.d.ts +2 -1
- package/dist/BusinessComponents/DiagnosisListv2/template/index.d.ts +1 -2
- package/dist/BusinessComponents/HighriskGrade/index.d.ts +1 -1
- package/dist/BusinessComponents/HighriskSign/index.d.ts +1 -1
- package/dist/BusinessComponents/InspectionResultTextarea/utils.d.ts +0 -8
- package/dist/BusinessComponents/LaborProcess/index.d.ts +3 -3
- package/dist/BusinessComponents/NurseChildren/index.d.ts +5 -5
- package/dist/BusinessComponents/NurseChildren2/index.d.ts +1 -2
- package/dist/BusinessComponents/NursingFetusv2/index.d.ts +1 -2
- package/dist/BusinessComponents/NursingFetusv3/index.d.ts +3 -3
- package/dist/BusinessComponents/PregnancyHistory/config/index-table.d.ts +1 -1
- package/dist/BusinessComponents/ResultTextarea/index copy.d.ts +13 -0
- package/dist/BusinessComponents/ResultTextarea/index.d.ts +1 -1
- package/dist/BusinessComponents/ResultTextarea/utils.d.ts +0 -8
- package/dist/BusinessComponents/TemplateTexDeathclassification1/index.d.ts +2 -1
- package/dist/BusinessComponents/TemplateTextareav2/components/TemplateSelect.d.ts +2 -1
- package/dist/BusinessComponents/TreatmentProgram/TreatmentProgramTable/index.d.ts +3 -4
- package/dist/BusinessComponents/UltrosoundResultTextarea/utils.d.ts +0 -8
- package/dist/ConfigComponents/CheckboxWithInput/index.d.ts +2 -1
- package/dist/ConfigComponents/InputWithRange/index.d.ts +2 -1
- package/dist/ConfigComponents/NeonatalCareRecordTable/table/default.d.ts +3 -3
- package/dist/ConfigComponents/NeonatalCareRecordTable/table/gysy.d.ts +11 -11
- package/dist/ConfigComponents/NeonatalCareRecordTable/table/indx.d.ts +14 -14
- package/dist/ConfigComponents/NeonatalScaleExamination/table.d.ts +4 -4
- package/dist/ConfigComponents/NormalNursingTable/table.d.ts +1 -1
- package/dist/ConfigComponents/ObserMagnesiumsulphateTable/table.d.ts +3 -3
- package/dist/ConfigComponents/PastDeliveryNursingTable/table.d.ts +6 -6
- package/dist/ConfigComponents/PreDeliverNursingTable/table/default.d.ts +4 -4
- package/dist/ConfigComponents/SpecialNursingTable/table.d.ts +2 -2
- package/dist/FU_components/ArrayInput/index copy.d.ts +4 -0
- package/dist/FU_components/ArrayInput/index.d.ts +1 -4
- package/dist/FU_components/ArrayInput/types.d.ts +8 -9
- package/dist/FU_components/ArrayPanel/Display.d.ts +0 -1
- package/dist/FU_components/ArrayPanel/Inner.d.ts +5 -3
- package/dist/FU_components/CommonFormTabs/index.d.ts +1 -1
- package/dist/FU_components/CommonFormTabs/types.d.ts +4 -2
- package/dist/FU_components/CommonFormTabs/utils.d.ts +4 -0
- package/dist/FU_components/DateRange/index copy.d.ts +7 -0
- package/dist/FU_components/DateRange/index.d.ts +1 -7
- package/dist/FU_components/DateTimeInput/Inner.d.ts +2 -0
- package/dist/FU_components/DateTimeInput/index.d.ts +3 -1
- package/dist/FU_components/FormSection/FormSectionForm.d.ts +4 -0
- package/dist/FU_components/FormSection/RenderFormSectionComponent.d.ts +3 -3
- package/dist/FU_components/FormSection/form_control.d.ts +9 -0
- package/dist/FU_components/FormSection/helper.d.ts +7 -7
- package/dist/FU_components/FormSection/types.d.ts +4 -1
- package/dist/FU_components/FormSection/use_chrono.d.ts +17 -2
- package/dist/FU_components/HbvdnaInput/index.d.ts +2 -1
- package/dist/FU_components/HighriskGradeColorSpan/index.d.ts +1 -1
- package/dist/FU_components/IdNOButton/index copy.d.ts +1 -1
- package/dist/FU_components/MchcDriverStatus/Inner.d.ts +1 -1
- package/dist/FU_components/MyAutoComplete/index copy.d.ts +4 -0
- package/dist/FU_components/MyAutoComplete/index.d.ts +1 -4
- package/dist/FU_components/MyAutoComplete/types.d.ts +1 -1
- package/dist/FU_components/MyBaseList/methods/index.d.ts +1 -1
- package/dist/FU_components/MyBaseTable/strategies.d.ts +0 -5
- package/dist/FU_components/MyButton/{index.d.ts → index copy.d.ts } +1 -1
- package/dist/FU_components/MyEditTable/Inner.d.ts +4 -0
- package/dist/FU_components/MyEditTable/index.d.ts +2 -19
- package/dist/FU_components/MyEditTable/types.d.ts +16 -0
- package/dist/FU_components/MyReferralOrganizationSelect/index.d.ts +1 -1
- package/dist/FU_components/MySearchSelect/index.d.ts +2 -1
- package/dist/FU_components/MySelect/index.d.ts +1 -8
- package/dist/FU_components/MySelect/types.d.ts +3 -5
- package/dist/FU_components/OkButton/index.d.ts +2 -7
- package/dist/FU_components/PressureInput/index.d.ts +4 -0
- package/dist/FU_components/ResultTextarea/index.d.ts +19 -0
- package/dist/FU_components/index.d.ts +1 -3
- package/dist/FU_components/types.d.ts +1 -12
- package/dist/GeneralComponents/CaseTemplete/Inner.d.ts +4 -1
- package/dist/GeneralComponents/CheckboxGroupObject/index.d.ts +1 -1
- package/dist/GeneralComponents/CheckboxWithInput_gold/components.d.ts +200 -45
- package/dist/GeneralComponents/CheckboxWithInput_gold/index.d.ts +1 -5
- package/dist/GeneralComponents/CheckboxWithInput_gold/types.d.ts +1 -1
- package/dist/GeneralComponents/CheckboxWithInput_gold/utils.d.ts +0 -4
- package/dist/GeneralComponents/CustomIcon/index.d.ts +0 -1
- package/dist/GeneralComponents/DatePicker/Inner.d.ts +1 -1
- package/dist/GeneralComponents/DatePicker/index.d.ts +2 -2
- package/dist/GeneralComponents/DatePicker/utils.d.ts +35 -0
- package/dist/GeneralComponents/EditInTable/EditInTable_Inner copy.d.ts +3 -24
- package/dist/GeneralComponents/EditInTable/components.d.ts +1 -1
- package/dist/GeneralComponents/EditInTable/index.d.ts +2 -2
- package/dist/GeneralComponents/EditInTable/utils.d.ts +6 -1
- package/dist/GeneralComponents/ImageUploadPreview/Inner.d.ts +2 -1
- package/dist/GeneralComponents/ImageUploadPreview/index.d.ts +2 -1
- package/dist/GeneralComponents/InputNumber/index.d.ts +4 -4
- package/dist/GeneralComponents/MobileEditor/Inner.d.ts +6 -9
- package/dist/GeneralComponents/MobileEditor/index.d.ts +3 -2
- package/dist/GeneralComponents/UploadFile/index.d.ts +9 -1
- package/dist/GeneralComponents/UploadFileUrlEdit/index.d.ts +2 -1
- package/dist/MyForm/components/Base/CheckboxWithExtra.d.ts +3 -2
- package/dist/MyForm/components/MyButton/index.d.ts +1 -1
- package/dist/MyForm/components/MySelect/DefaultSelect.d.ts +3 -2
- package/dist/MyForm/components/MyTable/index.d.ts +1 -1
- package/dist/MyForm/components/MyTable/index2.d.ts +1 -1
- package/dist/MyForm/components/_MyFormComponent.d.ts +252 -0
- package/dist/MyForm/components/business/NormalButton/index.d.ts +1 -1
- package/dist/MyForm/components/business/PdProcedure/config/table.d.ts +1 -1
- package/dist/MyForm/components/business/PregnancyHistory/MyForm_Business_PregnancyHistory.d.ts +1 -1
- package/dist/MyForm/components/business/PregnancyHistory/config.d.ts +37 -9
- package/dist/MyForm/components/business/TextareaWithBtn/index.d.ts +4 -7
- package/dist/MyForm/form_new.d.ts +20 -1
- package/dist/a_chunks/.root.js +73 -130
- package/dist/a_chunks/.root10.js +124 -319
- package/dist/a_chunks/.root100.js +22 -393
- package/dist/a_chunks/.root101.js +83 -987
- package/dist/a_chunks/.root102.js +13 -278
- package/dist/a_chunks/.root103.js +83 -128
- package/dist/a_chunks/.root104.js +64 -277
- package/dist/a_chunks/.root105.js +133 -492
- package/dist/a_chunks/.root106.js +45 -106
- package/dist/a_chunks/.root107.js +43 -210
- package/dist/a_chunks/.root108.js +71 -174
- package/dist/a_chunks/.root109.js +38 -910
- package/dist/a_chunks/.root11.js +55 -89
- package/dist/a_chunks/.root110.js +46 -939
- package/dist/a_chunks/.root111.js +188 -169
- package/dist/a_chunks/.root112.js +16 -414
- package/dist/a_chunks/.root113.js +23 -257
- package/dist/a_chunks/.root114.js +1994 -163
- package/dist/a_chunks/.root115.js +33 -343
- package/dist/a_chunks/.root116.js +67 -150
- package/dist/a_chunks/.root117.js +35 -124
- package/dist/a_chunks/.root118.js +49 -523
- package/dist/a_chunks/.root119.js +58 -580
- package/dist/a_chunks/.root12.js +133 -117
- package/dist/a_chunks/.root120.js +62 -277
- package/dist/a_chunks/.root121.js +75 -512
- package/dist/a_chunks/.root122.js +75 -633
- package/dist/a_chunks/.root123.js +29 -669
- package/dist/a_chunks/.root124.js +57 -273
- package/dist/a_chunks/.root125.js +107 -200
- package/dist/a_chunks/.root126.js +179 -81
- package/dist/a_chunks/.root127.js +85 -792
- package/dist/a_chunks/.root128.js +108 -260
- package/dist/a_chunks/.root129.js +172 -1085
- package/dist/a_chunks/.root13.js +284 -119
- package/dist/a_chunks/.root130.js +200 -532
- package/dist/a_chunks/.root131.js +2 -242
- package/dist/a_chunks/.root132.js +185 -131
- package/dist/a_chunks/.root133.js +324 -180
- package/dist/a_chunks/.root134.js +13 -409
- package/dist/a_chunks/.root135.js +160 -1135
- package/dist/a_chunks/.root14.js +251 -316
- package/dist/a_chunks/.root15.js +58 -266
- package/dist/a_chunks/.root16.js +74 -240
- package/dist/a_chunks/.root17.js +38 -127
- package/dist/a_chunks/.root18.js +87 -148
- package/dist/a_chunks/.root19.js +182 -109
- package/dist/a_chunks/.root2.js +97 -163
- package/dist/a_chunks/.root20.js +237 -157
- package/dist/a_chunks/.root21.js +19 -258
- package/dist/a_chunks/.root22.js +20 -320
- package/dist/a_chunks/.root23.js +197 -20
- package/dist/a_chunks/.root24.js +190 -89
- package/dist/a_chunks/.root25.js +73 -196
- package/dist/a_chunks/.root26.js +102 -257
- package/dist/a_chunks/.root27.js +69 -142
- package/dist/a_chunks/.root28.js +79 -375
- package/dist/a_chunks/.root29.js +34 -542
- package/dist/a_chunks/.root3.js +103 -170
- package/dist/a_chunks/.root30.js +19 -2226
- package/dist/a_chunks/.root31.js +50 -279
- package/dist/a_chunks/.root32.js +49 -81
- package/dist/a_chunks/.root33.js +49 -84
- package/dist/a_chunks/.root34.js +200 -223
- package/dist/a_chunks/.root35.js +112 -279
- package/dist/a_chunks/.root36.js +136 -158
- package/dist/a_chunks/.root37.js +19 -146
- package/dist/a_chunks/.root38.js +101 -78
- package/dist/a_chunks/.root39.js +581 -34
- package/dist/a_chunks/.root4.js +635 -1056
- package/dist/a_chunks/.root40.js +25 -268
- package/dist/a_chunks/.root41.js +312 -18
- package/dist/a_chunks/.root42.js +138 -192
- package/dist/a_chunks/.root43.js +62 -128
- package/dist/a_chunks/.root44.js +264 -36
- package/dist/a_chunks/.root45.js +257 -20
- package/dist/a_chunks/.root46.js +2274 -47
- package/dist/a_chunks/.root47.js +490 -227
- package/dist/a_chunks/.root48.js +190 -160
- package/dist/a_chunks/.root49.js +168 -74
- package/dist/a_chunks/.root5.js +98 -349
- package/dist/a_chunks/.root50.js +146 -190
- package/dist/a_chunks/.root51.js +379 -305
- package/dist/a_chunks/.root52.js +237 -101
- package/dist/a_chunks/.root53.js +29 -296
- package/dist/a_chunks/.root54.js +69 -23
- package/dist/a_chunks/.root55.js +71 -660
- package/dist/a_chunks/.root56.js +356 -3320
- package/dist/a_chunks/.root57.js +206 -544
- package/dist/a_chunks/.root58.js +275 -185
- package/dist/a_chunks/.root59.js +150 -147
- package/dist/a_chunks/.root6.js +1003 -188
- package/dist/a_chunks/.root60.js +132 -882
- package/dist/a_chunks/.root61.js +288 -98
- package/dist/a_chunks/.root62.js +293 -213
- package/dist/a_chunks/.root63.js +299 -294
- package/dist/a_chunks/.root64.js +295 -450
- package/dist/a_chunks/.root65.js +924 -458
- package/dist/a_chunks/.root66.js +58 -1053
- package/dist/a_chunks/.root67.js +813 -255
- package/dist/a_chunks/.root68.js +892 -192
- package/dist/a_chunks/.root69.js +80 -1070
- package/dist/a_chunks/.root7.js +269 -725
- package/dist/a_chunks/.root70.js +333 -830
- package/dist/a_chunks/.root71.js +155 -376
- package/dist/a_chunks/.root72.js +245 -204
- package/dist/a_chunks/.root73.js +76 -148
- package/dist/a_chunks/.root74.js +54 -344
- package/dist/a_chunks/.root75.js +610 -530
- package/dist/a_chunks/.root76.js +34 -533
- package/dist/a_chunks/.root77.js +140 -328
- package/dist/a_chunks/.root78.js +472 -286
- package/dist/a_chunks/.root79.js +199 -2292
- package/dist/a_chunks/.root8.js +128 -163
- package/dist/a_chunks/.root80.js +476 -168
- package/dist/a_chunks/.root81.js +530 -535
- package/dist/a_chunks/.root82.js +565 -248
- package/dist/a_chunks/.root83.js +126 -242
- package/dist/a_chunks/.root84.js +14 -241
- package/dist/a_chunks/.root85.js +678 -430
- package/dist/a_chunks/.root86.js +161 -317
- package/dist/a_chunks/.root87.js +455 -88
- package/dist/a_chunks/.root88.js +175 -98
- package/dist/a_chunks/.root89.js +63 -237
- package/dist/a_chunks/.root9.js +93 -675
- package/dist/a_chunks/.root90.js +108 -348
- package/dist/a_chunks/.root91.js +331 -124
- package/dist/a_chunks/.root92.js +438 -139
- package/dist/a_chunks/.root93.js +102 -434
- package/dist/a_chunks/.root94.js +821 -346
- package/dist/a_chunks/.root95.js +39 -214
- package/dist/a_chunks/.root96.js +57 -349
- package/dist/a_chunks/.root97.js +274 -510
- package/dist/a_chunks/.root98.js +22 -366
- package/dist/a_chunks/.root99.js +57 -375
- package/dist/a_chunks/Inner.js +149 -262
- package/dist/a_chunks/TableEditableCell.js +12 -10
- package/dist/a_chunks/TemplateModal.js +111 -132
- package/dist/a_chunks/deathclassification.js +17 -33
- package/dist/a_chunks/index.js +2930 -5417
- package/dist/a_chunks/index2.js +2 -4
- package/dist/doctor-end/index.d.ts +0 -2
- package/dist/index.d.ts +3 -8
- package/dist/index.js +8 -77
- package/dist/layout/header.d.ts +0 -1
- package/dist/modals/index.d.ts +1 -16
- package/dist/modals/meta.d.ts +1 -16
- package/dist/newly-component/hepatitis-new-baby/components/Form.d.ts +2 -1
- package/dist/newly-component/hepatitis-new-baby/index.d.ts +2 -1
- package/dist/selects/NormalSelect/index.d.ts +1 -1
- package/dist/selects/SelectWithNo/index copy.d.ts +2 -0
- package/dist/selects/SelectWithNo/index.d.ts +2 -2
- package/dist/utils/InterceptComponent.d.ts +1 -0
- package/dist/utils/dictionary.d.ts +2 -13
- package/dist/utils/format.d.ts +4 -4
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/useMarshal.d.ts +3 -3
- package/dist/utils/utils.d.ts +0 -4
- package/package.json +32 -19
- package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/BaseTable.d.ts +0 -5
- package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/EditInTableNoForm.d.ts +0 -51
- package/dist/ConfigComponents/OxytocinNursingTable/EditInTable/index.d.ts +0 -49
- package/dist/ConfigComponents/OxytocinNursingTable/index.d.ts +0 -2
- package/dist/ConfigComponents/OxytocinNursingTable/table/default.d.ts +0 -255
- package/dist/ConfigComponents/OxytocinNursingTable/table/gysy.d.ts +0 -234
- package/dist/ConfigComponents/OxytocinNursingTable/table/index.d.ts +0 -3
- package/dist/ConfigComponents/RevertEditInTable/index.d.ts +0 -1
- package/dist/FU_components/FormSection/utils.d.ts +0 -81
- package/dist/FU_components/SimpleForm/components/TabForm/index.d.ts +0 -14
- package/dist/FU_components/SimpleForm/components/extra/Custom.d.ts +0 -5
- package/dist/FU_components/SimpleForm/components/extra/SimpleSelect.d.ts +0 -6
- package/dist/FU_components/SimpleForm/index.d.ts +0 -45
- package/dist/FU_components/SimpleForm/types/help.d.ts +0 -3
- package/dist/FU_components/SimpleForm/types/lmTypes.d.ts +0 -85
- package/dist/FU_components/SimpleForm/types/metaTypes.d.ts +0 -28
- package/dist/GeneralComponents/CustomFormField/index.d.ts +0 -12
- package/dist/GeneralComponents/EditInTable/EditInTable_Inner copy 2.d.ts +0 -24
- package/dist/GeneralComponents/IconSelect/index.d.ts +0 -5
- package/dist/GeneralComponents/SelectTable/index.d.ts +0 -44
- package/dist/GeneralComponents/SoDiaoEditor/config.d.ts +0 -44
- package/dist/GeneralComponents/SoDiaoEditor/index.d.ts +0 -11
- package/dist/a_chunks/.root.js.map +0 -1
- package/dist/a_chunks/.root10.js.map +0 -1
- package/dist/a_chunks/.root100.js.map +0 -1
- package/dist/a_chunks/.root101.js.map +0 -1
- package/dist/a_chunks/.root102.js.map +0 -1
- package/dist/a_chunks/.root103.js.map +0 -1
- package/dist/a_chunks/.root104.js.map +0 -1
- package/dist/a_chunks/.root105.js.map +0 -1
- package/dist/a_chunks/.root106.js.map +0 -1
- package/dist/a_chunks/.root107.js.map +0 -1
- package/dist/a_chunks/.root108.js.map +0 -1
- package/dist/a_chunks/.root109.js.map +0 -1
- package/dist/a_chunks/.root11.js.map +0 -1
- package/dist/a_chunks/.root110.js.map +0 -1
- package/dist/a_chunks/.root111.js.map +0 -1
- package/dist/a_chunks/.root112.js.map +0 -1
- package/dist/a_chunks/.root113.js.map +0 -1
- package/dist/a_chunks/.root114.js.map +0 -1
- package/dist/a_chunks/.root115.js.map +0 -1
- package/dist/a_chunks/.root116.js.map +0 -1
- package/dist/a_chunks/.root117.js.map +0 -1
- package/dist/a_chunks/.root118.js.map +0 -1
- package/dist/a_chunks/.root119.js.map +0 -1
- package/dist/a_chunks/.root12.js.map +0 -1
- package/dist/a_chunks/.root120.js.map +0 -1
- package/dist/a_chunks/.root121.js.map +0 -1
- package/dist/a_chunks/.root122.js.map +0 -1
- package/dist/a_chunks/.root123.js.map +0 -1
- package/dist/a_chunks/.root124.js.map +0 -1
- package/dist/a_chunks/.root125.js.map +0 -1
- package/dist/a_chunks/.root126.js.map +0 -1
- package/dist/a_chunks/.root127.js.map +0 -1
- package/dist/a_chunks/.root128.js.map +0 -1
- package/dist/a_chunks/.root129.js.map +0 -1
- package/dist/a_chunks/.root13.js.map +0 -1
- package/dist/a_chunks/.root130.js.map +0 -1
- package/dist/a_chunks/.root131.js.map +0 -1
- package/dist/a_chunks/.root132.js.map +0 -1
- package/dist/a_chunks/.root133.js.map +0 -1
- package/dist/a_chunks/.root134.js.map +0 -1
- package/dist/a_chunks/.root135.js.map +0 -1
- package/dist/a_chunks/.root136.js +0 -507
- package/dist/a_chunks/.root136.js.map +0 -1
- package/dist/a_chunks/.root137.js +0 -570
- package/dist/a_chunks/.root137.js.map +0 -1
- package/dist/a_chunks/.root138.js +0 -197
- package/dist/a_chunks/.root138.js.map +0 -1
- package/dist/a_chunks/.root139.js +0 -903
- package/dist/a_chunks/.root139.js.map +0 -1
- package/dist/a_chunks/.root14.js.map +0 -1
- package/dist/a_chunks/.root140.js +0 -267
- package/dist/a_chunks/.root140.js.map +0 -1
- package/dist/a_chunks/.root141.js +0 -179
- package/dist/a_chunks/.root141.js.map +0 -1
- package/dist/a_chunks/.root142.js +0 -114
- package/dist/a_chunks/.root142.js.map +0 -1
- package/dist/a_chunks/.root143.js +0 -133
- package/dist/a_chunks/.root143.js.map +0 -1
- package/dist/a_chunks/.root144.js +0 -351
- package/dist/a_chunks/.root144.js.map +0 -1
- package/dist/a_chunks/.root145.js +0 -99
- package/dist/a_chunks/.root145.js.map +0 -1
- package/dist/a_chunks/.root146.js +0 -136
- package/dist/a_chunks/.root146.js.map +0 -1
- package/dist/a_chunks/.root147.js +0 -445
- package/dist/a_chunks/.root147.js.map +0 -1
- package/dist/a_chunks/.root148.js +0 -618
- package/dist/a_chunks/.root148.js.map +0 -1
- package/dist/a_chunks/.root149.js +0 -329
- package/dist/a_chunks/.root149.js.map +0 -1
- package/dist/a_chunks/.root15.js.map +0 -1
- package/dist/a_chunks/.root150.js +0 -381
- package/dist/a_chunks/.root150.js.map +0 -1
- package/dist/a_chunks/.root151.js +0 -299
- package/dist/a_chunks/.root151.js.map +0 -1
- package/dist/a_chunks/.root152.js +0 -105
- package/dist/a_chunks/.root152.js.map +0 -1
- package/dist/a_chunks/.root153.js +0 -117
- package/dist/a_chunks/.root153.js.map +0 -1
- package/dist/a_chunks/.root154.js +0 -101
- package/dist/a_chunks/.root154.js.map +0 -1
- package/dist/a_chunks/.root155.js +0 -279
- package/dist/a_chunks/.root155.js.map +0 -1
- package/dist/a_chunks/.root156.js +0 -91
- package/dist/a_chunks/.root156.js.map +0 -1
- package/dist/a_chunks/.root157.js +0 -154
- package/dist/a_chunks/.root157.js.map +0 -1
- package/dist/a_chunks/.root158.js +0 -213
- package/dist/a_chunks/.root158.js.map +0 -1
- package/dist/a_chunks/.root159.js +0 -122
- package/dist/a_chunks/.root159.js.map +0 -1
- package/dist/a_chunks/.root16.js.map +0 -1
- package/dist/a_chunks/.root160.js +0 -123
- package/dist/a_chunks/.root160.js.map +0 -1
- package/dist/a_chunks/.root161.js +0 -45
- package/dist/a_chunks/.root161.js.map +0 -1
- package/dist/a_chunks/.root162.js +0 -46
- package/dist/a_chunks/.root162.js.map +0 -1
- package/dist/a_chunks/.root163.js +0 -77
- package/dist/a_chunks/.root163.js.map +0 -1
- package/dist/a_chunks/.root164.js +0 -206
- package/dist/a_chunks/.root164.js.map +0 -1
- package/dist/a_chunks/.root165.js +0 -108
- package/dist/a_chunks/.root165.js.map +0 -1
- package/dist/a_chunks/.root166.js +0 -108
- package/dist/a_chunks/.root166.js.map +0 -1
- package/dist/a_chunks/.root167.js +0 -2074
- package/dist/a_chunks/.root167.js.map +0 -1
- package/dist/a_chunks/.root168.js +0 -112
- package/dist/a_chunks/.root168.js.map +0 -1
- package/dist/a_chunks/.root169.js +0 -147
- package/dist/a_chunks/.root169.js.map +0 -1
- package/dist/a_chunks/.root17.js.map +0 -1
- package/dist/a_chunks/.root170.js +0 -114
- package/dist/a_chunks/.root170.js.map +0 -1
- package/dist/a_chunks/.root171.js +0 -59
- package/dist/a_chunks/.root171.js.map +0 -1
- package/dist/a_chunks/.root172.js +0 -69
- package/dist/a_chunks/.root172.js.map +0 -1
- package/dist/a_chunks/.root173.js +0 -146
- package/dist/a_chunks/.root173.js.map +0 -1
- package/dist/a_chunks/.root174.js +0 -112
- package/dist/a_chunks/.root174.js.map +0 -1
- package/dist/a_chunks/.root175.js +0 -113
- package/dist/a_chunks/.root175.js.map +0 -1
- package/dist/a_chunks/.root176.js +0 -109
- package/dist/a_chunks/.root176.js.map +0 -1
- package/dist/a_chunks/.root177.js +0 -129
- package/dist/a_chunks/.root177.js.map +0 -1
- package/dist/a_chunks/.root178.js +0 -182
- package/dist/a_chunks/.root178.js.map +0 -1
- package/dist/a_chunks/.root179.js +0 -253
- package/dist/a_chunks/.root179.js.map +0 -1
- package/dist/a_chunks/.root18.js.map +0 -1
- package/dist/a_chunks/.root180.js +0 -458
- package/dist/a_chunks/.root180.js.map +0 -1
- package/dist/a_chunks/.root181.js +0 -1511
- package/dist/a_chunks/.root181.js.map +0 -1
- package/dist/a_chunks/.root182.js +0 -91
- package/dist/a_chunks/.root182.js.map +0 -1
- package/dist/a_chunks/.root183.js +0 -115
- package/dist/a_chunks/.root183.js.map +0 -1
- package/dist/a_chunks/.root184.js +0 -1202
- package/dist/a_chunks/.root184.js.map +0 -1
- package/dist/a_chunks/.root185.js +0 -83
- package/dist/a_chunks/.root185.js.map +0 -1
- package/dist/a_chunks/.root186.js +0 -267
- package/dist/a_chunks/.root186.js.map +0 -1
- package/dist/a_chunks/.root187.js +0 -18
- package/dist/a_chunks/.root187.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.map +0 -1
- package/dist/a_chunks/.root21.js.map +0 -1
- package/dist/a_chunks/.root22.js.map +0 -1
- package/dist/a_chunks/.root23.js.map +0 -1
- package/dist/a_chunks/.root24.js.map +0 -1
- package/dist/a_chunks/.root25.js.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.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.map +0 -1
- package/dist/a_chunks/.root36.js.map +0 -1
- package/dist/a_chunks/.root37.js.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- 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/.root66.js.map +0 -1
- package/dist/a_chunks/.root67.js.map +0 -1
- package/dist/a_chunks/.root68.js.map +0 -1
- package/dist/a_chunks/.root69.js.map +0 -1
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root70.js.map +0 -1
- package/dist/a_chunks/.root71.js.map +0 -1
- package/dist/a_chunks/.root72.js.map +0 -1
- package/dist/a_chunks/.root73.js.map +0 -1
- package/dist/a_chunks/.root74.js.map +0 -1
- package/dist/a_chunks/.root75.js.map +0 -1
- package/dist/a_chunks/.root76.js.map +0 -1
- package/dist/a_chunks/.root77.js.map +0 -1
- package/dist/a_chunks/.root78.js.map +0 -1
- package/dist/a_chunks/.root79.js.map +0 -1
- package/dist/a_chunks/.root8.js.map +0 -1
- package/dist/a_chunks/.root80.js.map +0 -1
- package/dist/a_chunks/.root81.js.map +0 -1
- package/dist/a_chunks/.root82.js.map +0 -1
- package/dist/a_chunks/.root83.js.map +0 -1
- package/dist/a_chunks/.root84.js.map +0 -1
- package/dist/a_chunks/.root85.js.map +0 -1
- package/dist/a_chunks/.root86.js.map +0 -1
- package/dist/a_chunks/.root87.js.map +0 -1
- package/dist/a_chunks/.root88.js.map +0 -1
- package/dist/a_chunks/.root89.js.map +0 -1
- package/dist/a_chunks/.root9.js.map +0 -1
- package/dist/a_chunks/.root90.js.map +0 -1
- package/dist/a_chunks/.root91.js.map +0 -1
- package/dist/a_chunks/.root92.js.map +0 -1
- package/dist/a_chunks/.root93.js.map +0 -1
- package/dist/a_chunks/.root94.js.map +0 -1
- package/dist/a_chunks/.root95.js.map +0 -1
- package/dist/a_chunks/.root96.js.map +0 -1
- package/dist/a_chunks/.root97.js.map +0 -1
- package/dist/a_chunks/.root98.js.map +0 -1
- package/dist/a_chunks/.root99.js.map +0 -1
- package/dist/a_chunks/Inner.js.map +0 -1
- package/dist/a_chunks/TableEditableCell.js.map +0 -1
- package/dist/a_chunks/TemplateModal.js.map +0 -1
- package/dist/a_chunks/_commonjsHelpers.js +0 -22
- package/dist/a_chunks/_commonjsHelpers.js.map +0 -1
- package/dist/a_chunks/common-table-item.js +0 -771
- package/dist/a_chunks/common-table-item.js.map +0 -1
- package/dist/a_chunks/data.js +0 -570
- package/dist/a_chunks/data.js.map +0 -1
- package/dist/a_chunks/deathclassification.js.map +0 -1
- package/dist/a_chunks/func.js +0 -277
- package/dist/a_chunks/func.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 +0 -479
- package/dist/a_chunks/index3.js.map +0 -1
- package/dist/a_chunks/index4.js +0 -119
- package/dist/a_chunks/index4.js.map +0 -1
- package/dist/a_chunks/requestMethods.js +0 -56
- package/dist/a_chunks/requestMethods.js.map +0 -1
- package/dist/curve/components/BmiCanvas/index.d.ts +0 -29
- package/dist/curve/components/FetusCanvas/config.d.ts +0 -3
- package/dist/curve/components/FetusCanvas/index.d.ts +0 -26
- package/dist/curve/components/FetusCanvas/requestMethods.d.ts +0 -9
- package/dist/curve/components/FetusCanvasNICHD/config.d.ts +0 -3
- package/dist/curve/components/FetusCanvasNICHD/data.d.ts +0 -84
- package/dist/curve/components/FetusCanvasNICHD/index.d.ts +0 -28
- package/dist/curve/components/Pregnogram/index.d.ts +0 -19
- package/dist/curve/components/api.d.ts +0 -23
- package/dist/curve/components-new/BmiCanvas/index.d.ts +0 -22
- package/dist/curve/components-new/FetusCanvas/config.d.ts +0 -3
- package/dist/curve/components-new/FetusCanvas/index.d.ts +0 -19
- package/dist/curve/components-new/FetusCanvas/requestMethods.d.ts +0 -9
- package/dist/curve/components-new/FetusCanvasNICHD/config.d.ts +0 -3
- package/dist/curve/components-new/FetusCanvasNICHD/data.d.ts +0 -84
- package/dist/curve/components-new/FetusCanvasNICHD/index.d.ts +0 -21
- package/dist/curve/components-new/Pregnogram/index.d.ts +0 -13
- package/dist/curve/data.d.ts +0 -120
- package/dist/curve/func.d.ts +0 -9
- package/dist/curve/index.d.ts +0 -5
- package/dist/curve/intro-steps.d.ts +0 -7
- package/dist/doctor-end/DiagReminder_copy/index.d.ts +0 -3
- package/dist/doctor-end/ScarredUterus/index.d.ts +0 -15
- package/dist/doctor-end/SyphilisManagement/index.d.ts +0 -15
- package/dist/doctor-end/Thrombus/index.d.ts +0 -22
- package/dist/doctor-end/high-risk-warn/add-diagnoses/add-diagnoses.d.ts +0 -11
- package/dist/doctor-end/high-risk-warn/high-risk-warn.d.ts +0 -15
- package/dist/doctor-end/high-risk-warn/util.d.ts +0 -12
- package/dist/doctor-end/message-multiterm-modal/message-multiterm-modal.d.ts +0 -11
- package/dist/index.js.map +0 -1
- package/dist/layout/components/MenuSearch/Inner.d.ts +0 -7
- package/dist/layout/components/MenuSearch/index.d.ts +0 -1
- package/dist/layout/index.d.ts +0 -1
- package/dist/modals/entries/StupidTemplateModal2/components/TemplateSelect.d.ts +0 -2
- package/dist/modals/entries/StupidTemplateModal2/index.d.ts +0 -22
- package/dist/modals/entries/StupidTemplateModal2/methods/index.d.ts +0 -16
- package/dist/modals/entries/modal_form/index.d.ts +0 -27
- package/dist/modals/entries/print_modal/index.d.ts +0 -3
- package/dist/modals/entries/template_modal3/EditModal.d.ts +0 -1
- package/dist/modals/entries/template_modal3/common.d.ts +0 -4
- package/dist/modals/entries/template_modal3/components/TemplateSelect.d.ts +0 -1
- package/dist/modals/entries/template_modal3/index copy 2.d.ts +0 -19
- package/dist/modals/entries/template_modal3/index copy.d.ts +0 -22
- package/dist/modals/entries/template_modal3/index.d.ts +0 -18
- package/dist/modals/entries/template_modal3/methods/index.d.ts +0 -15
- package/dist/modals/entries/template_modal3/types.d.ts +0 -28
- package/dist/modals/entries/test/index.d.ts +0 -6
- package/dist/modals/entries/text_search/index.d.ts +0 -8
- package/dist/modals/entries//344/271/231/350/202/235/347/256/241/347/220/206/index.d.ts +0 -7
- 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/index.d.ts +0 -9
- package/dist/modals/entries//346/242/205/346/257/222/347/256/241/347/220/206/index.d.ts +0 -7
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/ThrombusGysy.d.ts +0 -9
- 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/components.d.ts +0 -7
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/2015RCOG/351/231/215/344/275/216/345/246/212/345/250/240/345/217/212/344/272/247/350/244/245/346/234/237/351/235/231/350/204/211/350/241/200/346/240/223/346/240/223/345/241/236/347/232/204/351/243/216/351/231/251_/345/271/277/344/270/211/config.d.ts +0 -28
- 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/utils.d.ts +0 -9
- 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 +0 -7
- package/dist/modals/entries//346/267/261/351/235/231/350/204/211/350/241/200/346/240/223/351/253/230/345/215/261/345/233/240/347/264/240/345/255/225/346/234/237/347/224/250/350/215/257/347/255/233/346/237/245/350/241/250/index.d.ts +0 -3
- 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 +0 -5
- 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 +0 -6
- package/dist/modals/entries//350/257/212/346/226/255/345/216/206/345/217/262/index.d.ts +0 -8
- 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
- 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/index.d.ts +0 -20
- 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/util.d.ts +0 -66
- 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 +0 -13
- 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 +0 -9
- 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
- package/dist/modals/entries//351/253/230/345/215/261/345/233/240/347/264/240/347/256/241/347/220/206/index.d.ts +0 -13
- package/dist/utils/adapter.d.ts +0 -97
- /package/dist/FU_components/MyBaseList/{_MyBaseList.d.ts → _MyBaseList copy.d.ts} +0 -0
package/dist/a_chunks/.root82.js
CHANGED
|
@@ -1,287 +1,604 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
5
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
5
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
7
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
8
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
9
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
9
11
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import '
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import '
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import { PlusCircleOutlined, MinusCircleOutlined } from '@ant-design/icons';
|
|
22
|
-
import React, { Component } from 'react';
|
|
23
|
-
import '@lm_fe/env';
|
|
24
|
-
import 'lodash/isFunction';
|
|
25
|
-
import 'antd/es/input/style';
|
|
26
|
-
import 'antd/es/input';
|
|
27
|
-
import 'antd/es/input-number/style';
|
|
28
|
-
import 'antd/es/input-number';
|
|
29
|
-
import 'lodash/indexOf';
|
|
30
|
-
import 'lodash/compact';
|
|
31
|
-
import '@lm_fe/components';
|
|
32
|
-
import '@lm_fe/utils';
|
|
12
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14
|
+
import { MyIcon } from '@lm_fe/components';
|
|
15
|
+
import { Form, Row, Col, Tabs, Button } from 'antd';
|
|
16
|
+
import { map, get, set } from 'lodash';
|
|
17
|
+
import React$1, { Component } from 'react';
|
|
18
|
+
import { a5 as BaseEditPanelForm, a6 as formItemLayout, a7 as BaseEditPanel, a8 as formDescriptionsWithoutSectionApi, e as BaseFormComponent } from './index.js';
|
|
19
|
+
import { SMchc_FormDescriptions } from '@lm_fe/service';
|
|
20
|
+
import { safe_json_parse } from '@lm_fe/utils';
|
|
21
|
+
import dayjs from 'dayjs';
|
|
22
|
+
import '@lm_fe/provoke';
|
|
33
23
|
import 'classnames';
|
|
34
|
-
import '
|
|
35
|
-
import '
|
|
36
|
-
import 'antd/es/checkbox';
|
|
37
|
-
import 'lodash/isString';
|
|
38
|
-
import 'lodash/isNumber';
|
|
39
|
-
import 'lodash/isBoolean';
|
|
40
|
-
import 'antd/es/divider/style';
|
|
41
|
-
import 'antd/es/divider';
|
|
42
|
-
import 'antd/es/button/style';
|
|
43
|
-
import 'antd/es/button';
|
|
44
|
-
import 'antd/es/switch/style';
|
|
45
|
-
import 'antd/es/switch';
|
|
46
|
-
import 'antd/es/form/style';
|
|
47
|
-
import 'antd/es/form';
|
|
48
|
-
import 'lodash/join';
|
|
49
|
-
import 'lodash/isEqual';
|
|
50
|
-
import 'lodash/isArray';
|
|
51
|
-
import 'lodash/identity';
|
|
52
|
-
import 'lodash/cloneDeep';
|
|
53
|
-
import '@lm_fe/service';
|
|
54
|
-
import 'lodash/isObject';
|
|
55
|
-
import 'lodash/keys';
|
|
56
|
-
import 'lodash/keyBy';
|
|
57
|
-
import 'lodash/isNil';
|
|
58
|
-
import 'antd/es/tooltip/style';
|
|
59
|
-
import 'antd/es/tooltip';
|
|
60
|
-
import 'antd/es/spin/style';
|
|
61
|
-
import 'antd/es/spin';
|
|
62
|
-
import 'antd/es/message/style';
|
|
63
|
-
import 'antd/es/message';
|
|
64
|
-
import 'lodash/has';
|
|
65
|
-
import 'antd/es/modal/style';
|
|
66
|
-
import 'antd/es/modal';
|
|
67
|
-
import 'lodash/size';
|
|
68
|
-
import 'lodash/includes';
|
|
69
|
-
import 'lodash/forEach';
|
|
70
|
-
import 'lodash/filter';
|
|
71
|
-
import 'react-to-print';
|
|
72
|
-
import 'lodash/concat';
|
|
73
|
-
import 'lodash/reduce';
|
|
74
|
-
import 'lodash/debounce';
|
|
75
|
-
import 'lodash/pickBy';
|
|
76
|
-
import 'antd/es/auto-complete/style';
|
|
77
|
-
import 'antd/es/auto-complete';
|
|
78
|
-
import 'lodash/nth';
|
|
79
|
-
import 'lodash/assign';
|
|
80
|
-
import 'antd/es/popover/style';
|
|
81
|
-
import 'antd/es/popover';
|
|
82
|
-
import 'antd/es/menu/style';
|
|
83
|
-
import 'antd/es/menu';
|
|
24
|
+
import '@lm_fe/env';
|
|
25
|
+
import 'reconnecting-websocket';
|
|
84
26
|
import 'store';
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
var
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
27
|
+
var fromApi = function fromApi(data, nativeFormDescriptions) {
|
|
28
|
+
var result = _objectSpread({}, data);
|
|
29
|
+
map(nativeFormDescriptions, function (desctiption, key) {
|
|
30
|
+
var tranferRules = desctiption.tranfer_rules,
|
|
31
|
+
inputType = desctiption.inputType;
|
|
32
|
+
var type = 'default';
|
|
33
|
+
var path = key;
|
|
34
|
+
if (safe_json_parse(tranferRules)) {
|
|
35
|
+
var tranferRulesJson = safe_json_parse(tranferRules);
|
|
36
|
+
type = get(tranferRulesJson, 'type') ? get(tranferRulesJson, 'type') : 'default';
|
|
37
|
+
path = get(tranferRulesJson, 'path') ? get(tranferRulesJson, 'path') : key;
|
|
38
|
+
}
|
|
39
|
+
if (key === 'appgar') {
|
|
40
|
+
type = 'apgar';
|
|
41
|
+
}
|
|
42
|
+
if (['deliverytype', 'motherAbo', 'fatherAbo', 'ear', 'snout', 'labrum', 'nece', 'pectus', 'ventral', 'dorsalspine', 'extremities', 'fingers', 'toe', 'anus', 'anoperineogenital', 'headDeform', 'raniumOverlay', 'umbilicalCordtorsion', 'umbilicalCordKnot', 'tongue', 'umbilicalcord', 'mouth'].includes(key)) {
|
|
43
|
+
type = 'key_and_keyNote';
|
|
44
|
+
}
|
|
45
|
+
switch (type) {
|
|
46
|
+
case 'key_and_keyNote':
|
|
47
|
+
set(result, "".concat(key, ".key"), get(data, path));
|
|
48
|
+
set(result, "".concat(key, ".keyNote"), get(data, "".concat(path, "Note")));
|
|
49
|
+
break;
|
|
50
|
+
case 'stage':
|
|
51
|
+
set(result, "".concat(key, ".0"), get(data, "".concat(key, "h")));
|
|
52
|
+
set(result, "".concat(key, ".1"), get(data, "".concat(key, "m")));
|
|
53
|
+
break;
|
|
54
|
+
case 'apgar':
|
|
55
|
+
map(data, function (record, index) {
|
|
56
|
+
if (index.indexOf('apgar') > -1) {
|
|
57
|
+
set(result, "".concat(key, ".").concat(index), record);
|
|
58
|
+
}
|
|
59
|
+
// set(result, `${key}.${index}.apgar1`, record);
|
|
60
|
+
// set(result, `${key}.${index}.apgar5`, record);
|
|
61
|
+
// set(result, `${key}.${index}.apgar10`, record);
|
|
62
|
+
});
|
|
63
|
+
break;
|
|
64
|
+
case 'moment':
|
|
65
|
+
set(result, key, get(data, path) ? dayjs(get(data, path)) : undefined);
|
|
66
|
+
break;
|
|
67
|
+
case 'default':
|
|
68
|
+
default:
|
|
69
|
+
set(result, key, get(data, path));
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
// radio_input组件数据处理
|
|
73
|
+
if (inputType === 'radio_input') {
|
|
74
|
+
var k = key.split('.').pop();
|
|
75
|
+
var obj = _defineProperty(_defineProperty({}, k, get(data, key)), "".concat(k, "Note"), get(data, "".concat(key, "Note")));
|
|
76
|
+
set(result, key, obj);
|
|
77
|
+
delete result["".concat(k, "Note")];
|
|
78
|
+
}
|
|
79
|
+
if (inputType === 'checkbox_with_input') {
|
|
80
|
+
if (['hbig', 'hepatitisBvaccin'].includes(key)) {
|
|
81
|
+
var checkBoxValue = {
|
|
82
|
+
checkedValues: [get(data, path)],
|
|
83
|
+
withInputValues: _defineProperty({}, get(data, path), {
|
|
84
|
+
key: get(data, path),
|
|
85
|
+
value: {
|
|
86
|
+
'0': get(data, "".concat(path, "Time"))
|
|
87
|
+
}
|
|
88
|
+
})
|
|
89
|
+
};
|
|
90
|
+
set(result, key, JSON.stringify(checkBoxValue));
|
|
91
|
+
} else if (key === 'umbilicalCordWine' || key === 'caputSuccedaneumNote1' || key === 'hematomaNote1' || key === 'craniomalaciaNote1' || key === 'asphyxiatedNote' || key === 'embryolemma') {
|
|
92
|
+
set(result, key, get(data, path));
|
|
93
|
+
} else {
|
|
94
|
+
var _checkBoxValue = {
|
|
95
|
+
checkedValues: [get(data, path)],
|
|
96
|
+
withInputValues: _defineProperty({}, get(data, path), {
|
|
97
|
+
key: get(data, path),
|
|
98
|
+
value: {
|
|
99
|
+
'0': get(data, "".concat(path, "Note"))
|
|
100
|
+
}
|
|
101
|
+
})
|
|
102
|
+
};
|
|
103
|
+
set(result, key, JSON.stringify(_checkBoxValue));
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
if (key === 'process') {
|
|
107
|
+
set(result, "".concat(key), "{\"0\":".concat(get(data, 'gravidity') || null, ",\"1\":").concat(get(data, 'parity') || null, "}"));
|
|
108
|
+
}
|
|
109
|
+
if (['umbilicalcordtwine', 'umbilicalcordTurnRound', 'umbilicalcordKnot'].includes(key)) {
|
|
110
|
+
set(result, "".concat(key, ".key"), get(data, "fetusAppendages.".concat(key)));
|
|
111
|
+
set(result, "".concat(key, ".keyNote"), '');
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
return _objectSpread(_objectSpread({}, result), {}, {
|
|
115
|
+
id: get(data, 'id')
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
var AdmissionForm = /*#__PURE__*/function (_BaseEditPanelForm) {
|
|
119
|
+
function AdmissionForm() {
|
|
96
120
|
var _this;
|
|
97
|
-
_classCallCheck(this,
|
|
121
|
+
_classCallCheck(this, AdmissionForm);
|
|
98
122
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
99
123
|
args[_key] = arguments[_key];
|
|
100
124
|
}
|
|
101
|
-
_this = _callSuper(this,
|
|
102
|
-
_defineProperty(_this, "
|
|
103
|
-
|
|
104
|
-
|
|
125
|
+
_this = _callSuper(this, AdmissionForm, [].concat(args));
|
|
126
|
+
_defineProperty(_this, "handleFieldsChange", /*#__PURE__*/function () {
|
|
127
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(changedFields, allFields) {
|
|
128
|
+
var form, name, value;
|
|
129
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
130
|
+
while (1) switch (_context.prev = _context.next) {
|
|
131
|
+
case 0:
|
|
132
|
+
form = _this.form;
|
|
133
|
+
name = get(changedFields[0], 'name.0');
|
|
134
|
+
if (name === 'appgar') {
|
|
135
|
+
value = get(changedFields[0], 'value');
|
|
136
|
+
form && form.setFieldsValue({
|
|
137
|
+
appgar: {
|
|
138
|
+
apgar1HeartrateScore: get(value, 'apgar1Heartrate'),
|
|
139
|
+
apgar1BreathScore: get(value, 'apgar1Breath'),
|
|
140
|
+
apgar1ReflexScore: get(value, 'apgar1Reflex'),
|
|
141
|
+
apgar1MuscletensionScore: get(value, 'apgar1Muscletension'),
|
|
142
|
+
apgar1SkincolorScore: get(value, 'apgar1Skincolor'),
|
|
143
|
+
apgar1: (get(value, 'apgar1Heartrate') || 0) + (get(value, 'apgar1Breath') || 0) + (get(value, 'apgar1Reflex') || 0) + (get(value, 'apgar1Muscletension') || 0) + (get(value, 'apgar1Skincolor') || 0),
|
|
144
|
+
apgar5HeartrateScore: get(value, 'apgar5Heartrate'),
|
|
145
|
+
apgar5BreathScore: get(value, 'apgar5Breath'),
|
|
146
|
+
apgar5ReflexScore: get(value, 'apgar5Reflex'),
|
|
147
|
+
apgar5MuscletensionScore: get(value, 'apgar5Muscletension'),
|
|
148
|
+
apgar5SkincolorScore: get(value, 'apgar5Skincolor'),
|
|
149
|
+
apgar5: (get(value, 'apgar5Heartrate') || 0) + (get(value, 'apgar5Breath') || 0) + (get(value, 'apgar5Reflex') || 0) + (get(value, 'apgar5Muscletension') || 0) + (get(value, 'apgar5Skincolor') || 0),
|
|
150
|
+
apgar10HeartrateScore: get(value, 'apgar10Heartrate'),
|
|
151
|
+
apgar10BreathScore: get(value, 'apgar10Breath'),
|
|
152
|
+
apgar10ReflexScore: get(value, 'apgar10Reflex'),
|
|
153
|
+
apgar10MuscletensionScore: get(value, 'apgar10Muscletension'),
|
|
154
|
+
apgar10SkincolorScore: get(value, 'apgar10Skincolor'),
|
|
155
|
+
apgar10: (get(value, 'apgar10Heartrate') || 0) + (get(value, 'apgar10Breath') || 0) + (get(value, 'apgar10Reflex') || 0) + (get(value, 'apgar10Muscletension') || 0) + (get(value, 'apgar10Skincolor') || 0)
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
case 3:
|
|
160
|
+
case "end":
|
|
161
|
+
return _context.stop();
|
|
162
|
+
}
|
|
163
|
+
}, _callee);
|
|
164
|
+
}));
|
|
165
|
+
return function (_x, _x2) {
|
|
166
|
+
return _ref.apply(this, arguments);
|
|
167
|
+
};
|
|
168
|
+
}());
|
|
169
|
+
return _this;
|
|
170
|
+
}
|
|
171
|
+
_inherits(AdmissionForm, _BaseEditPanelForm);
|
|
172
|
+
return _createClass(AdmissionForm, [{
|
|
173
|
+
key: "render",
|
|
174
|
+
value: function render() {
|
|
175
|
+
return /*#__PURE__*/React$1.createElement(Form, _objectSpread({
|
|
176
|
+
autoComplete: "off",
|
|
177
|
+
ref: this.formRef,
|
|
178
|
+
onBlur: this.handleItemBlur,
|
|
179
|
+
//onValuesChange={this.props.onValuesChange}
|
|
180
|
+
onFieldsChange: this.handleFieldsChange
|
|
181
|
+
}, formItemLayout), this.renderEditContent());
|
|
182
|
+
}
|
|
183
|
+
}]);
|
|
184
|
+
}(BaseEditPanelForm);
|
|
185
|
+
var AdmissionPanel = /*#__PURE__*/function (_BaseEditPanel) {
|
|
186
|
+
function AdmissionPanel() {
|
|
187
|
+
_classCallCheck(this, AdmissionPanel);
|
|
188
|
+
return _callSuper(this, AdmissionPanel, arguments);
|
|
189
|
+
}
|
|
190
|
+
_inherits(AdmissionPanel, _BaseEditPanel);
|
|
191
|
+
return _createClass(AdmissionPanel, [{
|
|
192
|
+
key: "componentDidMount",
|
|
193
|
+
value: function () {
|
|
194
|
+
var _componentDidMount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
195
|
+
var _this$props, data, moduleName, baseUrl, _this$props$fromApi, fromApi$1, system, formDescriptions, formDescriptionsWithoutSection, formKey;
|
|
196
|
+
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
197
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
198
|
+
case 0:
|
|
199
|
+
_this$props = this.props, data = _this$props.data, moduleName = _this$props.moduleName, baseUrl = _this$props.baseUrl, _this$props$fromApi = _this$props.fromApi, fromApi$1 = _this$props$fromApi === void 0 ? fromApi : _this$props$fromApi, system = _this$props.system;
|
|
200
|
+
_context2.next = 3;
|
|
201
|
+
return SMchc_FormDescriptions.getModuleParseCache(moduleName);
|
|
202
|
+
case 3:
|
|
203
|
+
formDescriptions = _context2.sent;
|
|
204
|
+
formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
|
|
205
|
+
formKey = get(data, 'id') || Math.random();
|
|
206
|
+
this.setState({
|
|
207
|
+
formDescriptions: formDescriptions,
|
|
208
|
+
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
209
|
+
data: fromApi$1(data, formDescriptionsWithoutSection),
|
|
210
|
+
formKey: formKey
|
|
211
|
+
});
|
|
212
|
+
case 7:
|
|
213
|
+
case "end":
|
|
214
|
+
return _context2.stop();
|
|
215
|
+
}
|
|
216
|
+
}, _callee2, this);
|
|
217
|
+
}));
|
|
218
|
+
function componentDidMount() {
|
|
219
|
+
return _componentDidMount.apply(this, arguments);
|
|
220
|
+
}
|
|
221
|
+
return componentDidMount;
|
|
222
|
+
}()
|
|
223
|
+
}, {
|
|
224
|
+
key: "render",
|
|
225
|
+
value: function render() {
|
|
226
|
+
var _this2 = this;
|
|
227
|
+
var _this$props2 = this.props,
|
|
228
|
+
Form = _this$props2.Form,
|
|
229
|
+
_this$props2$printTem = _this$props2.printTemplate,
|
|
230
|
+
printTemplate = _this$props2$printTem === void 0 ? '' : _this$props2$printTem,
|
|
231
|
+
_this$props2$printRes = _this$props2.printResource,
|
|
232
|
+
printResource = _this$props2$printRes === void 0 ? '' : _this$props2$printRes,
|
|
233
|
+
history = _this$props2.history;
|
|
234
|
+
var _this$state = this.state,
|
|
235
|
+
formDescriptions = _this$state.formDescriptions,
|
|
236
|
+
formDescriptionsWithoutSection = _this$state.formDescriptionsWithoutSection,
|
|
237
|
+
data = _this$state.data,
|
|
238
|
+
formKey = _this$state.formKey,
|
|
239
|
+
spinning = _this$state.spinning;
|
|
240
|
+
return React.createElement("div", {
|
|
241
|
+
className: "base-edit-panel"
|
|
242
|
+
}, React.createElement(Form, {
|
|
243
|
+
ref: function ref(_ref2) {
|
|
244
|
+
return _this2.formRef = _ref2;
|
|
245
|
+
},
|
|
246
|
+
key: formKey,
|
|
247
|
+
spinning: spinning,
|
|
248
|
+
printId: get(data, 'id'),
|
|
249
|
+
printResource: printResource,
|
|
250
|
+
printTemplate: printTemplate,
|
|
251
|
+
data: data,
|
|
252
|
+
onFinish: this.handleSubmit,
|
|
253
|
+
formDescriptions: formDescriptions,
|
|
254
|
+
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
255
|
+
history: history
|
|
256
|
+
}));
|
|
257
|
+
}
|
|
258
|
+
}]);
|
|
259
|
+
}(BaseEditPanel);
|
|
260
|
+
_defineProperty(AdmissionPanel, "defaultProps", {
|
|
261
|
+
baseUrl: '/api/noenate-records',
|
|
262
|
+
moduleName: 'newborn-stranger',
|
|
263
|
+
//moduleName: 'neonatal-nursing',
|
|
264
|
+
title: '新生儿出生情况',
|
|
265
|
+
Form: AdmissionForm
|
|
266
|
+
});
|
|
267
|
+
var TITLE = '胎儿';
|
|
268
|
+
var NursingFetus = /*#__PURE__*/function (_Component) {
|
|
269
|
+
function NursingFetus() {
|
|
270
|
+
var _this3;
|
|
271
|
+
_classCallCheck(this, NursingFetus);
|
|
272
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
273
|
+
args[_key2] = arguments[_key2];
|
|
274
|
+
}
|
|
275
|
+
_this3 = _callSuper(this, NursingFetus, [].concat(args));
|
|
276
|
+
_defineProperty(_this3, "state", {
|
|
277
|
+
tabs: [{
|
|
278
|
+
title: "".concat(TITLE, "1"),
|
|
279
|
+
key: 'tab1',
|
|
280
|
+
value: {}
|
|
281
|
+
}],
|
|
282
|
+
activeKey: 'tab1'
|
|
105
283
|
});
|
|
106
|
-
_defineProperty(
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
284
|
+
_defineProperty(_this3, "formRefs", {});
|
|
285
|
+
_defineProperty(_this3, "onChange", function (activeKey) {
|
|
286
|
+
_this3.setState({
|
|
287
|
+
activeKey: activeKey
|
|
110
288
|
});
|
|
111
289
|
});
|
|
112
|
-
_defineProperty(
|
|
113
|
-
|
|
114
|
-
childrens.splice(index, 1);
|
|
115
|
-
_this.setState({
|
|
116
|
-
childrens: childrens
|
|
117
|
-
});
|
|
290
|
+
_defineProperty(_this3, "onEdit", function (targetKey, action) {
|
|
291
|
+
_this3[action](targetKey);
|
|
118
292
|
});
|
|
119
|
-
_defineProperty(
|
|
120
|
-
var
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
293
|
+
_defineProperty(_this3, "handleClick", function () {
|
|
294
|
+
var _this3$state = _this3.state,
|
|
295
|
+
tabs = _this3$state.tabs,
|
|
296
|
+
activeKey = _this3$state.activeKey;
|
|
297
|
+
var activeKeyNew = Math.random().toString();
|
|
298
|
+
var newPanes = _toConsumableArray(tabs);
|
|
299
|
+
var key = tabs[tabs.length - 1].key;
|
|
300
|
+
//自动打开下一个tab,若没有则新增一个
|
|
301
|
+
if (key === activeKey) {
|
|
302
|
+
newPanes.push({
|
|
303
|
+
title: "".concat(TITLE).concat(tabs.length + 1),
|
|
304
|
+
key: activeKeyNew
|
|
305
|
+
});
|
|
306
|
+
_this3.setState({
|
|
307
|
+
tabs: newPanes,
|
|
308
|
+
activeKey: activeKeyNew
|
|
309
|
+
});
|
|
310
|
+
} else {
|
|
311
|
+
_this3.setState({
|
|
312
|
+
activeKey: key
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
//回到tab顶部
|
|
316
|
+
var dom = document.getElementById('scroll-top');
|
|
317
|
+
dom && dom.scrollIntoView({
|
|
318
|
+
behavior: 'smooth'
|
|
130
319
|
});
|
|
131
320
|
});
|
|
132
|
-
_defineProperty(
|
|
133
|
-
var
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
index = _ref$index === void 0 ? 0 : _ref$index;
|
|
145
|
-
return /*#__PURE__*/React.createElement(_Row, {
|
|
146
|
-
className: styles["nurse-children__field"]
|
|
147
|
-
}, /*#__PURE__*/React.createElement(_Col, {
|
|
148
|
-
className: styles["nurse-children__field-label"],
|
|
149
|
-
span: labelSpan
|
|
150
|
-
}, /*#__PURE__*/React.createElement("span", null, label, "\uFF1A")), /*#__PURE__*/React.createElement(_Col, {
|
|
151
|
-
className: styles["nurse-children__field-input"],
|
|
152
|
-
span: wrapperSpan
|
|
153
|
-
}, /*#__PURE__*/React.createElement(BaseFormComponent, _extends({
|
|
154
|
-
name: name,
|
|
155
|
-
value: value,
|
|
156
|
-
inputType: inputType
|
|
157
|
-
}, inputProps, {
|
|
158
|
-
onChange: function onChange(e) {
|
|
159
|
-
_this.handleChange(e, name, index);
|
|
160
|
-
}
|
|
161
|
-
}))));
|
|
321
|
+
_defineProperty(_this3, "add", function () {
|
|
322
|
+
var tabs = _this3.state.tabs;
|
|
323
|
+
var activeKey = Math.random().toString();
|
|
324
|
+
var newPanes = _toConsumableArray(tabs);
|
|
325
|
+
newPanes.push({
|
|
326
|
+
title: "".concat(TITLE).concat(tabs.length + 1),
|
|
327
|
+
key: activeKey
|
|
328
|
+
});
|
|
329
|
+
_this3.setState({
|
|
330
|
+
tabs: newPanes,
|
|
331
|
+
activeKey: activeKey
|
|
332
|
+
});
|
|
162
333
|
});
|
|
163
|
-
_defineProperty(
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
334
|
+
_defineProperty(_this3, "remove", function (targetKey) {
|
|
335
|
+
if (!confirm('确定删除吗?')) return;
|
|
336
|
+
var _this3$state2 = _this3.state,
|
|
337
|
+
tabs = _this3$state2.tabs,
|
|
338
|
+
activeKey = _this3$state2.activeKey;
|
|
339
|
+
var newActiveKey = activeKey;
|
|
340
|
+
var lastIndex;
|
|
341
|
+
tabs.forEach(function (pane, i) {
|
|
342
|
+
if (pane.key === targetKey) {
|
|
343
|
+
lastIndex = i - 1;
|
|
170
344
|
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
index: index,
|
|
181
|
-
name: 'birthOrder',
|
|
182
|
-
value: _get(value, ["".concat(index), 'birthOrder']),
|
|
183
|
-
label: '出生次序',
|
|
184
|
-
labelSpan: 9,
|
|
185
|
-
wrapperSpan: 14,
|
|
186
|
-
inputType: 'input_number'
|
|
187
|
-
})), /*#__PURE__*/React.createElement(_Col, {
|
|
188
|
-
span: 12
|
|
189
|
-
}, _this.renderFieldItem({
|
|
190
|
-
index: index,
|
|
191
|
-
name: 'gender',
|
|
192
|
-
value: _get(value, ["".concat(index), 'gender']),
|
|
193
|
-
label: '性别',
|
|
194
|
-
labelSpan: 9,
|
|
195
|
-
wrapperSpan: 14,
|
|
196
|
-
inputType: 'select_with_options',
|
|
197
|
-
inputProps: {
|
|
198
|
-
options: [{
|
|
199
|
-
value: 1,
|
|
200
|
-
label: '男'
|
|
201
|
-
}, {
|
|
202
|
-
value: 2,
|
|
203
|
-
label: '女'
|
|
204
|
-
}]
|
|
205
|
-
}
|
|
206
|
-
})), /*#__PURE__*/React.createElement(_Col, {
|
|
207
|
-
span: 12
|
|
208
|
-
}, _this.renderFieldItem({
|
|
209
|
-
index: index,
|
|
210
|
-
name: 'weight',
|
|
211
|
-
value: _get(value, ["".concat(index), 'weight']),
|
|
212
|
-
label: '体重(kg)',
|
|
213
|
-
labelSpan: 9,
|
|
214
|
-
wrapperSpan: 14,
|
|
215
|
-
inputType: 'input_number'
|
|
216
|
-
})), /*#__PURE__*/React.createElement(_Col, {
|
|
217
|
-
span: 12
|
|
218
|
-
}, _this.renderFieldItem({
|
|
219
|
-
index: index,
|
|
220
|
-
name: 'height',
|
|
221
|
-
value: _get(value, ["".concat(index), 'height']),
|
|
222
|
-
label: '身长(cm)',
|
|
223
|
-
labelSpan: 9,
|
|
224
|
-
wrapperSpan: 14,
|
|
225
|
-
inputType: 'input_number'
|
|
226
|
-
})), /*#__PURE__*/React.createElement(_Col, {
|
|
227
|
-
span: 12
|
|
228
|
-
}, _this.renderFieldItem({
|
|
229
|
-
index: index,
|
|
230
|
-
name: 'status',
|
|
231
|
-
value: _get(value, ["".concat(index), 'status']),
|
|
232
|
-
label: '健康状况',
|
|
233
|
-
labelSpan: 9,
|
|
234
|
-
wrapperSpan: 14,
|
|
235
|
-
inputType: 'input_with_label'
|
|
236
|
-
})), /*#__PURE__*/React.createElement(_Col, {
|
|
237
|
-
span: 12
|
|
238
|
-
}, _this.renderFieldItem({
|
|
239
|
-
index: index,
|
|
240
|
-
name: 'birthDate',
|
|
241
|
-
value: _get(value, ["".concat(index), 'birthDate']),
|
|
242
|
-
label: '出生时间',
|
|
243
|
-
labelSpan: 9,
|
|
244
|
-
wrapperSpan: 13,
|
|
245
|
-
inputType: 'single_date_picker',
|
|
246
|
-
inputProps: {
|
|
247
|
-
showTime: true,
|
|
248
|
-
format: 'YYYY-MM-DD HH:mm'
|
|
345
|
+
});
|
|
346
|
+
var newPanes = tabs.filter(function (pane) {
|
|
347
|
+
return pane.key !== targetKey;
|
|
348
|
+
});
|
|
349
|
+
if (newPanes.length && newActiveKey === targetKey) {
|
|
350
|
+
if (lastIndex >= 0) {
|
|
351
|
+
newActiveKey = newPanes[lastIndex].key;
|
|
352
|
+
} else {
|
|
353
|
+
newActiveKey = newPanes[0].key;
|
|
249
354
|
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
value: _get(value, ["".concat(index), 'name']),
|
|
256
|
-
label: '新生儿姓名',
|
|
257
|
-
labelSpan: 9,
|
|
258
|
-
wrapperSpan: 14,
|
|
259
|
-
inputType: 'input_with_label'
|
|
260
|
-
}))));
|
|
355
|
+
}
|
|
356
|
+
_this3.setState({
|
|
357
|
+
tabs: newPanes,
|
|
358
|
+
activeKey: newActiveKey
|
|
359
|
+
});
|
|
261
360
|
});
|
|
262
|
-
|
|
361
|
+
_defineProperty(_this3, "handleDelete", function (tab) {
|
|
362
|
+
return function () {
|
|
363
|
+
var targetKey = get(tab, 'key');
|
|
364
|
+
_this3.remove(targetKey);
|
|
365
|
+
};
|
|
366
|
+
});
|
|
367
|
+
_defineProperty(_this3, "renderFieldItem", function (_ref3) {
|
|
368
|
+
var inputType = _ref3.inputType,
|
|
369
|
+
_ref3$labelSpan = _ref3.labelSpan,
|
|
370
|
+
labelSpan = _ref3$labelSpan === void 0 ? 12 : _ref3$labelSpan,
|
|
371
|
+
_ref3$wrapperSpan = _ref3.wrapperSpan,
|
|
372
|
+
wrapperSpan = _ref3$wrapperSpan === void 0 ? 12 : _ref3$wrapperSpan,
|
|
373
|
+
_ref3$inputProps = _ref3.inputProps,
|
|
374
|
+
inputProps = _ref3$inputProps === void 0 ? {} : _ref3$inputProps;
|
|
375
|
+
return /*#__PURE__*/React$1.createElement(BaseFormComponent, _objectSpread({
|
|
376
|
+
inputType: inputType
|
|
377
|
+
}, inputProps));
|
|
378
|
+
});
|
|
379
|
+
return _this3;
|
|
263
380
|
}
|
|
264
|
-
_inherits(
|
|
265
|
-
return _createClass(
|
|
381
|
+
_inherits(NursingFetus, _Component);
|
|
382
|
+
return _createClass(NursingFetus, [{
|
|
266
383
|
key: "componentDidMount",
|
|
267
384
|
value: function componentDidMount() {
|
|
268
|
-
|
|
385
|
+
this.props.onRef(this);
|
|
386
|
+
this.props;
|
|
387
|
+
if (this.props.value && this.props.value.length > 0) {
|
|
269
388
|
this.setState({
|
|
270
|
-
|
|
389
|
+
tabs: map(this.props.value, function (item, index) {
|
|
390
|
+
return {
|
|
391
|
+
title: "".concat(TITLE).concat(index + 1),
|
|
392
|
+
key: "tab".concat(index + 1),
|
|
393
|
+
value: item
|
|
394
|
+
};
|
|
395
|
+
})
|
|
271
396
|
});
|
|
272
397
|
}
|
|
273
398
|
}
|
|
274
399
|
}, {
|
|
275
400
|
key: "render",
|
|
276
401
|
value: function render() {
|
|
277
|
-
var
|
|
278
|
-
var
|
|
402
|
+
var _this4 = this;
|
|
403
|
+
var _this$state2 = this.state,
|
|
404
|
+
tabs = _this$state2.tabs,
|
|
405
|
+
activeKey = _this$state2.activeKey;
|
|
279
406
|
var value = this.props.value;
|
|
280
|
-
return /*#__PURE__*/React.createElement(
|
|
281
|
-
|
|
282
|
-
|
|
407
|
+
return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("div", {
|
|
408
|
+
className: "base-edit-panel-form_section border",
|
|
409
|
+
style: {
|
|
410
|
+
margin: '16px -16px'
|
|
411
|
+
}
|
|
412
|
+
}, /*#__PURE__*/React$1.createElement("span", {
|
|
413
|
+
className: "base-edit-panel-form_section_title"
|
|
414
|
+
}, "\u4EA7\u7A0B\u7ECF\u8FC7"), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
415
|
+
span: 8
|
|
416
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
417
|
+
label: "\u7B2C\u4E00\u4EA7\u7A0B",
|
|
418
|
+
name: "firststage",
|
|
419
|
+
labelCol: {
|
|
420
|
+
span: 12
|
|
421
|
+
},
|
|
422
|
+
wrapperCol: {
|
|
423
|
+
span: 12
|
|
424
|
+
}
|
|
425
|
+
}, this.renderFieldItem({
|
|
426
|
+
inputType: 'multiple_input_with_label',
|
|
427
|
+
inputProps: {
|
|
428
|
+
config: {
|
|
429
|
+
special_config: JSON.stringify({
|
|
430
|
+
type: 'number',
|
|
431
|
+
options: [{
|
|
432
|
+
min: 0,
|
|
433
|
+
labelBefore: '',
|
|
434
|
+
labelAfter: '时',
|
|
435
|
+
maxValue: 15
|
|
436
|
+
}, {
|
|
437
|
+
min: 0,
|
|
438
|
+
max: 59,
|
|
439
|
+
labelBefore: '',
|
|
440
|
+
labelAfter: '分'
|
|
441
|
+
}]
|
|
442
|
+
})
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
})))), map(tabs, function (tab, index) {
|
|
446
|
+
return /*#__PURE__*/React$1.createElement(Row, {
|
|
447
|
+
key: tab.key,
|
|
448
|
+
style: {
|
|
449
|
+
alignItems: 'center'
|
|
450
|
+
}
|
|
451
|
+
}, /*#__PURE__*/React$1.createElement(Col, {
|
|
452
|
+
span: 8
|
|
453
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
454
|
+
label: "\u7B2C\u4E8C\u4EA7\u7A0B",
|
|
455
|
+
name: index === 0 ? 'secondstage' : "fetus".concat(index + 1, "Secondstage"),
|
|
456
|
+
labelCol: {
|
|
457
|
+
span: 12
|
|
458
|
+
},
|
|
459
|
+
wrapperCol: {
|
|
460
|
+
span: 12
|
|
461
|
+
}
|
|
462
|
+
}, _this4.renderFieldItem({
|
|
463
|
+
inputType: 'multiple_input_with_label',
|
|
464
|
+
inputProps: {
|
|
465
|
+
config: {
|
|
466
|
+
special_config: JSON.stringify({
|
|
467
|
+
type: 'number',
|
|
468
|
+
options: [{
|
|
469
|
+
min: 0,
|
|
470
|
+
labelBefore: '',
|
|
471
|
+
labelAfter: '时',
|
|
472
|
+
maxValue: 2
|
|
473
|
+
}, {
|
|
474
|
+
min: 0,
|
|
475
|
+
max: 59,
|
|
476
|
+
labelBefore: '',
|
|
477
|
+
labelAfter: '分'
|
|
478
|
+
}]
|
|
479
|
+
})
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}))), /*#__PURE__*/React$1.createElement(Col, {
|
|
483
|
+
span: 8
|
|
484
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
485
|
+
label: "\u7B2C\u4E09\u4EA7\u7A0B",
|
|
486
|
+
name: index === 0 ? 'thirdstage' : "fetus".concat(index + 1, "Thirdstage"),
|
|
487
|
+
labelCol: {
|
|
488
|
+
span: 12
|
|
489
|
+
},
|
|
490
|
+
wrapperCol: {
|
|
491
|
+
span: 12
|
|
492
|
+
}
|
|
493
|
+
}, _this4.renderFieldItem({
|
|
494
|
+
inputType: 'multiple_input_with_label',
|
|
495
|
+
inputProps: {
|
|
496
|
+
config: {
|
|
497
|
+
special_config: JSON.stringify({
|
|
498
|
+
type: 'number',
|
|
499
|
+
options: [{
|
|
500
|
+
min: 0,
|
|
501
|
+
labelBefore: '',
|
|
502
|
+
labelAfter: '时',
|
|
503
|
+
maxValue: 0
|
|
504
|
+
}, {
|
|
505
|
+
min: 0,
|
|
506
|
+
max: 59,
|
|
507
|
+
labelBefore: '',
|
|
508
|
+
labelAfter: '分',
|
|
509
|
+
maxValue: 29
|
|
510
|
+
}]
|
|
511
|
+
})
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}))), /*#__PURE__*/React$1.createElement(MyIcon, {
|
|
515
|
+
value: 'PlusCircleOutlined',
|
|
516
|
+
style: {
|
|
517
|
+
display: 'block',
|
|
518
|
+
marginLeft: 16,
|
|
519
|
+
cursor: 'pointer'
|
|
520
|
+
},
|
|
521
|
+
onClick: _this4.add
|
|
522
|
+
}), tabs.length > 1 && index > 0 && (/*#__PURE__*/React$1.createElement(MyIcon, {
|
|
523
|
+
value: 'DeleteOutlined',
|
|
524
|
+
style: {
|
|
525
|
+
display: 'block',
|
|
526
|
+
marginLeft: 16,
|
|
527
|
+
cursor: 'pointer'
|
|
528
|
+
},
|
|
529
|
+
onClick: _this4.handleDelete(tab)
|
|
530
|
+
})));
|
|
531
|
+
}), /*#__PURE__*/React$1.createElement(Row, null, /*#__PURE__*/React$1.createElement(Col, {
|
|
532
|
+
span: 8
|
|
533
|
+
}, /*#__PURE__*/React$1.createElement(Form.Item, {
|
|
534
|
+
label: "\u603B\u4EA7\u7A0B",
|
|
535
|
+
name: "totalstage",
|
|
536
|
+
labelCol: {
|
|
537
|
+
span: 12
|
|
538
|
+
},
|
|
539
|
+
wrapperCol: {
|
|
540
|
+
span: 12
|
|
541
|
+
}
|
|
542
|
+
}, this.renderFieldItem({
|
|
543
|
+
inputType: 'multiple_input_with_label',
|
|
544
|
+
inputProps: {
|
|
545
|
+
config: {
|
|
546
|
+
special_config: JSON.stringify({
|
|
547
|
+
type: 'number',
|
|
548
|
+
options: [{
|
|
549
|
+
labelBefore: '',
|
|
550
|
+
labelAfter: '时'
|
|
551
|
+
}, {
|
|
552
|
+
labelBefore: '',
|
|
553
|
+
labelAfter: '分'
|
|
554
|
+
}]
|
|
555
|
+
})
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}))))), /*#__PURE__*/React$1.createElement("div", {
|
|
559
|
+
className: "base-edit-panel-form_section border",
|
|
560
|
+
style: {
|
|
561
|
+
margin: '16px -16px'
|
|
562
|
+
}
|
|
563
|
+
}, /*#__PURE__*/React$1.createElement("span", {
|
|
564
|
+
className: "base-edit-panel-form_section_title"
|
|
565
|
+
}, "\u80CE\u513F\u76F8\u5173"), /*#__PURE__*/React$1.createElement("div", {
|
|
566
|
+
style: {
|
|
567
|
+
position: 'relative'
|
|
568
|
+
}
|
|
569
|
+
}, /*#__PURE__*/React$1.createElement("div", {
|
|
570
|
+
id: "scroll-top"
|
|
571
|
+
}), /*#__PURE__*/React$1.createElement(Tabs, {
|
|
572
|
+
type: "editable-card",
|
|
573
|
+
onChange: this.onChange,
|
|
574
|
+
addIcon: /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(MyIcon, {
|
|
575
|
+
value: 'PlusOutlined'
|
|
576
|
+
}), "\u589E\u52A0", TITLE),
|
|
577
|
+
activeKey: activeKey,
|
|
578
|
+
onEdit: this.onEdit
|
|
579
|
+
}, map(tabs, function (tab, index) {
|
|
580
|
+
return /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
581
|
+
tab: tab.title,
|
|
582
|
+
key: tab.key,
|
|
583
|
+
forceRender: true,
|
|
584
|
+
closable: index === 0 ? false : true
|
|
585
|
+
}, /*#__PURE__*/React$1.createElement(AdmissionPanel, {
|
|
586
|
+
ref: function ref(_ref4) {
|
|
587
|
+
_this4.formRefs[index] = _ref4;
|
|
588
|
+
},
|
|
589
|
+
data: value && (value.length > 0 ? value[index] : tab.value) || tab.value
|
|
590
|
+
}));
|
|
591
|
+
})), /*#__PURE__*/React$1.createElement(Button, {
|
|
592
|
+
size: "large",
|
|
593
|
+
style: {
|
|
594
|
+
position: 'absolute',
|
|
595
|
+
bottom: '12px',
|
|
596
|
+
left: '50%',
|
|
597
|
+
transform: 'translateX(-50%)'
|
|
598
|
+
},
|
|
599
|
+
onClick: this.handleClick
|
|
600
|
+
}, "+ \u586B\u5199\u5176\u4ED6\u80CE\u513F\u4FE1\u606F"))));
|
|
283
601
|
}
|
|
284
602
|
}]);
|
|
285
603
|
}(Component);
|
|
286
|
-
export {
|
|
287
|
-
//# sourceMappingURL=.root82.js.map
|
|
604
|
+
export { NursingFetus as default };
|