@lm_fe/components_m 0.1.201 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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/DateRange/utils.d.ts +400 -0
- 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 -7
- 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 -5
- 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/TemplateTextarea/index.d.ts +1 -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/{.root93.js → BusinessComponents.TreatmentProgram.TreatmentProgramBasic.js} +70 -139
- package/dist/a_chunks/Inner.js +154 -273
- package/dist/a_chunks/{.root44.js → MyForm.components.MyAutoComplete.js} +4 -6
- package/dist/a_chunks/{.root46.js → MyForm.components.MyCascader.js} +2 -4
- package/dist/a_chunks/{.root55.js → MyForm.components.MyCheckbox.js} +43 -112
- package/dist/a_chunks/{.root47.js → MyForm.components.MyCustom.js} +23 -87
- package/dist/a_chunks/{.root48.js → MyForm.components.MyCustom2.js} +8 -79
- package/dist/a_chunks/{.root73.js → MyForm.components.MyCustom3.js} +6 -75
- package/dist/a_chunks/{.root50.js → MyForm.components.MyInputWithRed.js} +23 -88
- package/dist/a_chunks/{.root52.js → MyForm.components.MySelect.js} +10 -14
- package/dist/a_chunks/{.root53.js → MyForm.components.MyTable.js} +44 -114
- package/dist/a_chunks/{.root72.js → MyForm.components.MyTreeSelect.js} +8 -85
- package/dist/a_chunks/MyForm.components.SingleCheckbox.js +20 -0
- package/dist/a_chunks/TableEditableCell.js +12 -10
- package/dist/a_chunks/TemplateModal.js +111 -132
- package/dist/a_chunks/{.root36.js → components.business.BloodPressure.js} +17 -84
- package/dist/a_chunks/{.root37.js → components.business.DoubleInput.js} +17 -86
- package/dist/a_chunks/{.root38.js → components.business.FilterDateInput.js} +4 -8
- package/dist/a_chunks/{.root39.js → components.business.FundalHeightInput.js} +2 -4
- package/dist/a_chunks/{.root41.js → components.business.NormalButton.js} +4 -6
- package/dist/a_chunks/{.root4.js → components.business.PregnancyHistory.js} +128 -214
- package/dist/a_chunks/components.business.TextareaWithBtn.js +57 -0
- package/dist/a_chunks/{.root78.js → components.business.TextareaWithTemplate.js} +25 -96
- package/dist/a_chunks/{.root74.js → components.business.prenatalReturnTable.js} +39 -106
- package/dist/a_chunks/{.root.js → components_m.src.BaseEditPanel.js} +73 -130
- package/dist/a_chunks/components_m.src.BaseFormComponent.js +24 -0
- package/dist/a_chunks/components_m.src.BaseTable.js +30 -0
- package/dist/a_chunks/components_m.src.DataSelectWithAutoInput.js +69 -0
- package/dist/a_chunks/{.root2.js → components_m.src.MyForm.js} +97 -163
- package/dist/a_chunks/{.root23.js → components_m.src.PDFPreview.js} +0 -1
- package/dist/a_chunks/deathclassification.js +17 -33
- package/dist/a_chunks/index.js +2855 -5604
- package/dist/a_chunks/index2.js +2 -4
- package/dist/a_chunks/{.root94.js → src.BusinessComponents.Appgar.js} +55 -132
- package/dist/a_chunks/{.root82.js → src.BusinessComponents.BirthCertificateChildren.js} +35 -100
- package/dist/a_chunks/{.root34.js → src.BusinessComponents.BloodAndThalassemia.js} +22 -93
- package/dist/a_chunks/{.root80.js → src.BusinessComponents.BloodAndThalassemia2.js} +17 -18
- package/dist/a_chunks/{.root95.js → src.BusinessComponents.BregmaGroup.js} +13 -82
- package/dist/a_chunks/{.root96.js → src.BusinessComponents.CaesareanChildren.js} +39 -104
- package/dist/a_chunks/{.root98.js → src.BusinessComponents.Diagnosis.js} +46 -114
- package/dist/a_chunks/{.root99.js → src.BusinessComponents.DiagnosisList.js} +34 -97
- package/dist/a_chunks/{.root100.js → src.BusinessComponents.DiagnosisListInduced.js} +39 -102
- package/dist/a_chunks/{.root101.js → src.BusinessComponents.DiagnosisListv2.js} +160 -220
- package/dist/a_chunks/{.root102.js → src.BusinessComponents.FamilyTumorHistory.js} +32 -97
- package/dist/a_chunks/src.BusinessComponents.FetalNTCheck.js +61 -0
- package/dist/a_chunks/{.root109.js → src.BusinessComponents.GynaecologyOperationTemplateTextarea.js} +109 -168
- package/dist/a_chunks/{.root110.js → src.BusinessComponents.GynaecologyTemplateTextarea.js} +105 -164
- package/dist/a_chunks/{.root111.js → src.BusinessComponents.HighriskSign.js} +19 -95
- package/dist/a_chunks/{.root112.js → src.BusinessComponents.InducedFetus.js} +57 -126
- package/dist/a_chunks/{.root114.js → src.BusinessComponents.KnowledgeBase.js} +17 -24
- package/dist/a_chunks/{.root115.js → src.BusinessComponents.LaborProcess.js} +35 -103
- package/dist/a_chunks/src.BusinessComponents.MiddleUltsounds.js +82 -0
- package/dist/a_chunks/src.BusinessComponents.MiddleUltsoundsSingle.js +58 -0
- package/dist/a_chunks/src.BusinessComponents.NoenateRecord.js +658 -0
- package/dist/a_chunks/{.root119.js → src.BusinessComponents.NurseChildren.js} +46 -114
- package/dist/a_chunks/{.root120.js → src.BusinessComponents.NurseChildren2.js} +26 -93
- package/dist/a_chunks/{.root121.js → src.BusinessComponents.NursingFetus.js} +93 -161
- package/dist/a_chunks/{.root122.js → src.BusinessComponents.NursingFetusv2.js} +71 -136
- package/dist/a_chunks/{.root123.js → src.BusinessComponents.NursingFetusv3.js} +94 -163
- package/dist/a_chunks/{.root125.js → src.BusinessComponents.PostpartumFetal.js} +6 -75
- package/dist/a_chunks/src.BusinessComponents.PregnancyHistoryV2.js +20 -0
- package/dist/a_chunks/src.BusinessComponents.PressureInput.js +76 -0
- package/dist/a_chunks/{.root127.js → src.BusinessComponents.ProcedureCystocentesis.js} +82 -151
- package/dist/a_chunks/{.root130.js → src.BusinessComponents.RecordState.js} +20 -101
- package/dist/a_chunks/{.root131.js → src.BusinessComponents.ReferralRegister.js} +48 -112
- package/dist/a_chunks/{.root134.js → src.BusinessComponents.ReferralToRegister.js} +34 -97
- package/dist/a_chunks/{.root136.js → src.BusinessComponents.ShiftPatients.js} +61 -126
- package/dist/a_chunks/{.root83.js → src.BusinessComponents.TemplateTexDeathclassification1.js} +16 -87
- package/dist/a_chunks/{.root84.js → src.BusinessComponents.TemplateTexDeathclassification2.js} +15 -86
- package/dist/a_chunks/{.root138.js → src.BusinessComponents.TemplateTextarea.js} +15 -82
- package/dist/a_chunks/{.root139.js → src.BusinessComponents.TemplateTextareav2.js} +112 -175
- package/dist/a_chunks/{.root85.js → src.BusinessComponents.TemplateTextareav3.js} +48 -117
- package/dist/a_chunks/src.ConfigComponents.CheckboxGroup.js +74 -0
- package/dist/a_chunks/src.ConfigComponents.CheckboxWithInputv2.js +48 -0
- package/dist/a_chunks/src.ConfigComponents.CheckboxWithSingleInput.js +66 -0
- package/dist/a_chunks/{.root144.js → src.ConfigComponents.CustomEditInTable.js} +13 -79
- package/dist/a_chunks/src.ConfigComponents.InputWithLabel.js +41 -0
- package/dist/a_chunks/src.ConfigComponents.InputWithRangTip.js +72 -0
- package/dist/a_chunks/src.ConfigComponents.InputWithRange.js +30 -0
- package/dist/a_chunks/{.root107.js → src.ConfigComponents.NormalCheckboxWithInput.js} +21 -87
- package/dist/a_chunks/{.root128.js → src.ConfigComponents.ProcedureRecords.js} +28 -97
- package/dist/a_chunks/src.ConfigComponents.VaginaStrumentsRecordForm.js +329 -0
- package/dist/a_chunks/{.root22.js → src.FB_components.DoctorEnd_ImageReport_Report.js} +24 -99
- package/dist/a_chunks/{.root21.js → src.FB_components.DoctorEnd_SurveyReport_Report.js} +33 -99
- package/dist/a_chunks/src.FU_components.ArrayPanel.js +144 -0
- package/dist/a_chunks/src.FU_components.CommonFormTabs.js +61 -0
- package/dist/a_chunks/{.root13.js → src.FU_components.CommonFormTabs2.js} +23 -12
- package/dist/a_chunks/{.root14.js → src.FU_components.DateTimeInput.js} +42 -90
- package/dist/a_chunks/src.FU_components.FormSection.js +2220 -0
- package/dist/a_chunks/{.root187.js → src.FU_components.LoadFlag.js} +0 -1
- package/dist/a_chunks/src.FU_components.MchcDriverStatus.js +91 -0
- package/dist/a_chunks/src.FU_components.MyEditTable.js +283 -0
- package/dist/a_chunks/src.FU_components.MySearchSelect.js +29 -0
- package/dist/a_chunks/src.FU_components.TakeInVolumn.js +67 -0
- package/dist/a_chunks/src.FU_components.TakeOutVolumn.js +81 -0
- package/dist/a_chunks/src.FU_components.ToggleForm.js +49 -0
- package/dist/a_chunks/{.root153.js → src.GeneralComponents.AsyncAutoComplete.js} +11 -21
- package/dist/a_chunks/{.root155.js → src.GeneralComponents.CheckboxGroupObject.js} +19 -88
- package/dist/a_chunks/{.root186.js → src.GeneralComponents.CheckboxGroupObjectCustom.js} +23 -92
- package/dist/a_chunks/{.root71.js → src.GeneralComponents.CheckboxWithInput.js} +71 -141
- package/dist/a_chunks/src.GeneralComponents.DataTimePick.js +107 -0
- package/dist/a_chunks/{.root8.js → src.GeneralComponents.DatePicker.js} +14 -81
- package/dist/a_chunks/{.root5.js → src.GeneralComponents.DictionarySelect.js} +58 -125
- package/dist/a_chunks/{.root7.js → src.GeneralComponents.EditInTable.js} +219 -281
- package/dist/a_chunks/src.GeneralComponents.FormSectionInput.js +14 -0
- package/dist/a_chunks/{.root182.js → src.GeneralComponents.ImageUploadPreview.js} +8 -8
- package/dist/a_chunks/{.root183.js → src.GeneralComponents.ImageUploadPreviewIntranet.js} +6 -9
- package/dist/a_chunks/{.root6.js → src.GeneralComponents.InputWithLabel.js} +19 -88
- package/dist/a_chunks/src.GeneralComponents.MobileEditor.js +108 -0
- package/dist/a_chunks/{.root157.js → src.GeneralComponents.MultipleInputGroup.js} +13 -82
- package/dist/a_chunks/{.root158.js → src.GeneralComponents.RadioWithInput.js} +21 -90
- package/dist/a_chunks/src.GeneralComponents.RangePicker.js +46 -0
- package/dist/a_chunks/src.GeneralComponents.TimePicker.js +47 -0
- package/dist/a_chunks/src.GeneralComponents.UploadFile.js +86 -0
- package/dist/a_chunks/{.root162.js → src.GeneralComponents.UploadFileUrlEdit.js} +10 -12
- package/dist/a_chunks/src.GeneralComponents.border-title.js +32 -0
- package/dist/a_chunks/src.GeneralComponents.datapick_with_check.js +60 -0
- package/dist/a_chunks/src.doctor-end.GestationalWeekProjectTree.js +224 -0
- package/dist/a_chunks/{.root179.js → src.newly-component.hepatitis-new-baby.js} +17 -86
- package/dist/a_chunks/{.root81.js → src.others.TemplateTree.js} +47 -111
- package/dist/a_chunks/{.root163.js → src.selects.AgeSelect.js} +7 -12
- package/dist/a_chunks/{.root164.js → src.selects.ApgarScoreInput.js} +38 -53
- package/dist/a_chunks/{.root25.js → src.selects.CascaderAddress.js} +22 -30
- package/dist/a_chunks/src.selects.CountrySelect.js +32 -0
- package/dist/a_chunks/src.selects.DeviceStatusSelect.js +36 -0
- package/dist/a_chunks/{.root32.js → src.selects.NativePlace.js} +7 -6
- package/dist/a_chunks/{.root169.js → src.selects.ParentPermissionSelect.js} +5 -84
- package/dist/a_chunks/{.root26.js → src.selects.PatientAutoComplete.js} +21 -95
- package/dist/a_chunks/src.selects.PermissionTypeSelect.js +38 -0
- package/dist/a_chunks/src.selects.RadioWithInput.js +51 -0
- package/dist/a_chunks/src.selects.RadioWithInputNumber.js +61 -0
- package/dist/a_chunks/{.root174.js → src.selects.ReferralOrganizationSelect.js} +40 -36
- package/dist/a_chunks/src.selects.SelectWithNoneOption.js +70 -0
- package/dist/a_chunks/src.selects.SelectWithOptionsOrInput.js +2 -0
- package/dist/a_chunks/src.selects.TriggerTypeSelect.js +33 -0
- package/dist/doctor-end/index.d.ts +0 -2
- package/dist/index.d.ts +3 -10
- 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 +0 -339
- 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 +0 -130
- package/dist/a_chunks/.root103.js.map +0 -1
- package/dist/a_chunks/.root104.js +0 -298
- package/dist/a_chunks/.root104.js.map +0 -1
- package/dist/a_chunks/.root105.js +0 -503
- package/dist/a_chunks/.root105.js.map +0 -1
- package/dist/a_chunks/.root106.js +0 -107
- package/dist/a_chunks/.root106.js.map +0 -1
- package/dist/a_chunks/.root107.js.map +0 -1
- package/dist/a_chunks/.root108.js +0 -189
- package/dist/a_chunks/.root108.js.map +0 -1
- package/dist/a_chunks/.root109.js.map +0 -1
- package/dist/a_chunks/.root11.js +0 -95
- 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 +0 -266
- 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 +0 -151
- package/dist/a_chunks/.root116.js.map +0 -1
- package/dist/a_chunks/.root117.js +0 -127
- package/dist/a_chunks/.root117.js.map +0 -1
- package/dist/a_chunks/.root118.js +0 -525
- package/dist/a_chunks/.root118.js.map +0 -1
- package/dist/a_chunks/.root119.js.map +0 -1
- package/dist/a_chunks/.root12.js +0 -130
- 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 +0 -276
- package/dist/a_chunks/.root124.js.map +0 -1
- package/dist/a_chunks/.root125.js.map +0 -1
- package/dist/a_chunks/.root126.js +0 -86
- 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 +0 -1127
- 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 +0 -144
- package/dist/a_chunks/.root132.js.map +0 -1
- package/dist/a_chunks/.root133.js +0 -185
- package/dist/a_chunks/.root133.js.map +0 -1
- package/dist/a_chunks/.root134.js.map +0 -1
- package/dist/a_chunks/.root135.js +0 -1143
- package/dist/a_chunks/.root135.js.map +0 -1
- 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.map +0 -1
- 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.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 +0 -275
- 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.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.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.map +0 -1
- 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 +0 -247
- 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.map +0 -1
- package/dist/a_chunks/.root163.js.map +0 -1
- 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.map +0 -1
- package/dist/a_chunks/.root17.js +0 -138
- 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.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.map +0 -1
- package/dist/a_chunks/.root18.js +0 -152
- 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.map +0 -1
- 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.map +0 -1
- package/dist/a_chunks/.root187.js.map +0 -1
- package/dist/a_chunks/.root19.js +0 -121
- package/dist/a_chunks/.root19.js.map +0 -1
- package/dist/a_chunks/.root2.js.map +0 -1
- package/dist/a_chunks/.root20.js +0 -169
- 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 +0 -90
- 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 +0 -151
- package/dist/a_chunks/.root27.js.map +0 -1
- package/dist/a_chunks/.root28.js +0 -394
- package/dist/a_chunks/.root28.js.map +0 -1
- package/dist/a_chunks/.root29.js +0 -555
- package/dist/a_chunks/.root29.js.map +0 -1
- package/dist/a_chunks/.root3.js +0 -284
- package/dist/a_chunks/.root3.js.map +0 -1
- package/dist/a_chunks/.root30.js +0 -2227
- package/dist/a_chunks/.root30.js.map +0 -1
- package/dist/a_chunks/.root31.js +0 -286
- package/dist/a_chunks/.root31.js.map +0 -1
- package/dist/a_chunks/.root32.js.map +0 -1
- package/dist/a_chunks/.root33.js +0 -84
- package/dist/a_chunks/.root33.js.map +0 -1
- package/dist/a_chunks/.root34.js.map +0 -1
- package/dist/a_chunks/.root35.js +0 -288
- 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 +0 -273
- package/dist/a_chunks/.root40.js.map +0 -1
- package/dist/a_chunks/.root41.js.map +0 -1
- package/dist/a_chunks/.root42.js +0 -214
- package/dist/a_chunks/.root42.js.map +0 -1
- package/dist/a_chunks/.root43.js +0 -151
- package/dist/a_chunks/.root43.js.map +0 -1
- package/dist/a_chunks/.root44.js.map +0 -1
- package/dist/a_chunks/.root45.js +0 -21
- 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 +0 -82
- 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 +0 -338
- 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 +0 -23
- package/dist/a_chunks/.root54.js.map +0 -1
- package/dist/a_chunks/.root55.js.map +0 -1
- package/dist/a_chunks/.root56.js +0 -3357
- package/dist/a_chunks/.root56.js.map +0 -1
- package/dist/a_chunks/.root57.js +0 -567
- package/dist/a_chunks/.root57.js.map +0 -1
- package/dist/a_chunks/.root58.js +0 -198
- package/dist/a_chunks/.root58.js.map +0 -1
- package/dist/a_chunks/.root59.js +0 -165
- package/dist/a_chunks/.root59.js.map +0 -1
- package/dist/a_chunks/.root6.js.map +0 -1
- package/dist/a_chunks/.root60.js +0 -904
- package/dist/a_chunks/.root60.js.map +0 -1
- package/dist/a_chunks/.root61.js +0 -103
- package/dist/a_chunks/.root61.js.map +0 -1
- package/dist/a_chunks/.root62.js +0 -226
- package/dist/a_chunks/.root62.js.map +0 -1
- package/dist/a_chunks/.root63.js +0 -322
- package/dist/a_chunks/.root63.js.map +0 -1
- package/dist/a_chunks/.root64.js +0 -492
- package/dist/a_chunks/.root64.js.map +0 -1
- package/dist/a_chunks/.root65.js +0 -485
- package/dist/a_chunks/.root65.js.map +0 -1
- package/dist/a_chunks/.root66.js +0 -1056
- package/dist/a_chunks/.root66.js.map +0 -1
- package/dist/a_chunks/.root67.js +0 -299
- package/dist/a_chunks/.root67.js.map +0 -1
- package/dist/a_chunks/.root68.js +0 -206
- package/dist/a_chunks/.root68.js.map +0 -1
- package/dist/a_chunks/.root69.js +0 -1086
- package/dist/a_chunks/.root69.js.map +0 -1
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root70.js +0 -857
- 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 +0 -578
- package/dist/a_chunks/.root75.js.map +0 -1
- package/dist/a_chunks/.root76.js +0 -540
- package/dist/a_chunks/.root76.js.map +0 -1
- package/dist/a_chunks/.root77.js +0 -336
- package/dist/a_chunks/.root77.js.map +0 -1
- package/dist/a_chunks/.root78.js.map +0 -1
- package/dist/a_chunks/.root79.js +0 -2311
- 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 +0 -351
- package/dist/a_chunks/.root86.js.map +0 -1
- package/dist/a_chunks/.root87.js +0 -94
- package/dist/a_chunks/.root87.js.map +0 -1
- package/dist/a_chunks/.root88.js +0 -101
- package/dist/a_chunks/.root88.js.map +0 -1
- package/dist/a_chunks/.root89.js +0 -248
- package/dist/a_chunks/.root89.js.map +0 -1
- package/dist/a_chunks/.root9.js +0 -687
- package/dist/a_chunks/.root9.js.map +0 -1
- package/dist/a_chunks/.root90.js +0 -356
- package/dist/a_chunks/.root90.js.map +0 -1
- package/dist/a_chunks/.root91.js +0 -143
- package/dist/a_chunks/.root91.js.map +0 -1
- package/dist/a_chunks/.root92.js +0 -143
- 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 +0 -521
- 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/selects/ApiPermissionSelect/index.d.ts +0 -21
- package/dist/selects/PermissionSelect/index.d.ts +0 -14
- 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/.root60.js
DELETED
|
@@ -1,904 +0,0 @@
|
|
|
1
|
-
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
|
-
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
6
|
-
var _excluded = ["onCancel", "onSubmit", "visible", "templateType", "data", "depid", "getContainer", "templateTypes"],
|
|
7
|
-
_excluded2 = ["modal_data", "width", "close", "onClose"];
|
|
8
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
9
|
-
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; }
|
|
10
|
-
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; }
|
|
11
|
-
import 'antd/es/modal/style';
|
|
12
|
-
import _Modal from 'antd/es/modal';
|
|
13
|
-
import { b as styleInject, Y as getResources, _ as _extends } from './index.js';
|
|
14
|
-
import 'antd/es/row/style';
|
|
15
|
-
import _Row from 'antd/es/row';
|
|
16
|
-
import 'antd/es/col/style';
|
|
17
|
-
import _Col from 'antd/es/col';
|
|
18
|
-
import 'antd/es/button/style';
|
|
19
|
-
import _Button from 'antd/es/button';
|
|
20
|
-
import 'antd/es/popconfirm/style';
|
|
21
|
-
import _Popconfirm from 'antd/es/popconfirm';
|
|
22
|
-
import 'antd/es/message/style';
|
|
23
|
-
import _message from 'antd/es/message';
|
|
24
|
-
import _size from 'lodash/size';
|
|
25
|
-
import 'lodash/set';
|
|
26
|
-
import _map from 'lodash/map';
|
|
27
|
-
import _keys from 'lodash/keys';
|
|
28
|
-
import _keyBy from 'lodash/keyBy';
|
|
29
|
-
import _isEmpty from 'lodash/isEmpty';
|
|
30
|
-
import _indexOf from 'lodash/indexOf';
|
|
31
|
-
import _get from 'lodash/get';
|
|
32
|
-
import _concat from 'lodash/concat';
|
|
33
|
-
import _compact from 'lodash/compact';
|
|
34
|
-
import { EditOutlined, DeleteOutlined } from '@ant-design/icons';
|
|
35
|
-
import { SMchc_TemplateTrees, SLocal_State } from '@lm_fe/service';
|
|
36
|
-
import { safe_json_parse, request } from '@lm_fe/utils';
|
|
37
|
-
import React$1, { useState, useEffect, useRef } from 'react';
|
|
38
|
-
import 'antd/es/input/style';
|
|
39
|
-
import _Input from 'antd/es/input';
|
|
40
|
-
import 'antd/es/form/style';
|
|
41
|
-
import _Form from 'antd/es/form';
|
|
42
|
-
import { MODAL_TEMPLATE_TYPES_个人模板, MODAL_TEMPLATE_TYPES, mchcEnv } from '@lm_fe/env';
|
|
43
|
-
import { LazyAntd } from '@lm_fe/components';
|
|
44
|
-
import 'lodash/isFunction';
|
|
45
|
-
import 'antd/es/space/style';
|
|
46
|
-
import 'antd/es/space';
|
|
47
|
-
import 'antd/es/input-number/style';
|
|
48
|
-
import 'antd/es/input-number';
|
|
49
|
-
import 'classnames';
|
|
50
|
-
import 'dayjs';
|
|
51
|
-
import 'antd/es/checkbox/style';
|
|
52
|
-
import 'antd/es/checkbox';
|
|
53
|
-
import 'lodash/isString';
|
|
54
|
-
import 'lodash/isNumber';
|
|
55
|
-
import 'lodash/isBoolean';
|
|
56
|
-
import 'antd/es/divider/style';
|
|
57
|
-
import 'antd/es/divider';
|
|
58
|
-
import 'antd/es/switch/style';
|
|
59
|
-
import 'antd/es/switch';
|
|
60
|
-
import 'lodash/join';
|
|
61
|
-
import 'lodash/isEqual';
|
|
62
|
-
import 'lodash/isArray';
|
|
63
|
-
import 'lodash/identity';
|
|
64
|
-
import 'lodash/cloneDeep';
|
|
65
|
-
import 'lodash/isObject';
|
|
66
|
-
import 'lodash/isNil';
|
|
67
|
-
import 'antd/es/tooltip/style';
|
|
68
|
-
import 'antd/es/tooltip';
|
|
69
|
-
import 'antd/es/spin/style';
|
|
70
|
-
import 'antd/es/spin';
|
|
71
|
-
import 'lodash/has';
|
|
72
|
-
import 'lodash/includes';
|
|
73
|
-
import 'lodash/forEach';
|
|
74
|
-
import 'lodash/filter';
|
|
75
|
-
import 'react-to-print';
|
|
76
|
-
import 'lodash/reduce';
|
|
77
|
-
import 'lodash/debounce';
|
|
78
|
-
import 'lodash/pickBy';
|
|
79
|
-
import 'antd/es/auto-complete/style';
|
|
80
|
-
import 'antd/es/auto-complete';
|
|
81
|
-
import 'lodash/nth';
|
|
82
|
-
import 'lodash/assign';
|
|
83
|
-
import 'antd/es/popover/style';
|
|
84
|
-
import 'antd/es/popover';
|
|
85
|
-
import 'antd/es/menu/style';
|
|
86
|
-
import 'antd/es/menu';
|
|
87
|
-
import 'store';
|
|
88
|
-
import 'antd/es/radio/style';
|
|
89
|
-
import 'antd/es/radio';
|
|
90
|
-
import 'lodash/last';
|
|
91
|
-
import 'lodash/toUpper';
|
|
92
|
-
var needUserIDTypes = [2];
|
|
93
|
-
var baseType = {
|
|
94
|
-
getList: function getList(_ref) {
|
|
95
|
-
var _user$id;
|
|
96
|
-
var item = _ref.item,
|
|
97
|
-
user = _ref.user,
|
|
98
|
-
pregnacy = _ref.pregnacy;
|
|
99
|
-
var depid = item.depid,
|
|
100
|
-
type = item.type;
|
|
101
|
-
var userid = type === MODAL_TEMPLATE_TYPES_个人模板 ? (_user$id = user === null || user === void 0 ? void 0 : user.id) !== null && _user$id !== void 0 ? _user$id : undefined : undefined;
|
|
102
|
-
return SMchc_TemplateTrees.getList({
|
|
103
|
-
params: {
|
|
104
|
-
'depid.equals': depid,
|
|
105
|
-
'type.equals': type,
|
|
106
|
-
'userid.equals': userid,
|
|
107
|
-
size: 99999,
|
|
108
|
-
page: 0
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
},
|
|
112
|
-
postItem: function postItem(_ref2) {
|
|
113
|
-
return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
114
|
-
var _user$id2;
|
|
115
|
-
var item, user, pregnacy, userid;
|
|
116
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
117
|
-
while (1) switch (_context.prev = _context.next) {
|
|
118
|
-
case 0:
|
|
119
|
-
item = _ref2.item, user = _ref2.user, pregnacy = _ref2.pregnacy;
|
|
120
|
-
userid = item.type === MODAL_TEMPLATE_TYPES_个人模板 ? (_user$id2 = user === null || user === void 0 ? void 0 : user.id) !== null && _user$id2 !== void 0 ? _user$id2 : undefined : undefined;
|
|
121
|
-
_context.next = 4;
|
|
122
|
-
return SMchc_TemplateTrees.post(_objectSpread(_objectSpread({}, item), {}, {
|
|
123
|
-
userid: userid
|
|
124
|
-
}));
|
|
125
|
-
case 4:
|
|
126
|
-
case "end":
|
|
127
|
-
return _context.stop();
|
|
128
|
-
}
|
|
129
|
-
}, _callee);
|
|
130
|
-
}))();
|
|
131
|
-
},
|
|
132
|
-
delItem: function delItem(_ref3) {
|
|
133
|
-
return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
134
|
-
var item, user, pregnacy;
|
|
135
|
-
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
136
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
137
|
-
case 0:
|
|
138
|
-
item = _ref3.item, user = _ref3.user, pregnacy = _ref3.pregnacy;
|
|
139
|
-
_context2.next = 3;
|
|
140
|
-
return SMchc_TemplateTrees.del(item.id);
|
|
141
|
-
case 3:
|
|
142
|
-
case "end":
|
|
143
|
-
return _context2.stop();
|
|
144
|
-
}
|
|
145
|
-
}, _callee2);
|
|
146
|
-
}))();
|
|
147
|
-
},
|
|
148
|
-
putItem: function putItem(_ref4) {
|
|
149
|
-
return _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
|
|
150
|
-
var _user$id3;
|
|
151
|
-
var item, user, pregnacy, userid;
|
|
152
|
-
return _regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
153
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
154
|
-
case 0:
|
|
155
|
-
item = _ref4.item, user = _ref4.user, pregnacy = _ref4.pregnacy;
|
|
156
|
-
userid = item.type === MODAL_TEMPLATE_TYPES_个人模板 ? (_user$id3 = user === null || user === void 0 ? void 0 : user.id) !== null && _user$id3 !== void 0 ? _user$id3 : undefined : undefined;
|
|
157
|
-
_context3.next = 4;
|
|
158
|
-
return SMchc_TemplateTrees.put(_objectSpread(_objectSpread({}, item), {}, {
|
|
159
|
-
userid: userid
|
|
160
|
-
}));
|
|
161
|
-
case 4:
|
|
162
|
-
case "end":
|
|
163
|
-
return _context3.stop();
|
|
164
|
-
}
|
|
165
|
-
}, _callee3);
|
|
166
|
-
}))();
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
var rootTemplate = {
|
|
170
|
-
id: 0,
|
|
171
|
-
key: 0,
|
|
172
|
-
value: 0,
|
|
173
|
-
title: '一级模板',
|
|
174
|
-
children: []
|
|
175
|
-
};
|
|
176
|
-
var transferTemplates = function transferTemplates(templates) {
|
|
177
|
-
var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
178
|
-
var all = templates.map(function (item) {
|
|
179
|
-
return _objectSpread(_objectSpread({}, item), {}, {
|
|
180
|
-
key: item.id,
|
|
181
|
-
value: item.id,
|
|
182
|
-
title: item.val,
|
|
183
|
-
children: [],
|
|
184
|
-
isLeaf: false
|
|
185
|
-
});
|
|
186
|
-
});
|
|
187
|
-
all.forEach(function (_) {
|
|
188
|
-
var c = all.filter(function (s) {
|
|
189
|
-
return s.pid === _.id;
|
|
190
|
-
});
|
|
191
|
-
_.children = c;
|
|
192
|
-
_.isLeaf = c.length ? false : true;
|
|
193
|
-
});
|
|
194
|
-
return {
|
|
195
|
-
tree: all.filter(function (q) {
|
|
196
|
-
return q.pid === 0;
|
|
197
|
-
}),
|
|
198
|
-
all: all
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
|
-
var Tree$2 = LazyAntd.Tree,
|
|
202
|
-
TreeSelect$2 = LazyAntd.TreeSelect,
|
|
203
|
-
Select$2 = LazyAntd.Select,
|
|
204
|
-
Table$2 = LazyAntd.Table,
|
|
205
|
-
Dropdown$2 = LazyAntd.Dropdown,
|
|
206
|
-
Pagination$2 = LazyAntd.Pagination;
|
|
207
|
-
function TemplateSelect(props) {
|
|
208
|
-
var user = SLocal_State.getUserData();
|
|
209
|
-
var userid = user === null || user === void 0 ? void 0 : user.id;
|
|
210
|
-
var onChange = props.onChange,
|
|
211
|
-
templateType = props.templateType,
|
|
212
|
-
_props$depid = props.depid,
|
|
213
|
-
depid = _props$depid === void 0 ? 1 : _props$depid;
|
|
214
|
-
var _useState = useState(props.value || 0),
|
|
215
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
216
|
-
value = _useState2[0],
|
|
217
|
-
setValue = _useState2[1];
|
|
218
|
-
var _useState3 = useState([]),
|
|
219
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
220
|
-
options = _useState4[0],
|
|
221
|
-
setOptions = _useState4[1];
|
|
222
|
-
useEffect(function () {
|
|
223
|
-
setValue(props.value);
|
|
224
|
-
}, [props.value]);
|
|
225
|
-
useEffect(function () {
|
|
226
|
-
SMchc_TemplateTrees.getTemplateTree({
|
|
227
|
-
depid: depid,
|
|
228
|
-
type: templateType,
|
|
229
|
-
userid: needUserIDTypes.indexOf(templateType) > -1 && userid ? userid : undefined
|
|
230
|
-
}).then(function (res) {
|
|
231
|
-
setOptions([_objectSpread(_objectSpread({}, rootTemplate), {}, {
|
|
232
|
-
children: transferTemplates(res).tree
|
|
233
|
-
})]);
|
|
234
|
-
});
|
|
235
|
-
}, []);
|
|
236
|
-
var handleChange = function handleChange(data) {
|
|
237
|
-
setValue(data);
|
|
238
|
-
onChange && onChange(data);
|
|
239
|
-
};
|
|
240
|
-
return /*#__PURE__*/React.createElement(TreeSelect$2, {
|
|
241
|
-
getPopupContainer: props.getPopupContainer,
|
|
242
|
-
treeDefaultExpandAll: true,
|
|
243
|
-
value: value,
|
|
244
|
-
treeData: options,
|
|
245
|
-
onChange: handleChange
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
var Tree$1 = LazyAntd.Tree,
|
|
249
|
-
TreeSelect$1 = LazyAntd.TreeSelect,
|
|
250
|
-
Select$1 = LazyAntd.Select,
|
|
251
|
-
Table$1 = LazyAntd.Table,
|
|
252
|
-
Dropdown$1 = LazyAntd.Dropdown,
|
|
253
|
-
Pagination$1 = LazyAntd.Pagination;
|
|
254
|
-
function EditModal(props) {
|
|
255
|
-
var onCancel = props.onCancel,
|
|
256
|
-
onSubmit = props.onSubmit,
|
|
257
|
-
visible = props.visible,
|
|
258
|
-
templateType = props.templateType,
|
|
259
|
-
data = props.data,
|
|
260
|
-
depid = props.depid,
|
|
261
|
-
getContainer = props.getContainer,
|
|
262
|
-
templateTypes = props.templateTypes,
|
|
263
|
-
others = _objectWithoutProperties(props, _excluded);
|
|
264
|
-
var _Form$useForm = _Form.useForm(),
|
|
265
|
-
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
266
|
-
form = _Form$useForm2[0];
|
|
267
|
-
var el = useRef(null);
|
|
268
|
-
var types = templateTypes;
|
|
269
|
-
useEffect(function () {
|
|
270
|
-
form && form.setFieldsValue(_objectSpread(_objectSpread({}, data), {}, {
|
|
271
|
-
pid: _get(data, 'pid') || 0,
|
|
272
|
-
type: templateType
|
|
273
|
-
}));
|
|
274
|
-
}, []);
|
|
275
|
-
var handleSubmit = /*#__PURE__*/function () {
|
|
276
|
-
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
|
|
277
|
-
var formData;
|
|
278
|
-
return _regeneratorRuntime.wrap(function _callee4$(_context4) {
|
|
279
|
-
while (1) switch (_context4.prev = _context4.next) {
|
|
280
|
-
case 0:
|
|
281
|
-
_context4.next = 2;
|
|
282
|
-
return form.validateFields();
|
|
283
|
-
case 2:
|
|
284
|
-
formData = form && form.getFieldsValue();
|
|
285
|
-
onSubmit && onSubmit(formData);
|
|
286
|
-
case 4:
|
|
287
|
-
case "end":
|
|
288
|
-
return _context4.stop();
|
|
289
|
-
}
|
|
290
|
-
}, _callee4);
|
|
291
|
-
}));
|
|
292
|
-
return function handleSubmit() {
|
|
293
|
-
return _ref5.apply(this, arguments);
|
|
294
|
-
};
|
|
295
|
-
}();
|
|
296
|
-
return /*#__PURE__*/React.createElement(_Modal, {
|
|
297
|
-
getContainer: getContainer,
|
|
298
|
-
visible: visible,
|
|
299
|
-
className: "textarea-with-template__modal-edit",
|
|
300
|
-
onCancel: onCancel,
|
|
301
|
-
onOk: handleSubmit,
|
|
302
|
-
closable: false,
|
|
303
|
-
width: 500
|
|
304
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
305
|
-
ref: el
|
|
306
|
-
}, /*#__PURE__*/React.createElement(_Form, {
|
|
307
|
-
autoComplete: "off",
|
|
308
|
-
form: form,
|
|
309
|
-
labelAlign: "right",
|
|
310
|
-
labelCol: {
|
|
311
|
-
span: 8
|
|
312
|
-
},
|
|
313
|
-
wrapperCol: {
|
|
314
|
-
span: 16
|
|
315
|
-
}
|
|
316
|
-
}, /*#__PURE__*/React.createElement(_Form.Item, {
|
|
317
|
-
label: "\u6240\u5C5E\u6A21\u5757",
|
|
318
|
-
name: "type"
|
|
319
|
-
}, /*#__PURE__*/React.createElement(Select$1, {
|
|
320
|
-
getPopupContainer: function getPopupContainer() {
|
|
321
|
-
return el.current;
|
|
322
|
-
}
|
|
323
|
-
}, types.map(function (_ref6, key) {
|
|
324
|
-
var title = _ref6.title,
|
|
325
|
-
type = _ref6.type;
|
|
326
|
-
return /*#__PURE__*/React.createElement(Select$1.Option, {
|
|
327
|
-
value: type,
|
|
328
|
-
key: type
|
|
329
|
-
}, title);
|
|
330
|
-
}))), /*#__PURE__*/React.createElement(_Form.Item, {
|
|
331
|
-
label: "\u4E0A\u7EA7\u6A21\u677F",
|
|
332
|
-
name: "pid"
|
|
333
|
-
}, /*#__PURE__*/React.createElement(TemplateSelect, {
|
|
334
|
-
getPopupContainer: function getPopupContainer() {
|
|
335
|
-
return el.current;
|
|
336
|
-
},
|
|
337
|
-
templateType: templateType,
|
|
338
|
-
depid: depid
|
|
339
|
-
})), /*#__PURE__*/React.createElement(_Form.Item, {
|
|
340
|
-
rules: [{
|
|
341
|
-
required: true,
|
|
342
|
-
message: '模板内容是必填项'
|
|
343
|
-
}],
|
|
344
|
-
label: "\u6A21\u677F\u5185\u5BB9",
|
|
345
|
-
name: "val"
|
|
346
|
-
}, /*#__PURE__*/React.createElement(_Input, null)))));
|
|
347
|
-
}
|
|
348
|
-
var css_248z = ".index-module_textarea-with-template__uLA-v {\n position: relative;\n}\n.index-module_textarea-with-template__uLA-v .index-module_template-textarea__gqcM3 {\n width: 100%;\n}\n.index-module_textarea-with-template__action__SlEkO {\n position: absolute;\n right: 1px;\n bottom: 1px;\n width: 0;\n height: 0;\n border-width: 20px 20px 20px 20px;\n border-color: transparent #d8dce6 #d8dce6 transparent;\n border-style: solid;\n border-radius: 4px;\n background: transparent;\n cursor: pointer;\n}\n.index-module_textarea-with-template__action__SlEkO span {\n position: relative;\n bottom: 1px;\n word-break: keep-all;\n color: #000;\n font-size: 12px;\n}\n.index-module_textarea-with-template__action_disabled__N4laO {\n color: rgba(0, 0, 0, 0.25);\n}\n.index-module_textarea-with-template__modal-nav__T1lRV {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.index-module_textarea-with-template__modal-nav__items__e9UUj {\n margin-right: 8px;\n}\n.index-module_textarea-with-template__modal-body__Kutxj {\n margin: 10px 0;\n}\n.index-module_textarea-with-template__modal-body__Kutxj .index-module_ant-tree-treenode__VRZC5 .index-module_template-list-item__actions__aRx-A {\n display: none;\n}\n.index-module_textarea-with-template__modal-body__Kutxj .index-module_ant-tree-treenode__VRZC5:hover .index-module_template-list-item__actions__aRx-A {\n display: inline-block;\n}\n.index-module_textarea-with-template__modal-body__Kutxj .index-module_template-list-item__luX3h {\n display: flex;\n flex-flow: row;\n align-items: center;\n}\n.index-module_textarea-with-template__modal-body__Kutxj .index-module_template-list-item__luX3h .index-module_template-list-item__actions-icon__lXB5f {\n font-size: 14px;\n opacity: 0.8;\n cursor: pointer;\n margin-left: 10px;\n}\n.index-module_textarea-with-template__modal__aHN06 .index-module_ant-modal-content__sIeSZ .index-module_ant-modal-header__5J7KR,\n.index-module_textarea-with-template__modal__aHN06 .index-module_ant-modal-content__sIeSZ .index-module_ant-modal-body__IJao5,\n.index-module_textarea-with-template__modal__aHN06 .index-module_ant-modal-content__sIeSZ .index-module_ant-modal-footer__8mN39 {\n padding: 10px;\n}\n";
|
|
349
|
-
var styles = {
|
|
350
|
-
"textarea-with-template": "index-module_textarea-with-template__uLA-v",
|
|
351
|
-
"template-textarea": "index-module_template-textarea__gqcM3",
|
|
352
|
-
"textarea-with-template__action": "index-module_textarea-with-template__action__SlEkO",
|
|
353
|
-
"textarea-with-template__action_disabled": "index-module_textarea-with-template__action_disabled__N4laO",
|
|
354
|
-
"textarea-with-template__modal-nav": "index-module_textarea-with-template__modal-nav__T1lRV",
|
|
355
|
-
"textarea-with-template__modal-nav__items": "index-module_textarea-with-template__modal-nav__items__e9UUj",
|
|
356
|
-
"textarea-with-template__modal-body": "index-module_textarea-with-template__modal-body__Kutxj",
|
|
357
|
-
"ant-tree-treenode": "index-module_ant-tree-treenode__VRZC5",
|
|
358
|
-
"template-list-item__actions": "index-module_template-list-item__actions__aRx-A",
|
|
359
|
-
"template-list-item": "index-module_template-list-item__luX3h",
|
|
360
|
-
"template-list-item__actions-icon": "index-module_template-list-item__actions-icon__lXB5f",
|
|
361
|
-
"textarea-with-template__modal": "index-module_textarea-with-template__modal__aHN06",
|
|
362
|
-
"ant-modal-content": "index-module_ant-modal-content__sIeSZ",
|
|
363
|
-
"ant-modal-header": "index-module_ant-modal-header__5J7KR",
|
|
364
|
-
"ant-modal-body": "index-module_ant-modal-body__IJao5",
|
|
365
|
-
"ant-modal-footer": "index-module_ant-modal-footer__8mN39"
|
|
366
|
-
};
|
|
367
|
-
styleInject(css_248z);
|
|
368
|
-
var Tree = LazyAntd.Tree,
|
|
369
|
-
TreeSelect = LazyAntd.TreeSelect,
|
|
370
|
-
Select = LazyAntd.Select,
|
|
371
|
-
Table = LazyAntd.Table,
|
|
372
|
-
Dropdown = LazyAntd.Dropdown,
|
|
373
|
-
Pagination = LazyAntd.Pagination;
|
|
374
|
-
function TemplateModal(props) {
|
|
375
|
-
var _simpleTypes$, _user$groups, _user$groups$some, _modal_data$canOperat;
|
|
376
|
-
var modal_data = props.modal_data,
|
|
377
|
-
width = props.width,
|
|
378
|
-
close = props.close,
|
|
379
|
-
onClose = props.onClose,
|
|
380
|
-
others = _objectWithoutProperties(props, _excluded2);
|
|
381
|
-
var _modal_data$depid = modal_data.depid,
|
|
382
|
-
depid = _modal_data$depid === void 0 ? 1 : _modal_data$depid,
|
|
383
|
-
admissionId = modal_data.admissionId,
|
|
384
|
-
onValueCheck = modal_data.onValueCheck,
|
|
385
|
-
onOk = modal_data.onOk;
|
|
386
|
-
var simpleTypes = Array.isArray(modal_data.simpleTypes) ? modal_data.simpleTypes : MODAL_TEMPLATE_TYPES['科室个人'];
|
|
387
|
-
var user = SLocal_State.getUserData();
|
|
388
|
-
var _useState5 = useState([]),
|
|
389
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
390
|
-
result = _useState6[0],
|
|
391
|
-
set_result = _useState6[1];
|
|
392
|
-
var _useState7 = useState([]),
|
|
393
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
394
|
-
labexams = _useState8[0],
|
|
395
|
-
set_labexams = _useState8[1];
|
|
396
|
-
var _useState9 = useState([]),
|
|
397
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
398
|
-
allLabexams = _useState10[0],
|
|
399
|
-
set_allLabexams = _useState10[1];
|
|
400
|
-
var _useState11 = useState([]),
|
|
401
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
402
|
-
selectedRowKeys = _useState12[0],
|
|
403
|
-
set_selectedRowKeys = _useState12[1];
|
|
404
|
-
var _useState13 = useState([]),
|
|
405
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
406
|
-
selectedRows = _useState14[0],
|
|
407
|
-
set_selectedRows = _useState14[1];
|
|
408
|
-
var _useState15 = useState({}),
|
|
409
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
410
|
-
activeTemplate = _useState16[0],
|
|
411
|
-
set_activeTemplate = _useState16[1];
|
|
412
|
-
var _useState17 = useState({}),
|
|
413
|
-
_useState18 = _slicedToArray(_useState17, 2),
|
|
414
|
-
splitTemplatesMapping = _useState18[0],
|
|
415
|
-
set_splitTemplatesMapping = _useState18[1];
|
|
416
|
-
var _useState19 = useState([]),
|
|
417
|
-
_useState20 = _slicedToArray(_useState19, 2),
|
|
418
|
-
diagnosisList = _useState20[0],
|
|
419
|
-
set_diagnosisList = _useState20[1];
|
|
420
|
-
var _useState21 = useState(false),
|
|
421
|
-
_useState22 = _slicedToArray(_useState21, 2),
|
|
422
|
-
editModalVisible = _useState22[0],
|
|
423
|
-
set_editModalVisible = _useState22[1];
|
|
424
|
-
var _useState23 = useState((_simpleTypes$ = simpleTypes[0]) === null || _simpleTypes$ === void 0 ? void 0 : _simpleTypes$.type),
|
|
425
|
-
_useState24 = _slicedToArray(_useState23, 2),
|
|
426
|
-
templateType = _useState24[0],
|
|
427
|
-
set_templateType = _useState24[1];
|
|
428
|
-
var safeTypes = _toConsumableArray(simpleTypes.map(function (_) {
|
|
429
|
-
return _objectSpread(_objectSpread({}, _), baseType);
|
|
430
|
-
}));
|
|
431
|
-
var canOperate = mchcEnv.is('广三') ? user === null || user === void 0 || (_user$groups = user.groups) === null || _user$groups === void 0 || (_user$groups$some = _user$groups.some) === null || _user$groups$some === void 0 ? void 0 : _user$groups$some.call(_user$groups, function (_) {
|
|
432
|
-
return ['ADMIN', 'MASTERNURSE'].includes(_.name.toUpperCase());
|
|
433
|
-
}) : (_modal_data$canOperat = modal_data.canOperate) !== null && _modal_data$canOperat !== void 0 ? _modal_data$canOperat : true;
|
|
434
|
-
var isExpandAll = false;
|
|
435
|
-
useEffect(function () {
|
|
436
|
-
getTemplateList();
|
|
437
|
-
return function () {};
|
|
438
|
-
}, []);
|
|
439
|
-
function transferAllLabexamsList(labexams) {
|
|
440
|
-
var allLabexams = [];
|
|
441
|
-
_map(labexams, function (labexam) {
|
|
442
|
-
var tempLabexams = [];
|
|
443
|
-
if (!_isEmpty(_get(labexam, 'children'))) {
|
|
444
|
-
tempLabexams = transferAllLabexamsList(_get(labexam, 'children'));
|
|
445
|
-
allLabexams = _concat(allLabexams, tempLabexams);
|
|
446
|
-
} else {
|
|
447
|
-
allLabexams.push(labexam);
|
|
448
|
-
}
|
|
449
|
-
});
|
|
450
|
-
return allLabexams;
|
|
451
|
-
}
|
|
452
|
-
function getTemplateList() {
|
|
453
|
-
return _getTemplateList.apply(this, arguments);
|
|
454
|
-
}
|
|
455
|
-
function _getTemplateList() {
|
|
456
|
-
_getTemplateList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee8() {
|
|
457
|
-
var item,
|
|
458
|
-
type,
|
|
459
|
-
t,
|
|
460
|
-
headerInfoOfInpatientData,
|
|
461
|
-
inpatientNO,
|
|
462
|
-
outpatientNO,
|
|
463
|
-
_result,
|
|
464
|
-
_labexams,
|
|
465
|
-
_allLabexams,
|
|
466
|
-
_headerInfoOfInpatientData,
|
|
467
|
-
_inpatientNO,
|
|
468
|
-
_outpatientNO,
|
|
469
|
-
_result2,
|
|
470
|
-
_labexams2,
|
|
471
|
-
_allLabexams2,
|
|
472
|
-
_result3,
|
|
473
|
-
_yield$getList,
|
|
474
|
-
getList,
|
|
475
|
-
_result4,
|
|
476
|
-
_transferTemplates,
|
|
477
|
-
tree,
|
|
478
|
-
all,
|
|
479
|
-
splitTemplates,
|
|
480
|
-
_splitTemplatesMapping,
|
|
481
|
-
newData,
|
|
482
|
-
_args4 = arguments;
|
|
483
|
-
return _regeneratorRuntime.wrap(function _callee8$(_context8) {
|
|
484
|
-
while (1) switch (_context8.prev = _context8.next) {
|
|
485
|
-
case 0:
|
|
486
|
-
item = _args4.length > 0 && _args4[0] !== undefined ? _args4[0] : safeTypes[0];
|
|
487
|
-
type = item.type;
|
|
488
|
-
t = safeTypes.find(function (_) {
|
|
489
|
-
return _.type === type;
|
|
490
|
-
});
|
|
491
|
-
if (t) {
|
|
492
|
-
_context8.next = 5;
|
|
493
|
-
break;
|
|
494
|
-
}
|
|
495
|
-
return _context8.abrupt("return");
|
|
496
|
-
case 5:
|
|
497
|
-
if (!(type === 3)) {
|
|
498
|
-
_context8.next = 24;
|
|
499
|
-
break;
|
|
500
|
-
}
|
|
501
|
-
headerInfoOfInpatientData = safe_json_parse(sessionStorage.getItem('headerInfoOfInpatientData'));
|
|
502
|
-
inpatientNO = headerInfoOfInpatientData.inpatientNO, outpatientNO = headerInfoOfInpatientData.outpatientNO;
|
|
503
|
-
_result = {};
|
|
504
|
-
if (!inpatientNO) {
|
|
505
|
-
_context8.next = 15;
|
|
506
|
-
break;
|
|
507
|
-
}
|
|
508
|
-
_context8.next = 12;
|
|
509
|
-
return request.get("/api/getLabExamTemplateData?inpatientNo=".concat(inpatientNO));
|
|
510
|
-
case 12:
|
|
511
|
-
_result = _context8.sent;
|
|
512
|
-
_context8.next = 18;
|
|
513
|
-
break;
|
|
514
|
-
case 15:
|
|
515
|
-
_context8.next = 17;
|
|
516
|
-
return request.get("/api/getLabExamTemplateData?outpatientNo=".concat(outpatientNO));
|
|
517
|
-
case 17:
|
|
518
|
-
_result = _context8.sent;
|
|
519
|
-
case 18:
|
|
520
|
-
_labexams = _result;
|
|
521
|
-
_allLabexams = transferAllLabexamsList(_labexams);
|
|
522
|
-
set_labexams(_labexams);
|
|
523
|
-
set_allLabexams(_allLabexams);
|
|
524
|
-
_context8.next = 70;
|
|
525
|
-
break;
|
|
526
|
-
case 24:
|
|
527
|
-
if (!(type === 4)) {
|
|
528
|
-
_context8.next = 43;
|
|
529
|
-
break;
|
|
530
|
-
}
|
|
531
|
-
_headerInfoOfInpatientData = safe_json_parse(sessionStorage.getItem('headerInfoOfInpatientData'));
|
|
532
|
-
_inpatientNO = _headerInfoOfInpatientData.inpatientNO, _outpatientNO = _headerInfoOfInpatientData.outpatientNO;
|
|
533
|
-
_result2 = {};
|
|
534
|
-
if (!_inpatientNO) {
|
|
535
|
-
_context8.next = 34;
|
|
536
|
-
break;
|
|
537
|
-
}
|
|
538
|
-
_context8.next = 31;
|
|
539
|
-
return request.get("/api/getImageExamTemplateData?inpatientNo=".concat(_inpatientNO));
|
|
540
|
-
case 31:
|
|
541
|
-
_result2 = _context8.sent;
|
|
542
|
-
_context8.next = 37;
|
|
543
|
-
break;
|
|
544
|
-
case 34:
|
|
545
|
-
_context8.next = 36;
|
|
546
|
-
return request.get("/api/getImageExamTemplateData?outpatientNo=".concat(_outpatientNO));
|
|
547
|
-
case 36:
|
|
548
|
-
_result2 = _context8.sent;
|
|
549
|
-
case 37:
|
|
550
|
-
_labexams2 = _result2;
|
|
551
|
-
_allLabexams2 = transferAllLabexamsList(_labexams2);
|
|
552
|
-
set_labexams(_labexams2);
|
|
553
|
-
set_allLabexams(_allLabexams2);
|
|
554
|
-
_context8.next = 70;
|
|
555
|
-
break;
|
|
556
|
-
case 43:
|
|
557
|
-
if (!(type === 5)) {
|
|
558
|
-
_context8.next = 50;
|
|
559
|
-
break;
|
|
560
|
-
}
|
|
561
|
-
_context8.next = 46;
|
|
562
|
-
return getResources("/api/findDiagnosisByDateVisitType/".concat(admissionId));
|
|
563
|
-
case 46:
|
|
564
|
-
_result3 = _context8.sent;
|
|
565
|
-
set_diagnosisList(_result3);
|
|
566
|
-
_context8.next = 70;
|
|
567
|
-
break;
|
|
568
|
-
case 50:
|
|
569
|
-
getList = t.getList;
|
|
570
|
-
_context8.next = 53;
|
|
571
|
-
return getList === null || getList === void 0 ? void 0 : getList({
|
|
572
|
-
item: {
|
|
573
|
-
depid: depid,
|
|
574
|
-
type: type
|
|
575
|
-
},
|
|
576
|
-
user: user
|
|
577
|
-
});
|
|
578
|
-
case 53:
|
|
579
|
-
_context8.t1 = _yield$getList = _context8.sent;
|
|
580
|
-
_context8.t0 = _context8.t1 !== null;
|
|
581
|
-
if (!_context8.t0) {
|
|
582
|
-
_context8.next = 57;
|
|
583
|
-
break;
|
|
584
|
-
}
|
|
585
|
-
_context8.t0 = _yield$getList !== void 0;
|
|
586
|
-
case 57:
|
|
587
|
-
if (!_context8.t0) {
|
|
588
|
-
_context8.next = 61;
|
|
589
|
-
break;
|
|
590
|
-
}
|
|
591
|
-
_context8.t2 = _yield$getList;
|
|
592
|
-
_context8.next = 62;
|
|
593
|
-
break;
|
|
594
|
-
case 61:
|
|
595
|
-
_context8.t2 = [];
|
|
596
|
-
case 62:
|
|
597
|
-
_result4 = _context8.t2;
|
|
598
|
-
_transferTemplates = transferTemplates(_result4), tree = _transferTemplates.tree, all = _transferTemplates.all; // 拆分为多个树
|
|
599
|
-
splitTemplates = _compact(_map(tree, function (t) {
|
|
600
|
-
if (_get(t, 'pid') === 0) {
|
|
601
|
-
return _objectSpread(_objectSpread({}, t), {}, {
|
|
602
|
-
children: []
|
|
603
|
-
});
|
|
604
|
-
}
|
|
605
|
-
}));
|
|
606
|
-
_splitTemplatesMapping = _keyBy(splitTemplates, 'id');
|
|
607
|
-
_map(_result4, function (t) {
|
|
608
|
-
var templatePid = _get(t, 'pid');
|
|
609
|
-
if (_indexOf(_keys(_splitTemplatesMapping), String(templatePid)) > -1) {
|
|
610
|
-
_splitTemplatesMapping[templatePid]['children'].push(t);
|
|
611
|
-
}
|
|
612
|
-
});
|
|
613
|
-
newData = _keyBy(tree, 'id');
|
|
614
|
-
set_splitTemplatesMapping(newData);
|
|
615
|
-
set_result(all);
|
|
616
|
-
case 70:
|
|
617
|
-
case "end":
|
|
618
|
-
return _context8.stop();
|
|
619
|
-
}
|
|
620
|
-
}, _callee8);
|
|
621
|
-
}));
|
|
622
|
-
return _getTemplateList.apply(this, arguments);
|
|
623
|
-
}
|
|
624
|
-
function handleAddTemplate(e) {
|
|
625
|
-
e.stopPropagation();
|
|
626
|
-
set_editModalVisible(true);
|
|
627
|
-
set_activeTemplate({});
|
|
628
|
-
}
|
|
629
|
-
function handleHideEditModal() {
|
|
630
|
-
set_editModalVisible(false);
|
|
631
|
-
set_activeTemplate({});
|
|
632
|
-
}
|
|
633
|
-
function handleSubmitEditModal(_x) {
|
|
634
|
-
return _handleSubmitEditModal.apply(this, arguments);
|
|
635
|
-
}
|
|
636
|
-
function _handleSubmitEditModal() {
|
|
637
|
-
_handleSubmitEditModal = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee9(data) {
|
|
638
|
-
var t, _t$putItem, _t$postItem;
|
|
639
|
-
return _regeneratorRuntime.wrap(function _callee9$(_context9) {
|
|
640
|
-
while (1) switch (_context9.prev = _context9.next) {
|
|
641
|
-
case 0:
|
|
642
|
-
t = safeTypes.find(function (_) {
|
|
643
|
-
return _.type === templateType;
|
|
644
|
-
});
|
|
645
|
-
if (t) {
|
|
646
|
-
_context9.next = 3;
|
|
647
|
-
break;
|
|
648
|
-
}
|
|
649
|
-
return _context9.abrupt("return");
|
|
650
|
-
case 3:
|
|
651
|
-
if (_isEmpty(activeTemplate)) {
|
|
652
|
-
_context9.next = 8;
|
|
653
|
-
break;
|
|
654
|
-
}
|
|
655
|
-
_context9.next = 6;
|
|
656
|
-
return (_t$putItem = t.putItem) === null || _t$putItem === void 0 ? void 0 : _t$putItem.call(t, {
|
|
657
|
-
user: user,
|
|
658
|
-
item: _objectSpread(_objectSpread(_objectSpread({}, activeTemplate), data), {}, {
|
|
659
|
-
depid: depid
|
|
660
|
-
})
|
|
661
|
-
});
|
|
662
|
-
case 6:
|
|
663
|
-
_context9.next = 10;
|
|
664
|
-
break;
|
|
665
|
-
case 8:
|
|
666
|
-
_context9.next = 10;
|
|
667
|
-
return (_t$postItem = t.postItem) === null || _t$postItem === void 0 ? void 0 : _t$postItem.call(t, {
|
|
668
|
-
user: user,
|
|
669
|
-
item: _objectSpread(_objectSpread({}, data), {}, {
|
|
670
|
-
depid: depid
|
|
671
|
-
})
|
|
672
|
-
});
|
|
673
|
-
case 10:
|
|
674
|
-
set_editModalVisible(false);
|
|
675
|
-
set_activeTemplate({});
|
|
676
|
-
_message.success('提交模板成功');
|
|
677
|
-
getTemplateList();
|
|
678
|
-
case 14:
|
|
679
|
-
case "end":
|
|
680
|
-
return _context9.stop();
|
|
681
|
-
}
|
|
682
|
-
}, _callee9);
|
|
683
|
-
}));
|
|
684
|
-
return _handleSubmitEditModal.apply(this, arguments);
|
|
685
|
-
}
|
|
686
|
-
var handleEditTemplate = function handleEditTemplate(template) {
|
|
687
|
-
return /*#__PURE__*/function () {
|
|
688
|
-
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee5(e) {
|
|
689
|
-
return _regeneratorRuntime.wrap(function _callee5$(_context5) {
|
|
690
|
-
while (1) switch (_context5.prev = _context5.next) {
|
|
691
|
-
case 0:
|
|
692
|
-
e.stopPropagation();
|
|
693
|
-
set_editModalVisible(true);
|
|
694
|
-
set_activeTemplate(template);
|
|
695
|
-
case 3:
|
|
696
|
-
case "end":
|
|
697
|
-
return _context5.stop();
|
|
698
|
-
}
|
|
699
|
-
}, _callee5);
|
|
700
|
-
}));
|
|
701
|
-
return function (_x2) {
|
|
702
|
-
return _ref7.apply(this, arguments);
|
|
703
|
-
};
|
|
704
|
-
}();
|
|
705
|
-
};
|
|
706
|
-
var handleConfirmDelete = function handleConfirmDelete(template) {
|
|
707
|
-
return /*#__PURE__*/function () {
|
|
708
|
-
var _ref8 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee6(e) {
|
|
709
|
-
var _t$delItem;
|
|
710
|
-
var t;
|
|
711
|
-
return _regeneratorRuntime.wrap(function _callee6$(_context6) {
|
|
712
|
-
while (1) switch (_context6.prev = _context6.next) {
|
|
713
|
-
case 0:
|
|
714
|
-
t = safeTypes.find(function (_) {
|
|
715
|
-
return _.type === templateType;
|
|
716
|
-
});
|
|
717
|
-
if (t) {
|
|
718
|
-
_context6.next = 3;
|
|
719
|
-
break;
|
|
720
|
-
}
|
|
721
|
-
return _context6.abrupt("return");
|
|
722
|
-
case 3:
|
|
723
|
-
e.stopPropagation();
|
|
724
|
-
_context6.next = 6;
|
|
725
|
-
return (_t$delItem = t.delItem) === null || _t$delItem === void 0 ? void 0 : _t$delItem.call(t, {
|
|
726
|
-
item: template
|
|
727
|
-
});
|
|
728
|
-
case 6:
|
|
729
|
-
_message.success('删除模板成功');
|
|
730
|
-
getTemplateList();
|
|
731
|
-
case 8:
|
|
732
|
-
case "end":
|
|
733
|
-
return _context6.stop();
|
|
734
|
-
}
|
|
735
|
-
}, _callee6);
|
|
736
|
-
}));
|
|
737
|
-
return function (_x3) {
|
|
738
|
-
return _ref8.apply(this, arguments);
|
|
739
|
-
};
|
|
740
|
-
}();
|
|
741
|
-
};
|
|
742
|
-
function handleSelectTemplates(checked, e) {
|
|
743
|
-
if (e.checked) {
|
|
744
|
-
set_selectedRowKeys(Array.from(new Set([].concat(_toConsumableArray(selectedRowKeys), _toConsumableArray(checked)))));
|
|
745
|
-
} else {
|
|
746
|
-
var parentKey = e.node.key;
|
|
747
|
-
var leftKey = selectedRowKeys.filter(function (_) {
|
|
748
|
-
return !_.includes(parentKey);
|
|
749
|
-
});
|
|
750
|
-
set_selectedRowKeys(leftKey);
|
|
751
|
-
}
|
|
752
|
-
console.log('aax', e.checked, e.checkedNodes, e);
|
|
753
|
-
set_selectedRows(e.checkedNodes);
|
|
754
|
-
}
|
|
755
|
-
function handleOk() {
|
|
756
|
-
var rowKey = selectedRowKeys.map(function (_) {
|
|
757
|
-
return _.split('_').pop();
|
|
758
|
-
});
|
|
759
|
-
var content = '';
|
|
760
|
-
var treeData = result;
|
|
761
|
-
var treeDataMapping = _keyBy(treeData, 'id');
|
|
762
|
-
_map(rowKey, function (id) {
|
|
763
|
-
var item = _get(treeDataMapping, id);
|
|
764
|
-
if (!_isEmpty(item) && _get(item, 'isLeaf')) {
|
|
765
|
-
content += "".concat(_get(item, "val"), "\uFF1B");
|
|
766
|
-
}
|
|
767
|
-
});
|
|
768
|
-
var data = {
|
|
769
|
-
result: result.filter(function (_) {
|
|
770
|
-
var _$children, _$id;
|
|
771
|
-
return _.isLeaf && !((_$children = _.children) !== null && _$children !== void 0 && _$children.length) && rowKey.includes((_$id = _.id) === null || _$id === void 0 ? void 0 : _$id.toString());
|
|
772
|
-
}),
|
|
773
|
-
raw: result,
|
|
774
|
-
selectedRowKeys: rowKey,
|
|
775
|
-
treeDataMapping: treeDataMapping
|
|
776
|
-
};
|
|
777
|
-
onValueCheck === null || onValueCheck === void 0 || onValueCheck(data);
|
|
778
|
-
close === null || close === void 0 || close(true);
|
|
779
|
-
}
|
|
780
|
-
var handleChangeTemplateType = function handleChangeTemplateType(item) {
|
|
781
|
-
return /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee7() {
|
|
782
|
-
return _regeneratorRuntime.wrap(function _callee7$(_context7) {
|
|
783
|
-
while (1) switch (_context7.prev = _context7.next) {
|
|
784
|
-
case 0:
|
|
785
|
-
getTemplateList(item);
|
|
786
|
-
set_templateType(item.type);
|
|
787
|
-
case 2:
|
|
788
|
-
case "end":
|
|
789
|
-
return _context7.stop();
|
|
790
|
-
}
|
|
791
|
-
}, _callee7);
|
|
792
|
-
}));
|
|
793
|
-
};
|
|
794
|
-
function transferTemplateData(data) {
|
|
795
|
-
var treeData = [];
|
|
796
|
-
_map(data, function (item, index) {
|
|
797
|
-
if (item.date) {
|
|
798
|
-
item.title = "".concat(item.date, " ").concat(item.type);
|
|
799
|
-
item.key = index;
|
|
800
|
-
var diags = [];
|
|
801
|
-
if (_size(item.pds) > 0) {
|
|
802
|
-
diags = item.pds;
|
|
803
|
-
} else {
|
|
804
|
-
diags = item.ods;
|
|
805
|
-
}
|
|
806
|
-
item.children = transferTemplateData(diags);
|
|
807
|
-
} else {
|
|
808
|
-
item.title = item.diagnosis;
|
|
809
|
-
item.key = String(item.id);
|
|
810
|
-
}
|
|
811
|
-
if (_isEmpty(item.children)) {
|
|
812
|
-
item.isLeaf = true;
|
|
813
|
-
} else {
|
|
814
|
-
item.isLeaf = false;
|
|
815
|
-
}
|
|
816
|
-
treeData.push(item);
|
|
817
|
-
});
|
|
818
|
-
return treeData;
|
|
819
|
-
}
|
|
820
|
-
function renderDiagnosisHistory() {
|
|
821
|
-
var treeData = transferTemplateData(diagnosisList);
|
|
822
|
-
return _size(treeData) > 0 && /*#__PURE__*/React$1.createElement(Tree, {
|
|
823
|
-
checkable: true,
|
|
824
|
-
defaultExpandAll: isExpandAll,
|
|
825
|
-
onCheck: handleSelectTemplates,
|
|
826
|
-
treeData: treeData
|
|
827
|
-
});
|
|
828
|
-
}
|
|
829
|
-
function renderLabexams() {
|
|
830
|
-
return labexams.length > 0 ? /*#__PURE__*/React$1.createElement(Tree, {
|
|
831
|
-
checkable: true,
|
|
832
|
-
defaultExpandAll: isExpandAll,
|
|
833
|
-
treeData: labexams,
|
|
834
|
-
onCheck: handleSelectTemplates
|
|
835
|
-
}) : '暂无数据';
|
|
836
|
-
}
|
|
837
|
-
function renderTreeNode() {
|
|
838
|
-
var templatesTree = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
839
|
-
var _key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
840
|
-
return _map(templatesTree, function (template) {
|
|
841
|
-
var key = _key ? "".concat(_key, "_").concat(template.id) : "".concat(template.id);
|
|
842
|
-
return /*#__PURE__*/React$1.createElement(Tree.TreeNode, {
|
|
843
|
-
title: /*#__PURE__*/React$1.createElement("div", {
|
|
844
|
-
className: styles["template-list-item"]
|
|
845
|
-
}, /*#__PURE__*/React$1.createElement("div", null, "\xA0", _get(template, 'val'), "\xA0"), canOperate && /*#__PURE__*/React$1.createElement("div", {
|
|
846
|
-
className: styles["template-list-item__actions"]
|
|
847
|
-
}, /*#__PURE__*/React$1.createElement(EditOutlined, {
|
|
848
|
-
className: styles["template-list-item__actions-icon"],
|
|
849
|
-
onClick: handleEditTemplate(template)
|
|
850
|
-
}), /*#__PURE__*/React$1.createElement(_Popconfirm, {
|
|
851
|
-
title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6A21\u677F\u5417\uFF1F",
|
|
852
|
-
onConfirm: handleConfirmDelete(template)
|
|
853
|
-
}, /*#__PURE__*/React$1.createElement(DeleteOutlined, {
|
|
854
|
-
className: styles["template-list-item__actions-icon"]
|
|
855
|
-
})))),
|
|
856
|
-
key: key
|
|
857
|
-
}, renderTreeNode(_get(template, 'children'), key));
|
|
858
|
-
});
|
|
859
|
-
}
|
|
860
|
-
function renderModal() {
|
|
861
|
-
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
862
|
-
className: styles["textarea-with-template__modal-nav"]
|
|
863
|
-
}, /*#__PURE__*/React$1.createElement("div", null, safeTypes.map(function (item) {
|
|
864
|
-
var type = item.type,
|
|
865
|
-
title = item.title;
|
|
866
|
-
return /*#__PURE__*/React$1.createElement(_Button, {
|
|
867
|
-
className: styles["textarea-with-template__modal-nav__items"],
|
|
868
|
-
type: templateType === type ? 'primary' : 'default',
|
|
869
|
-
key: type,
|
|
870
|
-
onClick: handleChangeTemplateType(item)
|
|
871
|
-
}, title);
|
|
872
|
-
})), /*#__PURE__*/React$1.createElement(_Button, {
|
|
873
|
-
disabled: !canOperate,
|
|
874
|
-
onClick: handleAddTemplate
|
|
875
|
-
}, "\u6DFB\u52A0\u6A21\u677F")), /*#__PURE__*/React$1.createElement(_Row, {
|
|
876
|
-
className: styles["textarea-with-template__modal-body"]
|
|
877
|
-
}, /*#__PURE__*/React$1.createElement(React$1.Fragment, null, _map(splitTemplatesMapping, function (templateTree, id) {
|
|
878
|
-
return /*#__PURE__*/React$1.createElement(_Col, {
|
|
879
|
-
span: 12
|
|
880
|
-
}, /*#__PURE__*/React$1.createElement(Tree, {
|
|
881
|
-
checkable: true,
|
|
882
|
-
defaultExpandAll: isExpandAll,
|
|
883
|
-
onCheck: handleSelectTemplates
|
|
884
|
-
}, renderTreeNode([templateTree])));
|
|
885
|
-
})), (templateType === 3 || templateType === 4) && renderLabexams(), templateType === 5 && renderDiagnosisHistory()), editModalVisible && /*#__PURE__*/React$1.createElement(EditModal, {
|
|
886
|
-
templateTypes: safeTypes,
|
|
887
|
-
getContainer: props.getContainer,
|
|
888
|
-
templateType: templateType,
|
|
889
|
-
visible: editModalVisible,
|
|
890
|
-
data: activeTemplate,
|
|
891
|
-
depid: depid,
|
|
892
|
-
onCancel: handleHideEditModal,
|
|
893
|
-
onSubmit: handleSubmitEditModal
|
|
894
|
-
}));
|
|
895
|
-
}
|
|
896
|
-
return /*#__PURE__*/React$1.createElement(_Modal, _extends({}, others, {
|
|
897
|
-
className: styles["textarea-with-template__modal"],
|
|
898
|
-
title: "\u6A21\u677F\u5BFC\u5165",
|
|
899
|
-
width: 1100,
|
|
900
|
-
onOk: handleOk
|
|
901
|
-
}), renderModal());
|
|
902
|
-
}
|
|
903
|
-
export { TemplateModal as default };
|
|
904
|
-
//# sourceMappingURL=.root60.js.map
|