@lm_fe/pages-fubao 0.1.201
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 +58 -0
- package/dist/a_chunks/.root.js +1644 -0
- package/dist/a_chunks/.root.js.map +1 -0
- package/dist/a_chunks/.root10.js +238 -0
- package/dist/a_chunks/.root10.js.map +1 -0
- package/dist/a_chunks/.root11.js +1719 -0
- package/dist/a_chunks/.root11.js.map +1 -0
- package/dist/a_chunks/.root12.js +45 -0
- package/dist/a_chunks/.root12.js.map +1 -0
- package/dist/a_chunks/.root13.js +2753 -0
- package/dist/a_chunks/.root13.js.map +1 -0
- package/dist/a_chunks/.root14.js +26 -0
- package/dist/a_chunks/.root14.js.map +1 -0
- package/dist/a_chunks/.root15.js +26 -0
- package/dist/a_chunks/.root15.js.map +1 -0
- package/dist/a_chunks/.root16.js +214 -0
- package/dist/a_chunks/.root16.js.map +1 -0
- package/dist/a_chunks/.root17.js +116 -0
- package/dist/a_chunks/.root17.js.map +1 -0
- package/dist/a_chunks/.root18.js +116 -0
- package/dist/a_chunks/.root18.js.map +1 -0
- package/dist/a_chunks/.root19.js +482 -0
- package/dist/a_chunks/.root19.js.map +1 -0
- package/dist/a_chunks/.root2.js +197 -0
- package/dist/a_chunks/.root2.js.map +1 -0
- package/dist/a_chunks/.root20.js +125 -0
- package/dist/a_chunks/.root20.js.map +1 -0
- package/dist/a_chunks/.root21.js +170 -0
- package/dist/a_chunks/.root21.js.map +1 -0
- package/dist/a_chunks/.root22.js +125 -0
- package/dist/a_chunks/.root22.js.map +1 -0
- package/dist/a_chunks/.root23.js +170 -0
- package/dist/a_chunks/.root23.js.map +1 -0
- package/dist/a_chunks/.root24.js +553 -0
- package/dist/a_chunks/.root24.js.map +1 -0
- package/dist/a_chunks/.root25.js +573 -0
- package/dist/a_chunks/.root25.js.map +1 -0
- package/dist/a_chunks/.root26.js +497 -0
- package/dist/a_chunks/.root26.js.map +1 -0
- package/dist/a_chunks/.root27.js +482 -0
- package/dist/a_chunks/.root27.js.map +1 -0
- package/dist/a_chunks/.root28.js +478 -0
- package/dist/a_chunks/.root28.js.map +1 -0
- package/dist/a_chunks/.root29.js +448 -0
- package/dist/a_chunks/.root29.js.map +1 -0
- package/dist/a_chunks/.root3.js +84 -0
- package/dist/a_chunks/.root3.js.map +1 -0
- package/dist/a_chunks/.root30.js +414 -0
- package/dist/a_chunks/.root30.js.map +1 -0
- package/dist/a_chunks/.root31.js +20 -0
- package/dist/a_chunks/.root31.js.map +1 -0
- package/dist/a_chunks/.root32.js +169 -0
- package/dist/a_chunks/.root32.js.map +1 -0
- package/dist/a_chunks/.root33.js +2305 -0
- package/dist/a_chunks/.root33.js.map +1 -0
- package/dist/a_chunks/.root34.js +70 -0
- package/dist/a_chunks/.root34.js.map +1 -0
- package/dist/a_chunks/.root35.js +281 -0
- package/dist/a_chunks/.root35.js.map +1 -0
- package/dist/a_chunks/.root36.js +26 -0
- package/dist/a_chunks/.root36.js.map +1 -0
- package/dist/a_chunks/.root37.js +1497 -0
- package/dist/a_chunks/.root37.js.map +1 -0
- package/dist/a_chunks/.root38.js +2956 -0
- package/dist/a_chunks/.root38.js.map +1 -0
- package/dist/a_chunks/.root39.js +312 -0
- package/dist/a_chunks/.root39.js.map +1 -0
- package/dist/a_chunks/.root4.js +84 -0
- package/dist/a_chunks/.root4.js.map +1 -0
- package/dist/a_chunks/.root40.js +9 -0
- package/dist/a_chunks/.root40.js.map +1 -0
- package/dist/a_chunks/.root41.js +312 -0
- package/dist/a_chunks/.root41.js.map +1 -0
- package/dist/a_chunks/.root42.js +26 -0
- package/dist/a_chunks/.root42.js.map +1 -0
- package/dist/a_chunks/.root43.js +1542 -0
- package/dist/a_chunks/.root43.js.map +1 -0
- package/dist/a_chunks/.root44.js +152 -0
- package/dist/a_chunks/.root44.js.map +1 -0
- package/dist/a_chunks/.root45.js +313 -0
- package/dist/a_chunks/.root45.js.map +1 -0
- package/dist/a_chunks/.root46.js +313 -0
- package/dist/a_chunks/.root46.js.map +1 -0
- package/dist/a_chunks/.root47.js +51 -0
- package/dist/a_chunks/.root47.js.map +1 -0
- package/dist/a_chunks/.root48.js +91 -0
- package/dist/a_chunks/.root48.js.map +1 -0
- package/dist/a_chunks/.root49.js +109 -0
- package/dist/a_chunks/.root49.js.map +1 -0
- package/dist/a_chunks/.root5.js +11 -0
- package/dist/a_chunks/.root5.js.map +1 -0
- package/dist/a_chunks/.root50.js +263 -0
- package/dist/a_chunks/.root50.js.map +1 -0
- package/dist/a_chunks/.root51.js +232 -0
- package/dist/a_chunks/.root51.js.map +1 -0
- package/dist/a_chunks/.root52.js +3129 -0
- package/dist/a_chunks/.root52.js.map +1 -0
- package/dist/a_chunks/.root53.js +138 -0
- package/dist/a_chunks/.root53.js.map +1 -0
- package/dist/a_chunks/.root54.js +181 -0
- package/dist/a_chunks/.root54.js.map +1 -0
- package/dist/a_chunks/.root55.js +488 -0
- package/dist/a_chunks/.root55.js.map +1 -0
- package/dist/a_chunks/.root56.js +920 -0
- package/dist/a_chunks/.root56.js.map +1 -0
- package/dist/a_chunks/.root57.js +504 -0
- package/dist/a_chunks/.root57.js.map +1 -0
- package/dist/a_chunks/.root58.js +775 -0
- package/dist/a_chunks/.root58.js.map +1 -0
- package/dist/a_chunks/.root59.js +120 -0
- package/dist/a_chunks/.root59.js.map +1 -0
- package/dist/a_chunks/.root6.js +205 -0
- package/dist/a_chunks/.root6.js.map +1 -0
- package/dist/a_chunks/.root60.js +46 -0
- package/dist/a_chunks/.root60.js.map +1 -0
- package/dist/a_chunks/.root61.js +189 -0
- package/dist/a_chunks/.root61.js.map +1 -0
- package/dist/a_chunks/.root62.js +287 -0
- package/dist/a_chunks/.root62.js.map +1 -0
- package/dist/a_chunks/.root63.js +29 -0
- package/dist/a_chunks/.root63.js.map +1 -0
- package/dist/a_chunks/.root64.js +20 -0
- package/dist/a_chunks/.root64.js.map +1 -0
- package/dist/a_chunks/.root65.js +248 -0
- package/dist/a_chunks/.root65.js.map +1 -0
- package/dist/a_chunks/.root7.js +58 -0
- package/dist/a_chunks/.root7.js.map +1 -0
- package/dist/a_chunks/.root8.js +19 -0
- package/dist/a_chunks/.root8.js.map +1 -0
- package/dist/a_chunks/.root9.js +276 -0
- package/dist/a_chunks/.root9.js.map +1 -0
- package/dist/a_chunks/Form.js +11 -0
- package/dist/a_chunks/Form.js.map +1 -0
- package/dist/a_chunks/ModalForm.js +1648 -0
- package/dist/a_chunks/ModalForm.js.map +1 -0
- package/dist/a_chunks/api.js +1530 -0
- package/dist/a_chunks/api.js.map +1 -0
- package/dist/a_chunks/common.js +141 -0
- package/dist/a_chunks/common.js.map +1 -0
- package/dist/a_chunks/config.js +2146 -0
- package/dist/a_chunks/config.js.map +1 -0
- package/dist/a_chunks/extends.js +11 -0
- package/dist/a_chunks/extends.js.map +1 -0
- package/dist/a_chunks/form_config.js +825 -0
- package/dist/a_chunks/form_config.js.map +1 -0
- package/dist/a_chunks/index.js +646 -0
- package/dist/a_chunks/index.js.map +1 -0
- package/dist/a_chunks/index2.js +66 -0
- package/dist/a_chunks/index2.js.map +1 -0
- package/dist/a_chunks/index3.js +1170 -0
- package/dist/a_chunks/index3.js.map +1 -0
- package/dist/a_chunks/index4.js +1048 -0
- package/dist/a_chunks/index4.js.map +1 -0
- package/dist/a_chunks/style-inject.es.js +26 -0
- package/dist/a_chunks/style-inject.es.js.map +1 -0
- package/dist/a_chunks/tslib.es6.js +178 -0
- package/dist/a_chunks/tslib.es6.js.map +1 -0
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js +215 -0
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +165 -0
- package/dist/index.js.map +1 -0
- package/dist/pages/fubao/.StupidModal/GlobalModal.d.ts +8 -0
- package/dist/pages/fubao/.StupidModal/index.d.ts +3 -0
- package/dist/pages/fubao/.StupidModal/meta.d.ts +1 -0
- package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/Form0.d.ts +9 -0
- package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/Form1.d.ts +4 -0
- package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/StepModal.d.ts +21 -0
- package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/StupidRadioGroup.d.ts +10 -0
- package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/constant.d.ts +16 -0
- package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/index.d.ts +8 -0
- package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/informedConsentTable/index.d.ts +11 -0
- package/dist/pages/fubao/.StupidModal/modals/family_planning/BookingModal/service.d.ts +38 -0
- package/dist/pages/fubao/.stupid_model/ModelService.d.ts +1 -0
- package/dist/pages/fubao/.stupid_model/enums/index.d.ts +15 -0
- package/dist/pages/fubao/.stupid_model/index.d.ts +2 -0
- package/dist/pages/fubao/.stupid_model/models/EarlyPregnancyCheckSurgeryType.d.ts +170 -0
- package/dist/pages/fubao/.stupid_model/models/EarlyPregnancySurgicalTemplate.d.ts +24 -0
- package/dist/pages/fubao/.stupid_model/models/FamilyPlaningSchedulingDetails.d.ts +59 -0
- package/dist/pages/fubao/.stupid_model/models/FamilyPlanningDefaultSetting.d.ts +39 -0
- package/dist/pages/fubao/.stupid_model/models/Group.d.ts +11 -0
- package/dist/pages/fubao/.stupid_model/models/Permission.d.ts +10 -0
- package/dist/pages/fubao/.stupid_model/models/PreoperativeExamination.d.ts +28 -0
- package/dist/pages/fubao/.stupid_model/models/TemplateTrees.d.ts +19 -0
- package/dist/pages/fubao/.stupid_model/models/User.d.ts +22 -0
- package/dist/pages/fubao/.stupid_model/models/index.d.ts +10 -0
- package/dist/pages/fubao/.stupid_model/models/workQuestions.d.ts +49 -0
- package/dist/pages/fubao/data-report/breast-cancer/index.d.ts +2 -0
- package/dist/pages/fubao/data-report/cervical-cancer/index.d.ts +2 -0
- package/dist/pages/fubao/family-planning/booking-management/.Left/Item.d.ts +12 -0
- package/dist/pages/fubao/family-planning/booking-management/.Left/index.d.ts +13 -0
- package/dist/pages/fubao/family-planning/booking-management/.Right/DateSelect.d.ts +6 -0
- package/dist/pages/fubao/family-planning/booking-management/.Right/MonthSelect.d.ts +6 -0
- package/dist/pages/fubao/family-planning/booking-management/.Right/WeekSelect.d.ts +6 -0
- package/dist/pages/fubao/family-planning/booking-management/.Right/index.d.ts +22 -0
- package/dist/pages/fubao/family-planning/booking-management/DD.d.ts +43 -0
- package/dist/pages/fubao/family-planning/booking-management/Inner.d.ts +2 -0
- package/dist/pages/fubao/family-planning/booking-management/components/Overlay.d.ts +8 -0
- package/dist/pages/fubao/family-planning/booking-management/components/drag-item.d.ts +9 -0
- package/dist/pages/fubao/family-planning/booking-management/components/drop-continer.d.ts +14 -0
- package/dist/pages/fubao/family-planning/booking-management/constant.d.ts +28 -0
- package/dist/pages/fubao/family-planning/booking-management/index.d.ts +3 -0
- package/dist/pages/fubao/family-planning/booking-management/type.d.ts +18 -0
- package/dist/pages/fubao/family-planning/booking-management/util.d.ts +30 -0
- package/dist/pages/fubao/family-planning/curettage-statistics/components/Query.d.ts +47 -0
- package/dist/pages/fubao/family-planning/curettage-statistics/components/Table.d.ts +3 -0
- package/dist/pages/fubao/family-planning/curettage-statistics/config/form.d.ts +87 -0
- package/dist/pages/fubao/family-planning/curettage-statistics/config/table.d.ts +29 -0
- package/dist/pages/fubao/family-planning/curettage-statistics/index.d.ts +60 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/AppointModal.d.ts +110 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/adapter.d.ts +58 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Common/components/Form.d.ts +6 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Common/form_config.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Common/index.d.ts +26 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/DrugAbortion/components/Form.d.ts +5 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/DrugAbortion/index.d.ts +15 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/PathologicalBiopsy/components/Form.d.ts +6 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/PathologicalBiopsy/form_config.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/PathologicalBiopsy/index.d.ts +26 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Screening/components/Form.d.ts +5 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Screening/form_config.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/Screening/index.d.ts +29 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/adapter.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/config.d.ts +26 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FirstVisitv2/index.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUp/index.d.ts +5 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUpRecord/components/postpartum.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUpRecord/config/adapter.d.ts +39 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUpRecord/config/index.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/FollowUpRecord/index.d.ts +30 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/ImageReport/index.d.ts +37 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/ImageReport/intro-steps.d.ts +7 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InformedConsent/index.d.ts +26 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InformedConsent/intro-steps.d.ts +6 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InformedConsent/method.d.ts +4 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InspectionReport/index.d.ts +15 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/InspectionReport/method.d.ts +1 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/LaboratoryReport/index.d.ts +26 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/LaboratoryReport/method.d.ts +27 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/components/SecondVisitBlood.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/components/SecondVisitNormal.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/components/SecondVisitReduction.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/config/adapter.d.ts +97 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/config/index.d.ts +17 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SecondVisit/index.d.ts +31 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Curettage/components/Form.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Curettage/index.d.ts +34 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/HysteroscopicSurgery/components/Form.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/HysteroscopicSurgery/index.d.ts +34 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Place/components/Form.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Place/index.d.ts +34 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Pressure/components/Form.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Pressure/index.d.ts +34 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/TakeOut/components/Form.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/TakeOut/index.d.ts +34 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Uterosalpingography/components/Form.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Uterosalpingography/index.d.ts +34 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Uterus/components/Form.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Uterus/index.d.ts +34 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Vaginoscopy/components/Form.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Vaginoscopy/index.d.ts +34 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/VulvarCystStoma/components/Form.d.ts +12 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/VulvarCystStoma/index.d.ts +34 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/adapter.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/config.d.ts +37 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/index.d.ts +19 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurveyReport/components/ExaminationItemCurve/Inner.d.ts +47 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurveyReport/components/ExaminationItemCurve/index.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurveyReport/index.d.ts +32 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurveyReport/intro-steps.d.ts +6 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/VideoReport/index.d.ts +10 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/VideoReport/method.d.ts +1 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/index copy.d.ts +13 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/index.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/methods.d.ts +5 -0
- package/dist/pages/fubao/family-planning/file-management/doctor-desk2/index.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/index.d.ts +2 -0
- package/dist/pages/fubao/family-planning/file-management/list/components/Query.d.ts +35 -0
- package/dist/pages/fubao/family-planning/file-management/list/components/Table.d.ts +3 -0
- package/dist/pages/fubao/family-planning/file-management/list/config/form.d.ts +63 -0
- package/dist/pages/fubao/family-planning/file-management/list/config/table.d.ts +22 -0
- package/dist/pages/fubao/family-planning/file-management/list/index.d.ts +57 -0
- package/dist/pages/fubao/family-planning/file-management/nurse-desk/components/Form.d.ts +11 -0
- package/dist/pages/fubao/family-planning/file-management/nurse-desk/index.d.ts +15 -0
- package/dist/pages/fubao/family-planning/surgery-management/components/Query.d.ts +47 -0
- package/dist/pages/fubao/family-planning/surgery-management/components/Table.d.ts +3 -0
- package/dist/pages/fubao/family-planning/surgery-management/config/form.d.ts +87 -0
- package/dist/pages/fubao/family-planning/surgery-management/config/table.d.ts +41 -0
- package/dist/pages/fubao/family-planning/surgery-management/index.d.ts +75 -0
- package/dist/pages/fubao/family-planning/surgery-scheduling/adapter.d.ts +9 -0
- package/dist/pages/fubao/family-planning/surgery-scheduling/apis/api.d.ts +1 -0
- package/dist/pages/fubao/family-planning/surgery-scheduling/components/Calendar/index.d.ts +18 -0
- package/dist/pages/fubao/family-planning/surgery-scheduling/components/GlobalSettingModal/index.d.ts +26 -0
- package/dist/pages/fubao/family-planning/surgery-scheduling/components/SettingModal/adapter.d.ts +8 -0
- package/dist/pages/fubao/family-planning/surgery-scheduling/components/SettingModal/index.d.ts +28 -0
- package/dist/pages/fubao/family-planning/surgery-scheduling/components/SingleCheckBox/index.d.ts +11 -0
- package/dist/pages/fubao/family-planning/surgery-scheduling/index.d.ts +23 -0
- package/dist/pages/fubao/family-planning/tracing-management/index.d.ts +2 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/SingleCheckBox/index.d.ts +11 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/components/ModalForm.d.ts +43 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/components/Query.d.ts +49 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/components/Table.d.ts +3 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/config/form.d.ts +87 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/config/table.d.ts +24 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table1/index.d.ts +47 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/components/ModalForm.d.ts +10 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/components/Query.d.ts +49 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/components/Table.d.ts +3 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/config/form.d.ts +87 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/config/table.d.ts +25 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table2/index.d.ts +58 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/components/ModalForm.d.ts +42 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/components/Query.d.ts +49 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/components/Table.d.ts +3 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/config/form.d.ts +85 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/config/table.d.ts +38 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/components/table3/index.d.ts +55 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/config/form.d.ts +87 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/config/table.d.ts +15 -0
- package/dist/pages/fubao/family-planning/tracing-management/list/index.d.ts +15 -0
- package/dist/pages/fubao/folic-acid/.nurse-desk/components/Form.d.ts +28 -0
- package/dist/pages/fubao/folic-acid/.nurse-desk/components/tableColumn.d.ts +4 -0
- package/dist/pages/fubao/folic-acid/.nurse-desk/form_config.d.ts +2 -0
- package/dist/pages/fubao/folic-acid/.nurse-desk/index.d.ts +14 -0
- package/dist/pages/fubao/folic-acid/file-management/add/index.d.ts +2 -0
- package/dist/pages/fubao/folic-acid/file-management/edit/index.d.ts +2 -0
- package/dist/pages/fubao/folic-acid/file-management/list/components/Query.d.ts +27 -0
- package/dist/pages/fubao/folic-acid/file-management/list/components/Table.d.ts +3 -0
- package/dist/pages/fubao/folic-acid/file-management/list/config/form.d.ts +37 -0
- package/dist/pages/fubao/folic-acid/file-management/list/config/table.d.ts +2 -0
- package/dist/pages/fubao/folic-acid/file-management/list/index copy.d.ts +36 -0
- package/dist/pages/fubao/folic-acid/file-management/list/index.d.ts +3 -0
- package/dist/pages/fubao/follow-up/positive/premarital/const.d.ts +1 -0
- package/dist/pages/fubao/follow-up/positive/premarital/index.d.ts +2 -0
- package/dist/pages/fubao/follow-up/positive/progestation/const.d.ts +1 -0
- package/dist/pages/fubao/follow-up/positive/progestation/index.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/components/Query.d.ts +43 -0
- package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/components/Table.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/config/form.d.ts +73 -0
- package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/config/table.d.ts +9 -0
- package/dist/pages/fubao/gynecological-diseases/adolescent-management/list/index.d.ts +33 -0
- package/dist/pages/fubao/gynecological-diseases/breast/edit/components/Form.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/breast/edit/config/adapter.d.ts +5 -0
- package/dist/pages/fubao/gynecological-diseases/breast/edit/index.d.ts +15 -0
- package/dist/pages/fubao/gynecological-diseases/breast/list/components/Query.d.ts +22 -0
- package/dist/pages/fubao/gynecological-diseases/breast/list/components/Table.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/breast/list/config/adpater.d.ts +5 -0
- package/dist/pages/fubao/gynecological-diseases/breast/list/config/form.d.ts +37 -0
- package/dist/pages/fubao/gynecological-diseases/breast/list/config/table.d.ts +11 -0
- package/dist/pages/fubao/gynecological-diseases/breast/list/index.d.ts +40 -0
- package/dist/pages/fubao/gynecological-diseases/cervical/edit/components/Form.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/cervical/edit/config/adapter.d.ts +5 -0
- package/dist/pages/fubao/gynecological-diseases/cervical/edit/index.d.ts +15 -0
- package/dist/pages/fubao/gynecological-diseases/cervical/list/components/Query.d.ts +22 -0
- package/dist/pages/fubao/gynecological-diseases/cervical/list/components/Table.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/cervical/list/config/adpater.d.ts +5 -0
- package/dist/pages/fubao/gynecological-diseases/cervical/list/config/form.d.ts +37 -0
- package/dist/pages/fubao/gynecological-diseases/cervical/list/config/table.d.ts +11 -0
- package/dist/pages/fubao/gynecological-diseases/cervical/list/index.d.ts +40 -0
- package/dist/pages/fubao/gynecological-diseases/cervical-cancer-report/list/config/table.d.ts +36 -0
- package/dist/pages/fubao/gynecological-diseases/cervical-cancer-report/list/index.d.ts +14 -0
- package/dist/pages/fubao/gynecological-diseases/hpv-report/list/config/table.d.ts +36 -0
- package/dist/pages/fubao/gynecological-diseases/hpv-report/list/index.d.ts +14 -0
- package/dist/pages/fubao/gynecological-diseases/mammary-cancer-report/list/config/table.d.ts +32 -0
- package/dist/pages/fubao/gynecological-diseases/mammary-cancer-report/list/index.d.ts +14 -0
- package/dist/pages/fubao/gynecological-diseases/menopause-management/list/components/Query.d.ts +43 -0
- package/dist/pages/fubao/gynecological-diseases/menopause-management/list/components/Table.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/menopause-management/list/config/form.d.ts +73 -0
- package/dist/pages/fubao/gynecological-diseases/menopause-management/list/config/table.d.ts +9 -0
- package/dist/pages/fubao/gynecological-diseases/menopause-management/list/index.d.ts +33 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/components/ModalForm.d.ts +15 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/components/Query.d.ts +42 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/components/SingleCheckBox/index.d.ts +11 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/components/Table.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/config/form.d.ts +71 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/config/table.d.ts +21 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/form_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/index copy.d.ts +58 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/index.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/components/ModalForm.d.ts +15 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/components/Query.d.ts +42 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/components/SingleCheckBox/index.d.ts +11 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/components/Table.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/config/form.d.ts +71 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/config/table.d.ts +21 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/form_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/index copy.d.ts +58 -0
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/index.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/public-exam/AndrologyExam.d.ts +18 -0
- package/dist/pages/fubao/gynecological-diseases/public-exam/DiseaseHistory.d.ts +18 -0
- package/dist/pages/fubao/gynecological-diseases/public-exam/GynecologicalExam.d.ts +18 -0
- package/dist/pages/fubao/gynecological-diseases/public-exam/PhysicalExam.d.ts +18 -0
- package/dist/pages/fubao/gynecological-diseases/public-exam/PremaritalExam.d.ts +18 -0
- package/dist/pages/fubao/gynecological-diseases/public-exam/PremaritalGuidance.d.ts +18 -0
- package/dist/pages/fubao/gynecological-diseases/public-exam/adapter.d.ts +5 -0
- package/dist/pages/fubao/gynecological-diseases/regular-screening/list/components/Query.d.ts +34 -0
- package/dist/pages/fubao/gynecological-diseases/regular-screening/list/components/Table.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/regular-screening/list/config/form.d.ts +57 -0
- package/dist/pages/fubao/gynecological-diseases/regular-screening/list/config/table.d.ts +16 -0
- package/dist/pages/fubao/gynecological-diseases/regular-screening/list/index.d.ts +40 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/./344/270/244/347/231/214/351/232/217/350/256/277/form_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/./344/270/244/347/231/214/351/232/217/350/256/277/index.d.ts +5 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/add/index.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/components/Query.d.ts +32 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/components/Table.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/config/form.d.ts +57 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/config/table.d.ts +22 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/components/Form.d.ts +18 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form/form_config.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form_config/Form.d.ts +8 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form_config/common.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form_config/default.d.ts +4 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/form_config//345/273/272/347/223/257.d.ts +4 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/index copy.d.ts +15 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/index.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/edit/utils.d.ts +6 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/PathologicalBiopsy/components/Form.d.ts +4 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/PathologicalBiopsy/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/PathologicalBiopsy/form/form_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/PathologicalBiopsy/index.d.ts +26 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/components/Form.d.ts +12 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form/form_config.d.ts +4 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//344/275/223/346/240/274/346/243/200/346/237/245_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//345/246/207/347/247/221/346/243/200/346/237/245_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//345/273/272/347/223/257.d.ts +4 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//346/243/200/351/252/214/346/243/200/346/237/245_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//347/227/205/345/217/262/346/203/205/345/206/265_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form//350/257/212/346/226/255/345/217/212/346/214/207/345/257/274_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/form_config.d.ts +1 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/index copy.d.ts +26 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/Screening/index.d.ts +6 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/config.d.ts +18 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/CervicalCarcinoma/index.d.ts +8 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/FollowUp/index.d.ts +5 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/ImageReport/index.d.ts +37 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/ImageReport/intro-steps.d.ts +7 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Mammography/components/Form.d.ts +17 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Mammography/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Mammography/index.d.ts +29 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/PathologicalBiopsy/components/Form.d.ts +4 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/PathologicalBiopsy/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/PathologicalBiopsy/index.d.ts +26 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/components/Form.d.ts +17 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form/form_config.d.ts +4 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//344/271/263/346/210/277/350/247/246/346/243/200_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//345/273/272/347/223/257.d.ts +6 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//347/227/205/345/217/262/346/203/205/345/206/265_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//350/257/212/346/226/255/345/217/212/346/214/207/345/257/274_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form//350/276/205/345/212/251/346/243/200/346/237/245_config.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/form_config.d.ts +1 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/index copy.d.ts +30 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/Screening/index.d.ts +6 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/config.d.ts +26 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/index copy.d.ts +21 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/MammaryCancer/index.d.ts +3 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/SurveyReport/components/ExaminationItemCurve/Inner.d.ts +47 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/SurveyReport/components/ExaminationItemCurve/index.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/SurveyReport/index.d.ts +32 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/components/SurveyReport/intro-steps.d.ts +6 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/index copy.d.ts +11 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/exam/index.d.ts +2 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/followup/index copy.d.ts +5 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/followup/index.d.ts +5 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/index copy.d.ts +57 -0
- package/dist/pages/fubao/gynecological-diseases/two-cancers/index.d.ts +2 -0
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/BasicInfo/index.d.ts +9 -0
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/GuidanceEvaluation/form_config.d.ts +4 -0
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/GuidanceEvaluation/index.d.ts +9 -0
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/Inspection/inspection-exam/index.d.ts +9 -0
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/MedicalHistory/form_config.d.ts +4 -0
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/MedicalHistory/index.d.ts +6 -0
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/PhysicalExamination/index.d.ts +9 -0
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/SecondSex/index.d.ts +9 -0
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/add/index.d.ts +2 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/components/Query.d.ts +38 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/components/Table.d.ts +3 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/config/form.d.ts +69 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/config/table.d.ts +12 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/components/Form.d.ts +14 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/form_config.d.ts +3 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index.d.ts +18 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/index.d.ts +2 -0
- package/dist/pages/fubao/pre-pregnancy-care/husband/husband-exam/index.d.ts +17 -0
- package/dist/pages/fubao/pre-pregnancy-care/wife/wife-exam/index.d.ts +17 -0
- package/dist/pages/fubao/premarital-care/.public-exam/BasicInfo/form_config.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/.public-exam/BasicInfo/index.d.ts +6 -0
- package/dist/pages/fubao/premarital-care/.public-exam/GuidanceEvaluation/form_config.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/.public-exam/GuidanceEvaluation/index.d.ts +9 -0
- package/dist/pages/fubao/premarital-care/.public-exam/Inspection/form_config.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/.public-exam/Inspection/inspection-exam/index.d.ts +9 -0
- package/dist/pages/fubao/premarital-care/.public-exam/MedicalHistory/form_config.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/.public-exam/MedicalHistory/index.d.ts +6 -0
- package/dist/pages/fubao/premarital-care/.public-exam/PhysicalExamination/form_config.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/.public-exam/PhysicalExamination/index.d.ts +9 -0
- package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/form_config.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/index.d.ts +9 -0
- package/dist/pages/fubao/premarital-care/.public-exam/config/adapter.d.ts +2 -0
- package/dist/pages/fubao/premarital-care/file-management/add/index.d.ts +2 -0
- package/dist/pages/fubao/premarital-care/file-management/components/Query.d.ts +38 -0
- package/dist/pages/fubao/premarital-care/file-management/components/Table.d.ts +3 -0
- package/dist/pages/fubao/premarital-care/file-management/config/form.d.ts +69 -0
- package/dist/pages/fubao/premarital-care/file-management/config/search.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/file-management/config/table.d.ts +3 -0
- package/dist/pages/fubao/premarital-care/file-management/edit/components/Form.d.ts +14 -0
- package/dist/pages/fubao/premarital-care/file-management/edit/form_config.d.ts +3 -0
- package/dist/pages/fubao/premarital-care/file-management/edit/index copy.d.ts +2 -0
- package/dist/pages/fubao/premarital-care/file-management/edit/index.d.ts +17 -0
- package/dist/pages/fubao/premarital-care/file-management/index.d.ts +2 -0
- package/dist/pages/fubao/premarital-care/husband-v2/husband-exam/index.d.ts +17 -0
- package/dist/pages/fubao/premarital-care/wife-v2/wife-exam/index.d.ts +17 -0
- package/dist/pages/fubao/report-entry/patients/form_config.d.ts +4 -0
- package/dist/pages/fubao/report-entry/patients/index.d.ts +2 -0
- package/dist/pages/fubao/report-entry/patients/types.d.ts +14 -0
- package/dist/pages/fubao/report-entry/reports/Inner.d.ts +3 -0
- package/dist/pages/fubao/report-entry/reports/Template.d.ts +9 -0
- package/dist/pages/fubao/report-entry/reports/form_config.d.ts +4 -0
- package/dist/pages/fubao/report-entry/reports/index.d.ts +6 -0
- package/dist/pages/fubao/report-entry/reports/template_form_config.d.ts +3 -0
- package/dist/pages/fubao/report-entry/reports/types.d.ts +46 -0
- package/dist/pages/fubao/statistic/breast-cancer/index.d.ts +2 -0
- package/dist/pages/fubao/statistic/cervical-cancer/index.d.ts +2 -0
- package/dist/pages/fubao/statistic/premarital-checkup/./345/251/232/346/243/200/351/232/217/350/256/277/form_config.d.ts +2 -0
- package/dist/pages/fubao/statistic/premarital-checkup/./345/251/232/346/243/200/351/232/217/350/256/277/index.d.ts +5 -0
- package/dist/pages/fubao/statistic/premarital-checkup/form_config.d.ts +2 -0
- package/dist/pages/fubao/statistic/premarital-checkup/index.d.ts +2 -0
- package/dist/pages/fubao/statistic/progestation-checkup/./345/255/225/346/243/200/351/232/217/350/256/277/form_config.d.ts +2 -0
- package/dist/pages/fubao/statistic/progestation-checkup/./345/255/225/346/243/200/351/232/217/350/256/277/index.d.ts +5 -0
- package/dist/pages/fubao/statistic/progestation-checkup/index.d.ts +2 -0
- package/dist/routes/index.d.ts +53 -0
- package/dist/routes/meta.d.ts +55 -0
- package/package.json +47 -0
|
@@ -0,0 +1,1530 @@
|
|
|
1
|
+
import 'antd/es/message/style';
|
|
2
|
+
import _message from 'antd/es/message';
|
|
3
|
+
import _isEmpty from 'lodash/isEmpty';
|
|
4
|
+
import _set from 'lodash/set';
|
|
5
|
+
import _isEqual from 'lodash/isEqual';
|
|
6
|
+
import _get from 'lodash/get';
|
|
7
|
+
import { b as __extends, _ as __awaiter, a as __generator, c as __assign } from './tslib.es6.js';
|
|
8
|
+
import 'antd/es/popconfirm/style';
|
|
9
|
+
import _Popconfirm from 'antd/es/popconfirm';
|
|
10
|
+
import 'antd/es/button/style';
|
|
11
|
+
import _Button from 'antd/es/button';
|
|
12
|
+
import 'antd/es/space/style';
|
|
13
|
+
import _Space from 'antd/es/space';
|
|
14
|
+
import { BaseEditPanelForm, formDescriptionsWithoutSectionApi, BaseEditPanel } from '@lm_fe/components_m';
|
|
15
|
+
import { PrinterOutlined } from '@ant-design/icons';
|
|
16
|
+
import _join from 'lodash/join';
|
|
17
|
+
import _dropRight from 'lodash/dropRight';
|
|
18
|
+
import _isNil from 'lodash/isNil';
|
|
19
|
+
import _map from 'lodash/map';
|
|
20
|
+
import { safe_json_parse, formatTime, formatDateTime, safe_json_stringify, fubaoRequest } from '@lm_fe/utils';
|
|
21
|
+
import dayjs from 'dayjs';
|
|
22
|
+
import { SMchc_FormDescriptions } from '@lm_fe/service';
|
|
23
|
+
import { mchcModal__ } from '@lm_fe/pages';
|
|
24
|
+
var AdmissionForm$4 = function (_super) {
|
|
25
|
+
__extends(AdmissionForm, _super);
|
|
26
|
+
function AdmissionForm() {
|
|
27
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
28
|
+
_this.state = {
|
|
29
|
+
importModalVisible: false,
|
|
30
|
+
changeFlag: false
|
|
31
|
+
};
|
|
32
|
+
_this.confirm = function (e) {
|
|
33
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
34
|
+
var form, _a, onFinish, data;
|
|
35
|
+
return __generator(this, function (_b) {
|
|
36
|
+
form = this.form;
|
|
37
|
+
_a = this.props, onFinish = _a.onFinish, data = _a.data;
|
|
38
|
+
form && form.validateFields().then(function () {
|
|
39
|
+
var params = __assign(__assign({}, form.getFieldsValue()), {
|
|
40
|
+
id: _get(data, 'id'),
|
|
41
|
+
isPrint: true
|
|
42
|
+
});
|
|
43
|
+
onFinish && onFinish(params);
|
|
44
|
+
})["catch"](function (error) {
|
|
45
|
+
_message.error(_get(error, 'errorFields.0.errors.0'));
|
|
46
|
+
form.scrollToField(_get(error, 'errorFields.0.name.0'));
|
|
47
|
+
});
|
|
48
|
+
return [2];
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
_this.cancel = function (e) {
|
|
53
|
+
console.log(e);
|
|
54
|
+
};
|
|
55
|
+
_this.handleFieldsChange = function (changedFields, allFields) {
|
|
56
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
57
|
+
var changeFlag, data, changeValue, changeName, oldValue;
|
|
58
|
+
return __generator(this, function (_a) {
|
|
59
|
+
changeFlag = this.state.changeFlag;
|
|
60
|
+
if (!changeFlag) {
|
|
61
|
+
data = this.props.data;
|
|
62
|
+
changeValue = _get(changedFields, '0.value');
|
|
63
|
+
changeName = _get(changedFields, '0.name');
|
|
64
|
+
oldValue = _get(data, changeName);
|
|
65
|
+
if (!_isEqual(changeValue, oldValue)) {
|
|
66
|
+
this.setState({
|
|
67
|
+
changeFlag: true
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return [2];
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
_this.renderBtns = function () {
|
|
76
|
+
return /*#__PURE__*/React.createElement(_Space, {
|
|
77
|
+
size: "middle"
|
|
78
|
+
}, _this.renderSubmitBtn(), _this.renderPrintBtn());
|
|
79
|
+
};
|
|
80
|
+
_this.renderPrintBtn = function () {
|
|
81
|
+
var changeFlag = _this.state.changeFlag;
|
|
82
|
+
var _a = _this.props,
|
|
83
|
+
printId = _a.printId,
|
|
84
|
+
extraEvents = _a.extraEvents;
|
|
85
|
+
return changeFlag ? /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
86
|
+
title: "\u5F53\u524D\u5B58\u5728\u65B0\u6570\u636E\uFF0C\u662F\u5426\u4FDD\u5B58\u5E76\u6253\u5370\uFF1F",
|
|
87
|
+
onConfirm: _this.confirm,
|
|
88
|
+
onCancel: _this.cancel,
|
|
89
|
+
okText: "\u786E\u5B9A",
|
|
90
|
+
cancelText: "\u53D6\u6D88"
|
|
91
|
+
}, /*#__PURE__*/React.createElement(_Button, {
|
|
92
|
+
type: "primary",
|
|
93
|
+
size: "large",
|
|
94
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null)
|
|
95
|
+
}, "\u6253\u5370")) : /*#__PURE__*/React.createElement(_Button, {
|
|
96
|
+
type: "primary",
|
|
97
|
+
size: "large",
|
|
98
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null),
|
|
99
|
+
disabled: !printId,
|
|
100
|
+
onClick: function onClick() {
|
|
101
|
+
extraEvents.handlePrint();
|
|
102
|
+
}
|
|
103
|
+
}, "\u6253\u5370");
|
|
104
|
+
};
|
|
105
|
+
return _this;
|
|
106
|
+
}
|
|
107
|
+
return AdmissionForm;
|
|
108
|
+
}(BaseEditPanelForm);
|
|
109
|
+
var valueToApi = function valueToApi(values, nativeFormDescriptions) {
|
|
110
|
+
var result = {};
|
|
111
|
+
_map(nativeFormDescriptions, function (item, key) {
|
|
112
|
+
var inputType = item.inputType;
|
|
113
|
+
var itemVaule = _get(values, key);
|
|
114
|
+
switch (inputType) {
|
|
115
|
+
case 'radio_input':
|
|
116
|
+
var k = key.split('.').pop();
|
|
117
|
+
_set(result, key, _get(itemVaule, "".concat(k)));
|
|
118
|
+
_set(result, "".concat(key, "Note"), _get(itemVaule, "".concat(k, "Note")));
|
|
119
|
+
break;
|
|
120
|
+
case 'checkbox_with_single_input':
|
|
121
|
+
_set(result, key, _get(itemVaule, 'key'));
|
|
122
|
+
_set(result, "".concat(key, "Note"), _get(itemVaule, 'keyNote'));
|
|
123
|
+
break;
|
|
124
|
+
case 'single_date_picker':
|
|
125
|
+
_set(result, key, formatDateTime(itemVaule));
|
|
126
|
+
break;
|
|
127
|
+
case 'single_time_picker':
|
|
128
|
+
_set(result, key, formatTime(itemVaule));
|
|
129
|
+
break;
|
|
130
|
+
case 'dictionary_select':
|
|
131
|
+
_set(result, key, _get(itemVaule, 'key'));
|
|
132
|
+
_set(result, "".concat(key, "Note"), _get(itemVaule, 'keyNote'));
|
|
133
|
+
break;
|
|
134
|
+
case 'checkbox_with_input':
|
|
135
|
+
var valueJson = safe_json_parse(itemVaule);
|
|
136
|
+
_set(result, key, _get(valueJson, 'checkedValues.0'));
|
|
137
|
+
_set(result, "".concat(key, "Note"), _get(valueJson, ['withInputValues', "".concat(_get(valueJson, 'checkedValues.0')), 'value', '0']));
|
|
138
|
+
break;
|
|
139
|
+
case 'knowledge_base':
|
|
140
|
+
_set(result, key, _get(itemVaule, 'type'));
|
|
141
|
+
_set(result, 'postoperationMissionsContent', _get(itemVaule, 'content'));
|
|
142
|
+
_set(result, 'preoperativeMissionsKnowledgeId', _get(itemVaule, 'id'));
|
|
143
|
+
break;
|
|
144
|
+
case 'pressure':
|
|
145
|
+
var pressure_arr = key.split('.');
|
|
146
|
+
var pressure_key = void 0;
|
|
147
|
+
if (pressure_arr.length > 1) {
|
|
148
|
+
pressure_arr = _dropRight(pressure_arr, 1);
|
|
149
|
+
pressure_key = _join(pressure_arr, '.');
|
|
150
|
+
_set(result, "".concat(pressure_key, ".preoperativeSystolic"), _get(itemVaule, 'systolic'));
|
|
151
|
+
_set(result, "".concat(pressure_key, ".preoperativeDiastolic"), _get(itemVaule, 'diastolic'));
|
|
152
|
+
} else {
|
|
153
|
+
_set(result, 'preoperativeSystolic', _get(itemVaule, 'systolic'));
|
|
154
|
+
_set(result, 'preoperativeDiastolic', _get(itemVaule, 'diastolic'));
|
|
155
|
+
}
|
|
156
|
+
break;
|
|
157
|
+
default:
|
|
158
|
+
if (key === 'postoperationMissionsContent' && _get(result, 'postoperationMissionsContent')) {
|
|
159
|
+
_set(result, key, _get(result, 'postoperationMissionsContent'));
|
|
160
|
+
} else {
|
|
161
|
+
_set(result, key, itemVaule);
|
|
162
|
+
}
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
return result;
|
|
167
|
+
};
|
|
168
|
+
var valueToForm = function valueToForm(values, nativeFormDescriptions) {
|
|
169
|
+
_map(nativeFormDescriptions, function (item, key) {
|
|
170
|
+
var _a;
|
|
171
|
+
var inputType = item.inputType;
|
|
172
|
+
var itemVaule = _get(values, key);
|
|
173
|
+
switch (inputType) {
|
|
174
|
+
case 'checkbox_with_single_input':
|
|
175
|
+
if (!_isNil(itemVaule)) {
|
|
176
|
+
_set(values, "".concat(key, ".key"), itemVaule);
|
|
177
|
+
_set(values, "".concat(key, ".keyNote"), _get(values, "".concat(key, "Note")));
|
|
178
|
+
}
|
|
179
|
+
break;
|
|
180
|
+
case 'dictionary_select':
|
|
181
|
+
if (!_isNil(itemVaule)) {
|
|
182
|
+
_set(values, "".concat(key, ".key"), itemVaule);
|
|
183
|
+
_set(values, "".concat(key, ".keyNote"), _get(values, "".concat(key, "Note")));
|
|
184
|
+
}
|
|
185
|
+
break;
|
|
186
|
+
case 'checkbox_with_input':
|
|
187
|
+
if (!_isNil(itemVaule)) {
|
|
188
|
+
var checkBoxValue = {
|
|
189
|
+
checkedValues: [itemVaule],
|
|
190
|
+
withInputValues: (_a = {}, _a[itemVaule] = {
|
|
191
|
+
key: itemVaule,
|
|
192
|
+
value: {
|
|
193
|
+
'0': _get(values, "".concat(key, "Note"))
|
|
194
|
+
}
|
|
195
|
+
}, _a)
|
|
196
|
+
};
|
|
197
|
+
_set(values, key, safe_json_stringify(checkBoxValue));
|
|
198
|
+
}
|
|
199
|
+
break;
|
|
200
|
+
case 'knowledge_base':
|
|
201
|
+
if (!_isNil(itemVaule)) {
|
|
202
|
+
_set(values, "".concat(key, ".type"), itemVaule);
|
|
203
|
+
_set(values, "".concat(key, ".content"), _get(values, 'postoperationMissionsContent'));
|
|
204
|
+
}
|
|
205
|
+
break;
|
|
206
|
+
case 'pressure':
|
|
207
|
+
if (!_isNil(itemVaule)) {
|
|
208
|
+
var pressure_arr = key.split('.');
|
|
209
|
+
var pressure_key = void 0;
|
|
210
|
+
if (pressure_arr.length > 1) {
|
|
211
|
+
pressure_arr = _dropRight(pressure_arr, 1);
|
|
212
|
+
pressure_key = _join(pressure_arr, '.');
|
|
213
|
+
_set(values, "".concat(key, ".systolic"), itemVaule);
|
|
214
|
+
_set(values, "".concat(key, ".diastolic"), _get(values, "".concat(pressure_key, ".preoperativeDiastolic")));
|
|
215
|
+
} else {
|
|
216
|
+
_set(values, "".concat(key, ".systolic"), itemVaule);
|
|
217
|
+
_set(values, "".concat(key, ".diastolic"), _get(values, "preoperativeDiastolic"));
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
break;
|
|
221
|
+
default:
|
|
222
|
+
if (!_isNil(itemVaule)) {
|
|
223
|
+
_set(values, key, itemVaule);
|
|
224
|
+
}
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
});
|
|
228
|
+
return values;
|
|
229
|
+
};
|
|
230
|
+
var AdmissionPanel$4 = function (_super) {
|
|
231
|
+
__extends(AdmissionPanel, _super);
|
|
232
|
+
function AdmissionPanel() {
|
|
233
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
234
|
+
_this.state = {
|
|
235
|
+
data: {},
|
|
236
|
+
formDescriptionsWithoutSection: {},
|
|
237
|
+
formDescriptions: [],
|
|
238
|
+
formKey: undefined,
|
|
239
|
+
spinning: true,
|
|
240
|
+
activeItem: {},
|
|
241
|
+
activeTemplate: '',
|
|
242
|
+
printId: ''
|
|
243
|
+
};
|
|
244
|
+
_this.extraEvents = {
|
|
245
|
+
handlePrint: function handlePrint() {
|
|
246
|
+
_this.handlePrint();
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
_this.handleInit = function () {
|
|
250
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
251
|
+
var _a, activeItem, formDescriptionsWithoutSection, _b, basicInfo, values, data, formKey;
|
|
252
|
+
return __generator(this, function (_c) {
|
|
253
|
+
switch (_c.label) {
|
|
254
|
+
case 0:
|
|
255
|
+
_a = this.state, activeItem = _a.activeItem, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection;
|
|
256
|
+
_b = this.props, basicInfo = _b.basicInfo, _b.basicData;
|
|
257
|
+
values = {};
|
|
258
|
+
if (!_get(activeItem, 'id')) return [3, 2];
|
|
259
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType?id.equals=".concat(_get(activeItem, 'id'), "&operationName.equals=").concat(_get(activeItem, 'operationName'), "&deleteFlag.equals=0"))];
|
|
260
|
+
case 1:
|
|
261
|
+
values = _c.sent().data;
|
|
262
|
+
_c.label = 2;
|
|
263
|
+
case 2:
|
|
264
|
+
values = _get(values, 'data.0');
|
|
265
|
+
data = values ? valueToForm(values, formDescriptionsWithoutSection) : {};
|
|
266
|
+
formKey = _get(data, 'id') || Math.random();
|
|
267
|
+
if (!_get(data, 'operationName')) _set(data, 'operationName', '刮宫术');
|
|
268
|
+
if (!_get(data, 'surgicalDate')) _set(data, 'surgicalDate', dayjs(new Date()));
|
|
269
|
+
if (!_get(data, 'appointmentPeople')) _set(data, 'appointmentPeople', _get(basicInfo, 'firstName'));
|
|
270
|
+
if (!_get(data, 'surgicalDoctor')) _set(data, 'surgicalDoctor', _get(basicInfo, 'firstName'));
|
|
271
|
+
this.setState({
|
|
272
|
+
data: data,
|
|
273
|
+
formKey: formKey,
|
|
274
|
+
printId: _get(data, 'id')
|
|
275
|
+
});
|
|
276
|
+
return [2];
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
});
|
|
280
|
+
};
|
|
281
|
+
_this.handleSubmit = function (values) {
|
|
282
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
283
|
+
var _a, onRefresh, id, baseUrl, _b, data, formDescriptionsWithoutSection, preoperativeExamination, params, res_1, res_2;
|
|
284
|
+
var _this = this;
|
|
285
|
+
return __generator(this, function (_c) {
|
|
286
|
+
switch (_c.label) {
|
|
287
|
+
case 0:
|
|
288
|
+
_a = this.props, onRefresh = _a.onRefresh, id = _a.id, baseUrl = _a.baseUrl;
|
|
289
|
+
_b = this.state, data = _b.data, formDescriptionsWithoutSection = _b.formDescriptionsWithoutSection;
|
|
290
|
+
preoperativeExamination = _get(data, 'preoperativeExamination');
|
|
291
|
+
params = valueToApi(values, formDescriptionsWithoutSection);
|
|
292
|
+
_set(params, 'preoperativeExamination.id', _get(preoperativeExamination, 'id'));
|
|
293
|
+
params = __assign(__assign(__assign({}, data), params), {
|
|
294
|
+
familyPlanningId: Number(id),
|
|
295
|
+
progressStatus: 4
|
|
296
|
+
});
|
|
297
|
+
if (!_get(params, 'operationTimeEnd')) {
|
|
298
|
+
_message.error('手术起止时间是必填项');
|
|
299
|
+
return [2];
|
|
300
|
+
}
|
|
301
|
+
if (!_get(values, 'id')) return [3, 2];
|
|
302
|
+
return [4, fubaoRequest.put('/api/family/planning/updateEarlyPregnancyCheckSurgicalType', params)];
|
|
303
|
+
case 1:
|
|
304
|
+
res_1 = _c.sent().data;
|
|
305
|
+
if (_get(res_1, 'code') === 1) {
|
|
306
|
+
_message.success(_get(res_1, 'msg'), 0.5).then(function () {
|
|
307
|
+
if (_get(values, 'isPrint')) {
|
|
308
|
+
_this.handlePrint(_get(res_1, 'data.id'));
|
|
309
|
+
}
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
return [3, 4];
|
|
313
|
+
case 2:
|
|
314
|
+
params = __assign(__assign({}, params), {
|
|
315
|
+
familyPlanningId: Number(id),
|
|
316
|
+
progressStatus: 4
|
|
317
|
+
});
|
|
318
|
+
return [4, fubaoRequest.post(baseUrl, params)];
|
|
319
|
+
case 3:
|
|
320
|
+
res_2 = _c.sent().data;
|
|
321
|
+
if (_get(res_2, 'code') === 1) {
|
|
322
|
+
_message.success(_get(res_2, 'msg'), 0.5).then(function () {
|
|
323
|
+
if (_get(values, 'isPrint')) {
|
|
324
|
+
_this.handlePrint(_get(res_2, 'data.id'));
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
_c.label = 4;
|
|
329
|
+
case 4:
|
|
330
|
+
onRefresh && onRefresh();
|
|
331
|
+
return [2];
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
});
|
|
335
|
+
};
|
|
336
|
+
_this.renderOtherModal = function () {
|
|
337
|
+
return null;
|
|
338
|
+
};
|
|
339
|
+
return _this;
|
|
340
|
+
}
|
|
341
|
+
AdmissionPanel.prototype.handlePrint = function (id) {
|
|
342
|
+
if (id === void 0) {
|
|
343
|
+
id = this.state.printId;
|
|
344
|
+
}
|
|
345
|
+
var _a = this.state;
|
|
346
|
+
_a.printId;
|
|
347
|
+
var activeTemplate = _a.activeTemplate;
|
|
348
|
+
mchcModal__.open('print_modal', {
|
|
349
|
+
modal_data: {
|
|
350
|
+
request: fubaoRequest,
|
|
351
|
+
requestData: {
|
|
352
|
+
url: '/api/family/planning/casePdfPreview',
|
|
353
|
+
resource: activeTemplate,
|
|
354
|
+
template: '',
|
|
355
|
+
version: '',
|
|
356
|
+
note: '',
|
|
357
|
+
id: id
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
});
|
|
361
|
+
};
|
|
362
|
+
AdmissionPanel.getDerivedStateFromProps = function (nextProps, prevState) {
|
|
363
|
+
var activeItem = nextProps.activeItem,
|
|
364
|
+
activeTemplate = nextProps.activeTemplate;
|
|
365
|
+
if (!_isEqual(activeItem, prevState.activeItem)) {
|
|
366
|
+
return {
|
|
367
|
+
activeItem: activeItem,
|
|
368
|
+
activeTemplate: activeTemplate
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
return null;
|
|
372
|
+
};
|
|
373
|
+
AdmissionPanel.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
374
|
+
if (!_isEmpty(_get(prevState, 'activeItem')) && !_isEqual(_get(prevState, 'activeItem'), _get(this.state, 'activeItem'))) {
|
|
375
|
+
this.handleInit();
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
AdmissionPanel.prototype.componentDidMount = function () {
|
|
379
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
380
|
+
var moduleName, formDescriptions, formDescriptionsWithoutSection, formKey;
|
|
381
|
+
return __generator(this, function (_a) {
|
|
382
|
+
switch (_a.label) {
|
|
383
|
+
case 0:
|
|
384
|
+
moduleName = this.props.moduleName;
|
|
385
|
+
return [4, SMchc_FormDescriptions.getModuleParseCache(moduleName)];
|
|
386
|
+
case 1:
|
|
387
|
+
formDescriptions = _a.sent();
|
|
388
|
+
formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
|
|
389
|
+
formKey = Math.random();
|
|
390
|
+
this.setState({
|
|
391
|
+
spinning: false
|
|
392
|
+
});
|
|
393
|
+
this.setState({
|
|
394
|
+
formDescriptions: formDescriptions,
|
|
395
|
+
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
396
|
+
formKey: formKey
|
|
397
|
+
});
|
|
398
|
+
this.handleInit();
|
|
399
|
+
return [2];
|
|
400
|
+
}
|
|
401
|
+
});
|
|
402
|
+
});
|
|
403
|
+
};
|
|
404
|
+
AdmissionPanel.defaultProps = {
|
|
405
|
+
baseUrl: '/api/family/planning/addEarlyPregnancyCheckSurgicalType',
|
|
406
|
+
request: fubaoRequest,
|
|
407
|
+
moduleName: 'family-planning-detail-surgical',
|
|
408
|
+
title: '刮宫术',
|
|
409
|
+
Form: AdmissionForm$4
|
|
410
|
+
};
|
|
411
|
+
return AdmissionPanel;
|
|
412
|
+
}(BaseEditPanel);
|
|
413
|
+
var AdmissionForm$3 = function (_super) {
|
|
414
|
+
__extends(AdmissionForm, _super);
|
|
415
|
+
function AdmissionForm() {
|
|
416
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
417
|
+
_this.state = {
|
|
418
|
+
importModalVisible: false,
|
|
419
|
+
changeFlag: false
|
|
420
|
+
};
|
|
421
|
+
_this.confirm = function (e) {
|
|
422
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
423
|
+
var form, _a, onFinish, data;
|
|
424
|
+
return __generator(this, function (_b) {
|
|
425
|
+
form = this.form;
|
|
426
|
+
_a = this.props, onFinish = _a.onFinish, data = _a.data;
|
|
427
|
+
form && form.validateFields().then(function () {
|
|
428
|
+
var params = __assign(__assign({}, form.getFieldsValue()), {
|
|
429
|
+
id: _get(data, 'id'),
|
|
430
|
+
isPrint: true
|
|
431
|
+
});
|
|
432
|
+
onFinish && onFinish(params);
|
|
433
|
+
})["catch"](function (error) {
|
|
434
|
+
_message.error(_get(error, 'errorFields.0.errors.0'));
|
|
435
|
+
form.scrollToField(_get(error, 'errorFields.0.name.0'));
|
|
436
|
+
});
|
|
437
|
+
return [2];
|
|
438
|
+
});
|
|
439
|
+
});
|
|
440
|
+
};
|
|
441
|
+
_this.cancel = function (e) {
|
|
442
|
+
console.log(e);
|
|
443
|
+
};
|
|
444
|
+
_this.handleFieldsChange = function (changedFields, allFields) {
|
|
445
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
446
|
+
var changeFlag, data, changeValue, changeName, oldValue;
|
|
447
|
+
return __generator(this, function (_a) {
|
|
448
|
+
changeFlag = this.state.changeFlag;
|
|
449
|
+
if (!changeFlag) {
|
|
450
|
+
data = this.props.data;
|
|
451
|
+
changeValue = _get(changedFields, '0.value');
|
|
452
|
+
changeName = _get(changedFields, '0.name');
|
|
453
|
+
oldValue = _get(data, changeName);
|
|
454
|
+
if (!_isEqual(changeValue, oldValue)) {
|
|
455
|
+
this.setState({
|
|
456
|
+
changeFlag: true
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
return [2];
|
|
461
|
+
});
|
|
462
|
+
});
|
|
463
|
+
};
|
|
464
|
+
_this.renderBtns = function () {
|
|
465
|
+
return /*#__PURE__*/React.createElement(_Space, {
|
|
466
|
+
size: "middle"
|
|
467
|
+
}, _this.renderSubmitBtn(), _this.renderPrintBtn());
|
|
468
|
+
};
|
|
469
|
+
_this.renderPrintBtn = function () {
|
|
470
|
+
var changeFlag = _this.state.changeFlag;
|
|
471
|
+
var _a = _this.props,
|
|
472
|
+
printId = _a.printId,
|
|
473
|
+
extraEvents = _a.extraEvents;
|
|
474
|
+
return changeFlag ? /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
475
|
+
title: "\u5F53\u524D\u5B58\u5728\u65B0\u6570\u636E\uFF0C\u662F\u5426\u4FDD\u5B58\u5E76\u6253\u5370\uFF1F",
|
|
476
|
+
onConfirm: _this.confirm,
|
|
477
|
+
onCancel: _this.cancel,
|
|
478
|
+
okText: "\u786E\u5B9A",
|
|
479
|
+
cancelText: "\u53D6\u6D88"
|
|
480
|
+
}, /*#__PURE__*/React.createElement(_Button, {
|
|
481
|
+
type: "primary",
|
|
482
|
+
size: "large",
|
|
483
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null)
|
|
484
|
+
}, "\u6253\u5370")) : /*#__PURE__*/React.createElement(_Button, {
|
|
485
|
+
type: "primary",
|
|
486
|
+
size: "large",
|
|
487
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null),
|
|
488
|
+
disabled: !printId,
|
|
489
|
+
onClick: function onClick() {
|
|
490
|
+
extraEvents.handlePrint();
|
|
491
|
+
}
|
|
492
|
+
}, "\u6253\u5370");
|
|
493
|
+
};
|
|
494
|
+
return _this;
|
|
495
|
+
}
|
|
496
|
+
return AdmissionForm;
|
|
497
|
+
}(BaseEditPanelForm);
|
|
498
|
+
var AdmissionPanel$3 = function (_super) {
|
|
499
|
+
__extends(AdmissionPanel, _super);
|
|
500
|
+
function AdmissionPanel() {
|
|
501
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
502
|
+
_this.state = {
|
|
503
|
+
data: {},
|
|
504
|
+
formDescriptionsWithoutSection: {},
|
|
505
|
+
formDescriptions: [],
|
|
506
|
+
formKey: undefined,
|
|
507
|
+
spinning: true,
|
|
508
|
+
activeItem: {},
|
|
509
|
+
activeTemplate: '',
|
|
510
|
+
printId: ''
|
|
511
|
+
};
|
|
512
|
+
_this.extraEvents = {
|
|
513
|
+
handlePrint: function handlePrint() {
|
|
514
|
+
_this._handlePrint();
|
|
515
|
+
}
|
|
516
|
+
};
|
|
517
|
+
_this.handleInit = function () {
|
|
518
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
519
|
+
var _a, activeItem, formDescriptionsWithoutSection, _b, basicInfo, values, data, formKey;
|
|
520
|
+
return __generator(this, function (_c) {
|
|
521
|
+
switch (_c.label) {
|
|
522
|
+
case 0:
|
|
523
|
+
_a = this.state, activeItem = _a.activeItem, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection;
|
|
524
|
+
_b = this.props, basicInfo = _b.basicInfo, _b.basicData;
|
|
525
|
+
values = {};
|
|
526
|
+
if (!_get(activeItem, 'id')) return [3, 2];
|
|
527
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType?id.equals=".concat(_get(activeItem, 'id'), "&operationName.equals=").concat(_get(activeItem, 'operationName'), "&deleteFlag.equals=0"))];
|
|
528
|
+
case 1:
|
|
529
|
+
values = _c.sent().data;
|
|
530
|
+
_c.label = 2;
|
|
531
|
+
case 2:
|
|
532
|
+
values = _get(values, 'data.0');
|
|
533
|
+
data = values ? valueToForm(values, formDescriptionsWithoutSection) : {};
|
|
534
|
+
formKey = _get(data, 'id') || Math.random();
|
|
535
|
+
if (!_get(data, 'operationName')) _set(data, 'operationName', '宫内避孕器放置术');
|
|
536
|
+
if (!_get(data, 'surgicalDate')) _set(data, 'surgicalDate', dayjs(new Date()));
|
|
537
|
+
if (!_get(data, 'appointmentPeople')) _set(data, 'appointmentPeople', _get(basicInfo, 'firstName'));
|
|
538
|
+
if (!_get(data, 'surgicalDoctor')) _set(data, 'surgicalDoctor', _get(basicInfo, 'firstName'));
|
|
539
|
+
this.setState({
|
|
540
|
+
data: data,
|
|
541
|
+
formKey: formKey,
|
|
542
|
+
printId: _get(data, 'id')
|
|
543
|
+
});
|
|
544
|
+
return [2];
|
|
545
|
+
}
|
|
546
|
+
});
|
|
547
|
+
});
|
|
548
|
+
};
|
|
549
|
+
_this.handleSubmit = function (values) {
|
|
550
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
551
|
+
var _a, onRefresh, id, baseUrl, _b, data, formDescriptionsWithoutSection, preoperativeExamination, params, res_1, res_2;
|
|
552
|
+
var _this = this;
|
|
553
|
+
return __generator(this, function (_c) {
|
|
554
|
+
switch (_c.label) {
|
|
555
|
+
case 0:
|
|
556
|
+
_a = this.props, onRefresh = _a.onRefresh, id = _a.id, baseUrl = _a.baseUrl;
|
|
557
|
+
_b = this.state, data = _b.data, formDescriptionsWithoutSection = _b.formDescriptionsWithoutSection;
|
|
558
|
+
preoperativeExamination = _get(data, 'preoperativeExamination');
|
|
559
|
+
params = valueToApi(values, formDescriptionsWithoutSection);
|
|
560
|
+
_set(params, 'preoperativeExamination.id', _get(preoperativeExamination, 'id'));
|
|
561
|
+
params = __assign(__assign(__assign({}, data), params), {
|
|
562
|
+
familyPlanningId: Number(id),
|
|
563
|
+
progressStatus: 4
|
|
564
|
+
});
|
|
565
|
+
if (!_get(params, 'operationTimeEnd')) {
|
|
566
|
+
_message.error('手术起止时间是必填项');
|
|
567
|
+
return [2];
|
|
568
|
+
}
|
|
569
|
+
if (!_get(values, 'id')) return [3, 2];
|
|
570
|
+
return [4, fubaoRequest.put('/api/family/planning/updateEarlyPregnancyCheckSurgicalType', params)];
|
|
571
|
+
case 1:
|
|
572
|
+
res_1 = _c.sent().data;
|
|
573
|
+
if (_get(res_1, 'code') === 1) {
|
|
574
|
+
_message.success(_get(res_1, 'msg'), 0.5).then(function () {
|
|
575
|
+
if (_get(values, 'isPrint')) {
|
|
576
|
+
_this._handlePrint(_get(res_1, 'data.id'));
|
|
577
|
+
}
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
return [3, 4];
|
|
581
|
+
case 2:
|
|
582
|
+
params = __assign(__assign({}, params), {
|
|
583
|
+
familyPlanningId: Number(id),
|
|
584
|
+
progressStatus: 4
|
|
585
|
+
});
|
|
586
|
+
return [4, fubaoRequest.post(baseUrl, params)];
|
|
587
|
+
case 3:
|
|
588
|
+
res_2 = _c.sent().data;
|
|
589
|
+
if (_get(res_2, 'code') === 1) {
|
|
590
|
+
_message.success(_get(res_2, 'msg'), 0.5).then(function () {
|
|
591
|
+
if (_get(values, 'isPrint')) {
|
|
592
|
+
_this._handlePrint(_get(res_2, 'data.id'));
|
|
593
|
+
}
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
_c.label = 4;
|
|
597
|
+
case 4:
|
|
598
|
+
onRefresh && onRefresh();
|
|
599
|
+
return [2];
|
|
600
|
+
}
|
|
601
|
+
});
|
|
602
|
+
});
|
|
603
|
+
};
|
|
604
|
+
_this.renderOtherModal = function () {
|
|
605
|
+
return null;
|
|
606
|
+
};
|
|
607
|
+
return _this;
|
|
608
|
+
}
|
|
609
|
+
AdmissionPanel.prototype._handlePrint = function (printId) {
|
|
610
|
+
if (printId === void 0) {
|
|
611
|
+
printId = this.state.printId;
|
|
612
|
+
}
|
|
613
|
+
var activeTemplate = this.state.activeTemplate;
|
|
614
|
+
mchcModal__.open('print_modal', {
|
|
615
|
+
modal_data: {
|
|
616
|
+
request: fubaoRequest,
|
|
617
|
+
requestData: {
|
|
618
|
+
url: "/api/family/planning/casePdfPreview",
|
|
619
|
+
resource: activeTemplate,
|
|
620
|
+
template: '',
|
|
621
|
+
version: '',
|
|
622
|
+
note: '',
|
|
623
|
+
id: printId
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
});
|
|
627
|
+
};
|
|
628
|
+
AdmissionPanel.getDerivedStateFromProps = function (nextProps, prevState) {
|
|
629
|
+
var activeItem = nextProps.activeItem,
|
|
630
|
+
activeTemplate = nextProps.activeTemplate;
|
|
631
|
+
if (!_isEqual(activeItem, prevState.activeItem)) {
|
|
632
|
+
return {
|
|
633
|
+
activeItem: activeItem,
|
|
634
|
+
activeTemplate: activeTemplate
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
return null;
|
|
638
|
+
};
|
|
639
|
+
AdmissionPanel.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
640
|
+
if (!_isEmpty(_get(prevState, 'activeItem')) && !_isEqual(_get(prevState, 'activeItem'), _get(this.state, 'activeItem'))) {
|
|
641
|
+
this.handleInit();
|
|
642
|
+
}
|
|
643
|
+
};
|
|
644
|
+
AdmissionPanel.prototype.componentDidMount = function () {
|
|
645
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
646
|
+
var moduleName, formDescriptions, formDescriptionsWithoutSection, formKey;
|
|
647
|
+
return __generator(this, function (_a) {
|
|
648
|
+
switch (_a.label) {
|
|
649
|
+
case 0:
|
|
650
|
+
moduleName = this.props.moduleName;
|
|
651
|
+
return [4, SMchc_FormDescriptions.getModuleParseCache(moduleName)];
|
|
652
|
+
case 1:
|
|
653
|
+
formDescriptions = _a.sent();
|
|
654
|
+
formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
|
|
655
|
+
formKey = Math.random();
|
|
656
|
+
this.setState({
|
|
657
|
+
spinning: false
|
|
658
|
+
});
|
|
659
|
+
this.setState({
|
|
660
|
+
formDescriptions: formDescriptions,
|
|
661
|
+
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
662
|
+
formKey: formKey
|
|
663
|
+
});
|
|
664
|
+
this.handleInit();
|
|
665
|
+
return [2];
|
|
666
|
+
}
|
|
667
|
+
});
|
|
668
|
+
});
|
|
669
|
+
};
|
|
670
|
+
AdmissionPanel.defaultProps = {
|
|
671
|
+
baseUrl: '/api/family/planning/addEarlyPregnancyCheckSurgicalType',
|
|
672
|
+
request: fubaoRequest,
|
|
673
|
+
moduleName: 'family-planning-detail-place',
|
|
674
|
+
title: '宫内避孕器放置术',
|
|
675
|
+
Form: AdmissionForm$3
|
|
676
|
+
};
|
|
677
|
+
return AdmissionPanel;
|
|
678
|
+
}(BaseEditPanel);
|
|
679
|
+
var AdmissionForm$2 = function (_super) {
|
|
680
|
+
__extends(AdmissionForm, _super);
|
|
681
|
+
function AdmissionForm() {
|
|
682
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
683
|
+
_this.state = {
|
|
684
|
+
importModalVisible: false,
|
|
685
|
+
changeFlag: false
|
|
686
|
+
};
|
|
687
|
+
_this.confirm = function (e) {
|
|
688
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
689
|
+
var form, _a, onFinish, data;
|
|
690
|
+
return __generator(this, function (_b) {
|
|
691
|
+
form = this.form;
|
|
692
|
+
_a = this.props, onFinish = _a.onFinish, data = _a.data;
|
|
693
|
+
form && form.validateFields().then(function () {
|
|
694
|
+
var params = __assign(__assign({}, form.getFieldsValue()), {
|
|
695
|
+
id: _get(data, 'id'),
|
|
696
|
+
isPrint: true
|
|
697
|
+
});
|
|
698
|
+
onFinish && onFinish(params);
|
|
699
|
+
})["catch"](function (error) {
|
|
700
|
+
_message.error(_get(error, 'errorFields.0.errors.0'));
|
|
701
|
+
form.scrollToField(_get(error, 'errorFields.0.name.0'));
|
|
702
|
+
});
|
|
703
|
+
return [2];
|
|
704
|
+
});
|
|
705
|
+
});
|
|
706
|
+
};
|
|
707
|
+
_this.cancel = function (e) {
|
|
708
|
+
console.log(e);
|
|
709
|
+
};
|
|
710
|
+
_this.handleFieldsChange = function (changedFields, allFields) {
|
|
711
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
712
|
+
var changeFlag, data, changeValue, changeName, oldValue;
|
|
713
|
+
return __generator(this, function (_a) {
|
|
714
|
+
changeFlag = this.state.changeFlag;
|
|
715
|
+
if (!changeFlag) {
|
|
716
|
+
data = this.props.data;
|
|
717
|
+
changeValue = _get(changedFields, '0.value');
|
|
718
|
+
changeName = _get(changedFields, '0.name');
|
|
719
|
+
oldValue = _get(data, changeName);
|
|
720
|
+
if (!_isEqual(changeValue, oldValue)) {
|
|
721
|
+
this.setState({
|
|
722
|
+
changeFlag: true
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
return [2];
|
|
727
|
+
});
|
|
728
|
+
});
|
|
729
|
+
};
|
|
730
|
+
_this.renderBtns = function () {
|
|
731
|
+
return /*#__PURE__*/React.createElement(_Space, {
|
|
732
|
+
size: "middle"
|
|
733
|
+
}, _this.renderSubmitBtn(), _this.renderPrintBtn());
|
|
734
|
+
};
|
|
735
|
+
_this.renderPrintBtn = function () {
|
|
736
|
+
var changeFlag = _this.state.changeFlag;
|
|
737
|
+
var _a = _this.props,
|
|
738
|
+
printId = _a.printId,
|
|
739
|
+
extraEvents = _a.extraEvents;
|
|
740
|
+
return changeFlag ? /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
741
|
+
title: "\u5F53\u524D\u5B58\u5728\u65B0\u6570\u636E\uFF0C\u662F\u5426\u4FDD\u5B58\u5E76\u6253\u5370\uFF1F",
|
|
742
|
+
onConfirm: _this.confirm,
|
|
743
|
+
onCancel: _this.cancel,
|
|
744
|
+
okText: "\u786E\u5B9A",
|
|
745
|
+
cancelText: "\u53D6\u6D88"
|
|
746
|
+
}, /*#__PURE__*/React.createElement(_Button, {
|
|
747
|
+
type: "primary",
|
|
748
|
+
size: "large",
|
|
749
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null)
|
|
750
|
+
}, "\u6253\u5370")) : /*#__PURE__*/React.createElement(_Button, {
|
|
751
|
+
type: "primary",
|
|
752
|
+
size: "large",
|
|
753
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null),
|
|
754
|
+
disabled: !printId,
|
|
755
|
+
onClick: function onClick() {
|
|
756
|
+
extraEvents.handlePrint();
|
|
757
|
+
}
|
|
758
|
+
}, "\u6253\u5370");
|
|
759
|
+
};
|
|
760
|
+
return _this;
|
|
761
|
+
}
|
|
762
|
+
return AdmissionForm;
|
|
763
|
+
}(BaseEditPanelForm);
|
|
764
|
+
var AdmissionPanel$2 = function (_super) {
|
|
765
|
+
__extends(AdmissionPanel, _super);
|
|
766
|
+
function AdmissionPanel() {
|
|
767
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
768
|
+
_this.state = {
|
|
769
|
+
data: {},
|
|
770
|
+
formDescriptionsWithoutSection: {},
|
|
771
|
+
formDescriptions: [],
|
|
772
|
+
formKey: undefined,
|
|
773
|
+
spinning: true,
|
|
774
|
+
activeItem: {},
|
|
775
|
+
activeTemplate: '',
|
|
776
|
+
printId: ''
|
|
777
|
+
};
|
|
778
|
+
_this.extraEvents = {
|
|
779
|
+
handlePrint: function handlePrint() {
|
|
780
|
+
_this._handlePrint();
|
|
781
|
+
}
|
|
782
|
+
};
|
|
783
|
+
_this.handleInit = function () {
|
|
784
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
785
|
+
var _a, activeItem, formDescriptionsWithoutSection, _b, basicInfo, values, data, formKey;
|
|
786
|
+
return __generator(this, function (_c) {
|
|
787
|
+
switch (_c.label) {
|
|
788
|
+
case 0:
|
|
789
|
+
_a = this.state, activeItem = _a.activeItem, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection;
|
|
790
|
+
_b = this.props, basicInfo = _b.basicInfo, _b.basicData;
|
|
791
|
+
values = {};
|
|
792
|
+
if (!_get(activeItem, 'id')) return [3, 2];
|
|
793
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType?id.equals=".concat(_get(activeItem, 'id'), "&operationName.equals=").concat(_get(activeItem, 'operationName'), "&deleteFlag.equals=0"))];
|
|
794
|
+
case 1:
|
|
795
|
+
values = _c.sent().data;
|
|
796
|
+
_c.label = 2;
|
|
797
|
+
case 2:
|
|
798
|
+
values = _get(values, 'data.0');
|
|
799
|
+
data = values ? valueToForm(values, formDescriptionsWithoutSection) : {};
|
|
800
|
+
formKey = _get(data, 'id') || Math.random();
|
|
801
|
+
if (!_get(data, 'operationName')) _set(data, 'operationName', '宫内节育器取出术');
|
|
802
|
+
if (!_get(data, 'surgicalDate')) _set(data, 'surgicalDate', dayjs(new Date()));
|
|
803
|
+
if (!_get(data, 'appointmentPeople')) _set(data, 'appointmentPeople', _get(basicInfo, 'firstName'));
|
|
804
|
+
if (!_get(data, 'surgicalDoctor')) _set(data, 'surgicalDoctor', _get(basicInfo, 'firstName'));
|
|
805
|
+
this.setState({
|
|
806
|
+
data: data,
|
|
807
|
+
formKey: formKey,
|
|
808
|
+
printId: _get(data, 'id')
|
|
809
|
+
});
|
|
810
|
+
return [2];
|
|
811
|
+
}
|
|
812
|
+
});
|
|
813
|
+
});
|
|
814
|
+
};
|
|
815
|
+
_this.handleSubmit = function (values) {
|
|
816
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
817
|
+
var _a, onRefresh, id, baseUrl, _b, data, formDescriptionsWithoutSection, preoperativeExamination, params, res_1, res_2;
|
|
818
|
+
var _this = this;
|
|
819
|
+
return __generator(this, function (_c) {
|
|
820
|
+
switch (_c.label) {
|
|
821
|
+
case 0:
|
|
822
|
+
_a = this.props, onRefresh = _a.onRefresh, id = _a.id, baseUrl = _a.baseUrl;
|
|
823
|
+
_b = this.state, data = _b.data, formDescriptionsWithoutSection = _b.formDescriptionsWithoutSection;
|
|
824
|
+
preoperativeExamination = _get(data, 'preoperativeExamination');
|
|
825
|
+
params = valueToApi(values, formDescriptionsWithoutSection);
|
|
826
|
+
_set(params, 'preoperativeExamination.id', _get(preoperativeExamination, 'id'));
|
|
827
|
+
params = __assign(__assign(__assign({}, data), params), {
|
|
828
|
+
familyPlanningId: Number(id),
|
|
829
|
+
progressStatus: 4
|
|
830
|
+
});
|
|
831
|
+
if (!_get(params, 'operationTimeEnd')) {
|
|
832
|
+
_message.error('手术起止时间是必填项');
|
|
833
|
+
return [2];
|
|
834
|
+
}
|
|
835
|
+
if (!_get(values, 'id')) return [3, 2];
|
|
836
|
+
return [4, fubaoRequest.put('/api/family/planning/updateEarlyPregnancyCheckSurgicalType', params)];
|
|
837
|
+
case 1:
|
|
838
|
+
res_1 = _c.sent().data;
|
|
839
|
+
if (_get(res_1, 'code') === 1) {
|
|
840
|
+
_message.success(_get(res_1, 'msg'), 0.5).then(function () {
|
|
841
|
+
if (_get(values, 'isPrint')) {
|
|
842
|
+
_this._handlePrint(_get(res_1, 'data.id'));
|
|
843
|
+
}
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
return [3, 4];
|
|
847
|
+
case 2:
|
|
848
|
+
params = __assign(__assign({}, params), {
|
|
849
|
+
familyPlanningId: Number(id),
|
|
850
|
+
progressStatus: 4
|
|
851
|
+
});
|
|
852
|
+
return [4, fubaoRequest.post(baseUrl, params)];
|
|
853
|
+
case 3:
|
|
854
|
+
res_2 = _c.sent().data;
|
|
855
|
+
if (_get(res_2, 'code') === 1) {
|
|
856
|
+
_message.success(_get(res_2, 'msg'), 0.5).then(function () {
|
|
857
|
+
if (_get(values, 'isPrint')) {
|
|
858
|
+
_this._handlePrint(_get(res_2, 'data.id'));
|
|
859
|
+
}
|
|
860
|
+
});
|
|
861
|
+
}
|
|
862
|
+
_c.label = 4;
|
|
863
|
+
case 4:
|
|
864
|
+
onRefresh && onRefresh();
|
|
865
|
+
return [2];
|
|
866
|
+
}
|
|
867
|
+
});
|
|
868
|
+
});
|
|
869
|
+
};
|
|
870
|
+
_this.renderOtherModal = function () {
|
|
871
|
+
return null;
|
|
872
|
+
};
|
|
873
|
+
return _this;
|
|
874
|
+
}
|
|
875
|
+
AdmissionPanel.prototype._handlePrint = function (printId) {
|
|
876
|
+
if (printId === void 0) {
|
|
877
|
+
printId = this.state.printId;
|
|
878
|
+
}
|
|
879
|
+
var activeTemplate = this.state.activeTemplate;
|
|
880
|
+
mchcModal__.open('print_modal', {
|
|
881
|
+
modal_data: {
|
|
882
|
+
request: fubaoRequest,
|
|
883
|
+
requestData: {
|
|
884
|
+
url: "/api/family/planning/casePdfPreview",
|
|
885
|
+
resource: activeTemplate,
|
|
886
|
+
template: '',
|
|
887
|
+
version: '',
|
|
888
|
+
note: '',
|
|
889
|
+
id: printId
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
});
|
|
893
|
+
};
|
|
894
|
+
AdmissionPanel.getDerivedStateFromProps = function (nextProps, prevState) {
|
|
895
|
+
var activeItem = nextProps.activeItem,
|
|
896
|
+
activeTemplate = nextProps.activeTemplate;
|
|
897
|
+
if (!_isEqual(activeItem, prevState.activeItem)) {
|
|
898
|
+
return {
|
|
899
|
+
activeItem: activeItem,
|
|
900
|
+
activeTemplate: activeTemplate
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
return null;
|
|
904
|
+
};
|
|
905
|
+
AdmissionPanel.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
906
|
+
if (!_isEmpty(_get(prevState, 'activeItem')) && !_isEqual(_get(prevState, 'activeItem'), _get(this.state, 'activeItem'))) {
|
|
907
|
+
this.handleInit();
|
|
908
|
+
}
|
|
909
|
+
};
|
|
910
|
+
AdmissionPanel.prototype.componentDidMount = function () {
|
|
911
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
912
|
+
var moduleName, formDescriptions, formDescriptionsWithoutSection, formKey;
|
|
913
|
+
return __generator(this, function (_a) {
|
|
914
|
+
switch (_a.label) {
|
|
915
|
+
case 0:
|
|
916
|
+
moduleName = this.props.moduleName;
|
|
917
|
+
return [4, SMchc_FormDescriptions.getModuleParseCache(moduleName)];
|
|
918
|
+
case 1:
|
|
919
|
+
formDescriptions = _a.sent();
|
|
920
|
+
formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
|
|
921
|
+
formKey = Math.random();
|
|
922
|
+
this.setState({
|
|
923
|
+
spinning: false
|
|
924
|
+
});
|
|
925
|
+
this.setState({
|
|
926
|
+
formDescriptions: formDescriptions,
|
|
927
|
+
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
928
|
+
formKey: formKey
|
|
929
|
+
});
|
|
930
|
+
this.handleInit();
|
|
931
|
+
return [2];
|
|
932
|
+
}
|
|
933
|
+
});
|
|
934
|
+
});
|
|
935
|
+
};
|
|
936
|
+
AdmissionPanel.defaultProps = {
|
|
937
|
+
baseUrl: '/api/family/planning/addEarlyPregnancyCheckSurgicalType',
|
|
938
|
+
request: fubaoRequest,
|
|
939
|
+
moduleName: 'family-planning-detail-take-out',
|
|
940
|
+
title: '宫内节育器取出术',
|
|
941
|
+
Form: AdmissionForm$2
|
|
942
|
+
};
|
|
943
|
+
return AdmissionPanel;
|
|
944
|
+
}(BaseEditPanel);
|
|
945
|
+
var AdmissionForm$1 = function (_super) {
|
|
946
|
+
__extends(AdmissionForm, _super);
|
|
947
|
+
function AdmissionForm() {
|
|
948
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
949
|
+
_this.state = {
|
|
950
|
+
importModalVisible: false,
|
|
951
|
+
changeFlag: false
|
|
952
|
+
};
|
|
953
|
+
_this.confirm = function (e) {
|
|
954
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
955
|
+
var form, _a, onFinish, data;
|
|
956
|
+
return __generator(this, function (_b) {
|
|
957
|
+
form = this.form;
|
|
958
|
+
_a = this.props, onFinish = _a.onFinish, data = _a.data;
|
|
959
|
+
form && form.validateFields().then(function () {
|
|
960
|
+
var params = __assign(__assign({}, form.getFieldsValue()), {
|
|
961
|
+
id: _get(data, 'id'),
|
|
962
|
+
isPrint: true
|
|
963
|
+
});
|
|
964
|
+
onFinish && onFinish(params);
|
|
965
|
+
})["catch"](function (error) {
|
|
966
|
+
_message.error(_get(error, 'errorFields.0.errors.0'));
|
|
967
|
+
form.scrollToField(_get(error, 'errorFields.0.name.0'));
|
|
968
|
+
});
|
|
969
|
+
return [2];
|
|
970
|
+
});
|
|
971
|
+
});
|
|
972
|
+
};
|
|
973
|
+
_this.cancel = function (e) {
|
|
974
|
+
console.log(e);
|
|
975
|
+
};
|
|
976
|
+
_this.handleFieldsChange = function (changedFields, allFields) {
|
|
977
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
978
|
+
var changeFlag, data, changeValue, changeName, oldValue;
|
|
979
|
+
return __generator(this, function (_a) {
|
|
980
|
+
changeFlag = this.state.changeFlag;
|
|
981
|
+
if (!changeFlag) {
|
|
982
|
+
data = this.props.data;
|
|
983
|
+
changeValue = _get(changedFields, '0.value');
|
|
984
|
+
changeName = _get(changedFields, '0.name');
|
|
985
|
+
oldValue = _get(data, changeName);
|
|
986
|
+
if (!_isEqual(changeValue, oldValue)) {
|
|
987
|
+
this.setState({
|
|
988
|
+
changeFlag: true
|
|
989
|
+
});
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
return [2];
|
|
993
|
+
});
|
|
994
|
+
});
|
|
995
|
+
};
|
|
996
|
+
_this.renderBtns = function () {
|
|
997
|
+
return /*#__PURE__*/React.createElement(_Space, {
|
|
998
|
+
size: "middle"
|
|
999
|
+
}, _this.renderSubmitBtn(), _this.renderPrintBtn());
|
|
1000
|
+
};
|
|
1001
|
+
_this.renderPrintBtn = function () {
|
|
1002
|
+
var changeFlag = _this.state.changeFlag;
|
|
1003
|
+
var _a = _this.props,
|
|
1004
|
+
printId = _a.printId,
|
|
1005
|
+
extraEvents = _a.extraEvents;
|
|
1006
|
+
return changeFlag ? /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
1007
|
+
title: "\u5F53\u524D\u5B58\u5728\u65B0\u6570\u636E\uFF0C\u662F\u5426\u4FDD\u5B58\u5E76\u6253\u5370\uFF1F",
|
|
1008
|
+
onConfirm: _this.confirm,
|
|
1009
|
+
onCancel: _this.cancel,
|
|
1010
|
+
okText: "\u786E\u5B9A",
|
|
1011
|
+
cancelText: "\u53D6\u6D88"
|
|
1012
|
+
}, /*#__PURE__*/React.createElement(_Button, {
|
|
1013
|
+
type: "primary",
|
|
1014
|
+
size: "large",
|
|
1015
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null)
|
|
1016
|
+
}, "\u6253\u5370")) : /*#__PURE__*/React.createElement(_Button, {
|
|
1017
|
+
type: "primary",
|
|
1018
|
+
size: "large",
|
|
1019
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null),
|
|
1020
|
+
disabled: !printId,
|
|
1021
|
+
onClick: function onClick() {
|
|
1022
|
+
extraEvents.handlePrint();
|
|
1023
|
+
}
|
|
1024
|
+
}, "\u6253\u5370");
|
|
1025
|
+
};
|
|
1026
|
+
return _this;
|
|
1027
|
+
}
|
|
1028
|
+
return AdmissionForm;
|
|
1029
|
+
}(BaseEditPanelForm);
|
|
1030
|
+
var AdmissionPanel$1 = function (_super) {
|
|
1031
|
+
__extends(AdmissionPanel, _super);
|
|
1032
|
+
function AdmissionPanel() {
|
|
1033
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1034
|
+
_this.state = {
|
|
1035
|
+
data: {},
|
|
1036
|
+
formDescriptionsWithoutSection: {},
|
|
1037
|
+
formDescriptions: [],
|
|
1038
|
+
formKey: undefined,
|
|
1039
|
+
spinning: true,
|
|
1040
|
+
activeItem: {},
|
|
1041
|
+
activeTemplate: '',
|
|
1042
|
+
printId: ''
|
|
1043
|
+
};
|
|
1044
|
+
_this.extraEvents = {
|
|
1045
|
+
handlePrint: function handlePrint() {
|
|
1046
|
+
_this._handlePrint();
|
|
1047
|
+
}
|
|
1048
|
+
};
|
|
1049
|
+
_this.handleInit = function () {
|
|
1050
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1051
|
+
var _a, activeItem, formDescriptionsWithoutSection, _b, basicInfo, values, data, formKey;
|
|
1052
|
+
return __generator(this, function (_c) {
|
|
1053
|
+
switch (_c.label) {
|
|
1054
|
+
case 0:
|
|
1055
|
+
_a = this.state, activeItem = _a.activeItem, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection;
|
|
1056
|
+
_b = this.props, basicInfo = _b.basicInfo, _b.basicData;
|
|
1057
|
+
values = {};
|
|
1058
|
+
if (!_get(activeItem, 'id')) return [3, 2];
|
|
1059
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType?id.equals=".concat(_get(activeItem, 'id'), "&operationName.equals=").concat(_get(activeItem, 'operationName'), "&deleteFlag.equals=0"))];
|
|
1060
|
+
case 1:
|
|
1061
|
+
values = _c.sent().data;
|
|
1062
|
+
_c.label = 2;
|
|
1063
|
+
case 2:
|
|
1064
|
+
values = _get(values, 'data.0');
|
|
1065
|
+
data = values ? valueToForm(values, formDescriptionsWithoutSection) : {};
|
|
1066
|
+
formKey = _get(data, 'id') || Math.random();
|
|
1067
|
+
if (!_get(data, 'operationName')) _set(data, 'operationName', '子宫输卵管通液术');
|
|
1068
|
+
if (!_get(data, 'surgicalDate')) _set(data, 'surgicalDate', dayjs(new Date()));
|
|
1069
|
+
if (!_get(data, 'appointmentPeople')) _set(data, 'appointmentPeople', _get(basicInfo, 'firstName'));
|
|
1070
|
+
if (!_get(data, 'surgicalDoctor')) _set(data, 'surgicalDoctor', _get(basicInfo, 'firstName'));
|
|
1071
|
+
this.setState({
|
|
1072
|
+
data: data,
|
|
1073
|
+
formKey: formKey,
|
|
1074
|
+
printId: _get(data, 'id')
|
|
1075
|
+
});
|
|
1076
|
+
return [2];
|
|
1077
|
+
}
|
|
1078
|
+
});
|
|
1079
|
+
});
|
|
1080
|
+
};
|
|
1081
|
+
_this.handleSubmit = function (values) {
|
|
1082
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1083
|
+
var _a, onRefresh, id, baseUrl, _b, data, formDescriptionsWithoutSection, preoperativeExamination, params, res_1, res_2;
|
|
1084
|
+
var _this = this;
|
|
1085
|
+
return __generator(this, function (_c) {
|
|
1086
|
+
switch (_c.label) {
|
|
1087
|
+
case 0:
|
|
1088
|
+
_a = this.props, onRefresh = _a.onRefresh, id = _a.id, baseUrl = _a.baseUrl;
|
|
1089
|
+
_b = this.state, data = _b.data, formDescriptionsWithoutSection = _b.formDescriptionsWithoutSection;
|
|
1090
|
+
preoperativeExamination = _get(data, 'preoperativeExamination');
|
|
1091
|
+
params = valueToApi(values, formDescriptionsWithoutSection);
|
|
1092
|
+
_set(params, 'preoperativeExamination.id', _get(preoperativeExamination, 'id'));
|
|
1093
|
+
params = __assign(__assign(__assign({}, data), params), {
|
|
1094
|
+
familyPlanningId: Number(id),
|
|
1095
|
+
progressStatus: 4
|
|
1096
|
+
});
|
|
1097
|
+
if (!_get(params, 'operationTimeEnd')) {
|
|
1098
|
+
_message.error('手术起止时间是必填项');
|
|
1099
|
+
return [2];
|
|
1100
|
+
}
|
|
1101
|
+
if (!_get(values, 'id')) return [3, 2];
|
|
1102
|
+
return [4, fubaoRequest.put('/api/family/planning/updateEarlyPregnancyCheckSurgicalType', params)];
|
|
1103
|
+
case 1:
|
|
1104
|
+
res_1 = _c.sent().data;
|
|
1105
|
+
if (_get(res_1, 'code') === 1) {
|
|
1106
|
+
_message.success(_get(res_1, 'msg'), 0.5).then(function () {
|
|
1107
|
+
if (_get(values, 'isPrint')) {
|
|
1108
|
+
_this._handlePrint(_get(res_1, 'data.id'));
|
|
1109
|
+
}
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
return [3, 4];
|
|
1113
|
+
case 2:
|
|
1114
|
+
params = __assign(__assign({}, params), {
|
|
1115
|
+
familyPlanningId: Number(id),
|
|
1116
|
+
progressStatus: 4
|
|
1117
|
+
});
|
|
1118
|
+
return [4, fubaoRequest.post(baseUrl, params)];
|
|
1119
|
+
case 3:
|
|
1120
|
+
res_2 = _c.sent().data;
|
|
1121
|
+
if (_get(res_2, 'code') === 1) {
|
|
1122
|
+
_message.success(_get(res_2, 'msg'), 0.5).then(function () {
|
|
1123
|
+
if (_get(values, 'isPrint')) {
|
|
1124
|
+
_this._handlePrint(_get(res_2, 'data.id'));
|
|
1125
|
+
}
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
_c.label = 4;
|
|
1129
|
+
case 4:
|
|
1130
|
+
onRefresh && onRefresh();
|
|
1131
|
+
return [2];
|
|
1132
|
+
}
|
|
1133
|
+
});
|
|
1134
|
+
});
|
|
1135
|
+
};
|
|
1136
|
+
_this.renderOtherModal = function () {
|
|
1137
|
+
return null;
|
|
1138
|
+
};
|
|
1139
|
+
return _this;
|
|
1140
|
+
}
|
|
1141
|
+
AdmissionPanel.prototype._handlePrint = function (printId) {
|
|
1142
|
+
if (printId === void 0) {
|
|
1143
|
+
printId = this.state.printId;
|
|
1144
|
+
}
|
|
1145
|
+
var activeTemplate = this.state.activeTemplate;
|
|
1146
|
+
mchcModal__.open('print_modal', {
|
|
1147
|
+
modal_data: {
|
|
1148
|
+
request: fubaoRequest,
|
|
1149
|
+
requestData: {
|
|
1150
|
+
url: "/api/family/planning/casePdfPreview",
|
|
1151
|
+
resource: activeTemplate,
|
|
1152
|
+
template: '',
|
|
1153
|
+
version: '',
|
|
1154
|
+
note: '',
|
|
1155
|
+
id: printId
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
});
|
|
1159
|
+
};
|
|
1160
|
+
AdmissionPanel.getDerivedStateFromProps = function (nextProps, prevState) {
|
|
1161
|
+
var activeItem = nextProps.activeItem,
|
|
1162
|
+
activeTemplate = nextProps.activeTemplate;
|
|
1163
|
+
if (!_isEqual(activeItem, prevState.activeItem)) {
|
|
1164
|
+
return {
|
|
1165
|
+
activeItem: activeItem,
|
|
1166
|
+
activeTemplate: activeTemplate
|
|
1167
|
+
};
|
|
1168
|
+
}
|
|
1169
|
+
return null;
|
|
1170
|
+
};
|
|
1171
|
+
AdmissionPanel.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
1172
|
+
if (!_isEmpty(_get(prevState, 'activeItem')) && !_isEqual(_get(prevState, 'activeItem'), _get(this.state, 'activeItem'))) {
|
|
1173
|
+
this.handleInit();
|
|
1174
|
+
}
|
|
1175
|
+
};
|
|
1176
|
+
AdmissionPanel.prototype.componentDidMount = function () {
|
|
1177
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1178
|
+
var moduleName, formDescriptions, formDescriptionsWithoutSection, formKey;
|
|
1179
|
+
return __generator(this, function (_a) {
|
|
1180
|
+
switch (_a.label) {
|
|
1181
|
+
case 0:
|
|
1182
|
+
moduleName = this.props.moduleName;
|
|
1183
|
+
return [4, SMchc_FormDescriptions.getModuleParseCache(moduleName)];
|
|
1184
|
+
case 1:
|
|
1185
|
+
formDescriptions = _a.sent();
|
|
1186
|
+
formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
|
|
1187
|
+
formKey = Math.random();
|
|
1188
|
+
this.setState({
|
|
1189
|
+
spinning: false
|
|
1190
|
+
});
|
|
1191
|
+
this.setState({
|
|
1192
|
+
formDescriptions: formDescriptions,
|
|
1193
|
+
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
1194
|
+
formKey: formKey
|
|
1195
|
+
});
|
|
1196
|
+
this.handleInit();
|
|
1197
|
+
return [2];
|
|
1198
|
+
}
|
|
1199
|
+
});
|
|
1200
|
+
});
|
|
1201
|
+
};
|
|
1202
|
+
AdmissionPanel.defaultProps = {
|
|
1203
|
+
baseUrl: '/api/family/planning/addEarlyPregnancyCheckSurgicalType',
|
|
1204
|
+
request: fubaoRequest,
|
|
1205
|
+
moduleName: 'family-planning-detail-uterus',
|
|
1206
|
+
title: '子宫输卵管通液术',
|
|
1207
|
+
Form: AdmissionForm$1
|
|
1208
|
+
};
|
|
1209
|
+
return AdmissionPanel;
|
|
1210
|
+
}(BaseEditPanel);
|
|
1211
|
+
var AdmissionForm = function (_super) {
|
|
1212
|
+
__extends(AdmissionForm, _super);
|
|
1213
|
+
function AdmissionForm() {
|
|
1214
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1215
|
+
_this.state = {
|
|
1216
|
+
importModalVisible: false,
|
|
1217
|
+
changeFlag: false
|
|
1218
|
+
};
|
|
1219
|
+
_this.confirm = function (e) {
|
|
1220
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1221
|
+
var form, _a, onFinish, data;
|
|
1222
|
+
return __generator(this, function (_b) {
|
|
1223
|
+
form = this.form;
|
|
1224
|
+
_a = this.props, onFinish = _a.onFinish, data = _a.data;
|
|
1225
|
+
form && form.validateFields().then(function () {
|
|
1226
|
+
var params = __assign(__assign({}, form.getFieldsValue()), {
|
|
1227
|
+
id: _get(data, 'id'),
|
|
1228
|
+
isPrint: true
|
|
1229
|
+
});
|
|
1230
|
+
onFinish && onFinish(params);
|
|
1231
|
+
})["catch"](function (error) {
|
|
1232
|
+
_message.error(_get(error, 'errorFields.0.errors.0'));
|
|
1233
|
+
form.scrollToField(_get(error, 'errorFields.0.name.0'));
|
|
1234
|
+
});
|
|
1235
|
+
return [2];
|
|
1236
|
+
});
|
|
1237
|
+
});
|
|
1238
|
+
};
|
|
1239
|
+
_this.cancel = function (e) {
|
|
1240
|
+
console.log(e);
|
|
1241
|
+
};
|
|
1242
|
+
_this.handleFieldsChange = function (changedFields, allFields) {
|
|
1243
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1244
|
+
var changeFlag, data, changeValue, changeName, oldValue;
|
|
1245
|
+
return __generator(this, function (_a) {
|
|
1246
|
+
changeFlag = this.state.changeFlag;
|
|
1247
|
+
if (!changeFlag) {
|
|
1248
|
+
data = this.props.data;
|
|
1249
|
+
changeValue = _get(changedFields, '0.value');
|
|
1250
|
+
changeName = _get(changedFields, '0.name');
|
|
1251
|
+
oldValue = _get(data, changeName);
|
|
1252
|
+
if (!_isEqual(changeValue, oldValue)) {
|
|
1253
|
+
this.setState({
|
|
1254
|
+
changeFlag: true
|
|
1255
|
+
});
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
return [2];
|
|
1259
|
+
});
|
|
1260
|
+
});
|
|
1261
|
+
};
|
|
1262
|
+
_this.renderBtns = function () {
|
|
1263
|
+
return /*#__PURE__*/React.createElement(_Space, {
|
|
1264
|
+
size: "middle"
|
|
1265
|
+
}, _this.renderSubmitBtn(), _this.renderPrintBtn());
|
|
1266
|
+
};
|
|
1267
|
+
_this.renderPrintBtn = function () {
|
|
1268
|
+
var changeFlag = _this.state.changeFlag;
|
|
1269
|
+
var _a = _this.props,
|
|
1270
|
+
printId = _a.printId,
|
|
1271
|
+
extraEvents = _a.extraEvents;
|
|
1272
|
+
return changeFlag ? /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
1273
|
+
title: "\u5F53\u524D\u5B58\u5728\u65B0\u6570\u636E\uFF0C\u662F\u5426\u4FDD\u5B58\u5E76\u6253\u5370\uFF1F",
|
|
1274
|
+
onConfirm: _this.confirm,
|
|
1275
|
+
onCancel: _this.cancel,
|
|
1276
|
+
okText: "\u786E\u5B9A",
|
|
1277
|
+
cancelText: "\u53D6\u6D88"
|
|
1278
|
+
}, /*#__PURE__*/React.createElement(_Button, {
|
|
1279
|
+
type: "primary",
|
|
1280
|
+
size: "large",
|
|
1281
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null)
|
|
1282
|
+
}, "\u6253\u5370")) : /*#__PURE__*/React.createElement(_Button, {
|
|
1283
|
+
type: "primary",
|
|
1284
|
+
size: "large",
|
|
1285
|
+
icon: /*#__PURE__*/React.createElement(PrinterOutlined, null),
|
|
1286
|
+
disabled: !printId,
|
|
1287
|
+
onClick: function onClick() {
|
|
1288
|
+
extraEvents.handlePrint();
|
|
1289
|
+
}
|
|
1290
|
+
}, "\u6253\u5370");
|
|
1291
|
+
};
|
|
1292
|
+
return _this;
|
|
1293
|
+
}
|
|
1294
|
+
return AdmissionForm;
|
|
1295
|
+
}(BaseEditPanelForm);
|
|
1296
|
+
var AdmissionPanel = function (_super) {
|
|
1297
|
+
__extends(AdmissionPanel, _super);
|
|
1298
|
+
function AdmissionPanel() {
|
|
1299
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1300
|
+
_this.state = {
|
|
1301
|
+
data: {},
|
|
1302
|
+
formDescriptionsWithoutSection: {},
|
|
1303
|
+
formDescriptions: [],
|
|
1304
|
+
formKey: undefined,
|
|
1305
|
+
spinning: true,
|
|
1306
|
+
activeItem: {},
|
|
1307
|
+
activeTemplate: '',
|
|
1308
|
+
printId: ''
|
|
1309
|
+
};
|
|
1310
|
+
_this.extraEvents = {
|
|
1311
|
+
handlePrint: function handlePrint() {
|
|
1312
|
+
_this._handlePrint();
|
|
1313
|
+
}
|
|
1314
|
+
};
|
|
1315
|
+
_this.handleInit = function () {
|
|
1316
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1317
|
+
var _a, activeItem, formDescriptionsWithoutSection, _b, basicInfo, values, data, formKey;
|
|
1318
|
+
return __generator(this, function (_c) {
|
|
1319
|
+
switch (_c.label) {
|
|
1320
|
+
case 0:
|
|
1321
|
+
_a = this.state, activeItem = _a.activeItem, formDescriptionsWithoutSection = _a.formDescriptionsWithoutSection;
|
|
1322
|
+
_b = this.props, basicInfo = _b.basicInfo, _b.basicData;
|
|
1323
|
+
values = {};
|
|
1324
|
+
if (!_get(activeItem, 'id')) return [3, 2];
|
|
1325
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType?id.equals=".concat(_get(activeItem, 'id'), "&operationName.equals=").concat(_get(activeItem, 'operationName'), "&deleteFlag.equals=0"))];
|
|
1326
|
+
case 1:
|
|
1327
|
+
values = _c.sent().data;
|
|
1328
|
+
_c.label = 2;
|
|
1329
|
+
case 2:
|
|
1330
|
+
values = _get(values, 'data.0');
|
|
1331
|
+
data = values ? valueToForm(values, formDescriptionsWithoutSection) : {};
|
|
1332
|
+
formKey = _get(data, 'id') || Math.random();
|
|
1333
|
+
if (!_get(data, 'operationName')) _set(data, 'operationName', '人工流产');
|
|
1334
|
+
if (!_get(data, 'surgicalDate')) _set(data, 'surgicalDate', dayjs(new Date()));
|
|
1335
|
+
if (!_get(data, 'appointmentPeople')) _set(data, 'appointmentPeople', _get(basicInfo, 'firstName'));
|
|
1336
|
+
if (!_get(data, 'surgicalDoctor')) _set(data, 'surgicalDoctor', _get(basicInfo, 'firstName'));
|
|
1337
|
+
this.setState({
|
|
1338
|
+
data: data,
|
|
1339
|
+
formKey: formKey,
|
|
1340
|
+
printId: _get(data, 'id')
|
|
1341
|
+
});
|
|
1342
|
+
return [2];
|
|
1343
|
+
}
|
|
1344
|
+
});
|
|
1345
|
+
});
|
|
1346
|
+
};
|
|
1347
|
+
_this.handleSubmit = function (values) {
|
|
1348
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1349
|
+
var _a, onRefresh, id, baseUrl, _b, data, formDescriptionsWithoutSection, preoperativeExamination, params, res_1, res_2;
|
|
1350
|
+
var _this = this;
|
|
1351
|
+
return __generator(this, function (_c) {
|
|
1352
|
+
switch (_c.label) {
|
|
1353
|
+
case 0:
|
|
1354
|
+
_a = this.props, onRefresh = _a.onRefresh, id = _a.id, baseUrl = _a.baseUrl;
|
|
1355
|
+
_b = this.state, data = _b.data, formDescriptionsWithoutSection = _b.formDescriptionsWithoutSection;
|
|
1356
|
+
preoperativeExamination = _get(data, 'preoperativeExamination');
|
|
1357
|
+
params = valueToApi(values, formDescriptionsWithoutSection);
|
|
1358
|
+
_set(params, 'preoperativeExamination.id', _get(preoperativeExamination, 'id'));
|
|
1359
|
+
params = __assign(__assign(__assign({}, data), params), {
|
|
1360
|
+
familyPlanningId: Number(id),
|
|
1361
|
+
progressStatus: 4
|
|
1362
|
+
});
|
|
1363
|
+
if (!_get(params, 'operationTimeEnd')) {
|
|
1364
|
+
_message.error('手术起止时间是必填项');
|
|
1365
|
+
return [2];
|
|
1366
|
+
}
|
|
1367
|
+
if (!_get(values, 'id')) return [3, 2];
|
|
1368
|
+
return [4, fubaoRequest.put('/api/family/planning/updateEarlyPregnancyCheckSurgicalType', params)];
|
|
1369
|
+
case 1:
|
|
1370
|
+
res_1 = _c.sent().data;
|
|
1371
|
+
if (_get(res_1, 'code') === 1) {
|
|
1372
|
+
_message.success(_get(res_1, 'msg'), 0.5).then(function () {
|
|
1373
|
+
if (_get(values, 'isPrint')) {
|
|
1374
|
+
_this._handlePrint(_get(res_1, 'data.id'));
|
|
1375
|
+
}
|
|
1376
|
+
});
|
|
1377
|
+
}
|
|
1378
|
+
return [3, 4];
|
|
1379
|
+
case 2:
|
|
1380
|
+
params = __assign(__assign({}, params), {
|
|
1381
|
+
familyPlanningId: Number(id),
|
|
1382
|
+
progressStatus: 4
|
|
1383
|
+
});
|
|
1384
|
+
return [4, fubaoRequest.post(baseUrl, params)];
|
|
1385
|
+
case 3:
|
|
1386
|
+
res_2 = _c.sent().data;
|
|
1387
|
+
if (_get(res_2, 'code') === 1) {
|
|
1388
|
+
_message.success(_get(res_2, 'msg'), 0.5).then(function () {
|
|
1389
|
+
if (_get(values, 'isPrint')) {
|
|
1390
|
+
_this._handlePrint(_get(res_2, 'data.id'));
|
|
1391
|
+
}
|
|
1392
|
+
});
|
|
1393
|
+
}
|
|
1394
|
+
_c.label = 4;
|
|
1395
|
+
case 4:
|
|
1396
|
+
onRefresh && onRefresh();
|
|
1397
|
+
return [2];
|
|
1398
|
+
}
|
|
1399
|
+
});
|
|
1400
|
+
});
|
|
1401
|
+
};
|
|
1402
|
+
_this.renderOtherModal = function () {
|
|
1403
|
+
return null;
|
|
1404
|
+
};
|
|
1405
|
+
return _this;
|
|
1406
|
+
}
|
|
1407
|
+
AdmissionPanel.prototype._handlePrint = function (printId) {
|
|
1408
|
+
if (printId === void 0) {
|
|
1409
|
+
printId = this.state.printId;
|
|
1410
|
+
}
|
|
1411
|
+
var activeTemplate = this.state.activeTemplate;
|
|
1412
|
+
mchcModal__.open('print_modal', {
|
|
1413
|
+
modal_data: {
|
|
1414
|
+
request: fubaoRequest,
|
|
1415
|
+
requestData: {
|
|
1416
|
+
url: "/api/family/planning/casePdfPreview",
|
|
1417
|
+
resource: activeTemplate,
|
|
1418
|
+
template: '',
|
|
1419
|
+
version: '',
|
|
1420
|
+
note: '',
|
|
1421
|
+
id: printId
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
});
|
|
1425
|
+
};
|
|
1426
|
+
AdmissionPanel.getDerivedStateFromProps = function (nextProps, prevState) {
|
|
1427
|
+
var activeItem = nextProps.activeItem,
|
|
1428
|
+
activeTemplate = nextProps.activeTemplate;
|
|
1429
|
+
if (!_isEqual(activeItem, prevState.activeItem)) {
|
|
1430
|
+
return {
|
|
1431
|
+
activeItem: activeItem,
|
|
1432
|
+
activeTemplate: activeTemplate
|
|
1433
|
+
};
|
|
1434
|
+
}
|
|
1435
|
+
return null;
|
|
1436
|
+
};
|
|
1437
|
+
AdmissionPanel.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
1438
|
+
if (!_isEmpty(_get(prevState, 'activeItem')) && !_isEqual(_get(prevState, 'activeItem'), _get(this.state, 'activeItem'))) {
|
|
1439
|
+
this.handleInit();
|
|
1440
|
+
}
|
|
1441
|
+
};
|
|
1442
|
+
AdmissionPanel.prototype.componentDidMount = function () {
|
|
1443
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1444
|
+
var moduleName, formDescriptions, formDescriptionsWithoutSection, formKey;
|
|
1445
|
+
return __generator(this, function (_a) {
|
|
1446
|
+
switch (_a.label) {
|
|
1447
|
+
case 0:
|
|
1448
|
+
moduleName = this.props.moduleName;
|
|
1449
|
+
return [4, SMchc_FormDescriptions.getModuleParseCache(moduleName)];
|
|
1450
|
+
case 1:
|
|
1451
|
+
formDescriptions = _a.sent();
|
|
1452
|
+
formDescriptionsWithoutSection = formDescriptionsWithoutSectionApi(formDescriptions);
|
|
1453
|
+
formKey = Math.random();
|
|
1454
|
+
this.setState({
|
|
1455
|
+
spinning: false
|
|
1456
|
+
});
|
|
1457
|
+
this.setState({
|
|
1458
|
+
formDescriptions: formDescriptions,
|
|
1459
|
+
formDescriptionsWithoutSection: formDescriptionsWithoutSection,
|
|
1460
|
+
formKey: formKey
|
|
1461
|
+
});
|
|
1462
|
+
this.handleInit();
|
|
1463
|
+
return [2];
|
|
1464
|
+
}
|
|
1465
|
+
});
|
|
1466
|
+
});
|
|
1467
|
+
};
|
|
1468
|
+
AdmissionPanel.defaultProps = {
|
|
1469
|
+
baseUrl: '/api/family/planning/addEarlyPregnancyCheckSurgicalType',
|
|
1470
|
+
request: fubaoRequest,
|
|
1471
|
+
moduleName: 'family-planning-detail-pressure',
|
|
1472
|
+
title: '人工流产',
|
|
1473
|
+
Form: AdmissionForm
|
|
1474
|
+
};
|
|
1475
|
+
return AdmissionPanel;
|
|
1476
|
+
}(BaseEditPanel);
|
|
1477
|
+
var NurseTypesMapping = {
|
|
1478
|
+
dilatationAndCurettage: {
|
|
1479
|
+
key: 'dilatationAndCurettage',
|
|
1480
|
+
name: '刮宫术',
|
|
1481
|
+
icon: '',
|
|
1482
|
+
component: AdmissionPanel$4
|
|
1483
|
+
},
|
|
1484
|
+
putInIntrauterineDevice: {
|
|
1485
|
+
key: 'putInIntrauterineDevice',
|
|
1486
|
+
name: '宫内避孕器放置术',
|
|
1487
|
+
icon: '',
|
|
1488
|
+
component: AdmissionPanel$3
|
|
1489
|
+
},
|
|
1490
|
+
takeOutIntrauterineDevice: {
|
|
1491
|
+
key: 'takeOutIntrauterineDevice',
|
|
1492
|
+
name: '宫内节育器取出术',
|
|
1493
|
+
icon: '',
|
|
1494
|
+
component: AdmissionPanel$2
|
|
1495
|
+
},
|
|
1496
|
+
uterineFallopianTubeFluid: {
|
|
1497
|
+
key: 'uterineFallopianTubeFluid',
|
|
1498
|
+
name: '子宫输卵管通液术',
|
|
1499
|
+
icon: '',
|
|
1500
|
+
component: AdmissionPanel$1
|
|
1501
|
+
},
|
|
1502
|
+
inducedAbortion: {
|
|
1503
|
+
key: 'inducedAbortion',
|
|
1504
|
+
name: '人工流产',
|
|
1505
|
+
icon: '',
|
|
1506
|
+
component: AdmissionPanel
|
|
1507
|
+
}
|
|
1508
|
+
};
|
|
1509
|
+
var getReservationPanelByDate = function getReservationPanelByDate(startDate, endDate) {
|
|
1510
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
1511
|
+
var params, response;
|
|
1512
|
+
return __generator(this, function (_a) {
|
|
1513
|
+
switch (_a.label) {
|
|
1514
|
+
case 0:
|
|
1515
|
+
params = {
|
|
1516
|
+
'schedulingDate.greaterOrEqualThan': startDate.format('YYYY-MM-DD'),
|
|
1517
|
+
'schedulingDate.lessOrEqualThan': endDate.format('YYYY-MM-DD')
|
|
1518
|
+
};
|
|
1519
|
+
return [4, fubaoRequest.get("/api/family/planning/getSchedulingInformation", {
|
|
1520
|
+
params: params
|
|
1521
|
+
})];
|
|
1522
|
+
case 1:
|
|
1523
|
+
response = _a.sent().data;
|
|
1524
|
+
return [2, response];
|
|
1525
|
+
}
|
|
1526
|
+
});
|
|
1527
|
+
});
|
|
1528
|
+
};
|
|
1529
|
+
export { NurseTypesMapping as N, getReservationPanelByDate as g };
|
|
1530
|
+
//# sourceMappingURL=api.js.map
|