@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
|
@@ -4,12 +4,14 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
4
4
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
5
5
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
6
6
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
7
|
+
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; }
|
|
8
|
+
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
9
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
10
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
|
-
import { M as MyComponent, _ as _extends } from './index.js';
|
|
10
|
-
import _get from 'lodash/get';
|
|
11
11
|
import React, { Component, Suspense } from 'react';
|
|
12
12
|
import dayjs from 'dayjs';
|
|
13
|
+
import { get } from 'lodash';
|
|
14
|
+
import { M as MyComponent } from './index.js';
|
|
13
15
|
import './index2.js';
|
|
14
16
|
var EditableCell = /*#__PURE__*/function (_Component) {
|
|
15
17
|
function EditableCell() {
|
|
@@ -112,8 +114,8 @@ var EditableCell = /*#__PURE__*/function (_Component) {
|
|
|
112
114
|
}
|
|
113
115
|
return opt.label;
|
|
114
116
|
}
|
|
115
|
-
if (editor.input_type === 'date' &&
|
|
116
|
-
return value ? dayjs(value).format(
|
|
117
|
+
if (editor.input_type === 'date' && get(editor, 'input_props.format')) {
|
|
118
|
+
return value ? dayjs(value).format(get(editor, 'input_props.format')) : '';
|
|
117
119
|
}
|
|
118
120
|
if (editor.input_type == 'checkbox') {
|
|
119
121
|
return value ? '√' : value;
|
|
@@ -125,24 +127,24 @@ var EditableCell = /*#__PURE__*/function (_Component) {
|
|
|
125
127
|
onDoubleClick: this.handleDBClick,
|
|
126
128
|
onBlur: this.handleBlur,
|
|
127
129
|
className: "table-editable-cell"
|
|
128
|
-
}, editor.unEditable !== false ? /*#__PURE__*/React.createElement(Suspense, {
|
|
130
|
+
}, editor.unEditable !== false ? (/*#__PURE__*/React.createElement(Suspense, {
|
|
129
131
|
fallback: /*#__PURE__*/React.createElement("span", null, "...")
|
|
130
|
-
}, /*#__PURE__*/React.createElement(RenderComponent,
|
|
132
|
+
}, /*#__PURE__*/React.createElement(RenderComponent, _objectSpread(_objectSpread(_objectSpread({
|
|
131
133
|
editing: editing
|
|
132
|
-
}, editor, {
|
|
134
|
+
}, editor), editor.input_props || {}), {}, {
|
|
135
|
+
marshal: 0,
|
|
133
136
|
disabled: this.props.disabled,
|
|
134
137
|
onChange: function onChange(val) {
|
|
135
138
|
return _this2.handleChange(val);
|
|
136
139
|
},
|
|
137
140
|
value: this.state.value
|
|
138
|
-
}))) : /*#__PURE__*/
|
|
141
|
+
})))) : (/*#__PURE__*/
|
|
139
142
|
// 如value为空,渲染为"-"
|
|
140
143
|
React.createElement("span", {
|
|
141
144
|
className: "table-item",
|
|
142
145
|
title: getLabel()
|
|
143
|
-
}, getLabel()));
|
|
146
|
+
}, getLabel())));
|
|
144
147
|
}
|
|
145
148
|
}]);
|
|
146
149
|
}(Component);
|
|
147
150
|
export { EditableCell as E };
|
|
148
|
-
//# sourceMappingURL=TableEditableCell.js.map
|
|
@@ -12,65 +12,12 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
12
12
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
13
13
|
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; }
|
|
14
14
|
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; }
|
|
15
|
-
import '
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import 'antd/es/row/style';
|
|
19
|
-
import _Row from 'antd/es/row';
|
|
20
|
-
import 'antd/es/col/style';
|
|
21
|
-
import _Col from 'antd/es/col';
|
|
22
|
-
import 'antd/es/button/style';
|
|
23
|
-
import _Button from 'antd/es/button';
|
|
24
|
-
import 'antd/es/popconfirm/style';
|
|
25
|
-
import _Popconfirm from 'antd/es/popconfirm';
|
|
26
|
-
import 'antd/es/message/style';
|
|
27
|
-
import _message from 'antd/es/message';
|
|
28
|
-
import _filter from 'lodash/filter';
|
|
29
|
-
import _size from 'lodash/size';
|
|
30
|
-
import _concat from 'lodash/concat';
|
|
31
|
-
import _isNil from 'lodash/isNil';
|
|
32
|
-
import _compact from 'lodash/compact';
|
|
33
|
-
import _keys from 'lodash/keys';
|
|
34
|
-
import _indexOf from 'lodash/indexOf';
|
|
35
|
-
import _keyBy from 'lodash/keyBy';
|
|
36
|
-
import _isEmpty from 'lodash/isEmpty';
|
|
37
|
-
import _set from 'lodash/set';
|
|
38
|
-
import _get from 'lodash/get';
|
|
39
|
-
import _map from 'lodash/map';
|
|
15
|
+
import { LazyAntd, MyIcon } from '@lm_fe/components';
|
|
16
|
+
import { Form, Modal, Input, message, Popconfirm, Button, Row, Col } from 'antd';
|
|
17
|
+
import { map, isEmpty, get, set, concat, compact, keyBy, indexOf, keys, filter, size, isNil } from 'lodash';
|
|
40
18
|
import React$1, { useState, useEffect } from 'react';
|
|
19
|
+
import { a9 as getResources, a as styleInject, aa as updateResources, ab as createResources, ac as getResourcesByID, ad as deleteResourcesByID } from './index.js';
|
|
41
20
|
import '@lm_fe/utils';
|
|
42
|
-
import 'antd/es/input/style';
|
|
43
|
-
import _Input from 'antd/es/input';
|
|
44
|
-
import 'antd/es/form/style';
|
|
45
|
-
import _Form from 'antd/es/form';
|
|
46
|
-
import { LazyAntd } from '@lm_fe/components';
|
|
47
|
-
import { PlusCircleOutlined, EditOutlined, DeleteOutlined } from '@ant-design/icons';
|
|
48
|
-
var rootTemplate = {
|
|
49
|
-
id: 0,
|
|
50
|
-
key: 0,
|
|
51
|
-
value: 0,
|
|
52
|
-
title: '一级模板',
|
|
53
|
-
children: []
|
|
54
|
-
};
|
|
55
|
-
var _transferTemplates = function transferTemplates(templates) {
|
|
56
|
-
var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
57
|
-
var temp = [];
|
|
58
|
-
_map(templates, function (item) {
|
|
59
|
-
if (item.pid === pid) {
|
|
60
|
-
item.key = item.id;
|
|
61
|
-
item.value = item.id;
|
|
62
|
-
item.title = item.val;
|
|
63
|
-
item.children = _transferTemplates(templates, item.id);
|
|
64
|
-
if (_isEmpty(item.children)) {
|
|
65
|
-
item.isLeaf = true;
|
|
66
|
-
} else {
|
|
67
|
-
item.isLeaf = false;
|
|
68
|
-
}
|
|
69
|
-
temp.push(item);
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
return temp;
|
|
73
|
-
};
|
|
74
21
|
var DEFAULT_URL = '/api/template-trees';
|
|
75
22
|
var needUserIDTypes = [2];
|
|
76
23
|
var MODAL_NAVS = {
|
|
@@ -100,6 +47,32 @@ var MODAL_NAVS = {
|
|
|
100
47
|
type: 5
|
|
101
48
|
}
|
|
102
49
|
};
|
|
50
|
+
var rootTemplate = {
|
|
51
|
+
id: 0,
|
|
52
|
+
key: 0,
|
|
53
|
+
value: 0,
|
|
54
|
+
title: '一级模板',
|
|
55
|
+
children: []
|
|
56
|
+
};
|
|
57
|
+
var _transferTemplates = function transferTemplates(templates) {
|
|
58
|
+
var pid = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
59
|
+
var temp = [];
|
|
60
|
+
map(templates, function (item) {
|
|
61
|
+
if (item.pid === pid) {
|
|
62
|
+
item.key = item.id;
|
|
63
|
+
item.value = item.id;
|
|
64
|
+
item.title = item.val;
|
|
65
|
+
item.children = _transferTemplates(templates, item.id);
|
|
66
|
+
if (isEmpty(item.children)) {
|
|
67
|
+
item.isLeaf = true;
|
|
68
|
+
} else {
|
|
69
|
+
item.isLeaf = false;
|
|
70
|
+
}
|
|
71
|
+
temp.push(item);
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
return temp;
|
|
75
|
+
};
|
|
103
76
|
var Tree$2 = LazyAntd.Tree,
|
|
104
77
|
TreeSelect$2 = LazyAntd.TreeSelect,
|
|
105
78
|
Select$2 = LazyAntd.Select,
|
|
@@ -161,12 +134,12 @@ function EditModal(props) {
|
|
|
161
134
|
userid = props.userid,
|
|
162
135
|
data = props.data,
|
|
163
136
|
depid = props.depid;
|
|
164
|
-
var _Form$useForm =
|
|
137
|
+
var _Form$useForm = Form.useForm(),
|
|
165
138
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
166
139
|
form = _Form$useForm2[0];
|
|
167
140
|
useEffect(function () {
|
|
168
141
|
form && form.setFieldsValue(_objectSpread(_objectSpread({}, data), {}, {
|
|
169
|
-
pid:
|
|
142
|
+
pid: get(data, 'pid') || 0,
|
|
170
143
|
type: templateType
|
|
171
144
|
}));
|
|
172
145
|
}, []);
|
|
@@ -191,14 +164,14 @@ function EditModal(props) {
|
|
|
191
164
|
return _ref.apply(this, arguments);
|
|
192
165
|
};
|
|
193
166
|
}();
|
|
194
|
-
return
|
|
195
|
-
|
|
167
|
+
return React.createElement(Modal, {
|
|
168
|
+
open: visible,
|
|
196
169
|
className: "textarea-with-template__modal-edit",
|
|
197
170
|
onCancel: onCancel,
|
|
198
171
|
onOk: handleSubmit,
|
|
199
172
|
closable: false,
|
|
200
173
|
width: 500
|
|
201
|
-
},
|
|
174
|
+
}, React.createElement(Form, {
|
|
202
175
|
autoComplete: "off",
|
|
203
176
|
form: form,
|
|
204
177
|
labelAlign: "right",
|
|
@@ -208,29 +181,29 @@ function EditModal(props) {
|
|
|
208
181
|
wrapperCol: {
|
|
209
182
|
span: 16
|
|
210
183
|
}
|
|
211
|
-
},
|
|
184
|
+
}, React.createElement(Form.Item, {
|
|
212
185
|
label: "\u6240\u5C5E\u6A21\u5757",
|
|
213
186
|
name: "type"
|
|
214
|
-
},
|
|
215
|
-
return
|
|
187
|
+
}, React.createElement(Select$1, null, map(MODAL_NAVS, function (nav, key) {
|
|
188
|
+
return React.createElement(Select$1.Option, {
|
|
216
189
|
value: nav.type,
|
|
217
190
|
key: key
|
|
218
191
|
}, nav.label);
|
|
219
|
-
}))),
|
|
192
|
+
}))), React.createElement(Form.Item, {
|
|
220
193
|
label: "\u4E0A\u7EA7\u6A21\u677F",
|
|
221
194
|
name: "pid"
|
|
222
|
-
},
|
|
195
|
+
}, React.createElement(TemplateSelect, {
|
|
223
196
|
templateType: templateType,
|
|
224
197
|
userid: userid,
|
|
225
198
|
depid: depid
|
|
226
|
-
})),
|
|
199
|
+
})), React.createElement(Form.Item, {
|
|
227
200
|
rules: [{
|
|
228
201
|
required: true,
|
|
229
202
|
message: '模板内容是必填项'
|
|
230
203
|
}],
|
|
231
204
|
label: "\u6A21\u677F\u5185\u5BB9",
|
|
232
205
|
name: "val"
|
|
233
|
-
},
|
|
206
|
+
}, React.createElement(Input, null))));
|
|
234
207
|
}
|
|
235
208
|
var css_248z = ".index-module_textarea-with-template__l9t3s {\n position: relative;\n}\n.index-module_textarea-with-template__l9t3s .index-module_template-textarea__yU1S4 {\n width: 100%;\n}\n.index-module_textarea-with-template__action__wMYoN {\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__wMYoN 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__rewyA {\n color: rgba(0, 0, 0, 0.25);\n}\n.index-module_textarea-with-template__modal-nav__nKttX {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.index-module_textarea-with-template__modal-nav__items__-Zj61 {\n margin-right: 8px;\n}\n.index-module_textarea-with-template__modal-body__hMuny {\n margin: 10px 0;\n}\n.index-module_textarea-with-template__modal-body__hMuny .index-module_ant-tree-treenode__6yzzS .index-module_template-list-item__actions__Hzyhw {\n display: none;\n}\n.index-module_textarea-with-template__modal-body__hMuny .index-module_ant-tree-treenode__6yzzS:hover .index-module_template-list-item__actions__Hzyhw {\n display: inline-block;\n}\n.index-module_textarea-with-template__modal-body__hMuny .index-module_template-list-item__eqU8j {\n display: flex;\n flex-flow: row;\n align-items: center;\n}\n.index-module_textarea-with-template__modal-body__hMuny .index-module_template-list-item__eqU8j .index-module_template-list-item__actions-icon__NQ1sU {\n font-size: 14px;\n opacity: 0.8;\n cursor: pointer;\n margin-left: 10px;\n}\n.index-module_textarea-with-template__modal__b6fL- .index-module_ant-modal-content__uXe61 .index-module_ant-modal-header__wKRWT,\n.index-module_textarea-with-template__modal__b6fL- .index-module_ant-modal-content__uXe61 .index-module_ant-modal-body__Yd9Kp,\n.index-module_textarea-with-template__modal__b6fL- .index-module_ant-modal-content__uXe61 .index-module_ant-modal-footer__Nr8Eh {\n padding: 10px;\n}\n";
|
|
236
209
|
var styles = {
|
|
@@ -264,26 +237,26 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
264
237
|
_classCallCheck(this, TemplateModal);
|
|
265
238
|
_this = _callSuper(this, TemplateModal, [props]);
|
|
266
239
|
_defineProperty(_this, "transferLabexamsList", function (result) {
|
|
267
|
-
return
|
|
240
|
+
return map(result, function (item) {
|
|
268
241
|
var temp = _objectSpread(_objectSpread({}, item), {}, {
|
|
269
242
|
children: [],
|
|
270
|
-
val:
|
|
243
|
+
val: get(item, 'title'),
|
|
271
244
|
isLeaf: true
|
|
272
245
|
});
|
|
273
|
-
if (!
|
|
274
|
-
|
|
275
|
-
|
|
246
|
+
if (!isEmpty(get(item, 'items'))) {
|
|
247
|
+
set(temp, 'children', _this.transferLabexamsList(get(item, 'items')));
|
|
248
|
+
set(temp, 'isLeaf', false);
|
|
276
249
|
}
|
|
277
250
|
return temp;
|
|
278
251
|
});
|
|
279
252
|
});
|
|
280
253
|
_defineProperty(_this, "transferAllLabexamsList", function (labexams) {
|
|
281
254
|
var allLabexams = [];
|
|
282
|
-
|
|
255
|
+
map(labexams, function (labexam) {
|
|
283
256
|
var tempLabexams = [];
|
|
284
|
-
if (!
|
|
285
|
-
tempLabexams = _this.transferAllLabexamsList(
|
|
286
|
-
allLabexams =
|
|
257
|
+
if (!isEmpty(get(labexam, 'children'))) {
|
|
258
|
+
tempLabexams = _this.transferAllLabexamsList(get(labexam, 'children'));
|
|
259
|
+
allLabexams = concat(allLabexams, tempLabexams);
|
|
287
260
|
} else {
|
|
288
261
|
allLabexams.push(labexam);
|
|
289
262
|
}
|
|
@@ -350,24 +323,24 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
350
323
|
return getResources(DEFAULT_URL, {
|
|
351
324
|
'depid.equals': depid,
|
|
352
325
|
'type.equals': templateType,
|
|
353
|
-
'userid.equals': needUserIDTypes.indexOf(templateType) > -1 &&
|
|
326
|
+
'userid.equals': needUserIDTypes.indexOf(templateType) > -1 && get(user, 'basicInfo.id') ? get(user, 'basicInfo.id') : null,
|
|
354
327
|
size: 99999,
|
|
355
328
|
page: 0
|
|
356
329
|
});
|
|
357
330
|
case 30:
|
|
358
331
|
_result3 = _context2.sent;
|
|
359
332
|
templates = _transferTemplates(_result3); // 拆分为多个树
|
|
360
|
-
splitTemplates =
|
|
361
|
-
if (
|
|
333
|
+
splitTemplates = compact(map(templates, function (template) {
|
|
334
|
+
if (get(template, 'pid') === 0) {
|
|
362
335
|
return _objectSpread(_objectSpread({}, template), {}, {
|
|
363
336
|
children: []
|
|
364
337
|
});
|
|
365
338
|
}
|
|
366
339
|
}));
|
|
367
|
-
splitTemplatesMapping =
|
|
368
|
-
|
|
369
|
-
var templatePid =
|
|
370
|
-
if (
|
|
340
|
+
splitTemplatesMapping = keyBy(splitTemplates, 'id');
|
|
341
|
+
map(_result3, function (template) {
|
|
342
|
+
var templatePid = get(template, 'pid');
|
|
343
|
+
if (indexOf(keys(splitTemplatesMapping), String(templatePid)) > -1) {
|
|
371
344
|
splitTemplatesMapping[templatePid]['children'].push(template);
|
|
372
345
|
}
|
|
373
346
|
});
|
|
@@ -410,9 +383,9 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
410
383
|
_this$state = _this.state, templateType = _this$state.templateType, activeTemplate = _this$state.activeTemplate;
|
|
411
384
|
_this$props2 = _this.props, user = _this$props2.user, _this$props2$depid = _this$props2.depid, depid = _this$props2$depid === void 0 ? 1 : _this$props2$depid;
|
|
412
385
|
if (templateType === 2) {
|
|
413
|
-
|
|
386
|
+
set(data, 'userid', get(user, 'basicInfo.id'));
|
|
414
387
|
}
|
|
415
|
-
if (
|
|
388
|
+
if (isEmpty(activeTemplate)) {
|
|
416
389
|
_context3.next = 8;
|
|
417
390
|
break;
|
|
418
391
|
}
|
|
@@ -433,7 +406,7 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
433
406
|
editModalVisible: false,
|
|
434
407
|
activeTemplate: {}
|
|
435
408
|
});
|
|
436
|
-
|
|
409
|
+
message.success('提交模板成功');
|
|
437
410
|
_this.getTemplateList();
|
|
438
411
|
case 13:
|
|
439
412
|
case "end":
|
|
@@ -454,7 +427,7 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
454
427
|
case 0:
|
|
455
428
|
e.stopPropagation();
|
|
456
429
|
_context4.next = 3;
|
|
457
|
-
return getResourcesByID(DEFAULT_URL,
|
|
430
|
+
return getResourcesByID(DEFAULT_URL, get(template, 'id'));
|
|
458
431
|
case 3:
|
|
459
432
|
activeTemplate = _context4.sent;
|
|
460
433
|
_this.setState({
|
|
@@ -480,9 +453,9 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
480
453
|
case 0:
|
|
481
454
|
e.stopPropagation();
|
|
482
455
|
_context5.next = 3;
|
|
483
|
-
return deleteResourcesByID(DEFAULT_URL,
|
|
456
|
+
return deleteResourcesByID(DEFAULT_URL, get(template, 'id'));
|
|
484
457
|
case 3:
|
|
485
|
-
|
|
458
|
+
message.success('删除模板成功');
|
|
486
459
|
_this.getTemplateList();
|
|
487
460
|
case 5:
|
|
488
461
|
case "end":
|
|
@@ -516,19 +489,19 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
516
489
|
if (templateType === 3 || templateType === 4) {
|
|
517
490
|
treeData = allLabexams;
|
|
518
491
|
}
|
|
519
|
-
var treeDataMapping =
|
|
520
|
-
|
|
521
|
-
var item =
|
|
522
|
-
if (!
|
|
523
|
-
content += "".concat(
|
|
492
|
+
var treeDataMapping = keyBy(treeData, 'id');
|
|
493
|
+
map(selectedRowKeys, function (selectedKey) {
|
|
494
|
+
var item = get(treeDataMapping, selectedKey);
|
|
495
|
+
if (!isEmpty(item) && get(item, 'isLeaf')) {
|
|
496
|
+
content += "".concat(get(treeDataMapping, "".concat(selectedKey, ".val")), "\uFF1B");
|
|
524
497
|
}
|
|
525
498
|
});
|
|
526
499
|
if (templateType === 5) {
|
|
527
|
-
addList =
|
|
500
|
+
addList = filter(selectedRows, function (item) {
|
|
528
501
|
return !item.type;
|
|
529
502
|
});
|
|
530
|
-
if (
|
|
531
|
-
|
|
503
|
+
if (size(addList) > 0) {
|
|
504
|
+
map(addList, function (item) {
|
|
532
505
|
delete item.id;
|
|
533
506
|
});
|
|
534
507
|
}
|
|
@@ -556,12 +529,12 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
556
529
|
});
|
|
557
530
|
_defineProperty(_this, "transferTemplateData", function (data) {
|
|
558
531
|
var treeData = [];
|
|
559
|
-
|
|
532
|
+
map(data, function (item, index) {
|
|
560
533
|
if (item.date) {
|
|
561
534
|
item.title = "".concat(item.date, " ").concat(item.type);
|
|
562
535
|
item.key = index;
|
|
563
536
|
var diags = [];
|
|
564
|
-
if (
|
|
537
|
+
if (size(item.pds) > 0) {
|
|
565
538
|
diags = item.pds;
|
|
566
539
|
} else {
|
|
567
540
|
diags = item.ods;
|
|
@@ -571,7 +544,7 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
571
544
|
item.title = item.diagnosis;
|
|
572
545
|
item.key = String(item.id);
|
|
573
546
|
}
|
|
574
|
-
if (
|
|
547
|
+
if (isEmpty(item.children)) {
|
|
575
548
|
item.isLeaf = true;
|
|
576
549
|
} else {
|
|
577
550
|
item.isLeaf = false;
|
|
@@ -583,7 +556,7 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
583
556
|
_defineProperty(_this, "renderDiagnosisHistory", function () {
|
|
584
557
|
var diagnosisList = _this.state.diagnosisList;
|
|
585
558
|
var treeData = _this.transferTemplateData(diagnosisList);
|
|
586
|
-
return
|
|
559
|
+
return size(treeData) > 0 && /*#__PURE__*/React$1.createElement(Tree, {
|
|
587
560
|
checkable: true,
|
|
588
561
|
defaultExpandAll: true,
|
|
589
562
|
onCheck: _this.handleSelectTemplates,
|
|
@@ -600,46 +573,52 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
600
573
|
});
|
|
601
574
|
_defineProperty(_this, "renderTreeNode", function (templatesTree) {
|
|
602
575
|
var templateType = _this.state.templateType;
|
|
603
|
-
return
|
|
604
|
-
if (!
|
|
576
|
+
return map(templatesTree, function (template) {
|
|
577
|
+
if (!isEmpty(get(template, 'children')) && !isNil(get(template, 'children'))) {
|
|
605
578
|
return /*#__PURE__*/React$1.createElement(Tree.TreeNode, {
|
|
606
579
|
title: /*#__PURE__*/React$1.createElement("div", {
|
|
607
580
|
className: styles["template-list-item"]
|
|
608
|
-
}, /*#__PURE__*/React$1.createElement("div", null, "\xA0",
|
|
581
|
+
}, /*#__PURE__*/React$1.createElement("div", null, "\xA0", get(template, 'val'), "\xA0"), (templateType === 1 || templateType === 2) && (/*#__PURE__*/React$1.createElement("div", {
|
|
609
582
|
className: styles["template-list-item__actions"]
|
|
610
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
583
|
+
}, /*#__PURE__*/React$1.createElement(MyIcon, {
|
|
584
|
+
value: 'PlusCircleOutlined',
|
|
611
585
|
className: styles["template-list-item__actions-icon"],
|
|
612
586
|
onClick: _this.handleAddTemplate
|
|
613
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
587
|
+
}), /*#__PURE__*/React$1.createElement(MyIcon, {
|
|
588
|
+
value: 'EditOutlined',
|
|
614
589
|
className: styles["template-list-item__actions-icon"],
|
|
615
590
|
onClick: _this.handleEditTemplate(template)
|
|
616
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
591
|
+
}), /*#__PURE__*/React$1.createElement(Popconfirm, {
|
|
617
592
|
title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6A21\u677F\u5417\uFF1F",
|
|
618
593
|
onConfirm: _this.handleConfirmDelete(template)
|
|
619
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
594
|
+
}, /*#__PURE__*/React$1.createElement(MyIcon, {
|
|
595
|
+
value: 'DeleteOutlined',
|
|
620
596
|
className: styles["template-list-item__actions-icon"]
|
|
621
|
-
})))),
|
|
622
|
-
key:
|
|
623
|
-
}, _this.renderTreeNode(
|
|
597
|
+
}))))),
|
|
598
|
+
key: get(template, 'id')
|
|
599
|
+
}, _this.renderTreeNode(get(template, 'children')));
|
|
624
600
|
}
|
|
625
601
|
return /*#__PURE__*/React$1.createElement(Tree.TreeNode, {
|
|
626
602
|
title: /*#__PURE__*/React$1.createElement("div", {
|
|
627
603
|
className: styles["template-list-item"]
|
|
628
|
-
}, /*#__PURE__*/React$1.createElement("div", null,
|
|
604
|
+
}, /*#__PURE__*/React$1.createElement("div", null, get(template, 'val')), (templateType === 1 || templateType === 2) && (/*#__PURE__*/React$1.createElement("div", {
|
|
629
605
|
className: styles["template-list-item__actions"]
|
|
630
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
606
|
+
}, /*#__PURE__*/React$1.createElement(MyIcon, {
|
|
607
|
+
value: 'PlusCircleOutlined',
|
|
631
608
|
className: styles["template-list-item__actions-icon"],
|
|
632
609
|
onClick: _this.handleAddTemplate
|
|
633
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
610
|
+
}), /*#__PURE__*/React$1.createElement(MyIcon, {
|
|
611
|
+
value: 'EditOutlined',
|
|
634
612
|
className: styles["template-list-item__actions-icon"],
|
|
635
613
|
onClick: _this.handleEditTemplate(template)
|
|
636
|
-
}), /*#__PURE__*/React$1.createElement(
|
|
614
|
+
}), /*#__PURE__*/React$1.createElement(Popconfirm, {
|
|
637
615
|
title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u6A21\u677F\u5417\uFF1F",
|
|
638
616
|
onConfirm: _this.handleConfirmDelete(template)
|
|
639
|
-
}, /*#__PURE__*/React$1.createElement(
|
|
617
|
+
}, /*#__PURE__*/React$1.createElement(MyIcon, {
|
|
618
|
+
value: 'DeleteOutlined',
|
|
640
619
|
className: styles["template-list-item__actions-icon"]
|
|
641
|
-
})))),
|
|
642
|
-
key:
|
|
620
|
+
}))))),
|
|
621
|
+
key: get(template, 'id')
|
|
643
622
|
});
|
|
644
623
|
});
|
|
645
624
|
});
|
|
@@ -652,34 +631,34 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
652
631
|
splitTemplatesMapping = _this$state3.splitTemplatesMapping;
|
|
653
632
|
return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
|
|
654
633
|
className: styles["textarea-with-template__modal-nav"]
|
|
655
|
-
}, /*#__PURE__*/React$1.createElement("div", null,
|
|
656
|
-
return /*#__PURE__*/React$1.createElement(
|
|
634
|
+
}, /*#__PURE__*/React$1.createElement("div", null, map(MODAL_NAVS, function (nav, key) {
|
|
635
|
+
return /*#__PURE__*/React$1.createElement(Button, {
|
|
657
636
|
className: styles["textarea-with-template__modal-nav__items"],
|
|
658
637
|
type: templateType === nav.type ? 'primary' : 'default',
|
|
659
638
|
key: key,
|
|
660
639
|
onClick: _this.handleChangeTemplateType(nav)
|
|
661
640
|
}, nav.label);
|
|
662
|
-
})), (templateType === 1 || templateType === 2) && /*#__PURE__*/React$1.createElement(
|
|
641
|
+
})), (templateType === 1 || templateType === 2) && /*#__PURE__*/React$1.createElement(Button, {
|
|
663
642
|
onClick: _this.handleAddTemplate
|
|
664
|
-
}, "\u6DFB\u52A0\u6A21\u677F")), /*#__PURE__*/React$1.createElement(
|
|
643
|
+
}, "\u6DFB\u52A0\u6A21\u677F")), /*#__PURE__*/React$1.createElement(Row, {
|
|
665
644
|
className: styles["textarea-with-template__modal-body"]
|
|
666
|
-
}, (templateType === 1 || templateType === 2) && /*#__PURE__*/React$1.createElement(React$1.Fragment, null,
|
|
667
|
-
return /*#__PURE__*/React$1.createElement(
|
|
645
|
+
}, (templateType === 1 || templateType === 2) && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, map(splitTemplatesMapping, function (templateTree) {
|
|
646
|
+
return /*#__PURE__*/React$1.createElement(Col, {
|
|
668
647
|
span: 12
|
|
669
648
|
}, /*#__PURE__*/React$1.createElement(Tree, {
|
|
670
649
|
checkable: true,
|
|
671
650
|
defaultExpandAll: true,
|
|
672
651
|
onCheck: _this.handleSelectTemplates
|
|
673
652
|
}, _this.renderTreeNode([templateTree])));
|
|
674
|
-
})), (templateType === 3 || templateType === 4) && _this.renderLabexams(), templateType === 5 && _this.renderDiagnosisHistory()), editModalVisible && /*#__PURE__*/React$1.createElement(EditModal, {
|
|
653
|
+
}))), (templateType === 3 || templateType === 4) && _this.renderLabexams(), templateType === 5 && _this.renderDiagnosisHistory()), editModalVisible && (/*#__PURE__*/React$1.createElement(EditModal, {
|
|
675
654
|
templateType: templateType,
|
|
676
|
-
userid:
|
|
655
|
+
userid: get(_this.props, 'user.basicInfo.id'),
|
|
677
656
|
visible: editModalVisible,
|
|
678
657
|
data: activeTemplate,
|
|
679
658
|
depid: depid,
|
|
680
659
|
onCancel: _this.handleHideEditModal,
|
|
681
660
|
onSubmit: _this.handleSubmitEditModal
|
|
682
|
-
}));
|
|
661
|
+
})));
|
|
683
662
|
});
|
|
684
663
|
_this.state = {
|
|
685
664
|
result: [],
|
|
@@ -719,7 +698,7 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
719
698
|
}, {
|
|
720
699
|
key: "render",
|
|
721
700
|
value: function render() {
|
|
722
|
-
return /*#__PURE__*/React$1.createElement(
|
|
701
|
+
return /*#__PURE__*/React$1.createElement(Modal, _objectSpread(_objectSpread({}, this.props), {}, {
|
|
723
702
|
className: styles["textarea-with-template__modal"],
|
|
724
703
|
title: "\u6A21\u677F\u5BFC\u5165",
|
|
725
704
|
width: 1100,
|
|
@@ -729,5 +708,5 @@ var TemplateModal = /*#__PURE__*/function (_React$1$Component) {
|
|
|
729
708
|
}
|
|
730
709
|
}]);
|
|
731
710
|
}(React$1.Component);
|
|
732
|
-
|
|
733
|
-
|
|
711
|
+
var TemplateModal$1 = TemplateModal;
|
|
712
|
+
export { TemplateModal as T, TemplateModal$1 as a, styles as s };
|