@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/.root6.js
CHANGED
|
@@ -1,206 +1,1021 @@
|
|
|
1
|
+
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
1
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["className", "style", "labelBefore", "labelBeforeStyle", "labelAfterStyle", "labelAfter", "inputStyle", "value", "type", "maxValue", "minValue", "onChange"];
|
|
5
4
|
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; }
|
|
6
5
|
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; }
|
|
7
|
-
import '
|
|
8
|
-
import
|
|
9
|
-
import '
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import '@lm_fe/env';
|
|
19
|
-
import 'lodash/isFunction';
|
|
20
|
-
import '@ant-design/icons';
|
|
21
|
-
import 'antd/es/space/style';
|
|
22
|
-
import 'antd/es/space';
|
|
23
|
-
import 'lodash/set';
|
|
24
|
-
import 'lodash/map';
|
|
25
|
-
import 'lodash/indexOf';
|
|
26
|
-
import 'lodash/compact';
|
|
6
|
+
import { MyIcon, Table_L } from '@lm_fe/components';
|
|
7
|
+
import { mchcEnv, mchcEvent } from '@lm_fe/env';
|
|
8
|
+
import { SMchc_Doctor } from '@lm_fe/service';
|
|
9
|
+
import { Space, Button, message } from 'antd';
|
|
10
|
+
import { get, throttle, orderBy, forEach, cloneDeep, set, size, map } from 'lodash';
|
|
11
|
+
import React, { useState, useRef, useCallback, useEffect } from 'react';
|
|
12
|
+
import { E as EditableCell } from './TableEditableCell.js';
|
|
13
|
+
import { a as styleInject } from './index.js';
|
|
14
|
+
import 'dayjs';
|
|
15
|
+
import './index2.js';
|
|
16
|
+
import '@lm_fe/provoke';
|
|
27
17
|
import '@lm_fe/utils';
|
|
28
|
-
import '
|
|
29
|
-
import '
|
|
30
|
-
import 'lodash/isString';
|
|
31
|
-
import 'lodash/isNumber';
|
|
32
|
-
import 'lodash/isBoolean';
|
|
33
|
-
import 'antd/es/divider/style';
|
|
34
|
-
import 'antd/es/divider';
|
|
35
|
-
import 'antd/es/button/style';
|
|
36
|
-
import 'antd/es/button';
|
|
37
|
-
import 'lodash/isEmpty';
|
|
38
|
-
import 'antd/es/switch/style';
|
|
39
|
-
import 'antd/es/switch';
|
|
40
|
-
import 'antd/es/form/style';
|
|
41
|
-
import 'antd/es/form';
|
|
42
|
-
import 'lodash/join';
|
|
43
|
-
import 'lodash/isEqual';
|
|
44
|
-
import 'lodash/isArray';
|
|
45
|
-
import 'lodash/identity';
|
|
46
|
-
import 'lodash/cloneDeep';
|
|
47
|
-
import '@lm_fe/service';
|
|
48
|
-
import 'lodash/isObject';
|
|
49
|
-
import 'lodash/keys';
|
|
50
|
-
import 'lodash/keyBy';
|
|
51
|
-
import 'antd/es/tooltip/style';
|
|
52
|
-
import 'antd/es/tooltip';
|
|
53
|
-
import 'antd/es/spin/style';
|
|
54
|
-
import 'antd/es/spin';
|
|
55
|
-
import 'antd/es/message/style';
|
|
56
|
-
import 'antd/es/message';
|
|
57
|
-
import 'lodash/has';
|
|
58
|
-
import 'antd/es/modal/style';
|
|
59
|
-
import 'antd/es/modal';
|
|
60
|
-
import 'lodash/size';
|
|
61
|
-
import 'lodash/includes';
|
|
62
|
-
import 'lodash/forEach';
|
|
63
|
-
import 'lodash/filter';
|
|
64
|
-
import 'react-to-print';
|
|
65
|
-
import 'antd/es/row/style';
|
|
66
|
-
import 'antd/es/row';
|
|
67
|
-
import 'antd/es/col/style';
|
|
68
|
-
import 'antd/es/col';
|
|
69
|
-
import 'lodash/concat';
|
|
70
|
-
import 'lodash/reduce';
|
|
71
|
-
import 'lodash/debounce';
|
|
72
|
-
import 'lodash/pickBy';
|
|
73
|
-
import 'antd/es/auto-complete/style';
|
|
74
|
-
import 'antd/es/auto-complete';
|
|
75
|
-
import 'lodash/nth';
|
|
76
|
-
import 'lodash/assign';
|
|
77
|
-
import 'antd/es/popover/style';
|
|
78
|
-
import 'antd/es/popover';
|
|
79
|
-
import 'antd/es/menu/style';
|
|
80
|
-
import 'antd/es/menu';
|
|
18
|
+
import 'classnames';
|
|
19
|
+
import 'reconnecting-websocket';
|
|
81
20
|
import 'store';
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
21
|
+
var 建瓯_config = {
|
|
22
|
+
"needNotThisTime": false,
|
|
23
|
+
"ignoreKeys": ["_children.childGender", "_children.childLiving", "_children.childDeathTime", "_children.childDeathNote", "_children.sequelaNote", "_children.neonateWeight"],
|
|
24
|
+
"tableColumns": [{
|
|
25
|
+
"key": "gravidityindex",
|
|
26
|
+
"title": "孕次",
|
|
27
|
+
"width": 30,
|
|
28
|
+
"editor": {
|
|
29
|
+
"input_type": "input"
|
|
30
|
+
}
|
|
31
|
+
}, {
|
|
32
|
+
"key": "year",
|
|
33
|
+
"title": "年-月",
|
|
34
|
+
"width": 50,
|
|
35
|
+
"editor": {
|
|
36
|
+
"input_type": "filterDateInput"
|
|
37
|
+
}
|
|
38
|
+
}, {
|
|
39
|
+
"key": "term",
|
|
40
|
+
"title": "足月产",
|
|
41
|
+
"width": 40,
|
|
42
|
+
"editor": {
|
|
43
|
+
"input_type": "checkbox",
|
|
44
|
+
"input_props": {
|
|
45
|
+
"type": "default"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}, {
|
|
49
|
+
"key": "preterm",
|
|
50
|
+
"title": "早产",
|
|
51
|
+
"width": 30,
|
|
52
|
+
"editor": {
|
|
53
|
+
"input_type": "checkbox",
|
|
54
|
+
"input_props": {
|
|
55
|
+
"type": "default"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}, {
|
|
59
|
+
"key": "inducedLabor",
|
|
60
|
+
"title": "引产",
|
|
61
|
+
"width": 30,
|
|
62
|
+
"editor": {
|
|
63
|
+
"input_type": "checkbox",
|
|
64
|
+
"input_props": {
|
|
65
|
+
"type": "default"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}, {
|
|
69
|
+
"key": "surgicalAbortion",
|
|
70
|
+
"title": "人工",
|
|
71
|
+
"width": 30,
|
|
72
|
+
"editor": {
|
|
73
|
+
"input_type": "checkbox",
|
|
74
|
+
"input_props": {
|
|
75
|
+
"type": "default"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}, {
|
|
79
|
+
"key": "medicalAbortion",
|
|
80
|
+
"title": "药流",
|
|
81
|
+
"width": 30,
|
|
82
|
+
"editor": {
|
|
83
|
+
"input_type": "checkbox",
|
|
84
|
+
"input_props": {
|
|
85
|
+
"type": "default"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}, {
|
|
89
|
+
"key": "naturalAbortion",
|
|
90
|
+
"title": "自然流产",
|
|
91
|
+
"width": 30,
|
|
92
|
+
"editor": {
|
|
93
|
+
"input_type": "checkbox",
|
|
94
|
+
"input_props": {
|
|
95
|
+
"type": "default"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}, {
|
|
99
|
+
"key": "ectopicPregnancy",
|
|
100
|
+
"title": "异位妊娠",
|
|
101
|
+
"width": 30,
|
|
102
|
+
"editor": {
|
|
103
|
+
"input_type": "checkbox",
|
|
104
|
+
"input_props": {
|
|
105
|
+
"type": "default"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}, {
|
|
109
|
+
"key": "hydatidMole",
|
|
110
|
+
"title": "葡萄胎",
|
|
111
|
+
"width": 30,
|
|
112
|
+
"editor": {
|
|
113
|
+
"input_type": "checkbox",
|
|
114
|
+
"input_props": {
|
|
115
|
+
"type": "default"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}, {
|
|
119
|
+
"key": "fetusdeath",
|
|
120
|
+
"title": "死胎",
|
|
121
|
+
"width": 30,
|
|
122
|
+
"editor": {
|
|
123
|
+
"input_type": "checkbox",
|
|
124
|
+
"input_props": {
|
|
125
|
+
"type": "default"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}, {
|
|
129
|
+
"key": "stillbirth",
|
|
130
|
+
"title": "死产",
|
|
131
|
+
"width": 30,
|
|
132
|
+
"editor": {
|
|
133
|
+
"input_type": "checkbox",
|
|
134
|
+
"input_props": {
|
|
135
|
+
"type": "default"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}, {
|
|
139
|
+
"key": "neonateDeath",
|
|
140
|
+
"title": "新生儿死亡",
|
|
141
|
+
"width": 30,
|
|
142
|
+
"editor": {
|
|
143
|
+
"input_type": "checkbox",
|
|
144
|
+
"input_props": {
|
|
145
|
+
"type": "default"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}, {
|
|
149
|
+
"title": "小孩情况",
|
|
150
|
+
"children": [{
|
|
151
|
+
"key": "children.childGender",
|
|
152
|
+
"title": "性别",
|
|
153
|
+
"width": 30,
|
|
154
|
+
"editor": {
|
|
155
|
+
"input_type": "MS",
|
|
156
|
+
"input_props": {
|
|
157
|
+
uniqueKey: '性别3'
|
|
158
|
+
// "options": [{ "label": "男", "value": 1 }, { "label": "女", "value": 2 }, { "label": "未知", "value": 3 }]
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}, {
|
|
162
|
+
"key": "children.childLiving",
|
|
163
|
+
"title": "生存",
|
|
164
|
+
"width": 30,
|
|
165
|
+
"editor": {
|
|
166
|
+
"input_type": "MS",
|
|
167
|
+
"input_props": {
|
|
168
|
+
"options": [{
|
|
169
|
+
"label": "健在",
|
|
170
|
+
"value": true
|
|
171
|
+
}, {
|
|
172
|
+
"label": "死亡",
|
|
173
|
+
"value": false
|
|
174
|
+
}]
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}, {
|
|
178
|
+
"key": "children.childDeformity",
|
|
179
|
+
"title": "畸形",
|
|
180
|
+
"width": 30,
|
|
181
|
+
"editor": {
|
|
182
|
+
"input_type": "MS",
|
|
183
|
+
"input_props": {
|
|
184
|
+
"options": [{
|
|
185
|
+
"label": "是",
|
|
186
|
+
"value": "是"
|
|
187
|
+
}, {
|
|
188
|
+
"label": "否",
|
|
189
|
+
"value": "否"
|
|
190
|
+
}]
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
// {
|
|
195
|
+
// "key": "children.childGender", "title": "性别", "width": 30,
|
|
196
|
+
// "editor": {
|
|
197
|
+
// "input_type": "MS", "input_props": {
|
|
198
|
+
// "options": [
|
|
199
|
+
// { "label": "男", "value": 1 }, { "label": "女", "value": 2 }, { "label": "未知", "value": 3 }]
|
|
200
|
+
// }
|
|
201
|
+
// }
|
|
202
|
+
// },
|
|
203
|
+
]
|
|
204
|
+
}, {
|
|
205
|
+
"title": "分娩方式",
|
|
206
|
+
"children": [{
|
|
207
|
+
"key": "vaginalDelivery",
|
|
208
|
+
"title": "顺产",
|
|
209
|
+
"width": 30,
|
|
210
|
+
"editor": {
|
|
211
|
+
"input_type": "checkbox",
|
|
212
|
+
"input_props": {
|
|
213
|
+
"type": "default"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}, {
|
|
217
|
+
"key": "operationType",
|
|
218
|
+
"title": "手术产式",
|
|
219
|
+
"width": 50,
|
|
220
|
+
"editor": {
|
|
221
|
+
"input_type": "MS",
|
|
222
|
+
"input_props": {
|
|
223
|
+
"options": [{
|
|
224
|
+
"label": " ",
|
|
225
|
+
"value": " "
|
|
226
|
+
}, {
|
|
227
|
+
"label": "剖宫产",
|
|
228
|
+
"value": "cesareanSection"
|
|
229
|
+
}, {
|
|
230
|
+
"label": "吸引产",
|
|
231
|
+
"value": "vacuumAssisted"
|
|
232
|
+
}, {
|
|
233
|
+
"label": "钳产",
|
|
234
|
+
"value": "forceps"
|
|
235
|
+
}, {
|
|
236
|
+
"label": "臀助产",
|
|
237
|
+
"value": "breechMidwifery"
|
|
238
|
+
}]
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}]
|
|
242
|
+
}, {
|
|
243
|
+
"key": "hemorrhage",
|
|
244
|
+
"title": "产后出血",
|
|
245
|
+
"width": 30,
|
|
246
|
+
"editor": {
|
|
247
|
+
"input_type": "checkbox",
|
|
248
|
+
"input_props": {
|
|
249
|
+
"type": "default"
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}, {
|
|
253
|
+
"key": "exceptionalcase",
|
|
254
|
+
"title": "其他",
|
|
255
|
+
"width": 200,
|
|
256
|
+
"editor": {
|
|
257
|
+
"input_type": "MA",
|
|
258
|
+
"input_props": {
|
|
259
|
+
memorieskey: '孕产史-特殊情况'
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}]
|
|
263
|
+
};
|
|
264
|
+
function getConfig() {
|
|
265
|
+
if (mchcEnv.is('建瓯')) {
|
|
266
|
+
return 建瓯_config;
|
|
267
|
+
}
|
|
268
|
+
return {
|
|
269
|
+
"pregnancyId": 0,
|
|
270
|
+
"needNotThisTime": false,
|
|
271
|
+
"ignoreKeys": ["_children.childGender", "_children.childLiving", "_children.childDeathTime", "_children.childDeathNote", "_children.sequelaNote", "_children.neonateWeight"],
|
|
272
|
+
"tableColumns": [{
|
|
273
|
+
"key": "gravidityindex",
|
|
274
|
+
"title": "孕次",
|
|
275
|
+
"width": 30,
|
|
276
|
+
"editor": {
|
|
277
|
+
"input_type": "input"
|
|
278
|
+
}
|
|
279
|
+
}, {
|
|
280
|
+
"key": "year",
|
|
281
|
+
"title": "年-月",
|
|
282
|
+
"width": 70,
|
|
283
|
+
"editor": {
|
|
284
|
+
"input_type": "filterDateInput"
|
|
285
|
+
}
|
|
286
|
+
}, {
|
|
287
|
+
"title": "流产",
|
|
288
|
+
"children": [{
|
|
289
|
+
"key": "naturalAbortion",
|
|
290
|
+
"title": "自然",
|
|
291
|
+
"width": 30,
|
|
292
|
+
"editor": {
|
|
293
|
+
"input_type": "checkbox",
|
|
294
|
+
"input_props": {
|
|
295
|
+
"type": "default"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}, {
|
|
299
|
+
"key": "medicalAbortion",
|
|
300
|
+
"title": "药物",
|
|
301
|
+
"width": 30,
|
|
302
|
+
"editor": {
|
|
303
|
+
"input_type": "checkbox",
|
|
304
|
+
"input_props": {
|
|
305
|
+
"type": "default"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}, {
|
|
309
|
+
"key": "surgicalAbortion",
|
|
310
|
+
"title": "人工",
|
|
311
|
+
"width": 30,
|
|
312
|
+
"editor": {
|
|
313
|
+
"input_type": "checkbox",
|
|
314
|
+
"input_props": {
|
|
315
|
+
"type": "default"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}, {
|
|
319
|
+
"key": "currettage",
|
|
320
|
+
"title": "清宫",
|
|
321
|
+
"width": 30,
|
|
322
|
+
"editor": {
|
|
323
|
+
"input_type": "checkbox",
|
|
324
|
+
"input_props": {
|
|
325
|
+
"type": "default"
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}]
|
|
329
|
+
}, {
|
|
330
|
+
"key": "biochemicalAbortion",
|
|
331
|
+
"title": "生化妊娠",
|
|
332
|
+
"width": 30,
|
|
333
|
+
"editor": {
|
|
334
|
+
"input_type": "checkbox",
|
|
335
|
+
"input_props": {
|
|
336
|
+
"type": "default"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}, {
|
|
340
|
+
"key": "inducedLabor",
|
|
341
|
+
"title": "引产",
|
|
342
|
+
"width": 30,
|
|
343
|
+
"editor": {
|
|
344
|
+
"input_type": "checkbox",
|
|
345
|
+
"input_props": {
|
|
346
|
+
"type": "default"
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}, {
|
|
350
|
+
"key": "fetusdeath",
|
|
351
|
+
"title": "死胎",
|
|
352
|
+
"width": 30,
|
|
353
|
+
"editor": {
|
|
354
|
+
"input_type": "checkbox",
|
|
355
|
+
"input_props": {
|
|
356
|
+
"type": "default"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}, {
|
|
360
|
+
"key": "preterm",
|
|
361
|
+
"title": "早产",
|
|
362
|
+
"width": 30,
|
|
363
|
+
"editor": {
|
|
364
|
+
"input_type": "checkbox",
|
|
365
|
+
"input_props": {
|
|
366
|
+
"type": "default"
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}, {
|
|
370
|
+
"key": "term",
|
|
371
|
+
"title": "足月产",
|
|
372
|
+
"width": 40,
|
|
373
|
+
"editor": {
|
|
374
|
+
"input_type": "checkbox",
|
|
375
|
+
"input_props": {
|
|
376
|
+
"type": "default"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}, {
|
|
380
|
+
"key": "gestationalWeek",
|
|
381
|
+
"title": "孕周",
|
|
382
|
+
"width": 40,
|
|
383
|
+
"editor": {
|
|
384
|
+
"input_type": "input"
|
|
385
|
+
}
|
|
386
|
+
}, {
|
|
387
|
+
"title": "分娩方式",
|
|
388
|
+
"children": [{
|
|
389
|
+
"key": "vaginalDelivery",
|
|
390
|
+
"title": "顺产",
|
|
391
|
+
"width": 30,
|
|
392
|
+
"editor": {
|
|
393
|
+
"input_type": "checkbox",
|
|
394
|
+
"input_props": {
|
|
395
|
+
"type": "default"
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}, {
|
|
399
|
+
"key": "operationType",
|
|
400
|
+
"title": "手术产式",
|
|
401
|
+
"width": 50,
|
|
402
|
+
"editor": {
|
|
403
|
+
"input_type": "MS",
|
|
404
|
+
"input_props": {
|
|
405
|
+
"options": [{
|
|
406
|
+
"label": " ",
|
|
407
|
+
"value": " "
|
|
408
|
+
}, {
|
|
409
|
+
"label": "剖宫产",
|
|
410
|
+
"value": "cesareanSection"
|
|
411
|
+
}, {
|
|
412
|
+
"label": "吸引产",
|
|
413
|
+
"value": "vacuumAssisted"
|
|
414
|
+
}, {
|
|
415
|
+
"label": "钳产",
|
|
416
|
+
"value": "forceps"
|
|
417
|
+
}, {
|
|
418
|
+
"label": "臀助产",
|
|
419
|
+
"value": "breechMidwifery"
|
|
420
|
+
}]
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
}]
|
|
424
|
+
}, {
|
|
425
|
+
"title": "产后情况",
|
|
426
|
+
"children": [{
|
|
427
|
+
"key": "hemorrhage",
|
|
428
|
+
"title": "出血",
|
|
429
|
+
"width": 30,
|
|
430
|
+
"editor": {
|
|
431
|
+
"input_type": "checkbox",
|
|
432
|
+
"input_props": {
|
|
433
|
+
"type": "default"
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}, {
|
|
437
|
+
"key": "puerperalFever",
|
|
438
|
+
"title": "产褥热",
|
|
439
|
+
"width": 40,
|
|
440
|
+
"editor": {
|
|
441
|
+
"input_type": "checkbox",
|
|
442
|
+
"input_props": {
|
|
443
|
+
"type": "default"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}]
|
|
447
|
+
}, {
|
|
448
|
+
"key": "fetalcount",
|
|
449
|
+
"title": "胎数",
|
|
450
|
+
"width": 35,
|
|
451
|
+
"editor": {
|
|
452
|
+
"input_type": "input",
|
|
453
|
+
"input_props": {
|
|
454
|
+
"type": "number"
|
|
455
|
+
},
|
|
456
|
+
"controls": false
|
|
457
|
+
}
|
|
458
|
+
}, {
|
|
459
|
+
"title": "小孩情况",
|
|
460
|
+
"children": [{
|
|
461
|
+
"key": "children.childGender",
|
|
462
|
+
"title": "性别",
|
|
463
|
+
"width": 30,
|
|
464
|
+
"editor": {
|
|
465
|
+
"input_type": "MS",
|
|
466
|
+
"input_props": {
|
|
467
|
+
uniqueKey: '性别3'
|
|
468
|
+
// "options": [{ "label": "男", "value": 1 }, { "label": "女", "value": 2 }, { "label": "未知", "value": 3 }]
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}, {
|
|
472
|
+
"key": "children.neonateWeight",
|
|
473
|
+
"title": mchcEnv["in"](['广三']) ? "出生体重(g)" : "出生体重(kg)",
|
|
474
|
+
"width": 60,
|
|
475
|
+
"editor": {
|
|
476
|
+
"input_type": "input",
|
|
477
|
+
"input_props": {
|
|
478
|
+
"type": "number"
|
|
479
|
+
},
|
|
480
|
+
"controls": false
|
|
481
|
+
}
|
|
482
|
+
}, {
|
|
483
|
+
"key": "children.childLiving",
|
|
484
|
+
"title": "生存",
|
|
485
|
+
"width": 30,
|
|
486
|
+
"editor": {
|
|
487
|
+
"input_type": "MS",
|
|
488
|
+
"input_props": {
|
|
489
|
+
"options": [{
|
|
490
|
+
"label": "健在",
|
|
491
|
+
"value": true
|
|
492
|
+
}, {
|
|
493
|
+
"label": "死亡",
|
|
494
|
+
"value": false
|
|
495
|
+
}]
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}, {
|
|
499
|
+
"key": "children.childDeathTime",
|
|
500
|
+
"width": 100,
|
|
501
|
+
"title": "死亡时间",
|
|
502
|
+
"editor": {
|
|
503
|
+
"input_type": "filterDateInput"
|
|
504
|
+
}
|
|
505
|
+
}, {
|
|
506
|
+
"key": "children.childDeathNote",
|
|
507
|
+
"width": 100,
|
|
508
|
+
"title": "死亡原因",
|
|
509
|
+
"editor": {
|
|
510
|
+
"input_type": "input"
|
|
511
|
+
}
|
|
512
|
+
}, {
|
|
513
|
+
"key": "children.sequelaNote",
|
|
514
|
+
"title": "后遗症",
|
|
515
|
+
"width": 30,
|
|
516
|
+
"editor": {
|
|
517
|
+
"input_type": "input"
|
|
518
|
+
}
|
|
519
|
+
}]
|
|
520
|
+
}, {
|
|
521
|
+
"key": "hospital",
|
|
522
|
+
"title": "分娩医院",
|
|
523
|
+
"width": 80,
|
|
524
|
+
"editor": {
|
|
525
|
+
"input_type": "input"
|
|
526
|
+
}
|
|
527
|
+
}, {
|
|
528
|
+
"key": "exceptionalcase",
|
|
529
|
+
"title": "特殊情况",
|
|
530
|
+
"width": 200,
|
|
531
|
+
"editor": {
|
|
532
|
+
"input_type": "MA",
|
|
533
|
+
"input_props": {
|
|
534
|
+
memorieskey: '孕产史-特殊情况'
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}]
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
var css_248z = ".preg-his-table .btns-wrapper {\n margin-bottom: 8px;\n}\n.preg-his-table .btns-wrapper .ant-btn {\n margin-right: 12px;\n}\n.preg-his-table .ant-table .ant-table-thead th {\n color: #150f55;\n}\n.preg-his-table .ant-table .ant-table-tbody > tr.ant-table-row:hover > td {\n background: #e6f6ff !important;\n}\n.preg-his-table .ant-table .row-select {\n background: #e6f6ff !important;\n}\n.preg-his-table .ant-table .ant-table-cell {\n height: 40px;\n text-align: center;\n word-break: keep-all;\n padding: 4px;\n}\n";
|
|
90
541
|
styleInject(css_248z);
|
|
91
542
|
|
|
92
|
-
//
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
543
|
+
// 手术产式
|
|
544
|
+
var operationTypes = ['cesareanSection', 'vacuumAssisted', 'forceps', 'breechMidwifery'];
|
|
545
|
+
var addData = {
|
|
546
|
+
_key: 'benyun',
|
|
547
|
+
fetalcount: null
|
|
548
|
+
};
|
|
549
|
+
function getPropsValue(k, a, b) {
|
|
550
|
+
var _ref, _get, _a$config;
|
|
551
|
+
return (_ref = (_get = get(a, k)) !== null && _get !== void 0 ? _get : get(a === null || a === void 0 || (_a$config = a.config) === null || _a$config === void 0 ? void 0 : _a$config.input_props, k)) !== null && _ref !== void 0 ? _ref : get(b, k);
|
|
552
|
+
}
|
|
553
|
+
function MyForm_Business_PregnancyHistory(props) {
|
|
554
|
+
var _getPropsValue, _getPropsValue2;
|
|
555
|
+
var __config = getConfig();
|
|
556
|
+
var _window$BF_Wrap = window.BF_Wrap2({
|
|
557
|
+
default_conf: {
|
|
558
|
+
title: "\u7EC4\u4EF6-\u5B55\u4EA7\u53F2",
|
|
559
|
+
tableColumns: [__config]
|
|
560
|
+
}
|
|
561
|
+
}),
|
|
562
|
+
Wrap = _window$BF_Wrap.Wrap,
|
|
563
|
+
config = _window$BF_Wrap.config;
|
|
564
|
+
var conf = get(config, 'tableColumns', [])[0];
|
|
565
|
+
console.log('conf', {
|
|
566
|
+
conf: conf,
|
|
567
|
+
config: config
|
|
568
|
+
});
|
|
569
|
+
var value = props.value,
|
|
107
570
|
onChange = props.onChange,
|
|
108
|
-
|
|
109
|
-
|
|
571
|
+
dispatch = props.dispatch,
|
|
572
|
+
disabled = props.disabled;
|
|
573
|
+
var __ignoreKeys = (_getPropsValue = getPropsValue('ignoreKeys', conf, __config)) !== null && _getPropsValue !== void 0 ? _getPropsValue : [];
|
|
574
|
+
var __tableColumns = (_getPropsValue2 = getPropsValue('tableColumns', conf, __config)) !== null && _getPropsValue2 !== void 0 ? _getPropsValue2 : [];
|
|
575
|
+
var __needNotThisTime = getPropsValue('needNotThisTime', conf, __config);
|
|
576
|
+
var __closeAdd = getPropsValue('closeAdd', conf, __config);
|
|
577
|
+
var __pregnancyId = getPropsValue('pregnancyId', conf, __config);
|
|
578
|
+
var ignoreKeys = __ignoreKeys.map(function (_) {
|
|
579
|
+
return _.startsWith('children') ? _.replace('children', '_children') : _;
|
|
580
|
+
});
|
|
581
|
+
var _useState = useState([]),
|
|
110
582
|
_useState2 = _slicedToArray(_useState, 2),
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
var _useState3 = useState(
|
|
583
|
+
tableColumns = _useState2[0],
|
|
584
|
+
set_tableColumns = _useState2[1];
|
|
585
|
+
var _useState3 = useState(0),
|
|
114
586
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
115
|
-
|
|
116
|
-
|
|
587
|
+
tableColumnsLength = _useState4[0],
|
|
588
|
+
set_tableColumnsLength = _useState4[1];
|
|
589
|
+
var _useState5 = useState([]),
|
|
590
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
591
|
+
dataSource = _useState6[0],
|
|
592
|
+
set_dataSource = _useState6[1];
|
|
593
|
+
var _useState7 = useState([]),
|
|
594
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
595
|
+
selectedRowKeys = _useState8[0],
|
|
596
|
+
set_selectedRowKeys = _useState8[1];
|
|
597
|
+
var _useState9 = useState(),
|
|
598
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
599
|
+
g = _useState10[0],
|
|
600
|
+
setG = _useState10[1];
|
|
601
|
+
var _useState11 = useState(),
|
|
602
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
603
|
+
p = _useState12[0],
|
|
604
|
+
setP = _useState12[1];
|
|
605
|
+
var pregnancyId = useRef();
|
|
606
|
+
pregnancyId.current = __pregnancyId;
|
|
607
|
+
var fetchPG = useCallback(throttle(function fetchPG() {
|
|
608
|
+
var id = pregnancyId.current;
|
|
609
|
+
id && SMchc_Doctor.getOutpatientHeaderInfo(id).then(function (r) {
|
|
610
|
+
setG(r.g);
|
|
611
|
+
setP(r.p);
|
|
612
|
+
});
|
|
613
|
+
}, 2000), []);
|
|
117
614
|
useEffect(function () {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
615
|
+
fetchPG();
|
|
616
|
+
var rm = mchcEvent.on_rm('outpatient', function (e) {
|
|
617
|
+
if (e.type === '刷新头部') {
|
|
618
|
+
fetchPG();
|
|
619
|
+
}
|
|
620
|
+
});
|
|
621
|
+
return rm;
|
|
622
|
+
}, []);
|
|
623
|
+
useEffect(function () {
|
|
624
|
+
var safeValue = value !== null && value !== void 0 ? value : [];
|
|
625
|
+
var _value = orderBy(safeValue, ['gravidityindex'], ['asc']);
|
|
626
|
+
var d = splitData(_value);
|
|
627
|
+
set_dataSource(d !== null && d !== void 0 ? d : []);
|
|
628
|
+
set_selectedRowKeys([]);
|
|
629
|
+
console.log('value', _value, d);
|
|
630
|
+
return function () {};
|
|
631
|
+
}, [value]);
|
|
632
|
+
useEffect(function () {
|
|
633
|
+
/*计算本孕一行占据的宽度*/
|
|
634
|
+
var length = 0;
|
|
635
|
+
forEach(__tableColumns, function (item) {
|
|
636
|
+
if (item.children) {
|
|
637
|
+
length += get(item, 'children.length');
|
|
638
|
+
item.children = item.children.map(function (c) {
|
|
639
|
+
var _c$key;
|
|
640
|
+
return _objectSpread(_objectSpread({}, c), {}, {
|
|
641
|
+
key: (_c$key = c.key) !== null && _c$key !== void 0 && _c$key.startsWith('children') ? c.key.replace('children', '_children') : c.key
|
|
642
|
+
});
|
|
643
|
+
});
|
|
644
|
+
} else {
|
|
645
|
+
length++;
|
|
646
|
+
}
|
|
647
|
+
});
|
|
648
|
+
set_tableColumns(__tableColumns);
|
|
649
|
+
set_tableColumnsLength(length - 1);
|
|
650
|
+
return function () {};
|
|
651
|
+
}, [config]);
|
|
652
|
+
function _onChange(data) {
|
|
653
|
+
console.log('_onChange', data);
|
|
654
|
+
onChange(JSON.parse(JSON.stringify(data)));
|
|
655
|
+
}
|
|
656
|
+
function splitData(data) {
|
|
657
|
+
var cloneData = cloneDeep(data);
|
|
658
|
+
var splitArr = [];
|
|
659
|
+
if (cloneData) {
|
|
660
|
+
var count = 0;
|
|
661
|
+
cloneData.forEach(function (item, index) {
|
|
662
|
+
var _get2;
|
|
663
|
+
var len = (_get2 = get(item, 'children.length')) !== null && _get2 !== void 0 ? _get2 : 0;
|
|
664
|
+
if (len > 0) {
|
|
665
|
+
forEach(item.children, function (subItem) {
|
|
666
|
+
var newItem = cloneDeep(item);
|
|
667
|
+
newItem.mergeIndex = index;
|
|
668
|
+
newItem._children = subItem;
|
|
669
|
+
newItem._key = count;
|
|
670
|
+
splitArr.push(newItem);
|
|
671
|
+
count++;
|
|
672
|
+
});
|
|
154
673
|
} else {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
674
|
+
item.mergeIndex = index;
|
|
675
|
+
item._children = {};
|
|
676
|
+
item._key = count;
|
|
677
|
+
splitArr.push(item);
|
|
678
|
+
count++;
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
forEach(splitArr, function (item) {
|
|
683
|
+
forEach(operationTypes, function (type) {
|
|
684
|
+
if (get(item, type) === true) {
|
|
685
|
+
set(item, 'operationType', type);
|
|
158
686
|
}
|
|
159
|
-
}
|
|
160
|
-
|
|
687
|
+
});
|
|
688
|
+
});
|
|
689
|
+
/* 加入本孕信息 */
|
|
690
|
+
if (!__needNotThisTime) {
|
|
691
|
+
var newAddData = cloneDeep(addData);
|
|
692
|
+
newAddData.gravidityindex = data.length + 1;
|
|
693
|
+
splitArr.push(newAddData);
|
|
694
|
+
}
|
|
695
|
+
return splitArr;
|
|
696
|
+
}
|
|
697
|
+
// onChange 之前
|
|
698
|
+
function mergeData(data) {
|
|
699
|
+
/* 删去最后一条本孕信息 */
|
|
700
|
+
if (!__needNotThisTime) {
|
|
701
|
+
data.splice(data.length - 1, 1);
|
|
702
|
+
}
|
|
703
|
+
var mergeArr = [];
|
|
704
|
+
var sameIndex = -1;
|
|
705
|
+
for (var i = 0; i < data.length; i++) {
|
|
706
|
+
if (data[i].mergeIndex !== sameIndex) {
|
|
707
|
+
var _child$mergeIndex;
|
|
708
|
+
var child = cloneDeep(data[i]);
|
|
709
|
+
sameIndex = (_child$mergeIndex = child.mergeIndex) !== null && _child$mergeIndex !== void 0 ? _child$mergeIndex : -1;
|
|
710
|
+
var childArr = child._children ? [child._children] : [];
|
|
711
|
+
mergeArr.push(child);
|
|
712
|
+
mergeArr[mergeArr.length - 1].children = childArr;
|
|
713
|
+
} else {
|
|
714
|
+
var _mergeArr;
|
|
715
|
+
var c = data[i]._children;
|
|
716
|
+
c && ((_mergeArr = mergeArr[mergeArr.length - 1]) === null || _mergeArr === void 0 || (_mergeArr = _mergeArr.children) === null || _mergeArr === void 0 ? void 0 : _mergeArr.push(c));
|
|
161
717
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
718
|
+
}
|
|
719
|
+
map(mergeArr, function (item) {
|
|
720
|
+
var _get3, _item$children;
|
|
721
|
+
var len = (_get3 = get(item, 'children.length')) !== null && _get3 !== void 0 ? _get3 : 0;
|
|
722
|
+
/* 未分娩胎数为零 */
|
|
723
|
+
if (len === 1 && size((_item$children = item.children) === null || _item$children === void 0 ? void 0 : _item$children[0]) === 0) {
|
|
724
|
+
item.children = [];
|
|
725
|
+
item.fetalcount = undefined;
|
|
726
|
+
}
|
|
727
|
+
if (len > 0) {
|
|
728
|
+
item.fetalcount = len;
|
|
729
|
+
}
|
|
730
|
+
});
|
|
731
|
+
return mergeArr;
|
|
732
|
+
}
|
|
733
|
+
function handleEdit(val, key, index) {
|
|
734
|
+
var newValue = cloneDeep(dataSource);
|
|
735
|
+
var fetelData = newValue[index];
|
|
736
|
+
/*互斥项提示
|
|
737
|
+
流产
|
|
738
|
+
naturalAbortion -自然
|
|
739
|
+
medicalAbortion -药物流产
|
|
740
|
+
surgicalAbortion - 手术流产
|
|
741
|
+
currettage - 清宫
|
|
742
|
+
biochemicalAbortion - 生化妊娠
|
|
743
|
+
inducedLabor -- 引产
|
|
744
|
+
产出
|
|
745
|
+
preterm -- 早产
|
|
746
|
+
term -- 足月产
|
|
747
|
+
vaginalDelivery -- 顺产
|
|
748
|
+
cesareanSection -- 剖宫产
|
|
749
|
+
vacuumAssisted -- 吸引产
|
|
750
|
+
forceps -- 钳产
|
|
751
|
+
breechMidwifery -- 臀助产
|
|
752
|
+
*/
|
|
753
|
+
var threeCount = 0;
|
|
754
|
+
var fourCount = 0;
|
|
755
|
+
if (fetelData.naturalAbortion === true) threeCount++;
|
|
756
|
+
if (fetelData.surgicalAbortion === true) threeCount++;
|
|
757
|
+
if (fetelData.inducedLabor === true) threeCount++;
|
|
758
|
+
if (fetelData.medicalAbortion === true) threeCount++;
|
|
759
|
+
if (fetelData.currettage === true) threeCount++;
|
|
760
|
+
if (fetelData.biochemicalAbortion === true) threeCount++;
|
|
761
|
+
if (fetelData.preterm === true) fourCount++;
|
|
762
|
+
if (fetelData.term === true) fourCount++;
|
|
763
|
+
if (fetelData.vaginalDelivery === true) fourCount++;
|
|
764
|
+
if (!!fetelData.shouShuChanType) fourCount++;
|
|
765
|
+
if (fetelData.cesareanSection === true) fourCount++;
|
|
766
|
+
if (fetelData.vacuumAssisted === true) fourCount++;
|
|
767
|
+
if (fetelData.forceps === true) fourCount++;
|
|
768
|
+
if (fetelData.breechMidwifery === true) fourCount++;
|
|
769
|
+
if (key === 'naturalAbortion' && val === true && fourCount > 0 || key === 'surgicalAbortion' && val === true && fourCount > 0 || key === 'inducedLabor' && val === true && fourCount > 0 || key === 'medicalAbortion' && val === true && fourCount > 0 || key === 'currettage' && val === true && fourCount > 0 || key === 'biochemicalAbortion' && val === true && fourCount > 0) {
|
|
770
|
+
message.error('早产、足月产、顺产、手术产式中已有数据!', 4);
|
|
771
|
+
}
|
|
772
|
+
if (key === 'preterm' && val === true && threeCount > 0 || key === 'term' && val === true && threeCount > 0 || key === 'vaginalDelivery' && val === true && threeCount > 0 || key === 'shouShuChanType' && val && threeCount > 0 || key === 'operationType' && val && threeCount > 0) {
|
|
773
|
+
message.error('自然流产、人工流产、引产中已有数据!', 4);
|
|
774
|
+
}
|
|
775
|
+
if (key === 'naturalAbortion' && val === true && (fetelData.surgicalAbortion === true || fetelData.inducedLabor === true)) {
|
|
776
|
+
message.error('人工流产、引产中已有数据!', 4);
|
|
777
|
+
}
|
|
778
|
+
if (key === 'surgicalAbortion' && val === true && (fetelData.naturalAbortion === true || fetelData.inducedLabor === true)) {
|
|
779
|
+
message.error('自然流产、引产中已有数据!', 4);
|
|
780
|
+
}
|
|
781
|
+
if (key === 'inducedLabor' && val === true && (fetelData.naturalAbortion === true || fetelData.surgicalAbortion === true)) {
|
|
782
|
+
message.error('自然流产、人工流产中已有数据!', 4);
|
|
783
|
+
}
|
|
784
|
+
if (key === 'preterm' && val === true && fetelData.term === true) {
|
|
785
|
+
message.error('足月产已有数据!', 4);
|
|
786
|
+
}
|
|
787
|
+
if (key === 'term' && val === true && fetelData.preterm === true) {
|
|
788
|
+
message.error('早产已有数据!', 4);
|
|
789
|
+
}
|
|
790
|
+
if (key === 'vaginalDelivery' && val === true && fetelData.shouShuChanType) {
|
|
791
|
+
message.error('手术产式已有数据!', 4);
|
|
792
|
+
}
|
|
793
|
+
if (key === 'shouShuChanType' && val && fetelData.vaginalDelivery === true) {
|
|
794
|
+
message.error('顺产已有数据!', 4);
|
|
795
|
+
}
|
|
796
|
+
/*手术产式 值转换*/
|
|
797
|
+
if (key === 'operationType') {
|
|
798
|
+
forEach(operationTypes, function (type) {
|
|
799
|
+
if (type === val) {
|
|
800
|
+
set(fetelData, type, true);
|
|
801
|
+
} else {
|
|
802
|
+
set(fetelData, type, false);
|
|
803
|
+
}
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
/*胎数变化*/
|
|
807
|
+
if (key === 'fetalcount') {
|
|
808
|
+
var samePreg = newValue.filter(function (item) {
|
|
809
|
+
return item.mergeIndex === fetelData.mergeIndex;
|
|
810
|
+
});
|
|
811
|
+
var sameCount = samePreg.length;
|
|
812
|
+
console.log('xx --', val, sameCount, samePreg);
|
|
813
|
+
if (!val || val === 0) {
|
|
814
|
+
return;
|
|
815
|
+
} else if (val < 0 || val > 18) {
|
|
816
|
+
message.warning('胎数范围为0到18!');
|
|
817
|
+
} else if (val > sameCount) {
|
|
818
|
+
console.log('xx', val, sameCount, samePreg);
|
|
819
|
+
for (var i = 0; i < val - sameCount; i++) {
|
|
820
|
+
var newFetus = cloneDeep(samePreg[0]);
|
|
821
|
+
newFetus._children = {};
|
|
822
|
+
newValue.splice(index + sameCount + i, 0, newFetus);
|
|
823
|
+
}
|
|
824
|
+
} else if (val < sameCount) {
|
|
825
|
+
console.log('xx 11', val, sameCount, samePreg);
|
|
826
|
+
newValue.splice(index + val, sameCount - val);
|
|
827
|
+
}
|
|
828
|
+
} else {
|
|
829
|
+
set(fetelData, key, val);
|
|
830
|
+
}
|
|
831
|
+
if (dispatch) dispatch('tableEdit', fetelData);
|
|
832
|
+
var d = mergeData(newValue);
|
|
833
|
+
console.log('handleEdit', arguments, d);
|
|
834
|
+
_onChange(d);
|
|
835
|
+
}
|
|
836
|
+
function handleAdd() {
|
|
837
|
+
var newData = {};
|
|
838
|
+
forEach(tableColumns, function (item) {
|
|
839
|
+
if (item.children) {
|
|
840
|
+
var child = item.children;
|
|
841
|
+
forEach(child, function (subItem) {
|
|
842
|
+
if (subItem.key.indexOf('.') === -1) {
|
|
843
|
+
newData[subItem.key] = '';
|
|
844
|
+
} else {
|
|
845
|
+
newData._children = {};
|
|
846
|
+
newData.children = [];
|
|
847
|
+
}
|
|
848
|
+
});
|
|
849
|
+
} else {
|
|
850
|
+
newData[item.key] = '';
|
|
851
|
+
}
|
|
852
|
+
});
|
|
853
|
+
console.log('newData', newData);
|
|
854
|
+
_onChange(mergeData([].concat(_toConsumableArray(dataSource), [newData])));
|
|
855
|
+
}
|
|
856
|
+
function handleDelete() {
|
|
857
|
+
var newDataSource = cloneDeep(dataSource);
|
|
858
|
+
console.log('handleDelete', selectedRowKeys, dataSource);
|
|
859
|
+
forEach(selectedRowKeys, function (key) {
|
|
860
|
+
for (var i = 0; i < newDataSource.length; i++) {
|
|
861
|
+
if (key === newDataSource[i]._key) {
|
|
862
|
+
newDataSource.splice(i, 1);
|
|
863
|
+
break;
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
});
|
|
867
|
+
forEach(newDataSource, function (item, index) {
|
|
868
|
+
newDataSource[index].gravidityindex = index + 1;
|
|
869
|
+
});
|
|
870
|
+
_onChange(mergeData(newDataSource));
|
|
871
|
+
}
|
|
872
|
+
// handleRowSelectChange = (selectedRowKeys: Array<number | string>, selectedRows: any[]): void => {
|
|
873
|
+
// setState({ selectedRowKeys });
|
|
874
|
+
// };
|
|
875
|
+
function handleRowClick(row, index) {
|
|
876
|
+
var newValue = cloneDeep(dataSource);
|
|
877
|
+
forEach(newValue, function (item) {
|
|
878
|
+
return item.rowClassName = '';
|
|
879
|
+
});
|
|
880
|
+
set(newValue[index], 'rowClassName', 'row-select');
|
|
881
|
+
set_selectedRowKeys([index]);
|
|
882
|
+
set_dataSource(newValue);
|
|
883
|
+
}
|
|
884
|
+
function _rowClassName(row) {
|
|
885
|
+
return row.rowClassName;
|
|
886
|
+
}
|
|
887
|
+
function getRowSpans(arr, key) {
|
|
888
|
+
var sameValueLength = 0;
|
|
889
|
+
var rowSpans = [];
|
|
890
|
+
for (var i = arr.length - 1; i >= 0; i--) {
|
|
891
|
+
if (i === 0) {
|
|
892
|
+
rowSpans[i] = sameValueLength + 1;
|
|
893
|
+
continue;
|
|
894
|
+
}
|
|
895
|
+
if (arr[i][key] === arr[i - 1][key]) {
|
|
896
|
+
rowSpans[i] = 0;
|
|
897
|
+
sameValueLength++;
|
|
898
|
+
} else {
|
|
899
|
+
rowSpans[i] = sameValueLength + 1;
|
|
900
|
+
sameValueLength = 0;
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
return rowSpans;
|
|
904
|
+
}
|
|
905
|
+
// 对于二级表单的处理
|
|
906
|
+
function handleTabColumnsFormat(tableColumns) {
|
|
907
|
+
var level = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
|
908
|
+
var rowSpans = getRowSpans(dataSource, 'mergeIndex');
|
|
909
|
+
var newColums = tableColumns.map(function (col, colIndx) {
|
|
910
|
+
if (col.key) {
|
|
911
|
+
return _objectSpread(_objectSpread({}, col), {}, {
|
|
912
|
+
dataIndex: col.key,
|
|
913
|
+
render: function render(text, record, index) {
|
|
914
|
+
if (index === dataSource.length - 1 && !__needNotThisTime) {
|
|
915
|
+
return {
|
|
916
|
+
children: (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, colIndx === 1 ? '本孕' : text))),
|
|
917
|
+
props: {
|
|
918
|
+
colSpan: colIndx === 1 && level === 1 ? tableColumnsLength : text ? 1 : 0
|
|
919
|
+
}
|
|
920
|
+
};
|
|
921
|
+
} else {
|
|
922
|
+
return {
|
|
923
|
+
children: (/*#__PURE__*/React.createElement(EditableCell, {
|
|
924
|
+
disabled: disabled,
|
|
925
|
+
value: get(record, col.key),
|
|
926
|
+
onChange: function onChange(val) {
|
|
927
|
+
return handleEdit(val, col.key, index);
|
|
928
|
+
},
|
|
929
|
+
editor: col.editor
|
|
930
|
+
})),
|
|
931
|
+
props: {
|
|
932
|
+
rowSpan: ignoreKeys.includes(col.key) ? 1 : rowSpans[index]
|
|
933
|
+
}
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
});
|
|
938
|
+
}
|
|
939
|
+
if (col.children) {
|
|
940
|
+
return {
|
|
941
|
+
title: col.title,
|
|
942
|
+
children: handleTabColumnsFormat(col.children, 2)
|
|
943
|
+
};
|
|
944
|
+
}
|
|
945
|
+
return {};
|
|
946
|
+
});
|
|
947
|
+
return newColums;
|
|
948
|
+
}
|
|
949
|
+
var cloneColumns = cloneDeep(tableColumns);
|
|
950
|
+
if (size(tableColumns) > 0) cloneColumns = handleTabColumnsFormat(tableColumns);
|
|
951
|
+
// const rowSelection = {
|
|
952
|
+
// selectedRowKeys: state.selectedRowKeys,
|
|
953
|
+
// onChange: handleRowSelectChange,
|
|
954
|
+
// };
|
|
955
|
+
return /*#__PURE__*/React.createElement(Wrap, null, /*#__PURE__*/React.createElement("div", {
|
|
956
|
+
className: "preg-his-table"
|
|
957
|
+
}, __closeAdd ? '' : (/*#__PURE__*/React.createElement("div", {
|
|
958
|
+
style: {
|
|
959
|
+
marginBottom: 8,
|
|
169
960
|
display: 'flex',
|
|
961
|
+
justifyContent: 'space-between',
|
|
170
962
|
alignItems: 'center'
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
963
|
+
}
|
|
964
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
965
|
+
hidden: !g && !p,
|
|
966
|
+
style: {
|
|
967
|
+
fontSize: 18
|
|
968
|
+
}
|
|
969
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
970
|
+
style: {
|
|
971
|
+
color: '#999'
|
|
972
|
+
}
|
|
973
|
+
}, "\u5B55\u4EA7\uFF1A"), /*#__PURE__*/React.createElement("span", {
|
|
974
|
+
style: {
|
|
975
|
+
fontWeight: 'bold'
|
|
976
|
+
}
|
|
977
|
+
}, g !== null && g !== void 0 ? g : '--', "/", p !== null && p !== void 0 ? p : '--')), /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
|
|
978
|
+
disabled: disabled,
|
|
979
|
+
id: "add",
|
|
980
|
+
type: "primary",
|
|
981
|
+
ghost: true,
|
|
982
|
+
onClick: handleAdd,
|
|
983
|
+
icon: /*#__PURE__*/React.createElement(MyIcon, {
|
|
984
|
+
value: "PlusOutlined"
|
|
985
|
+
})
|
|
986
|
+
}, "\u65B0\u589E"), /*#__PURE__*/React.createElement(Button, {
|
|
987
|
+
disabled: disabled,
|
|
988
|
+
id: "delete",
|
|
989
|
+
danger: true,
|
|
990
|
+
icon: /*#__PURE__*/React.createElement(MyIcon, {
|
|
991
|
+
value: "DeleteOutlined"
|
|
992
|
+
}),
|
|
993
|
+
onClick: handleDelete
|
|
994
|
+
}, "\u5220\u9664")))), /*#__PURE__*/React.createElement(Table_L, {
|
|
995
|
+
bordered: true,
|
|
996
|
+
scroll: {
|
|
997
|
+
x: 1200
|
|
998
|
+
},
|
|
999
|
+
// rowSelection={rowSelection}
|
|
1000
|
+
onRow: function onRow(record, index) {
|
|
1001
|
+
return {
|
|
1002
|
+
onClick: function onClick() {
|
|
1003
|
+
return handleRowClick(record, index);
|
|
1004
|
+
}
|
|
1005
|
+
};
|
|
1006
|
+
},
|
|
1007
|
+
rowClassName: function rowClassName(row) {
|
|
1008
|
+
return _rowClassName(row);
|
|
1009
|
+
},
|
|
1010
|
+
columns: cloneColumns || [],
|
|
1011
|
+
dataSource: dataSource || [],
|
|
1012
|
+
childrenColumnName: "noChildren",
|
|
1013
|
+
rowKey: function rowKey(record) {
|
|
1014
|
+
return record._key;
|
|
1015
|
+
},
|
|
1016
|
+
pagination: false
|
|
1017
|
+
})));
|
|
204
1018
|
}
|
|
205
|
-
export
|
|
206
|
-
|
|
1019
|
+
// export default MyForm_Business_PregnancyHistory
|
|
1020
|
+
|
|
1021
|
+
export { MyForm_Business_PregnancyHistory as default };
|