@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/.root70.js
CHANGED
|
@@ -1,857 +1,360 @@
|
|
|
1
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
5
|
+
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
|
+
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
4
8
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
|
-
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
6
|
-
var _excluded = ["modal_data", "close"];
|
|
7
9
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
10
|
+
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
8
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; }
|
|
9
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; }
|
|
10
|
-
import '
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import '
|
|
14
|
-
import
|
|
15
|
-
import '
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import React, { useRef, useState, useEffect } from 'react';
|
|
23
|
-
import 'antd/es/input/style';
|
|
24
|
-
import _Input from 'antd/es/input';
|
|
25
|
-
import 'antd/es/space/style';
|
|
26
|
-
import _Space from 'antd/es/space';
|
|
27
|
-
import 'antd/es/button/style';
|
|
28
|
-
import _Button from 'antd/es/button';
|
|
29
|
-
import 'antd/es/row/style';
|
|
30
|
-
import _Row from 'antd/es/row';
|
|
31
|
-
import 'antd/es/col/style';
|
|
32
|
-
import _Col from 'antd/es/col';
|
|
33
|
-
import _split from 'lodash/split';
|
|
34
|
-
import _sortBy from 'lodash/sortBy';
|
|
35
|
-
import _keys from 'lodash/keys';
|
|
36
|
-
import _isEmpty from 'lodash/isEmpty';
|
|
37
|
-
import _includes from 'lodash/includes';
|
|
38
|
-
import _findIndex from 'lodash/findIndex';
|
|
39
|
-
import _cloneDeep from 'lodash/cloneDeep';
|
|
40
|
-
import { mchcEnv, mchcConfig } from '@lm_fe/env';
|
|
41
|
-
import 'antd/es/input-number/style';
|
|
42
|
-
import 'antd/es/input-number';
|
|
43
|
-
import 'antd/es/checkbox/style';
|
|
44
|
-
import 'antd/es/checkbox';
|
|
45
|
-
import 'antd/es/switch/style';
|
|
46
|
-
import 'antd/es/switch';
|
|
47
|
-
import 'lodash/set';
|
|
48
|
-
import 'lodash/isObject';
|
|
49
|
-
import 'lodash/isNil';
|
|
50
|
-
import 'dayjs';
|
|
51
|
-
import { LazyAntd } from '@lm_fe/components';
|
|
52
|
-
import 'lodash/isFunction';
|
|
53
|
-
import '@ant-design/icons';
|
|
54
|
-
import 'antd/es/spin/style';
|
|
55
|
-
import 'antd/es/spin';
|
|
56
|
-
import 'lodash/size';
|
|
57
|
-
import 'lodash/forEach';
|
|
58
|
-
import 'lodash/filter';
|
|
59
|
-
import 'react-to-print';
|
|
60
|
-
import 'antd/es/timeline/style';
|
|
61
|
-
import _Timeline from 'antd/es/timeline';
|
|
62
|
-
import 'antd/es/empty/style';
|
|
63
|
-
import _Empty from 'antd/es/empty';
|
|
64
|
-
import _orderBy from 'lodash/orderBy';
|
|
65
|
-
import classnames from 'classnames';
|
|
66
|
-
import 'lodash/indexOf';
|
|
67
|
-
import 'lodash/compact';
|
|
68
|
-
import 'lodash/isString';
|
|
69
|
-
import 'lodash/isNumber';
|
|
70
|
-
import 'lodash/isBoolean';
|
|
71
|
-
import 'antd/es/divider/style';
|
|
72
|
-
import 'antd/es/divider';
|
|
73
|
-
import 'antd/es/form/style';
|
|
74
|
-
import 'antd/es/form';
|
|
75
|
-
import 'lodash/join';
|
|
76
|
-
import 'lodash/isEqual';
|
|
77
|
-
import 'lodash/isArray';
|
|
78
|
-
import 'lodash/identity';
|
|
79
|
-
import 'antd/es/tooltip/style';
|
|
80
|
-
import 'antd/es/tooltip';
|
|
81
|
-
import 'lodash/has';
|
|
82
|
-
import 'lodash/concat';
|
|
83
|
-
import 'lodash/reduce';
|
|
84
|
-
import 'lodash/debounce';
|
|
85
|
-
import 'lodash/pickBy';
|
|
86
|
-
import 'antd/es/auto-complete/style';
|
|
87
|
-
import 'antd/es/auto-complete';
|
|
88
|
-
import 'lodash/nth';
|
|
89
|
-
import 'lodash/assign';
|
|
90
|
-
import 'antd/es/popover/style';
|
|
91
|
-
import 'antd/es/popover';
|
|
92
|
-
import 'antd/es/menu/style';
|
|
93
|
-
import 'antd/es/menu';
|
|
14
|
+
import { MyIcon } from '@lm_fe/components';
|
|
15
|
+
import { Form, Tabs } 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 } from './index.js';
|
|
19
|
+
import { SMchc_FormDescriptions } from '@lm_fe/service';
|
|
20
|
+
import dayjs from 'dayjs';
|
|
21
|
+
import { formatDateTime, safe_json_parse } from '@lm_fe/utils';
|
|
22
|
+
import '@lm_fe/provoke';
|
|
23
|
+
import 'classnames';
|
|
24
|
+
import '@lm_fe/env';
|
|
25
|
+
import 'reconnecting-websocket';
|
|
94
26
|
import 'store';
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
import 'lodash/last';
|
|
100
|
-
import 'lodash/toUpper';
|
|
101
|
-
var css_248z = ".index-module_highrisk-pop__EXrdh .ant-modal-title {\n font-size: 18px;\n}\n.index-module_highrisk-pop__EXrdh .ant-tabs-nav {\n margin-left: 20px;\n margin-bottom: 6px;\n}\n.index-module_highrisk-pop__EXrdh .ant-col {\n margin-bottom: 8px;\n}\n.index-module_highrisk-pop__EXrdh .ant-tabs-content-holder {\n padding: 0 20px;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-sign-content__2OIIR {\n height: 400px;\n overflow: auto;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-sign__A2COH .ant-row {\n margin-bottom: 0;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-sign__A2COH .ant-form-item {\n margin-bottom: 4px;\n margin-right: 16px;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-sign__A2COH .ant-input,\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-sign__A2COH .ant-tree {\n font-size: 16px;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-sign__A2COH .ant-select-selection-overflow {\n max-width: 99%;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-sign__A2COH .index-module_highrisk-infec__ioC8F {\n width: 100%;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-sign__A2COH .index-module_highrisk-factor__6Jvpt .ant-select-selector {\n height: 88px;\n overflow-y: auto;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-sign__A2COH .index-module_highrisk-options__wYFIS {\n height: 350px;\n overflow: auto;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm {\n height: 520px;\n overflow-x: hidden;\n overflow-y: auto;\n padding-top: 8px;\n color: #fff;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .ant-timeline-item-label {\n width: 120px;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .ant-timeline-item-tail {\n left: 132px;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .ant-timeline-item-head {\n left: 128px;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .ant-timeline-item-left .ant-timeline-item-content {\n left: 124px;\n width: calc(100% - 120px - 20px);\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .ant-timeline-item {\n padding-bottom: 0;\n margin-bottom: -30px;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .index-module_record-left__LUFuL {\n position: relative;\n left: -140px;\n top: 0;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .index-module_record-left__LUFuL .index-module_record-grade__eZRL9 {\n position: relative;\n width: 108px;\n height: 30px;\n line-height: 30px;\n border-radius: 4px;\n text-align: center;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .index-module_record-left__LUFuL .index-module_record-week__ZM4kc {\n width: 108px;\n height: 30px;\n line-height: 30px;\n text-align: center;\n color: #150f55;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .index-module_record-right__XQNAA {\n position: relative;\n top: -60px;\n color: #535881;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .index-module_record-right__XQNAA .index-module_record-item__XQRGF {\n margin: 4px 0;\n padding-right: 6px;\n display: flex;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .index-module_record-right__XQNAA .index-module_item-label__9G8OI {\n width: 72px;\n text-align: right;\n margin-right: 3px;\n border-radius: 4px;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .index-module_record-right__XQNAA .index-module_item-note__iB4rS {\n flex: 1;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .index-module_record-right__XQNAA .index-module_infectionNote-item__Am1Go .index-module_item-label__9G8OI {\n color: #fff;\n}\n.index-module_highrisk-pop__EXrdh .index-module_highrisk-timeline__LnCQm .index-module_record-right__XQNAA .index-module_infectionNote-item__Am1Go .index-module_item-note__iB4rS {\n color: #150f55;\n}\n.index-module_highrisk-pop__EXrdh .index-module_row-content__-A1zS {\n display: flex;\n justify-content: space-between;\n}\n.index-module_highrisk-pop__EXrdh .index-module_col-content__1Z2c3 {\n height: 340px;\n overflow: auto;\n padding-left: 10px;\n}\n.index-module_highrisk-pop__EXrdh .index-module_tree-title__yGg17 {\n font-size: 14px;\n font-weight: 600;\n line-height: 40px;\n}\n";
|
|
102
|
-
var styles = {
|
|
103
|
-
"highrisk-pop": "index-module_highrisk-pop__EXrdh",
|
|
104
|
-
"highrisk-sign-content": "index-module_highrisk-sign-content__2OIIR",
|
|
105
|
-
"highrisk-sign": "index-module_highrisk-sign__A2COH",
|
|
106
|
-
"highrisk-infec": "index-module_highrisk-infec__ioC8F",
|
|
107
|
-
"highrisk-factor": "index-module_highrisk-factor__6Jvpt",
|
|
108
|
-
"highrisk-options": "index-module_highrisk-options__wYFIS",
|
|
109
|
-
"highrisk-timeline": "index-module_highrisk-timeline__LnCQm",
|
|
110
|
-
"record-left": "index-module_record-left__LUFuL",
|
|
111
|
-
"record-grade": "index-module_record-grade__eZRL9",
|
|
112
|
-
"record-week": "index-module_record-week__ZM4kc",
|
|
113
|
-
"record-right": "index-module_record-right__XQNAA",
|
|
114
|
-
"record-item": "index-module_record-item__XQRGF",
|
|
115
|
-
"item-label": "index-module_item-label__9G8OI",
|
|
116
|
-
"item-note": "index-module_item-note__iB4rS",
|
|
117
|
-
"infectionNote-item": "index-module_infectionNote-item__Am1Go",
|
|
118
|
-
"row-content": "index-module_row-content__-A1zS",
|
|
119
|
-
"col-content": "index-module_col-content__1Z2c3",
|
|
120
|
-
"tree-title": "index-module_tree-title__yGg17"
|
|
121
|
-
};
|
|
122
|
-
styleInject(css_248z);
|
|
123
|
-
var Tree = LazyAntd.Tree,
|
|
124
|
-
TreeSelect = LazyAntd.TreeSelect,
|
|
125
|
-
Select = LazyAntd.Select,
|
|
126
|
-
Table = LazyAntd.Table,
|
|
127
|
-
Dropdown = LazyAntd.Dropdown,
|
|
128
|
-
Pagination = LazyAntd.Pagination;
|
|
129
|
-
var boundSymbol$1 = ':';
|
|
130
|
-
function HighriskSign_高危因素管理(props) {
|
|
131
|
-
var headerInfo = props.headerInfo,
|
|
132
|
-
gradeOptions = props.gradeOptions,
|
|
133
|
-
contagionOptions = props.contagionOptions,
|
|
134
|
-
highriskTreeData = props.highriskTreeData,
|
|
135
|
-
initData = props.initData,
|
|
136
|
-
set_initData = props.set_initData;
|
|
137
|
-
var highRiskTreeDataMapping = useRef({});
|
|
138
|
-
var _useState = useState([]),
|
|
139
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
140
|
-
currentTreeData = _useState2[0],
|
|
141
|
-
set_currentTreeData = _useState2[1];
|
|
142
|
-
var _useState3 = useState([]),
|
|
143
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
144
|
-
expandedKeys = _useState4[0],
|
|
145
|
-
set_expandedKeys = _useState4[1];
|
|
146
|
-
var _useState5 = useState(''),
|
|
147
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
148
|
-
searchValue = _useState6[0],
|
|
149
|
-
set_searchValue = _useState6[1];
|
|
150
|
-
var _useState7 = useState([]),
|
|
151
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
152
|
-
selectTree = _useState8[0],
|
|
153
|
-
set_selectTree = _useState8[1];
|
|
154
|
-
var multiple = mchcEnv["in"](['广三', '建瓯', '郫都']) ? true : false;
|
|
155
|
-
function getInitData() {
|
|
156
|
-
var _h$infectionNote, _h$highriskNote;
|
|
157
|
-
var _h = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : headerInfo;
|
|
158
|
-
if (!_h) return _h;
|
|
159
|
-
var grade = (_h === null || _h === void 0 ? void 0 : _h.highriskLable) || (_h === null || _h === void 0 ? void 0 : _h.highriskGrade) || '';
|
|
160
|
-
var _data = _objectSpread(_objectSpread({}, _h), {}, {
|
|
161
|
-
infectionNote: (_h$infectionNote = _h === null || _h === void 0 ? void 0 : _h.infectionNote) !== null && _h$infectionNote !== void 0 ? _h$infectionNote : '',
|
|
162
|
-
highriskNote: (_h$highriskNote = _h === null || _h === void 0 ? void 0 : _h.highriskNote) !== null && _h$highriskNote !== void 0 ? _h$highriskNote : '',
|
|
163
|
-
highriskGrade: grade,
|
|
164
|
-
highriskLable: grade
|
|
27
|
+
var toApi = function toApi(data) {
|
|
28
|
+
return map(data, function (item) {
|
|
29
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
|
30
|
+
deliverytime: formatDateTime(get(item, 'deliverytime'))
|
|
165
31
|
});
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
var fromApi = function fromApi(data, nativeFormDescriptions) {
|
|
35
|
+
var result = _objectSpread({}, data);
|
|
36
|
+
map(nativeFormDescriptions, function (desctiption, key) {
|
|
37
|
+
var tranferRules = desctiption.tranfer_rules;
|
|
38
|
+
var type = 'default';
|
|
39
|
+
var path = key;
|
|
40
|
+
if (safe_json_parse(tranferRules)) {
|
|
41
|
+
var tranferRulesJson = safe_json_parse(tranferRules);
|
|
42
|
+
type = get(tranferRulesJson, 'type') ? get(tranferRulesJson, 'type') : 'default';
|
|
43
|
+
path = get(tranferRulesJson, 'path') ? get(tranferRulesJson, 'path') : key;
|
|
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
|
+
});
|
|
60
|
+
break;
|
|
61
|
+
case 'moment':
|
|
62
|
+
set(result, key, get(data, path) ? dayjs(get(data, path)) : undefined);
|
|
63
|
+
break;
|
|
64
|
+
case 'default':
|
|
65
|
+
default:
|
|
66
|
+
set(result, key, get(data, path));
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
if (key === 'placentaLength') {
|
|
70
|
+
//{\"0\":3,\"1\":3,\"2\":4}
|
|
71
|
+
if (get(data, 'placentaLength')) {
|
|
72
|
+
var checkBoxValue = {
|
|
73
|
+
0: get(data, 'placentaLength'),
|
|
74
|
+
1: get(data, 'placentaWidth'),
|
|
75
|
+
2: get(data, 'placentaThickness')
|
|
76
|
+
};
|
|
77
|
+
set(result, key, JSON.stringify(checkBoxValue));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if (key === 'embryolemmaIntegrity') {
|
|
81
|
+
//{\"checkedValues\":[3],\"withInputValues\":{\"3\":{\"key\":3,\"value\":{\"0\":1,\"1\":2}},\"undefined\":{\"value\":{}}}}
|
|
82
|
+
if (get(data, 'embryolemmaIntegrity')) {
|
|
83
|
+
var _checkBoxValue = {
|
|
84
|
+
checkedValues: [get(data, key)],
|
|
85
|
+
withInputValues: _defineProperty({}, get(data, key), {
|
|
86
|
+
key: get(data, key),
|
|
87
|
+
value: {
|
|
88
|
+
'0': get(data, "embryolemmaColoboma1"),
|
|
89
|
+
'1': get(data, 'embryolemmaColoboma2')
|
|
192
90
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
|
|
91
|
+
})
|
|
92
|
+
};
|
|
93
|
+
set(result, key, JSON.stringify(_checkBoxValue));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
return _objectSpread(_objectSpread({}, result), {}, {
|
|
98
|
+
id: get(data, 'id')
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
//数据转换
|
|
102
|
+
var valueToApi = function valueToApi(values) {
|
|
103
|
+
map(values, function (data, key) {
|
|
104
|
+
if (key === 'cervixLaceration' && data) {
|
|
105
|
+
var valueJson = safe_json_parse(data);
|
|
106
|
+
set(values, "".concat(key), get(valueJson, 'checkedValues.0'));
|
|
107
|
+
set(values, "cervixSuture", get(valueJson, ['withInputValues', "".concat(get(valueJson, 'checkedValues.0')), 'value', '0']));
|
|
108
|
+
//{"checkedValues":[2],"withInputValues":{"2":{"key":2,"value":{"0":"3"}}}}
|
|
109
|
+
}
|
|
110
|
+
if ((key === 'fetusDeliverytime' || key === 'placentaDeliverytime') && data) {
|
|
111
|
+
set(values, "".concat(key), formatDateTime(data));
|
|
112
|
+
}
|
|
113
|
+
if (key === 'embryolemmaIntegrity' && data) {
|
|
114
|
+
//{\"checkedValues\":[3],\"withInputValues\":{\"3\":{\"key\":3,\"value\":{\"0\":1,\"1\":2}},\"undefined\":{\"value\":{}}}}
|
|
115
|
+
var _valueJson = safe_json_parse(data);
|
|
116
|
+
set(values, "".concat(key), get(_valueJson, 'checkedValues.0'));
|
|
117
|
+
set(values, "embryolemmaColoboma1", get(_valueJson, ['withInputValues', "".concat(get(_valueJson, 'checkedValues.0')), 'value', '0']));
|
|
118
|
+
set(values, "embryolemmaColoboma2", get(_valueJson, ['withInputValues', "".concat(get(_valueJson, 'checkedValues.0')), 'value', '1']));
|
|
119
|
+
}
|
|
120
|
+
if (key === 'placentaLength' && data) {
|
|
121
|
+
//{\"0\":3,\"1\":3,\"2\":4}
|
|
122
|
+
var _valueJson2 = safe_json_parse(data);
|
|
123
|
+
set(values, "".concat(key), get(_valueJson2, '0'));
|
|
124
|
+
set(values, "placentaWidth", get(_valueJson2, '1'));
|
|
125
|
+
set(values, "placentaThickness", get(_valueJson2, '2'));
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
return values;
|
|
129
|
+
};
|
|
130
|
+
var AdmissionForm = /*#__PURE__*/function (_BaseEditPanelForm) {
|
|
131
|
+
function AdmissionForm() {
|
|
132
|
+
_classCallCheck(this, AdmissionForm);
|
|
133
|
+
return _callSuper(this, AdmissionForm, arguments);
|
|
214
134
|
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
135
|
+
_inherits(AdmissionForm, _BaseEditPanelForm);
|
|
136
|
+
return _createClass(AdmissionForm, [{
|
|
137
|
+
key: "render",
|
|
138
|
+
value: function render() {
|
|
139
|
+
return /*#__PURE__*/React$1.createElement(Form, _objectSpread({
|
|
140
|
+
autoComplete: "off",
|
|
141
|
+
ref: this.formRef,
|
|
142
|
+
onBlur: this.handleItemBlur,
|
|
143
|
+
onValuesChange: this.props.onValuesChange
|
|
144
|
+
}, formItemLayout), this.renderEditContent());
|
|
145
|
+
}
|
|
146
|
+
}]);
|
|
147
|
+
}(BaseEditPanelForm);
|
|
148
|
+
var AdmissionPanel = /*#__PURE__*/function (_BaseEditPanel) {
|
|
149
|
+
function AdmissionPanel() {
|
|
150
|
+
_classCallCheck(this, AdmissionPanel);
|
|
151
|
+
return _callSuper(this, AdmissionPanel, arguments);
|
|
223
152
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
treeData.push(item);
|
|
251
|
-
expandedKeys.push(String(item.id));
|
|
252
|
-
var _loop2 = function _loop2() {
|
|
253
|
-
var bool = false;
|
|
254
|
-
_map(__highriskTreeData, function (subItem) {
|
|
255
|
-
if (subItem.id === pid && !_includes(expandedKeys, String(subItem.id))) {
|
|
256
|
-
treeData.push(subItem);
|
|
257
|
-
expandedKeys.push(String(subItem.id));
|
|
258
|
-
pid = subItem.pid;
|
|
259
|
-
bool = true;
|
|
260
|
-
}
|
|
261
|
-
});
|
|
262
|
-
if (!bool) pid = 0;
|
|
263
|
-
};
|
|
264
|
-
while (pid != 0) {
|
|
265
|
-
_loop2();
|
|
266
|
-
}
|
|
267
|
-
var _id = _get(item, 'id').toString();
|
|
268
|
-
searchValueArr.push(_id);
|
|
269
|
-
} else if (searchValue === ((_get2 = _get(item, 'pid')) === null || _get2 === void 0 ? void 0 : _get2.toString())) {
|
|
270
|
-
if (_findIndex(treeData, function (treeValue) {
|
|
271
|
-
return _get(treeValue, 'id') == _get(item, 'id');
|
|
272
|
-
}) == -1) {
|
|
273
|
-
treeData.push(item);
|
|
153
|
+
_inherits(AdmissionPanel, _BaseEditPanel);
|
|
154
|
+
return _createClass(AdmissionPanel, [{
|
|
155
|
+
key: "componentDidMount",
|
|
156
|
+
value: function () {
|
|
157
|
+
var _componentDidMount = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
158
|
+
var _this$props, data, moduleName, _this$props$fromApi, fromApi$1, formDescriptions, formDescriptionsWithoutSection, formKey;
|
|
159
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
160
|
+
while (1) switch (_context.prev = _context.next) {
|
|
161
|
+
case 0:
|
|
162
|
+
_this$props = this.props, data = _this$props.data, moduleName = _this$props.moduleName, _this$props$fromApi = _this$props.fromApi, fromApi$1 = _this$props$fromApi === void 0 ? fromApi : _this$props$fromApi;
|
|
163
|
+
_context.next = 3;
|
|
164
|
+
return SMchc_FormDescriptions.getModuleParseCache(moduleName);
|
|
165
|
+
case 3:
|
|
166
|
+
formDescriptions = _context.sent;
|
|
167
|
+
// const formDescriptions = formDescriptionsFromApi(formField);
|
|
168
|
+
formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
|
|
169
|
+
formKey = get(data, 'id') || Math.random();
|
|
170
|
+
this.setState({
|
|
171
|
+
formDescriptions: formDescriptions,
|
|
172
|
+
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
173
|
+
data: fromApi$1(data, formDescriptionsWithoutSection),
|
|
174
|
+
formKey: formKey
|
|
175
|
+
});
|
|
176
|
+
case 7:
|
|
177
|
+
case "end":
|
|
178
|
+
return _context.stop();
|
|
274
179
|
}
|
|
275
|
-
}
|
|
276
|
-
});
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
180
|
+
}, _callee, this);
|
|
181
|
+
}));
|
|
182
|
+
function componentDidMount() {
|
|
183
|
+
return _componentDidMount.apply(this, arguments);
|
|
184
|
+
}
|
|
185
|
+
return componentDidMount;
|
|
186
|
+
}()
|
|
187
|
+
}, {
|
|
188
|
+
key: "render",
|
|
189
|
+
value: function render() {
|
|
190
|
+
var _this = this;
|
|
191
|
+
var _this$props2 = this.props,
|
|
192
|
+
Form = _this$props2.Form,
|
|
193
|
+
_this$props2$printTem = _this$props2.printTemplate,
|
|
194
|
+
printTemplate = _this$props2$printTem === void 0 ? '' : _this$props2$printTem,
|
|
195
|
+
_this$props2$printRes = _this$props2.printResource,
|
|
196
|
+
printResource = _this$props2$printRes === void 0 ? '' : _this$props2$printRes,
|
|
197
|
+
history = _this$props2.history;
|
|
198
|
+
var _this$state = this.state,
|
|
199
|
+
formDescriptions = _this$state.formDescriptions,
|
|
200
|
+
formDescriptionsWithoutSection = _this$state.formDescriptionsWithoutSection,
|
|
201
|
+
data = _this$state.data,
|
|
202
|
+
formKey = _this$state.formKey,
|
|
203
|
+
spinning = _this$state.spinning;
|
|
204
|
+
return React.createElement("div", {
|
|
205
|
+
className: "base-edit-panel"
|
|
206
|
+
}, React.createElement(Form, {
|
|
207
|
+
ref: function ref(_ref) {
|
|
208
|
+
return _this.formRef = _ref;
|
|
209
|
+
},
|
|
210
|
+
key: formKey,
|
|
211
|
+
spinning: spinning,
|
|
212
|
+
printId: get(data, 'id'),
|
|
213
|
+
printResource: printResource,
|
|
214
|
+
printTemplate: printTemplate,
|
|
215
|
+
data: data,
|
|
216
|
+
onFinish: this.handleSubmit,
|
|
217
|
+
formDescriptions: formDescriptions,
|
|
218
|
+
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
219
|
+
history: history,
|
|
220
|
+
onValuesChange: this.props.onValuesChange
|
|
221
|
+
}));
|
|
281
222
|
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
223
|
+
}]);
|
|
224
|
+
}(BaseEditPanel);
|
|
225
|
+
_defineProperty(AdmissionPanel, "defaultProps", {
|
|
226
|
+
baseUrl: '/api/getInpatientEmrDocument',
|
|
227
|
+
moduleName: 'included-fetus-nursing',
|
|
228
|
+
title: '引产记录',
|
|
229
|
+
Form: AdmissionForm
|
|
230
|
+
});
|
|
231
|
+
var TITLE = '胎儿';
|
|
232
|
+
var NursingFetus = /*#__PURE__*/function (_Component) {
|
|
233
|
+
function NursingFetus() {
|
|
234
|
+
var _this2;
|
|
235
|
+
_classCallCheck(this, NursingFetus);
|
|
236
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
237
|
+
args[_key] = arguments[_key];
|
|
238
|
+
}
|
|
239
|
+
_this2 = _callSuper(this, NursingFetus, [].concat(args));
|
|
240
|
+
_defineProperty(_this2, "state", {
|
|
241
|
+
tabs: [{
|
|
242
|
+
title: "".concat(TITLE, "1"),
|
|
243
|
+
key: 'tab1',
|
|
244
|
+
value: {}
|
|
245
|
+
}],
|
|
246
|
+
activeKey: 'tab1'
|
|
295
247
|
});
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
return _.id === (_item === null || _item === void 0 ? void 0 : _item.id);
|
|
248
|
+
_defineProperty(_this2, "formRefs", {});
|
|
249
|
+
_defineProperty(_this2, "onChange", function (activeKey) {
|
|
250
|
+
_this2.setState({
|
|
251
|
+
activeKey: activeKey
|
|
252
|
+
});
|
|
302
253
|
});
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
if (!pid) return;
|
|
306
|
-
//------
|
|
307
|
-
var ind = selectArr.findIndex(function (_) {
|
|
308
|
-
return _.pid == (_item === null || _item === void 0 ? void 0 : _item.pid);
|
|
254
|
+
_defineProperty(_this2, "onEdit", function (targetKey, action) {
|
|
255
|
+
_this2[action](targetKey);
|
|
309
256
|
});
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
selectTree_.map(function (_) {
|
|
323
|
-
var code = _.code;
|
|
324
|
-
var addNote = getTargetNote(_);
|
|
325
|
-
if (!_includes(_addNoteArr, addNote)) {
|
|
326
|
-
_addNoteArr.push(addNote);
|
|
327
|
-
}
|
|
328
|
-
if (__highriskGrade == '' || code > __highriskGrade) {
|
|
329
|
-
__highriskGrade = code;
|
|
330
|
-
}
|
|
257
|
+
_defineProperty(_this2, "add", function () {
|
|
258
|
+
var tabs = _this2.state.tabs;
|
|
259
|
+
var activeKey = Math.random().toString();
|
|
260
|
+
var newPanes = _toConsumableArray(tabs);
|
|
261
|
+
newPanes.push({
|
|
262
|
+
title: "".concat(TITLE).concat(tabs.length + 1),
|
|
263
|
+
key: activeKey
|
|
264
|
+
});
|
|
265
|
+
_this2.setState({
|
|
266
|
+
tabs: newPanes,
|
|
267
|
+
activeKey: activeKey
|
|
268
|
+
});
|
|
331
269
|
});
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
_item.isLeaf = true;
|
|
270
|
+
_defineProperty(_this2, "remove", function (targetKey) {
|
|
271
|
+
var _this2$state = _this2.state,
|
|
272
|
+
tabs = _this2$state.tabs,
|
|
273
|
+
activeKey = _this2$state.activeKey;
|
|
274
|
+
var newActiveKey = activeKey;
|
|
275
|
+
var lastIndex;
|
|
276
|
+
tabs.forEach(function (pane, i) {
|
|
277
|
+
if (pane.key === targetKey) {
|
|
278
|
+
lastIndex = i - 1;
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
var newPanes = tabs.filter(function (pane) {
|
|
282
|
+
return pane.key !== targetKey;
|
|
283
|
+
});
|
|
284
|
+
if (newPanes.length && newActiveKey === targetKey) {
|
|
285
|
+
if (lastIndex >= 0) {
|
|
286
|
+
newActiveKey = newPanes[lastIndex].key;
|
|
350
287
|
} else {
|
|
351
|
-
|
|
288
|
+
newActiveKey = newPanes[0].key;
|
|
352
289
|
}
|
|
353
|
-
treeData.push(_item);
|
|
354
290
|
}
|
|
291
|
+
console.log(newPanes, newActiveKey);
|
|
292
|
+
_this2.setState({
|
|
293
|
+
tabs: newPanes,
|
|
294
|
+
activeKey: newActiveKey
|
|
295
|
+
});
|
|
355
296
|
});
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
set_selectTree([]);
|
|
368
|
-
}
|
|
369
|
-
function getGradeColor(grade) {
|
|
370
|
-
grade = grade !== null && grade !== void 0 ? grade : 'I';
|
|
371
|
-
var target = gradeOptions.find(function (_) {
|
|
372
|
-
return _.label === grade;
|
|
373
|
-
});
|
|
374
|
-
return target === null || target === void 0 ? void 0 : target.colorText;
|
|
375
|
-
}
|
|
376
|
-
function renderColorSpan(label) {
|
|
377
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
378
|
-
style: {
|
|
379
|
-
background: getGradeColor(label),
|
|
380
|
-
display: 'inline-block',
|
|
381
|
-
width: '12px',
|
|
382
|
-
height: '12px',
|
|
383
|
-
margin: '0 10px'
|
|
384
|
-
}
|
|
297
|
+
_defineProperty(_this2, "handleChange", function (changedValues, allValues) {
|
|
298
|
+
var onChange = _this2.props.onChange;
|
|
299
|
+
var values = {};
|
|
300
|
+
map(_this2.formRefs, function (item, index) {
|
|
301
|
+
var form = get(item, 'formRef.form');
|
|
302
|
+
var formData = form.getFieldsValue();
|
|
303
|
+
formData = valueToApi(formData);
|
|
304
|
+
values[index] = formData;
|
|
305
|
+
});
|
|
306
|
+
var data = toApi(values);
|
|
307
|
+
onChange && onChange(data);
|
|
385
308
|
});
|
|
309
|
+
return _this2;
|
|
386
310
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
}),
|
|
402
|
-
titleRender: function titleRender(treeNode) {
|
|
403
|
-
var _treeNode$children;
|
|
404
|
-
return /*#__PURE__*/React.createElement("div", null, ((_treeNode$children = treeNode.children) === null || _treeNode$children === void 0 ? void 0 : _treeNode$children.length) == 0 && renderColorSpan(treeNode.code), _get(treeNode, "title"));
|
|
311
|
+
_inherits(NursingFetus, _Component);
|
|
312
|
+
return _createClass(NursingFetus, [{
|
|
313
|
+
key: "componentDidMount",
|
|
314
|
+
value: function componentDidMount() {
|
|
315
|
+
if (this.props.value && this.props.value.length > 0) {
|
|
316
|
+
this.setState({
|
|
317
|
+
tabs: map(this.props.value, function (item, index) {
|
|
318
|
+
return {
|
|
319
|
+
title: "".concat(TITLE).concat(index + 1),
|
|
320
|
+
key: "tab".concat(index + 1),
|
|
321
|
+
value: item
|
|
322
|
+
};
|
|
323
|
+
})
|
|
324
|
+
});
|
|
405
325
|
}
|
|
406
|
-
});
|
|
407
|
-
}
|
|
408
|
-
function renderhiskTree() {
|
|
409
|
-
var treeData__ = transferHighRiskData(currentTreeData);
|
|
410
|
-
var highriskVersion = mchcConfig.get('highriskVersion');
|
|
411
|
-
if (highriskVersion === 23 || mchcEnv.is('华医') || mchcEnv.is('南医增城')) {
|
|
412
|
-
return renderTree({
|
|
413
|
-
treeData: treeData__,
|
|
414
|
-
expandedKeys: expandedKeys
|
|
415
|
-
});
|
|
416
|
-
} else {
|
|
417
|
-
return /*#__PURE__*/React.createElement(_Row, {
|
|
418
|
-
className: styles["row-content"],
|
|
419
|
-
key: searchValue ? searchValue : currentTreeData.length
|
|
420
|
-
}, /*#__PURE__*/React.createElement(_Col, {
|
|
421
|
-
span: 7
|
|
422
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
423
|
-
className: styles["tree-title"]
|
|
424
|
-
}, _get(treeData__, "[0].title")), /*#__PURE__*/React.createElement("div", {
|
|
425
|
-
className: styles["col-content"]
|
|
426
|
-
}, renderTree({
|
|
427
|
-
treeData: _get(treeData__, "[0].children"),
|
|
428
|
-
expandedKeys: expandedKeys
|
|
429
|
-
}))), /*#__PURE__*/React.createElement(_Col, {
|
|
430
|
-
span: 7
|
|
431
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
432
|
-
className: styles["tree-title"]
|
|
433
|
-
}, _get(treeData__, "[1].title")), /*#__PURE__*/React.createElement("div", {
|
|
434
|
-
className: styles["col-content"]
|
|
435
|
-
}, renderTree({
|
|
436
|
-
treeData: _get(treeData__, "[1].children"),
|
|
437
|
-
expandedKeys: expandedKeys
|
|
438
|
-
}))), /*#__PURE__*/React.createElement(_Col, {
|
|
439
|
-
span: 7
|
|
440
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
441
|
-
className: styles["tree-title"]
|
|
442
|
-
}, _get(treeData__, "[2].title")), /*#__PURE__*/React.createElement("div", {
|
|
443
|
-
className: styles["col-content"]
|
|
444
|
-
}, renderTree({
|
|
445
|
-
treeData: _get(treeData__, "[2].children"),
|
|
446
|
-
expandedKeys: expandedKeys
|
|
447
|
-
}))));
|
|
448
326
|
}
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
327
|
+
}, {
|
|
328
|
+
key: "render",
|
|
329
|
+
value: function render() {
|
|
330
|
+
var _this3 = this;
|
|
331
|
+
var _this$state2 = this.state,
|
|
332
|
+
tabs = _this$state2.tabs,
|
|
333
|
+
activeKey = _this$state2.activeKey;
|
|
334
|
+
var value = this.props.value;
|
|
335
|
+
return /*#__PURE__*/React$1.createElement(Tabs, {
|
|
336
|
+
type: "editable-card",
|
|
337
|
+
onChange: this.onChange,
|
|
338
|
+
addIcon: /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(MyIcon, {
|
|
339
|
+
value: 'PlusOutlined'
|
|
340
|
+
}), "\u589E\u52A0", TITLE),
|
|
341
|
+
activeKey: activeKey,
|
|
342
|
+
onEdit: this.onEdit
|
|
343
|
+
}, map(tabs, function (tab, index) {
|
|
344
|
+
return /*#__PURE__*/React$1.createElement(Tabs.TabPane, {
|
|
345
|
+
tab: tab.title,
|
|
346
|
+
key: tab.key,
|
|
347
|
+
forceRender: true,
|
|
348
|
+
closable: index === 0 ? false : true
|
|
349
|
+
}, /*#__PURE__*/React$1.createElement(AdmissionPanel, {
|
|
350
|
+
ref: function ref(_ref2) {
|
|
351
|
+
_this3.formRefs[index] = _ref2;
|
|
352
|
+
},
|
|
353
|
+
data: value && (value.length > 0 ? value[index] : tab.value) || tab.value,
|
|
354
|
+
onValuesChange: _this3.handleChange
|
|
355
|
+
}));
|
|
472
356
|
}));
|
|
473
|
-
},
|
|
474
|
-
value: _get(initData, 'highriskGrade')
|
|
475
|
-
})), /*#__PURE__*/React.createElement(_Col, {
|
|
476
|
-
span: 15,
|
|
477
|
-
style: {
|
|
478
|
-
textAlign: 'right'
|
|
479
|
-
}
|
|
480
|
-
}, /*#__PURE__*/React.createElement(_Space, null, /*#__PURE__*/React.createElement(_Button, {
|
|
481
|
-
onClick: function onClick() {
|
|
482
|
-
set_expandedKeys([]);
|
|
483
|
-
}
|
|
484
|
-
}, "\u5168\u90E8\u6536\u8D77"), /*#__PURE__*/React.createElement(_Button, {
|
|
485
|
-
onClick: function onClick() {
|
|
486
|
-
set_expandedKeys(_keys(highRiskTreeDataMapping.current));
|
|
487
357
|
}
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
type: "primary",
|
|
492
|
-
onClick: function onClick() {
|
|
493
|
-
return set_initData(getInitData());
|
|
494
|
-
}
|
|
495
|
-
}, "\u6062\u590D"))), /*#__PURE__*/React.createElement(_Col, {
|
|
496
|
-
span: 2
|
|
497
|
-
}, " \u4F20\u67D3\u75C5", /*#__PURE__*/React.createElement("span", {
|
|
498
|
-
style: {
|
|
499
|
-
color: 'red',
|
|
500
|
-
padding: 2,
|
|
501
|
-
fontWeight: 'bold',
|
|
502
|
-
fontSize: 22
|
|
503
|
-
}
|
|
504
|
-
}, "*"), ":"), /*#__PURE__*/React.createElement(_Col, {
|
|
505
|
-
span: 21
|
|
506
|
-
}, /*#__PURE__*/React.createElement(MySelect, {
|
|
507
|
-
style: {
|
|
508
|
-
width: '100%'
|
|
509
|
-
},
|
|
510
|
-
options: [{
|
|
511
|
-
label: '无',
|
|
512
|
-
value: '无',
|
|
513
|
-
exclusive: true
|
|
514
|
-
}].concat(_toConsumableArray(contagionOptions)),
|
|
515
|
-
onChange: function onChange(v) {
|
|
516
|
-
set_initData(Object.assign({}, initData, {
|
|
517
|
-
infectionNote: v
|
|
518
|
-
}));
|
|
519
|
-
},
|
|
520
|
-
mode: "tags",
|
|
521
|
-
marshal: 0,
|
|
522
|
-
value: initData === null || initData === void 0 ? void 0 : initData.infectionNote
|
|
523
|
-
})), /*#__PURE__*/React.createElement(_Col, {
|
|
524
|
-
span: 2
|
|
525
|
-
}, "\u9AD8\u5371\u56E0\u7D20:"), /*#__PURE__*/React.createElement(_Col, {
|
|
526
|
-
span: 21
|
|
527
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
528
|
-
mode: "tags",
|
|
529
|
-
style: {
|
|
530
|
-
width: '100%'
|
|
531
|
-
},
|
|
532
|
-
className: styles["highrisk-factor"],
|
|
533
|
-
onChange: handleChange,
|
|
534
|
-
value: _get(initData, 'highriskNote', '').split(',').filter(function (_) {
|
|
535
|
-
return _;
|
|
536
|
-
})
|
|
537
|
-
})), /*#__PURE__*/React.createElement(_Col, {
|
|
538
|
-
span: 2
|
|
539
|
-
}, "\u6A21\u7CCA\u67E5\u627E:"), /*#__PURE__*/React.createElement(_Col, {
|
|
540
|
-
span: 21
|
|
541
|
-
}, /*#__PURE__*/React.createElement(_Input, {
|
|
542
|
-
onChange: handleSearch
|
|
543
|
-
})))), /*#__PURE__*/React.createElement("div", {
|
|
544
|
-
className: styles["highrisk-sign-content"]
|
|
545
|
-
}, renderhiskTree()));
|
|
546
|
-
}
|
|
547
|
-
// console.dir("mapStateToProps",mapStateToProps);
|
|
548
|
-
|
|
549
|
-
function HighriskTimeline_高危因素管理(props) {
|
|
550
|
-
var id = props.id,
|
|
551
|
-
gradeOptions = props.gradeOptions,
|
|
552
|
-
contagionColor = props.contagionColor;
|
|
553
|
-
var _useState9 = useState([]),
|
|
554
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
555
|
-
riskRecords = _useState10[0],
|
|
556
|
-
set_riskRecords = _useState10[1];
|
|
557
|
-
useEffect(function () {
|
|
558
|
-
SMchc_Doctor.getRiskRecordsOfOutpatient(id !== null && id !== void 0 ? id : getSearchParamsValue('id')).then(set_riskRecords);
|
|
559
|
-
return function () {};
|
|
560
|
-
}, []);
|
|
561
|
-
function getGradeColor(grade) {
|
|
562
|
-
grade = grade !== null && grade !== void 0 ? grade : 'I';
|
|
563
|
-
var target = gradeOptions.find(function (_) {
|
|
564
|
-
return _.label === grade;
|
|
565
|
-
});
|
|
566
|
-
return target === null || target === void 0 ? void 0 : target.note;
|
|
567
|
-
}
|
|
568
|
-
function getGradeColorText(grade) {
|
|
569
|
-
grade = grade !== null && grade !== void 0 ? grade : 'I';
|
|
570
|
-
var target = gradeOptions.find(function (_) {
|
|
571
|
-
return _.label === grade;
|
|
572
|
-
});
|
|
573
|
-
return target === null || target === void 0 ? void 0 : target.colorText;
|
|
574
|
-
}
|
|
575
|
-
var newRiskRecords = _cloneDeep(riskRecords);
|
|
576
|
-
newRiskRecords = _orderBy(riskRecords, ['eventDate'], ['desc']);
|
|
577
|
-
return _isEmpty(newRiskRecords) ? /*#__PURE__*/React.createElement(_Empty, {
|
|
578
|
-
description: "\u6682\u65E0\u9AD8\u5371\u8BB0\u5F55"
|
|
579
|
-
}) : /*#__PURE__*/React.createElement(_Timeline, {
|
|
580
|
-
mode: "left",
|
|
581
|
-
className: styles["highrisk-timeline"]
|
|
582
|
-
}, _map(newRiskRecords, function (item) {
|
|
583
|
-
return /*#__PURE__*/React.createElement(_Timeline.Item, null, /*#__PURE__*/React.createElement("div", {
|
|
584
|
-
className: styles["record-left"]
|
|
585
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
586
|
-
className: styles["record-grade"],
|
|
587
|
-
style: {
|
|
588
|
-
background: getGradeColor(item.highriskGrade)
|
|
589
|
-
}
|
|
590
|
-
}, getGradeColorText(item.highriskGrade)), /*#__PURE__*/React.createElement("div", {
|
|
591
|
-
className: styles["record-week"]
|
|
592
|
-
}, item.gestationalWeek ? "\u5B55".concat(item.gestationalWeek, "\u5468") : '')), /*#__PURE__*/React.createElement("div", {
|
|
593
|
-
className: styles["record-right"]
|
|
594
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
595
|
-
className: classnames(styles['record-item'], _defineProperty({}, styles['infectionNote-item'], !!item.infectionNote))
|
|
596
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
597
|
-
className: styles["item-label"],
|
|
598
|
-
style: {
|
|
599
|
-
background: !!item.infectionNote ? contagionColor : ''
|
|
600
|
-
}
|
|
601
|
-
}, "\u4F20\u67D3\u75C5\uFF1A"), /*#__PURE__*/React.createElement("div", {
|
|
602
|
-
className: styles["item-note"]
|
|
603
|
-
}, item.infectionNote || '无')), /*#__PURE__*/React.createElement("div", {
|
|
604
|
-
className: styles["record-item"]
|
|
605
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
606
|
-
className: styles["item-label"]
|
|
607
|
-
}, "\u9AD8\u5371\u56E0\u7D20\uFF1A"), /*#__PURE__*/React.createElement("div", {
|
|
608
|
-
className: styles["item-note"]
|
|
609
|
-
}, item.highriskNote || '无')), /*#__PURE__*/React.createElement("div", {
|
|
610
|
-
className: styles["record-item"]
|
|
611
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
612
|
-
className: styles["item-label"]
|
|
613
|
-
}, "\u8BC4\u5B9A\u65E5\u671F\uFF1A"), /*#__PURE__*/React.createElement("div", {
|
|
614
|
-
className: styles["item-note"]
|
|
615
|
-
}, formatDate(item.eventDate))), /*#__PURE__*/React.createElement("div", {
|
|
616
|
-
className: styles["record-item"]
|
|
617
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
618
|
-
className: styles["item-label"]
|
|
619
|
-
}, "\u8BC4\u5B9A\u533B\u751F\uFF1A"), /*#__PURE__*/React.createElement("div", {
|
|
620
|
-
className: styles["item-note"]
|
|
621
|
-
}, item.doctor))));
|
|
622
|
-
}));
|
|
623
|
-
}
|
|
624
|
-
// console.dir("mapStateToProps",mapStateToProps);
|
|
625
|
-
|
|
626
|
-
var boundSymbol = ':';
|
|
627
|
-
function HighriskFactor(props) {
|
|
628
|
-
var modal_data = props.modal_data,
|
|
629
|
-
close = props.close,
|
|
630
|
-
others = _objectWithoutProperties(props, _excluded);
|
|
631
|
-
var data = modal_data.data,
|
|
632
|
-
onFinish = modal_data.onFinish,
|
|
633
|
-
handleSubmit = modal_data.handleSubmit,
|
|
634
|
-
pregnancyId = modal_data.pregnancyId,
|
|
635
|
-
hide高危时间轴 = modal_data.hide高危时间轴,
|
|
636
|
-
hide高危标记 = modal_data.hide高危标记;
|
|
637
|
-
var highRiskTreeDataMapping = useRef({});
|
|
638
|
-
var _useState11 = useState([]),
|
|
639
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
640
|
-
highriskTreeData = _useState12[0],
|
|
641
|
-
set_highriskTreeData = _useState12[1];
|
|
642
|
-
var _useState13 = useState([]),
|
|
643
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
644
|
-
gradeOptions = _useState14[0],
|
|
645
|
-
set_gradeOptions = _useState14[1];
|
|
646
|
-
var _useState15 = useState([]),
|
|
647
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
648
|
-
contagionOptions = _useState16[0],
|
|
649
|
-
set_contagionOptions = _useState16[1];
|
|
650
|
-
var _useState17 = useState(hide高危标记 ? hide高危时间轴 ? '' : '2' : '1'),
|
|
651
|
-
_useState18 = _slicedToArray(_useState17, 2),
|
|
652
|
-
activeTabKey = _useState18[0],
|
|
653
|
-
set_activeTabKey = _useState18[1];
|
|
654
|
-
var _useState19 = useState(),
|
|
655
|
-
_useState20 = _slicedToArray(_useState19, 2),
|
|
656
|
-
initData = _useState20[0],
|
|
657
|
-
set_initData = _useState20[1];
|
|
658
|
-
var _useState21 = useState(),
|
|
659
|
-
_useState22 = _slicedToArray(_useState21, 2),
|
|
660
|
-
headerInfo = _useState22[0],
|
|
661
|
-
setHeaderInfo = _useState22[1];
|
|
662
|
-
useEffect(function () {
|
|
663
|
-
_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
664
|
-
var _h$highriskNote$split, _h$highriskNote2, h, treeData, highriskNote_;
|
|
665
|
-
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
666
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
667
|
-
case 0:
|
|
668
|
-
SMchc_Common.getHighriskGradeConfig().then(set_gradeOptions);
|
|
669
|
-
if (hide高危标记) {
|
|
670
|
-
_context2.next = 19;
|
|
671
|
-
break;
|
|
672
|
-
}
|
|
673
|
-
if (!(data !== null && data !== void 0)) {
|
|
674
|
-
_context2.next = 6;
|
|
675
|
-
break;
|
|
676
|
-
}
|
|
677
|
-
_context2.t0 = data;
|
|
678
|
-
_context2.next = 9;
|
|
679
|
-
break;
|
|
680
|
-
case 6:
|
|
681
|
-
_context2.next = 8;
|
|
682
|
-
return SMchc_Doctor.getOutpatientHeaderInfo(pregnancyId);
|
|
683
|
-
case 8:
|
|
684
|
-
_context2.t0 = _context2.sent;
|
|
685
|
-
case 9:
|
|
686
|
-
h = _context2.t0;
|
|
687
|
-
setHeaderInfo(h);
|
|
688
|
-
SMchc_Common.getHighriskContagionConfig().then(function (r) {
|
|
689
|
-
set_contagionOptions(r.options);
|
|
690
|
-
});
|
|
691
|
-
_context2.next = 14;
|
|
692
|
-
return SMchc_Common.getHighriskTree();
|
|
693
|
-
case 14:
|
|
694
|
-
treeData = _context2.sent;
|
|
695
|
-
highRiskTreeDataMapping.current = _keyBy(treeData, 'id');
|
|
696
|
-
highriskNote_ = (_h$highriskNote$split = (_h$highriskNote2 = h.highriskNote) === null || _h$highriskNote2 === void 0 ? void 0 : _h$highriskNote2.split(',')) !== null && _h$highriskNote$split !== void 0 ? _h$highriskNote$split : [];
|
|
697
|
-
highriskNote_.map(function (item) {
|
|
698
|
-
_map(highRiskTreeDataMapping.current, function (v, i) {
|
|
699
|
-
getTargetNote(v);
|
|
700
|
-
});
|
|
701
|
-
});
|
|
702
|
-
set_highriskTreeData(treeData);
|
|
703
|
-
case 19:
|
|
704
|
-
case "end":
|
|
705
|
-
return _context2.stop();
|
|
706
|
-
}
|
|
707
|
-
}, _callee2);
|
|
708
|
-
}))();
|
|
709
|
-
return function () {};
|
|
710
|
-
}, []);
|
|
711
|
-
function onOk() {
|
|
712
|
-
return _onOk.apply(this, arguments);
|
|
713
|
-
}
|
|
714
|
-
function _onOk() {
|
|
715
|
-
_onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
716
|
-
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
717
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
718
|
-
case 0:
|
|
719
|
-
if (!hide高危标记) {
|
|
720
|
-
_context3.next = 3;
|
|
721
|
-
break;
|
|
722
|
-
}
|
|
723
|
-
close === null || close === void 0 || close(true);
|
|
724
|
-
return _context3.abrupt("return");
|
|
725
|
-
case 3:
|
|
726
|
-
if (initData !== null && initData !== void 0 && initData.infectionNote) {
|
|
727
|
-
_context3.next = 5;
|
|
728
|
-
break;
|
|
729
|
-
}
|
|
730
|
-
return _context3.abrupt("return", _message.info('请选择传染病!'));
|
|
731
|
-
case 5:
|
|
732
|
-
if (!(initData.highriskGrade && initData.highriskGrade !== ROMAN_NUMERALS[1])) {
|
|
733
|
-
_context3.next = 9;
|
|
734
|
-
break;
|
|
735
|
-
}
|
|
736
|
-
if (initData.highriskNote) {
|
|
737
|
-
_context3.next = 9;
|
|
738
|
-
break;
|
|
739
|
-
}
|
|
740
|
-
_message.error('请填写高危因素!');
|
|
741
|
-
return _context3.abrupt("return");
|
|
742
|
-
case 9:
|
|
743
|
-
if (!initData.highriskNote) {
|
|
744
|
-
_context3.next = 13;
|
|
745
|
-
break;
|
|
746
|
-
}
|
|
747
|
-
if (initData.highriskGrade) {
|
|
748
|
-
_context3.next = 13;
|
|
749
|
-
break;
|
|
750
|
-
}
|
|
751
|
-
_message.error('请填写高危等级!');
|
|
752
|
-
return _context3.abrupt("return");
|
|
753
|
-
case 13:
|
|
754
|
-
if (!onFinish) {
|
|
755
|
-
_context3.next = 17;
|
|
756
|
-
break;
|
|
757
|
-
}
|
|
758
|
-
// 新建孕册
|
|
759
|
-
if (headerInfo) {
|
|
760
|
-
onFinish(_objectSpread(_objectSpread({}, headerInfo), initData));
|
|
761
|
-
}
|
|
762
|
-
_context3.next = 20;
|
|
763
|
-
break;
|
|
764
|
-
case 17:
|
|
765
|
-
_context3.next = 19;
|
|
766
|
-
return updateRiskRecords();
|
|
767
|
-
case 19:
|
|
768
|
-
handleSubmit === null || handleSubmit === void 0 || handleSubmit();
|
|
769
|
-
case 20:
|
|
770
|
-
close === null || close === void 0 || close(true);
|
|
771
|
-
case 21:
|
|
772
|
-
case "end":
|
|
773
|
-
return _context3.stop();
|
|
774
|
-
}
|
|
775
|
-
}, _callee3);
|
|
776
|
-
}));
|
|
777
|
-
return _onOk.apply(this, arguments);
|
|
778
|
-
}
|
|
779
|
-
function updateRiskRecords() {
|
|
780
|
-
return _updateRiskRecords.apply(this, arguments);
|
|
781
|
-
}
|
|
782
|
-
function _updateRiskRecords() {
|
|
783
|
-
_updateRiskRecords = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
|
|
784
|
-
var postData;
|
|
785
|
-
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
786
|
-
while (1) switch (_context4.prev = _context4.next) {
|
|
787
|
-
case 0:
|
|
788
|
-
postData = {
|
|
789
|
-
outEmrId: _get(headerInfo, 'id'),
|
|
790
|
-
infectionNote: initData === null || initData === void 0 ? void 0 : initData.infectionNote,
|
|
791
|
-
highriskNote: initData === null || initData === void 0 ? void 0 : initData.highriskNote,
|
|
792
|
-
highriskGrade: initData === null || initData === void 0 ? void 0 : initData.highriskGrade,
|
|
793
|
-
gestationalWeek: _get(headerInfo, "gesweek")
|
|
794
|
-
};
|
|
795
|
-
_context4.next = 3;
|
|
796
|
-
return request.put('/api/doctor/assessHighRisk', postData);
|
|
797
|
-
case 3:
|
|
798
|
-
_message.success('信息保存成功!');
|
|
799
|
-
// saveHeaderInfo({
|
|
800
|
-
// ...props.data,
|
|
801
|
-
// ...pick(post, ['infectionNote', 'highriskNote']),
|
|
802
|
-
// highriskLable: get(post, `highriskGrade`),
|
|
803
|
-
// });
|
|
804
|
-
// saveHeaderInfo(ress);
|
|
805
|
-
case 4:
|
|
806
|
-
case "end":
|
|
807
|
-
return _context4.stop();
|
|
808
|
-
}
|
|
809
|
-
}, _callee4);
|
|
810
|
-
}));
|
|
811
|
-
return _updateRiskRecords.apply(this, arguments);
|
|
812
|
-
}
|
|
813
|
-
function handleClose() {
|
|
814
|
-
close === null || close === void 0 || close();
|
|
815
|
-
}
|
|
816
|
-
function handleTabChange(key) {
|
|
817
|
-
set_activeTabKey(key);
|
|
818
|
-
}
|
|
819
|
-
function getTargetNote(v) {
|
|
820
|
-
var p = _get(highRiskTreeDataMapping.current, v.pid);
|
|
821
|
-
var addNote = "".concat(p === null || p === void 0 ? void 0 : p.val).concat(boundSymbol).concat(v === null || v === void 0 ? void 0 : v.val);
|
|
822
|
-
return addNote;
|
|
823
|
-
}
|
|
824
|
-
return /*#__PURE__*/React.createElement(_Modal, _extends({}, others, {
|
|
825
|
-
className: styles["highrisk-pop"],
|
|
826
|
-
bodyStyle: {
|
|
827
|
-
padding: 0,
|
|
828
|
-
maxHeight: 700
|
|
829
|
-
},
|
|
830
|
-
width: 1000,
|
|
831
|
-
onCancel: handleClose,
|
|
832
|
-
onOk: onOk
|
|
833
|
-
}), /*#__PURE__*/React.createElement(_Tabs, {
|
|
834
|
-
activeKey: activeTabKey,
|
|
835
|
-
onChange: handleTabChange
|
|
836
|
-
}, hide高危标记 ? null : /*#__PURE__*/React.createElement(_Tabs.TabPane, {
|
|
837
|
-
tab: "\u9AD8\u5371\u6807\u8BB0",
|
|
838
|
-
key: "1"
|
|
839
|
-
}, /*#__PURE__*/React.createElement(HighriskSign_高危因素管理, {
|
|
840
|
-
initData: initData,
|
|
841
|
-
set_initData: set_initData,
|
|
842
|
-
gradeOptions: gradeOptions,
|
|
843
|
-
contagionOptions: contagionOptions,
|
|
844
|
-
highriskTreeData: highriskTreeData,
|
|
845
|
-
headerInfo: headerInfo
|
|
846
|
-
})), hide高危时间轴 ? null : /*#__PURE__*/React.createElement(_Tabs.TabPane, {
|
|
847
|
-
tab: "\u9AD8\u5371\u65F6\u95F4\u8F74",
|
|
848
|
-
key: "2"
|
|
849
|
-
}, /*#__PURE__*/React.createElement(HighriskTimeline_高危因素管理, {
|
|
850
|
-
id: pregnancyId !== null && pregnancyId !== void 0 ? pregnancyId : headerInfo === null || headerInfo === void 0 ? void 0 : headerInfo.id,
|
|
851
|
-
gradeOptions: gradeOptions
|
|
852
|
-
}))));
|
|
853
|
-
}
|
|
854
|
-
// console.dir("mapStateToProps",mapStateToProps);
|
|
855
|
-
|
|
856
|
-
export { HighriskFactor as default };
|
|
857
|
-
//# sourceMappingURL=.root70.js.map
|
|
358
|
+
}]);
|
|
359
|
+
}(Component);
|
|
360
|
+
export { NursingFetus as default };
|