@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,1644 @@
|
|
|
1
|
+
import _get from 'lodash/get';
|
|
2
|
+
import { _ as __awaiter, a as __generator, b as __extends, c as __assign } from './tslib.es6.js';
|
|
3
|
+
import React, { useState, useEffect, Component } from 'react';
|
|
4
|
+
import BasicInfo from './.root2.js';
|
|
5
|
+
import 'antd/es/row/style';
|
|
6
|
+
import _Row from 'antd/es/row';
|
|
7
|
+
import 'antd/es/modal/style';
|
|
8
|
+
import _Modal from 'antd/es/modal';
|
|
9
|
+
import 'antd/es/col/style';
|
|
10
|
+
import _Col from 'antd/es/col';
|
|
11
|
+
import 'antd/es/button/style';
|
|
12
|
+
import _Button from 'antd/es/button';
|
|
13
|
+
import { _ as _extends } from './extends.js';
|
|
14
|
+
import 'antd/es/card/style';
|
|
15
|
+
import _Card from 'antd/es/card';
|
|
16
|
+
import 'antd/es/popconfirm/style';
|
|
17
|
+
import _Popconfirm from 'antd/es/popconfirm';
|
|
18
|
+
import _first from 'lodash/first';
|
|
19
|
+
import _cloneDeep from 'lodash/cloneDeep';
|
|
20
|
+
import _map from 'lodash/map';
|
|
21
|
+
import _isEmpty from 'lodash/isEmpty';
|
|
22
|
+
import { PlusCircleOutlined, DeleteOutlined, EditOutlined, HistoryOutlined } from '@ant-design/icons';
|
|
23
|
+
import { N as NurseTypesMapping } from './config.js';
|
|
24
|
+
import { fubaoRequest, formatDateTime, safe_json_parse, safe_json_stringify, formatDate, getSearchParamsValue } from '@lm_fe/utils';
|
|
25
|
+
import { s as styleInject } from './style-inject.es.js';
|
|
26
|
+
import { N as NurseTypesMapping$1, g as getReservationPanelByDate } from './api.js';
|
|
27
|
+
import { LazyAntd, DatePicker_L, DynamicForm, PanelWithChildFC } from '@lm_fe/components_m';
|
|
28
|
+
import { DoctorEnd_SurveyReport, DoctorEnd_ImageReport } from '@lm_fe/pages-mchc';
|
|
29
|
+
import { SLocal_State } from '@lm_fe/service';
|
|
30
|
+
import 'antd/es/empty/style';
|
|
31
|
+
import _Empty from 'antd/es/empty';
|
|
32
|
+
import 'antd/es/input/style';
|
|
33
|
+
import _Input from 'antd/es/input';
|
|
34
|
+
import 'antd/es/alert/style';
|
|
35
|
+
import _Alert from 'antd/es/alert';
|
|
36
|
+
import 'antd/es/form/style';
|
|
37
|
+
import _Form from 'antd/es/form';
|
|
38
|
+
import 'antd/es/radio/style';
|
|
39
|
+
import _Radio from 'antd/es/radio';
|
|
40
|
+
import 'antd/es/message/style';
|
|
41
|
+
import _message from 'antd/es/message';
|
|
42
|
+
import 'antd/es/tabs/style';
|
|
43
|
+
import _Tabs from 'antd/es/tabs';
|
|
44
|
+
import _filter from 'lodash/filter';
|
|
45
|
+
import dayjs from 'dayjs';
|
|
46
|
+
import _set from 'lodash/set';
|
|
47
|
+
import 'antd/es/space/style';
|
|
48
|
+
import 'antd/es/space';
|
|
49
|
+
import 'lodash/size';
|
|
50
|
+
import '@lm_fe/env';
|
|
51
|
+
import 'lodash/isEqual';
|
|
52
|
+
import 'lodash/join';
|
|
53
|
+
import 'lodash/dropRight';
|
|
54
|
+
import 'lodash/isNil';
|
|
55
|
+
import '@lm_fe/pages';
|
|
56
|
+
var css_248z$2 = ".common-module_gy-empty-page__kjnFf {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n background: #fff;\n}\n.common-module_family-planning-list-container__kujnq {\n border: 1px solid #d7dce7;\n border-radius: 5px;\n}\n.common-module_family-planning-list__QHwwi {\n border-bottom: 1px solid #d7dce7;\n}\n.common-module_family-planning-list__QHwwi .common-module_two-cancers-doctor-desk-first-visit-sider-list_title__CEgrq {\n padding: 8px;\n background-color: #f5f6fa;\n}\n.common-module_family-planning-list__QHwwi .common-module_doctor-desk-first-visit-sider-list__item-title__0JfSe {\n color: #383f4a;\n}\n.common-module_family-planning-list__QHwwi .common-module_date__fm44i {\n color: #828c99;\n}\n.common-module_family-planning-list__QHwwi .common-module_label-result__ApaHb {\n margin-left: 12px;\n color: #1890ff;\n}\n.common-module_family-planning-list__QHwwi .common-module_label-result__ApaHb.common-module_red__oOb36 {\n color: #cd4839;\n}\n.common-module_family-planning-list__QHwwi .common-module_doctor-desk-first-visit-sider-list__item__3M-Kw {\n padding: 8px 12px;\n font-size: 13px;\n cursor: pointer;\n}\n.common-module_family-planning-list__QHwwi .common-module_doctor-desk-first-visit-sider-list__item__3M-Kw.common-module_active__qPyeZ .common-module_doctor-desk-first-visit-sider-list__item-title__0JfSe {\n color: #007aff;\n font-weight: 600;\n}\n.common-module_family-planning-list__QHwwi .common-module_doctor-desk-first-visit-sider-list__item__3M-Kw.common-module_active__qPyeZ .common-module_date__fm44i {\n color: #383f4a;\n font-weight: 400;\n}\n.common-module_family-planning-list__QHwwi:last-child {\n border-bottom: none;\n}\n";
|
|
57
|
+
var styles$1 = {
|
|
58
|
+
"gy-empty-page": "common-module_gy-empty-page__kjnFf",
|
|
59
|
+
"family-planning-list-container": "common-module_family-planning-list-container__kujnq",
|
|
60
|
+
"family-planning-list": "common-module_family-planning-list__QHwwi",
|
|
61
|
+
"two-cancers-doctor-desk-first-visit-sider-list_title": "common-module_two-cancers-doctor-desk-first-visit-sider-list_title__CEgrq",
|
|
62
|
+
"doctor-desk-first-visit-sider-list__item-title": "common-module_doctor-desk-first-visit-sider-list__item-title__0JfSe",
|
|
63
|
+
"date": "common-module_date__fm44i",
|
|
64
|
+
"label-result": "common-module_label-result__ApaHb",
|
|
65
|
+
"red": "common-module_red__oOb36",
|
|
66
|
+
"doctor-desk-first-visit-sider-list__item": "common-module_doctor-desk-first-visit-sider-list__item__3M-Kw",
|
|
67
|
+
"active": "common-module_active__qPyeZ"
|
|
68
|
+
};
|
|
69
|
+
styleInject(css_248z$2);
|
|
70
|
+
function ZKBL(props) {
|
|
71
|
+
var data = props.data,
|
|
72
|
+
id = props.id,
|
|
73
|
+
reload = props.reload;
|
|
74
|
+
var _a = useState(''),
|
|
75
|
+
activeTemplate = _a[0],
|
|
76
|
+
set_activeTemplate = _a[1];
|
|
77
|
+
var _b = useState([]),
|
|
78
|
+
siderPanels = _b[0],
|
|
79
|
+
set_siderPanels = _b[1];
|
|
80
|
+
var _c = useState([]),
|
|
81
|
+
oldsiderPanels = _c[0],
|
|
82
|
+
set_oldsiderPanels = _c[1];
|
|
83
|
+
var _d = useState({}),
|
|
84
|
+
activeItem = _d[0],
|
|
85
|
+
set_activeItem = _d[1];
|
|
86
|
+
var _e = useState(false),
|
|
87
|
+
visible = _e[0],
|
|
88
|
+
set_visible = _e[1];
|
|
89
|
+
useEffect(function () {
|
|
90
|
+
handleInit();
|
|
91
|
+
return function () {};
|
|
92
|
+
}, []);
|
|
93
|
+
function handleAdd() {
|
|
94
|
+
set_visible(true);
|
|
95
|
+
}
|
|
96
|
+
function handleClickListItem(item) {
|
|
97
|
+
return function () {
|
|
98
|
+
var code = 'Screening';
|
|
99
|
+
_map(NurseTypesMapping, function (value, index) {
|
|
100
|
+
if (_get(item, 'checkType') === _get(value, 'name')) {
|
|
101
|
+
code = index;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
var __activeTemplate = _get(NurseTypesMapping, "".concat(code, ".key"));
|
|
105
|
+
set_activeItem(item);
|
|
106
|
+
set_activeTemplate(__activeTemplate);
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
function handleInit(activeType) {
|
|
110
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
111
|
+
var newSiderPanels, data, newActiveItem, newActiveTemplate, checkType_1;
|
|
112
|
+
return __generator(this, function (_a) {
|
|
113
|
+
switch (_a.label) {
|
|
114
|
+
case 0:
|
|
115
|
+
newSiderPanels = [];
|
|
116
|
+
return [4, fubaoRequest.get("/api/family/planning/getFamilyPlanningEarlyPregnancyCheckList?familyPlanningId.equals=".concat(id, "&deleteFlag.equals=0"))];
|
|
117
|
+
case 1:
|
|
118
|
+
data = _a.sent().data;
|
|
119
|
+
if (_get(data, 'data')) {
|
|
120
|
+
newSiderPanels = _get(data, 'data.familyPlanningEarlyPregnancyCheck');
|
|
121
|
+
}
|
|
122
|
+
newActiveItem = activeItem;
|
|
123
|
+
newActiveTemplate = activeTemplate;
|
|
124
|
+
if (_isEmpty(activeItem) && !_isEmpty(newSiderPanels)) {
|
|
125
|
+
newActiveItem = _first(newSiderPanels);
|
|
126
|
+
checkType_1 = _get(newSiderPanels, '0.checkType');
|
|
127
|
+
_map(NurseTypesMapping, function (value, index) {
|
|
128
|
+
if (checkType_1 === _get(value, 'name')) {
|
|
129
|
+
newActiveTemplate = _get(NurseTypesMapping, "".concat(index, ".key"));
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
if (!_get(activeItem, 'id')) {
|
|
134
|
+
newActiveItem = _first(newSiderPanels);
|
|
135
|
+
}
|
|
136
|
+
set_siderPanels(newSiderPanels);
|
|
137
|
+
set_oldsiderPanels(newSiderPanels);
|
|
138
|
+
set_activeItem(newActiveItem);
|
|
139
|
+
set_activeTemplate(newActiveTemplate);
|
|
140
|
+
return [2];
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
function handleDelete(item) {
|
|
146
|
+
var _this = this;
|
|
147
|
+
return function () {
|
|
148
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
149
|
+
var id, _res;
|
|
150
|
+
return __generator(this, function (_a) {
|
|
151
|
+
switch (_a.label) {
|
|
152
|
+
case 0:
|
|
153
|
+
id = _get(item, 'id');
|
|
154
|
+
return [4, fubaoRequest["delete"]("/api/family/planning/deleteFamilyPlanningEarlyPregnancyCheck/".concat(id))];
|
|
155
|
+
case 1:
|
|
156
|
+
_res = _a.sent();
|
|
157
|
+
_res.data;
|
|
158
|
+
set_activeItem({});
|
|
159
|
+
set_activeTemplate('');
|
|
160
|
+
return [4, handleInit()];
|
|
161
|
+
case 2:
|
|
162
|
+
_a.sent();
|
|
163
|
+
return [2];
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function handleChooseTemplate(nurseType) {
|
|
170
|
+
return function () {
|
|
171
|
+
_get(nurseType, 'key');
|
|
172
|
+
{
|
|
173
|
+
var newSiderPanels = _cloneDeep(oldsiderPanels);
|
|
174
|
+
var newItem = {
|
|
175
|
+
id: '',
|
|
176
|
+
checkType: _get(nurseType, 'name')
|
|
177
|
+
};
|
|
178
|
+
newSiderPanels.push(newItem);
|
|
179
|
+
set_siderPanels(newSiderPanels);
|
|
180
|
+
set_activeItem(newItem);
|
|
181
|
+
}
|
|
182
|
+
set_visible(false);
|
|
183
|
+
set_activeTemplate(_get(nurseType, 'key'));
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
function renderSider() {
|
|
187
|
+
return /*#__PURE__*/React.createElement(_Card, {
|
|
188
|
+
size: "small",
|
|
189
|
+
bordered: false,
|
|
190
|
+
style: {
|
|
191
|
+
height: '100%'
|
|
192
|
+
},
|
|
193
|
+
title: /*#__PURE__*/React.createElement("span", {
|
|
194
|
+
style: {
|
|
195
|
+
color: '#150f55',
|
|
196
|
+
fontWeight: 600
|
|
197
|
+
}
|
|
198
|
+
}, "\u5C31\u8BCA\u8BB0\u5F55."),
|
|
199
|
+
extra: /*#__PURE__*/React.createElement(PlusCircleOutlined, {
|
|
200
|
+
onClick: handleAdd
|
|
201
|
+
})
|
|
202
|
+
}, !_isEmpty(siderPanels) && /*#__PURE__*/React.createElement("div", {
|
|
203
|
+
className: styles$1['family-planning-list-container']
|
|
204
|
+
}, _map(siderPanels, function (data, index) {
|
|
205
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
206
|
+
key: data.id,
|
|
207
|
+
className: styles$1['family-planning-list']
|
|
208
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
209
|
+
className: "".concat(styles$1['doctor-desk-first-visit-sider-list__item'], " ").concat(_get(activeItem, 'id') === _get(data, 'id') ? styles$1['active'] : ''),
|
|
210
|
+
style: _get(activeItem, 'id') === _get(data, 'id') ? {
|
|
211
|
+
background: '#D6E6FF'
|
|
212
|
+
} : {
|
|
213
|
+
background: 'none'
|
|
214
|
+
},
|
|
215
|
+
onClick: handleClickListItem(data)
|
|
216
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
217
|
+
className: styles$1['doctor-desk-first-visit-sider-list__item-title']
|
|
218
|
+
}, _get(data, 'checkType'), ' '), _get(data, 'id') && _get(data, 'id') != -1 ? /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
219
|
+
title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u75C5\u5386\u5417?",
|
|
220
|
+
onConfirm: handleDelete(data),
|
|
221
|
+
okText: "\u786E\u5B9A",
|
|
222
|
+
cancelText: "\u53D6\u6D88"
|
|
223
|
+
}, _get(activeItem, 'id') === _get(data, 'id') && /*#__PURE__*/React.createElement(DeleteOutlined, {
|
|
224
|
+
style: {
|
|
225
|
+
color: '#007aff',
|
|
226
|
+
"float": 'right',
|
|
227
|
+
marginTop: 2,
|
|
228
|
+
marginLeft: 8
|
|
229
|
+
}
|
|
230
|
+
}), _get(data, 'registrationDate') && /*#__PURE__*/React.createElement("span", {
|
|
231
|
+
className: "date",
|
|
232
|
+
style: {
|
|
233
|
+
"float": 'right'
|
|
234
|
+
}
|
|
235
|
+
}, _get(data, 'registrationDate'))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditOutlined, {
|
|
236
|
+
style: {
|
|
237
|
+
color: 'rgb(24, 144, 255)',
|
|
238
|
+
"float": 'right',
|
|
239
|
+
marginTop: 2,
|
|
240
|
+
marginLeft: 8
|
|
241
|
+
}
|
|
242
|
+
}), _get(data, 'registrationDate') && /*#__PURE__*/React.createElement("span", {
|
|
243
|
+
className: "date",
|
|
244
|
+
style: {
|
|
245
|
+
"float": 'right'
|
|
246
|
+
}
|
|
247
|
+
}, _get(data, 'registrationDate'))))));
|
|
248
|
+
})));
|
|
249
|
+
}
|
|
250
|
+
function renderContent() {
|
|
251
|
+
if (NurseTypesMapping[activeTemplate]) {
|
|
252
|
+
var Component_1 = NurseTypesMapping[activeTemplate]['component'];
|
|
253
|
+
return /*#__PURE__*/React.createElement(Component_1, _extends({}, props, {
|
|
254
|
+
activeItem: activeItem,
|
|
255
|
+
onRefresh: handleInit,
|
|
256
|
+
reload: reload
|
|
257
|
+
}));
|
|
258
|
+
} else {
|
|
259
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
260
|
+
className: styles$1['gy-empty-page']
|
|
261
|
+
}, /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u75C5\u5386\uFF0C\u8BF7\u9009\u62E9\u6A21\u677F\u5185\u5BB9"), /*#__PURE__*/React.createElement("div", null, _map(NurseTypesMapping, function (nurseType, key) {
|
|
262
|
+
if (_get(data, 'age') > 21) {
|
|
263
|
+
if (nurseType.key === 'Puberty') {
|
|
264
|
+
return '';
|
|
265
|
+
} else {
|
|
266
|
+
return /*#__PURE__*/React.createElement(_Button, {
|
|
267
|
+
style: {
|
|
268
|
+
margin: 8
|
|
269
|
+
},
|
|
270
|
+
key: key,
|
|
271
|
+
onClick: handleChooseTemplate(nurseType)
|
|
272
|
+
}, nurseType.name);
|
|
273
|
+
}
|
|
274
|
+
} else {
|
|
275
|
+
return /*#__PURE__*/React.createElement(_Button, {
|
|
276
|
+
style: {
|
|
277
|
+
margin: 8
|
|
278
|
+
},
|
|
279
|
+
key: key,
|
|
280
|
+
onClick: handleChooseTemplate(nurseType)
|
|
281
|
+
}, nurseType.name);
|
|
282
|
+
}
|
|
283
|
+
})));
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
return /*#__PURE__*/React.createElement(_Row, {
|
|
287
|
+
style: {
|
|
288
|
+
height: '100%'
|
|
289
|
+
}
|
|
290
|
+
}, /*#__PURE__*/React.createElement(_Col, {
|
|
291
|
+
style: {
|
|
292
|
+
height: '100%',
|
|
293
|
+
width: 290,
|
|
294
|
+
overflow: 'scroll',
|
|
295
|
+
backgroundColor: '#fff'
|
|
296
|
+
}
|
|
297
|
+
}, renderSider()), /*#__PURE__*/React.createElement(_Col, {
|
|
298
|
+
style: {
|
|
299
|
+
height: '100%',
|
|
300
|
+
width: 'calc(100% - 290px)',
|
|
301
|
+
overflow: 'scroll'
|
|
302
|
+
}
|
|
303
|
+
}, renderContent()), /*#__PURE__*/React.createElement(_Modal, {
|
|
304
|
+
visible: visible,
|
|
305
|
+
onCancel: function onCancel() {
|
|
306
|
+
set_visible(false);
|
|
307
|
+
}
|
|
308
|
+
}, _map(NurseTypesMapping, function (nurseType, key) {
|
|
309
|
+
if (_get(data, 'age') > 21) {
|
|
310
|
+
if (nurseType.key === 'Puberty') {
|
|
311
|
+
return '';
|
|
312
|
+
} else {
|
|
313
|
+
return /*#__PURE__*/React.createElement(_Button, {
|
|
314
|
+
style: {
|
|
315
|
+
margin: 8
|
|
316
|
+
},
|
|
317
|
+
key: key,
|
|
318
|
+
onClick: handleChooseTemplate(nurseType)
|
|
319
|
+
}, nurseType.name);
|
|
320
|
+
}
|
|
321
|
+
} else {
|
|
322
|
+
return /*#__PURE__*/React.createElement(_Button, {
|
|
323
|
+
style: {
|
|
324
|
+
margin: 8
|
|
325
|
+
},
|
|
326
|
+
key: key,
|
|
327
|
+
onClick: handleChooseTemplate(nurseType)
|
|
328
|
+
}, nurseType.name);
|
|
329
|
+
}
|
|
330
|
+
})));
|
|
331
|
+
}
|
|
332
|
+
var Nursing = function (_super) {
|
|
333
|
+
__extends(Nursing, _super);
|
|
334
|
+
function Nursing() {
|
|
335
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
336
|
+
_this.state = {
|
|
337
|
+
activeTemplate: '',
|
|
338
|
+
siderPanels: [],
|
|
339
|
+
oldsiderPanels: [],
|
|
340
|
+
visible: false,
|
|
341
|
+
activeItem: {}
|
|
342
|
+
};
|
|
343
|
+
_this.handleAdd = function () {
|
|
344
|
+
_this.setState({
|
|
345
|
+
visible: true
|
|
346
|
+
});
|
|
347
|
+
};
|
|
348
|
+
_this.handleClickListItem = function (item) {
|
|
349
|
+
return function () {
|
|
350
|
+
var code = 'dilatationAndCurettage';
|
|
351
|
+
_map(NurseTypesMapping$1, function (value, index) {
|
|
352
|
+
if (_get(item, 'operationName') === _get(value, 'name')) {
|
|
353
|
+
code = index;
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
var activeTemplate = _get(NurseTypesMapping$1, "".concat(code, ".key"));
|
|
357
|
+
_this.setState({
|
|
358
|
+
activeItem: item,
|
|
359
|
+
activeTemplate: activeTemplate
|
|
360
|
+
});
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
_this.handleInit = function (activeType) {
|
|
364
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
365
|
+
var newSiderPanels, id, _a, activeItem, activeTemplate, surgicalRecordId, data, newActiveTemplate, newActiveItem, operationName_1;
|
|
366
|
+
var _this = this;
|
|
367
|
+
return __generator(this, function (_b) {
|
|
368
|
+
switch (_b.label) {
|
|
369
|
+
case 0:
|
|
370
|
+
newSiderPanels = [];
|
|
371
|
+
id = _get(this.props, 'id');
|
|
372
|
+
_a = this.state, activeItem = _a.activeItem, activeTemplate = _a.activeTemplate;
|
|
373
|
+
surgicalRecordId = _get(this.props, 'surgicalRecordId');
|
|
374
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalTypeList?familyPlanningId.equals=".concat(id, "&deleteFlag.equals=0"))];
|
|
375
|
+
case 1:
|
|
376
|
+
data = _b.sent().data;
|
|
377
|
+
if (_get(data, 'data')) {
|
|
378
|
+
newSiderPanels = _get(data, 'data.earlyPregnancyCheckSurgeryType');
|
|
379
|
+
}
|
|
380
|
+
newActiveTemplate = activeTemplate;
|
|
381
|
+
if (surgicalRecordId) {
|
|
382
|
+
_map(newSiderPanels, function (item, index) {
|
|
383
|
+
if (Number(surgicalRecordId) === _get(item, 'id')) {
|
|
384
|
+
_map(NurseTypesMapping$1, function (value, valIndex) {
|
|
385
|
+
if (_get(item, 'operationName') === _get(value, 'name')) {
|
|
386
|
+
newActiveTemplate = _get(NurseTypesMapping$1, "".concat(valIndex, ".key"));
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
_this.setState({
|
|
390
|
+
siderPanels: newSiderPanels,
|
|
391
|
+
oldsiderPanels: newSiderPanels,
|
|
392
|
+
activeItem: item,
|
|
393
|
+
activeTemplate: newActiveTemplate
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
});
|
|
397
|
+
} else {
|
|
398
|
+
newActiveItem = activeItem;
|
|
399
|
+
if (_isEmpty(activeItem) && !_isEmpty(newSiderPanels)) {
|
|
400
|
+
newActiveItem = _first(newSiderPanels);
|
|
401
|
+
operationName_1 = _get(newSiderPanels, '0.operationName');
|
|
402
|
+
_map(NurseTypesMapping$1, function (value, index) {
|
|
403
|
+
if (operationName_1 === _get(value, 'name')) {
|
|
404
|
+
newActiveTemplate = _get(NurseTypesMapping$1, "".concat(index, ".key"));
|
|
405
|
+
}
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
if (!_get(activeItem, 'id')) {
|
|
409
|
+
newActiveItem = _first(newSiderPanels);
|
|
410
|
+
}
|
|
411
|
+
this.setState({
|
|
412
|
+
siderPanels: newSiderPanels,
|
|
413
|
+
oldsiderPanels: newSiderPanels,
|
|
414
|
+
activeItem: newActiveItem,
|
|
415
|
+
activeTemplate: newActiveTemplate
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
return [2];
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
});
|
|
422
|
+
};
|
|
423
|
+
_this.handleDelete = function (item) {
|
|
424
|
+
return function () {
|
|
425
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
426
|
+
var id;
|
|
427
|
+
return __generator(this, function (_a) {
|
|
428
|
+
switch (_a.label) {
|
|
429
|
+
case 0:
|
|
430
|
+
id = _get(item, 'id');
|
|
431
|
+
return [4, fubaoRequest["delete"]("/api/family/planning/deleteEarlyPregnancyCheckSurgicalType/".concat(id))];
|
|
432
|
+
case 1:
|
|
433
|
+
_a.sent().data;
|
|
434
|
+
this.setState({
|
|
435
|
+
activeItem: {},
|
|
436
|
+
activeTemplate: ''
|
|
437
|
+
});
|
|
438
|
+
return [4, this.handleInit()];
|
|
439
|
+
case 2:
|
|
440
|
+
_a.sent();
|
|
441
|
+
return [2];
|
|
442
|
+
}
|
|
443
|
+
});
|
|
444
|
+
});
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
_this.handleChooseTemplate = function (nurseType) {
|
|
448
|
+
return function () {
|
|
449
|
+
_get(nurseType, 'key');
|
|
450
|
+
var oldsiderPanels = _this.state.oldsiderPanels;
|
|
451
|
+
{
|
|
452
|
+
var newSiderPanels = _cloneDeep(oldsiderPanels);
|
|
453
|
+
var newItem = {
|
|
454
|
+
id: '',
|
|
455
|
+
operationName: _get(nurseType, 'name')
|
|
456
|
+
};
|
|
457
|
+
newSiderPanels.push(newItem);
|
|
458
|
+
_this.setState({
|
|
459
|
+
siderPanels: newSiderPanels,
|
|
460
|
+
activeItem: newItem
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
_this.setState({
|
|
464
|
+
activeTemplate: _get(nurseType, 'key'),
|
|
465
|
+
visible: false
|
|
466
|
+
});
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
_this.renderSider = function () {
|
|
470
|
+
var _a = _this.state,
|
|
471
|
+
siderPanels = _a.siderPanels,
|
|
472
|
+
activeItem = _a.activeItem;
|
|
473
|
+
return /*#__PURE__*/React.createElement(_Card, {
|
|
474
|
+
size: "small",
|
|
475
|
+
bordered: false,
|
|
476
|
+
style: {
|
|
477
|
+
height: '100%'
|
|
478
|
+
},
|
|
479
|
+
title: /*#__PURE__*/React.createElement("span", {
|
|
480
|
+
style: {
|
|
481
|
+
color: '#150f55',
|
|
482
|
+
fontWeight: 600
|
|
483
|
+
}
|
|
484
|
+
}, "\u5C31\u8BCA\u8BB0\u5F55"),
|
|
485
|
+
extra: /*#__PURE__*/React.createElement(PlusCircleOutlined, {
|
|
486
|
+
onClick: _this.handleAdd
|
|
487
|
+
})
|
|
488
|
+
}, !_isEmpty(siderPanels) && /*#__PURE__*/React.createElement("div", {
|
|
489
|
+
className: styles$1['family-planning-list-container']
|
|
490
|
+
}, _map(siderPanels, function (data, index) {
|
|
491
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
492
|
+
key: data.id,
|
|
493
|
+
className: styles$1['family-planning-list']
|
|
494
|
+
}, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
495
|
+
className: "".concat(styles$1['doctor-desk-first-visit-sider-list__item'], " ").concat(_get(activeItem, 'id') === _get(data, 'id') ? styles$1['active'] : ''),
|
|
496
|
+
style: _get(activeItem, 'id') === _get(data, 'id') ? {
|
|
497
|
+
background: '#eaf4fd'
|
|
498
|
+
} : {
|
|
499
|
+
background: 'none'
|
|
500
|
+
},
|
|
501
|
+
onClick: _this.handleClickListItem(data)
|
|
502
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
503
|
+
className: styles$1['doctor-desk-first-visit-sider-list__item-title']
|
|
504
|
+
}, _get(data, 'operationName')), _get(data, 'id') && _get(data, 'id') != -1 ? /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
505
|
+
title: "\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u75C5\u5386\u5417?",
|
|
506
|
+
onConfirm: _this.handleDelete(data),
|
|
507
|
+
okText: "\u786E\u5B9A",
|
|
508
|
+
cancelText: "\u53D6\u6D88"
|
|
509
|
+
}, _get(activeItem, 'id') === _get(data, 'id') && /*#__PURE__*/React.createElement(DeleteOutlined, {
|
|
510
|
+
style: {
|
|
511
|
+
color: '#007aff',
|
|
512
|
+
"float": 'right',
|
|
513
|
+
marginTop: 2,
|
|
514
|
+
marginLeft: 8
|
|
515
|
+
}
|
|
516
|
+
}), _get(data, 'surgicalDate') && /*#__PURE__*/React.createElement("span", {
|
|
517
|
+
className: "date",
|
|
518
|
+
style: {
|
|
519
|
+
"float": 'right'
|
|
520
|
+
}
|
|
521
|
+
}, _get(data, 'surgicalDate'))) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EditOutlined, {
|
|
522
|
+
style: {
|
|
523
|
+
color: 'rgb(24, 144, 255)',
|
|
524
|
+
"float": 'right',
|
|
525
|
+
marginTop: 2,
|
|
526
|
+
marginLeft: 8
|
|
527
|
+
}
|
|
528
|
+
}), _get(data, 'surgicalDate') && /*#__PURE__*/React.createElement("span", {
|
|
529
|
+
className: "date",
|
|
530
|
+
style: {
|
|
531
|
+
"float": 'right'
|
|
532
|
+
}
|
|
533
|
+
}, _get(data, 'surgicalDate'))))));
|
|
534
|
+
})));
|
|
535
|
+
};
|
|
536
|
+
_this.renderContent = function () {
|
|
537
|
+
var _a = _this.state,
|
|
538
|
+
activeTemplate = _a.activeTemplate,
|
|
539
|
+
activeItem = _a.activeItem;
|
|
540
|
+
var reload = _this.props.reload;
|
|
541
|
+
if (NurseTypesMapping$1[activeTemplate]) {
|
|
542
|
+
var Component_1 = NurseTypesMapping$1[activeTemplate]['component'];
|
|
543
|
+
return /*#__PURE__*/React.createElement(Component_1, _extends({}, _this.props, {
|
|
544
|
+
activeItem: activeItem,
|
|
545
|
+
activeTemplate: activeTemplate,
|
|
546
|
+
onRefresh: _this.handleInit,
|
|
547
|
+
reload: reload
|
|
548
|
+
}));
|
|
549
|
+
} else {
|
|
550
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
551
|
+
className: styles$1['gy-empty-page']
|
|
552
|
+
}, /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u75C5\u5386\uFF0C\u8BF7\u9009\u62E9\u6A21\u677F\u5185\u5BB9"), /*#__PURE__*/React.createElement("div", null, _map(NurseTypesMapping$1, function (nurseType, key) {
|
|
553
|
+
return /*#__PURE__*/React.createElement(_Button, {
|
|
554
|
+
style: {
|
|
555
|
+
margin: 8
|
|
556
|
+
},
|
|
557
|
+
key: key,
|
|
558
|
+
onClick: _this.handleChooseTemplate(nurseType)
|
|
559
|
+
}, nurseType.name);
|
|
560
|
+
})));
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
return _this;
|
|
564
|
+
}
|
|
565
|
+
Nursing.prototype.componentDidMount = function () {
|
|
566
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
567
|
+
return __generator(this, function (_a) {
|
|
568
|
+
this.handleInit();
|
|
569
|
+
return [2];
|
|
570
|
+
});
|
|
571
|
+
});
|
|
572
|
+
};
|
|
573
|
+
Nursing.prototype.render = function () {
|
|
574
|
+
var _this = this;
|
|
575
|
+
var visible = this.state.visible;
|
|
576
|
+
return /*#__PURE__*/React.createElement(_Row, {
|
|
577
|
+
style: {
|
|
578
|
+
height: '100%'
|
|
579
|
+
}
|
|
580
|
+
}, /*#__PURE__*/React.createElement(_Col, {
|
|
581
|
+
style: {
|
|
582
|
+
height: '100%',
|
|
583
|
+
width: 290,
|
|
584
|
+
overflow: 'scroll',
|
|
585
|
+
backgroundColor: '#fff'
|
|
586
|
+
}
|
|
587
|
+
}, this.renderSider()), /*#__PURE__*/React.createElement(_Col, {
|
|
588
|
+
style: {
|
|
589
|
+
height: '100%',
|
|
590
|
+
width: 'calc(100% - 290px)',
|
|
591
|
+
overflow: 'scroll'
|
|
592
|
+
}
|
|
593
|
+
}, this.renderContent()), /*#__PURE__*/React.createElement(_Modal, {
|
|
594
|
+
visible: visible,
|
|
595
|
+
onCancel: function onCancel() {
|
|
596
|
+
_this.setState({
|
|
597
|
+
visible: false
|
|
598
|
+
});
|
|
599
|
+
}
|
|
600
|
+
}, _map(NurseTypesMapping$1, function (nurseType, key) {
|
|
601
|
+
return /*#__PURE__*/React.createElement(_Button, {
|
|
602
|
+
style: {
|
|
603
|
+
margin: 8
|
|
604
|
+
},
|
|
605
|
+
key: key,
|
|
606
|
+
onClick: _this.handleChooseTemplate(nurseType)
|
|
607
|
+
}, nurseType.name);
|
|
608
|
+
})));
|
|
609
|
+
};
|
|
610
|
+
return Nursing;
|
|
611
|
+
}(Component);
|
|
612
|
+
var SurgicalRecord = Nursing;
|
|
613
|
+
var valueToApi = function valueToApi(values) {
|
|
614
|
+
var result = {};
|
|
615
|
+
_map(values, function (itemVaule, key) {
|
|
616
|
+
switch (key) {
|
|
617
|
+
case 'payment':
|
|
618
|
+
if (itemVaule === '已缴费') {
|
|
619
|
+
_set(result, key, 1);
|
|
620
|
+
} else {
|
|
621
|
+
_set(result, key, 0);
|
|
622
|
+
}
|
|
623
|
+
break;
|
|
624
|
+
case 'postoperationMissions':
|
|
625
|
+
var valueJson = safe_json_parse(itemVaule);
|
|
626
|
+
_set(result, key, _get(valueJson, 'checkedValues.0'));
|
|
627
|
+
_set(result, "".concat(key, "Note"), _get(valueJson, ['withInputValues', "".concat(_get(valueJson, 'checkedValues.0')), 'value', '0']));
|
|
628
|
+
break;
|
|
629
|
+
case 'appointmentDate':
|
|
630
|
+
_set(result, key, formatDateTime(itemVaule));
|
|
631
|
+
break;
|
|
632
|
+
case 'postoperationMissionsType':
|
|
633
|
+
_set(result, key, _get(itemVaule, 'type'));
|
|
634
|
+
_set(result, 'postoperationMissionsContent', _get(itemVaule, 'content'));
|
|
635
|
+
break;
|
|
636
|
+
default:
|
|
637
|
+
if (key === 'postoperationMissionsContent' && _get(result, 'postoperationMissionsContent')) {
|
|
638
|
+
_set(result, key, _get(result, 'postoperationMissionsContent'));
|
|
639
|
+
} else {
|
|
640
|
+
_set(result, key, itemVaule);
|
|
641
|
+
}
|
|
642
|
+
break;
|
|
643
|
+
}
|
|
644
|
+
});
|
|
645
|
+
_set(result, 'progressStatus', 2);
|
|
646
|
+
return result;
|
|
647
|
+
};
|
|
648
|
+
var valueToForm = function valueToForm(values) {
|
|
649
|
+
var operationNameOptions = [];
|
|
650
|
+
var cloneValues = _cloneDeep(values);
|
|
651
|
+
_map(cloneValues, function (item, index) {
|
|
652
|
+
if (_get(item, 'payment')) {
|
|
653
|
+
_set(item, 'payment', '已缴费');
|
|
654
|
+
} else {
|
|
655
|
+
_set(item, 'payment', '未缴费');
|
|
656
|
+
}
|
|
657
|
+
operationNameOptions.push({
|
|
658
|
+
label: _get(item, 'operationName'),
|
|
659
|
+
value: _get(item, 'operationName')
|
|
660
|
+
});
|
|
661
|
+
});
|
|
662
|
+
return {
|
|
663
|
+
data: cloneValues,
|
|
664
|
+
operationNameOptions: operationNameOptions
|
|
665
|
+
};
|
|
666
|
+
};
|
|
667
|
+
var modifyValueToForm = function modifyValueToForm(values) {
|
|
668
|
+
var cloneValues = _cloneDeep(values);
|
|
669
|
+
_map(cloneValues, function (itemValue, key) {
|
|
670
|
+
var _a;
|
|
671
|
+
if (key === 'payment') {
|
|
672
|
+
if (itemValue) {
|
|
673
|
+
_set(cloneValues, key, '已缴费');
|
|
674
|
+
} else {
|
|
675
|
+
_set(cloneValues, key, '未缴费');
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
if (key === 'appointmentDate') {
|
|
679
|
+
_set(cloneValues, key, dayjs(itemValue));
|
|
680
|
+
}
|
|
681
|
+
if (key === 'postoperationMissions') {
|
|
682
|
+
var checkBoxValue = {
|
|
683
|
+
checkedValues: [itemValue],
|
|
684
|
+
withInputValues: (_a = {}, _a[itemValue] = {
|
|
685
|
+
key: itemValue,
|
|
686
|
+
value: {
|
|
687
|
+
'0': _get(cloneValues, "".concat(key, "Note"))
|
|
688
|
+
}
|
|
689
|
+
}, _a)
|
|
690
|
+
};
|
|
691
|
+
_set(cloneValues, key, safe_json_stringify(checkBoxValue));
|
|
692
|
+
}
|
|
693
|
+
if (key === 'postoperationMissionsType') {
|
|
694
|
+
_set(cloneValues, "".concat(key, ".type"), itemValue);
|
|
695
|
+
_set(cloneValues, "".concat(key, ".content"), _get(values, 'postoperationMissionsContent'));
|
|
696
|
+
}
|
|
697
|
+
});
|
|
698
|
+
return cloneValues;
|
|
699
|
+
};
|
|
700
|
+
var modalFormDescriptions = {
|
|
701
|
+
postoperationMissions: {
|
|
702
|
+
key: 'postoperationMissions',
|
|
703
|
+
label: '健康宣教',
|
|
704
|
+
rules: [{
|
|
705
|
+
required: false,
|
|
706
|
+
message: '健康宣教是必填项'
|
|
707
|
+
}],
|
|
708
|
+
inputType: 'checkbox_with_input',
|
|
709
|
+
span: 24,
|
|
710
|
+
offset: 0,
|
|
711
|
+
special_config: JSON.stringify({
|
|
712
|
+
type: 'single',
|
|
713
|
+
options: [{
|
|
714
|
+
value: 1,
|
|
715
|
+
label: '自定义',
|
|
716
|
+
span: 8,
|
|
717
|
+
withInput: false
|
|
718
|
+
}, {
|
|
719
|
+
value: 2,
|
|
720
|
+
label: '知识库',
|
|
721
|
+
withInput: false,
|
|
722
|
+
span: 8
|
|
723
|
+
}]
|
|
724
|
+
})
|
|
725
|
+
},
|
|
726
|
+
postoperationMissionsType: {
|
|
727
|
+
key: 'postoperationMissionsType',
|
|
728
|
+
label: '知识库',
|
|
729
|
+
rules: [{
|
|
730
|
+
required: false,
|
|
731
|
+
message: '知识库是必填项'
|
|
732
|
+
}],
|
|
733
|
+
inputType: 'knowledge_base',
|
|
734
|
+
inputProps: {
|
|
735
|
+
dependency: {
|
|
736
|
+
show: {
|
|
737
|
+
key: 'postoperationMissions',
|
|
738
|
+
value: [2]
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
},
|
|
742
|
+
span: 24,
|
|
743
|
+
offset: 0
|
|
744
|
+
},
|
|
745
|
+
postoperationMissionsContent: {
|
|
746
|
+
key: 'postoperationMissionsContent',
|
|
747
|
+
label: '宣教内容',
|
|
748
|
+
rules: [{
|
|
749
|
+
required: false,
|
|
750
|
+
message: '宣教内容是必填项'
|
|
751
|
+
}],
|
|
752
|
+
inputType: 'operation_template_textarea',
|
|
753
|
+
inputProps: {
|
|
754
|
+
dependency: {
|
|
755
|
+
show: {
|
|
756
|
+
key: 'postoperationMissions',
|
|
757
|
+
value: [1]
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
span: 24,
|
|
762
|
+
offset: 0
|
|
763
|
+
}
|
|
764
|
+
};
|
|
765
|
+
var css_248z$1 = ".appointModel .ant-radio-group {\n width: 100%;\n}\n.appointModel .ant-radio-button-wrapper {\n width: calc(50% - 8px);\n height: 40px;\n margin: 0 8px 4px 0;\n line-height: 40px;\n text-align: center;\n border-width: 1.02px 1px 1px 1px;\n}\n.appointModel .ant-radio-button-wrapper:not(:first-child):before {\n display: none;\n}\n.appointModel .ant-radio-button-wrapper-checked::after {\n position: absolute;\n right: 0;\n bottom: -1px;\n width: 0;\n height: 0;\n border-color: transparent transparent #284c99 transparent;\n border-style: solid;\n border-width: 0 0 30px 30px;\n content: '';\n}\n.appointModel .ant-form-item-explain.ant-form-item-explain-error {\n visibility: hidden;\n}\n.appointModel .textarea-with-template__action span {\n white-space: nowrap;\n}\n.appointModel .appointment-ul {\n position: relative;\n}\n.appointModel .appointment-ul .appointment-li {\n position: relative;\n margin-bottom: 10px;\n padding: 16px;\n}\n.appointModel .appointment-ul .appointment-li .sign-in {\n position: absolute;\n top: 16px;\n right: 32px;\n}\n.appointModel .appointment-ul .appointment-li .sign-in span {\n padding: 4px 9px;\n color: #fff;\n font-size: 14px;\n background: #7b8c9b;\n border-radius: 4px;\n}\n.appointModel .appointment-ul .appointment-li .button-group {\n text-align: right;\n}\n.appointModel .appointment-ul .appointment-li .button-group .ant-btn-link:last-child {\n margin-left: 16px;\n color: #bd52ce;\n border: 1px solid #bd52ce;\n}\n.appointModel .appointment-ul .appointment-li .button-group .ant-btn-link:first-child {\n color: #7f8c9a;\n border: 1px solid #7f8c9a;\n}\n.appointModel .appointment-ul .appointment-li .label {\n color: #828c99;\n}\n.appointModel .appointment-ul .ant-row {\n margin-bottom: 10px;\n}\n.apponit-modal .ant-modal-body {\n position: relative;\n max-height: calc(100vh - 240px);\n overflow: auto;\n}\n.ant-picker-cell .ant-picker-cell-inner.single-datePicker-irreducible::after {\n position: absolute;\n bottom: -5px;\n left: 51%;\n width: 4px;\n height: 4px;\n background-color: gray;\n border-radius: 50%;\n transform: translateX(-50%);\n content: '';\n}\n.ant-picker-cell .ant-picker-cell-inner.single-datePicker-reducible::after {\n position: absolute;\n bottom: -5px;\n left: 51%;\n width: 4px;\n height: 4px;\n background-color: #06c306;\n border-radius: 50%;\n transform: translateX(-50%);\n content: '';\n}\n.ant-picker-cell .ant-picker-cell-inner.single-datePicker-stop::after {\n position: absolute;\n top: -8px;\n right: -8px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n color: #5d3900;\n font-size: 12px;\n text-align: center;\n background: #ffe4b8;\n border-radius: 50%;\n content: '\\505c';\n}\n";
|
|
766
|
+
styleInject(css_248z$1);
|
|
767
|
+
LazyAntd.Tree;
|
|
768
|
+
LazyAntd.TreeSelect;
|
|
769
|
+
var Select = LazyAntd.Select;
|
|
770
|
+
LazyAntd.Table;
|
|
771
|
+
LazyAntd.Dropdown;
|
|
772
|
+
LazyAntd.Pagination;
|
|
773
|
+
var TabPane = _Tabs.TabPane;
|
|
774
|
+
var Index = function (_super) {
|
|
775
|
+
__extends(Index, _super);
|
|
776
|
+
function Index() {
|
|
777
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
778
|
+
_this.formRef = /*#__PURE__*/React.createRef();
|
|
779
|
+
_this.state = {
|
|
780
|
+
activeTabKey: '1',
|
|
781
|
+
operationNameOptions: [],
|
|
782
|
+
operationName: '',
|
|
783
|
+
data: {},
|
|
784
|
+
selectData: {},
|
|
785
|
+
recordData: [],
|
|
786
|
+
sameDayData: [],
|
|
787
|
+
popconfirmVisible: false,
|
|
788
|
+
popconfirmVisibleId: undefined,
|
|
789
|
+
openSchedulingDateByOperationNameData: {},
|
|
790
|
+
reservationPanel: [],
|
|
791
|
+
templateData: [],
|
|
792
|
+
isUpdate: false
|
|
793
|
+
};
|
|
794
|
+
_this.renderEditItem = _this.generateRenderEditItem(_this.props.formDescriptions, {
|
|
795
|
+
formItemLayout: _this.props.formItemLayout
|
|
796
|
+
});
|
|
797
|
+
_this.getAppointmentData = function () {
|
|
798
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
799
|
+
var basicData, params, response, valuesObj, data, operationNameOptions;
|
|
800
|
+
return __generator(this, function (_a) {
|
|
801
|
+
switch (_a.label) {
|
|
802
|
+
case 0:
|
|
803
|
+
basicData = this.props.basicData;
|
|
804
|
+
params = {
|
|
805
|
+
'progressStatus.equals': 1,
|
|
806
|
+
'outpatientNo.equals': _get(basicData, 'outpatientNo'),
|
|
807
|
+
'deleteFlag.equals': 0
|
|
808
|
+
};
|
|
809
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType", {
|
|
810
|
+
params: params
|
|
811
|
+
})];
|
|
812
|
+
case 1:
|
|
813
|
+
response = _a.sent().data;
|
|
814
|
+
if (_get(response, 'code') === 1) {
|
|
815
|
+
if (_isEmpty(_get(response, 'data'))) {
|
|
816
|
+
this.getRecordData();
|
|
817
|
+
this.setState({
|
|
818
|
+
activeTabKey: '2'
|
|
819
|
+
});
|
|
820
|
+
} else {
|
|
821
|
+
valuesObj = valueToForm(_get(response, 'data'));
|
|
822
|
+
data = valuesObj.data, operationNameOptions = valuesObj.operationNameOptions;
|
|
823
|
+
this.setState({
|
|
824
|
+
data: data,
|
|
825
|
+
operationNameOptions: operationNameOptions
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
} else {
|
|
829
|
+
_message.warning(_get(response, 'msg'));
|
|
830
|
+
}
|
|
831
|
+
return [2];
|
|
832
|
+
}
|
|
833
|
+
});
|
|
834
|
+
});
|
|
835
|
+
};
|
|
836
|
+
_this.getRecordData = function () {
|
|
837
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
838
|
+
var basicData, params, response, recordData;
|
|
839
|
+
return __generator(this, function (_a) {
|
|
840
|
+
switch (_a.label) {
|
|
841
|
+
case 0:
|
|
842
|
+
basicData = this.props.basicData;
|
|
843
|
+
params = {
|
|
844
|
+
'progressStatusNO.equals': 1,
|
|
845
|
+
'outpatientNo.equals': _get(basicData, 'outpatientNo'),
|
|
846
|
+
'deleteFlag.equals': 0
|
|
847
|
+
};
|
|
848
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType", {
|
|
849
|
+
params: params
|
|
850
|
+
})];
|
|
851
|
+
case 1:
|
|
852
|
+
response = _a.sent().data;
|
|
853
|
+
if (_get(response, 'code') === 1) {
|
|
854
|
+
recordData = _get(response, 'data');
|
|
855
|
+
this.setState({
|
|
856
|
+
recordData: recordData
|
|
857
|
+
});
|
|
858
|
+
} else {
|
|
859
|
+
_message.warning(_get(response, 'msg'));
|
|
860
|
+
}
|
|
861
|
+
return [2];
|
|
862
|
+
}
|
|
863
|
+
});
|
|
864
|
+
});
|
|
865
|
+
};
|
|
866
|
+
_this.getTemplate = function () {
|
|
867
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
868
|
+
var params, response, templateData;
|
|
869
|
+
return __generator(this, function (_a) {
|
|
870
|
+
switch (_a.label) {
|
|
871
|
+
case 0:
|
|
872
|
+
params = {
|
|
873
|
+
'deleteFlag.equals': 0
|
|
874
|
+
};
|
|
875
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancySurgicalTemplate", {
|
|
876
|
+
params: params
|
|
877
|
+
})];
|
|
878
|
+
case 1:
|
|
879
|
+
response = _a.sent().data;
|
|
880
|
+
if (_get(response, 'code') === 1) {
|
|
881
|
+
templateData = _get(response, 'data');
|
|
882
|
+
this.setState({
|
|
883
|
+
templateData: templateData
|
|
884
|
+
});
|
|
885
|
+
}
|
|
886
|
+
return [2];
|
|
887
|
+
}
|
|
888
|
+
});
|
|
889
|
+
});
|
|
890
|
+
};
|
|
891
|
+
_this.getAttendanceOfThisDay = function (target, operationKey) {
|
|
892
|
+
if (!target || !_get(target, "attendanceSet")) {
|
|
893
|
+
return '休息';
|
|
894
|
+
} else if (_get(target, "".concat(operationKey)) === 0 || _get(target, "".concat(operationKey)) === 2 || _get(target, "".concat(operationKey)) === 3) {
|
|
895
|
+
return '休息';
|
|
896
|
+
} else {
|
|
897
|
+
return _get(target, "".concat(operationKey));
|
|
898
|
+
}
|
|
899
|
+
};
|
|
900
|
+
_this.disabledDate = function (current) {
|
|
901
|
+
var _a = _this.state,
|
|
902
|
+
reservationPanel = _a.reservationPanel,
|
|
903
|
+
operationName = _a.operationName;
|
|
904
|
+
var operationKey = _this.getOperationKey(operationName);
|
|
905
|
+
var target = reservationPanel.find(function (_) {
|
|
906
|
+
return dayjs(_get(_, 'schedulingDate')).isSame(current, 'day');
|
|
907
|
+
});
|
|
908
|
+
return current < dayjs().startOf('day') || _this.getAttendanceOfThisDay(target, operationKey) === '休息';
|
|
909
|
+
};
|
|
910
|
+
_this.dateRender = function (currentDate, today) {
|
|
911
|
+
var _a = _this.state,
|
|
912
|
+
reservationPanel = _a.reservationPanel,
|
|
913
|
+
operationName = _a.operationName;
|
|
914
|
+
var operationKey = _this.getOperationKey(operationName);
|
|
915
|
+
var target = reservationPanel.find(function (_) {
|
|
916
|
+
return dayjs(_get(_, 'schedulingDate')).isSame(currentDate, 'day');
|
|
917
|
+
});
|
|
918
|
+
var isOpen = _this.getAttendanceOfThisDay(target, operationKey);
|
|
919
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
920
|
+
className: "ant-picker-cell-inner ".concat(_get(target, 'attendanceSet') && isOpen === '休息' && _get(target, "".concat(operationKey)) === 3 ? 'single-datePicker-irreducible' : _get(target, 'attendanceSet') && isOpen === '休息' && _get(target, "".concat(operationKey)) === 0 || _get(target, 'attendanceSet') && isOpen === '休息' && _get(target, "".concat(operationKey)) === 2 || _get(target, 'attendanceSet') === 0 ? 'single-datePicker-stop' : isOpen === 1 ? 'single-datePicker-reducible' : '')
|
|
921
|
+
}, currentDate.date());
|
|
922
|
+
};
|
|
923
|
+
_this.handleSubmit = function () {
|
|
924
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
925
|
+
var onCancel, selectData, data, submitData, res, errorInfo_1;
|
|
926
|
+
var _a, _b;
|
|
927
|
+
return __generator(this, function (_c) {
|
|
928
|
+
switch (_c.label) {
|
|
929
|
+
case 0:
|
|
930
|
+
_c.trys.push([0, 3,, 4]);
|
|
931
|
+
onCancel = this.props.onCancel;
|
|
932
|
+
selectData = this.state.selectData;
|
|
933
|
+
this.form = this.formRef.current;
|
|
934
|
+
return [4, (_a = this.form) === null || _a === void 0 ? void 0 : _a.validateFields()];
|
|
935
|
+
case 1:
|
|
936
|
+
_c.sent();
|
|
937
|
+
data = (_b = this.form) === null || _b === void 0 ? void 0 : _b.getFieldsValue();
|
|
938
|
+
submitData = valueToApi(data);
|
|
939
|
+
submitData = __assign(__assign({}, selectData), submitData);
|
|
940
|
+
return [4, fubaoRequest.post('/api/family/planning/updateAppointmentSurgery', submitData)];
|
|
941
|
+
case 2:
|
|
942
|
+
res = _c.sent().data;
|
|
943
|
+
if (_get(res, 'code') === 1) {
|
|
944
|
+
if (_get(selectData, 'appointmentMorningOrAfternoon')) {
|
|
945
|
+
_message.success('已修改成功,信息将同步推送给患者。');
|
|
946
|
+
} else {
|
|
947
|
+
_message.success('已预约成功,信息将同步推送给患者。');
|
|
948
|
+
}
|
|
949
|
+
onCancel && onCancel();
|
|
950
|
+
}
|
|
951
|
+
return [3, 4];
|
|
952
|
+
case 3:
|
|
953
|
+
errorInfo_1 = _c.sent();
|
|
954
|
+
_message.error(_get(errorInfo_1, 'errorFields.0.errors.0'));
|
|
955
|
+
return [3, 4];
|
|
956
|
+
case 4:
|
|
957
|
+
return [2];
|
|
958
|
+
}
|
|
959
|
+
});
|
|
960
|
+
});
|
|
961
|
+
};
|
|
962
|
+
_this.handleTabChange = function (key) {
|
|
963
|
+
if (key === '2') {
|
|
964
|
+
_this.getRecordData();
|
|
965
|
+
}
|
|
966
|
+
_this.setState({
|
|
967
|
+
activeTabKey: key
|
|
968
|
+
});
|
|
969
|
+
};
|
|
970
|
+
_this.getReservationPanel = function () {
|
|
971
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
972
|
+
var startDate, endDate, res;
|
|
973
|
+
return __generator(this, function (_a) {
|
|
974
|
+
switch (_a.label) {
|
|
975
|
+
case 0:
|
|
976
|
+
startDate = dayjs(new Date());
|
|
977
|
+
endDate = dayjs(new Date()).add(1, 'months');
|
|
978
|
+
return [4, getReservationPanelByDate(startDate, endDate)];
|
|
979
|
+
case 1:
|
|
980
|
+
res = _a.sent();
|
|
981
|
+
this.setState({
|
|
982
|
+
reservationPanel: res.data
|
|
983
|
+
});
|
|
984
|
+
return [2];
|
|
985
|
+
}
|
|
986
|
+
});
|
|
987
|
+
});
|
|
988
|
+
};
|
|
989
|
+
_this.handleItemChange = function (changedValues, allValues) {
|
|
990
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
991
|
+
var data, filterArr, params, response, momentSchedulingDate, appointmentDate;
|
|
992
|
+
var _a, _b;
|
|
993
|
+
return __generator(this, function (_c) {
|
|
994
|
+
switch (_c.label) {
|
|
995
|
+
case 0:
|
|
996
|
+
data = this.state.data;
|
|
997
|
+
this.form = this.formRef.current;
|
|
998
|
+
if (!_get(changedValues, 'operationName')) return [3, 2];
|
|
999
|
+
filterArr = _filter(data, function (item) {
|
|
1000
|
+
return _get(item, 'operationName') === _get(changedValues, 'operationName');
|
|
1001
|
+
});
|
|
1002
|
+
(_a = this.form) === null || _a === void 0 ? void 0 : _a.setFieldsValue(filterArr[0]);
|
|
1003
|
+
this.setState({
|
|
1004
|
+
selectData: filterArr[0]
|
|
1005
|
+
});
|
|
1006
|
+
params = {
|
|
1007
|
+
'operationName.equals': _get(changedValues, 'operationName')
|
|
1008
|
+
};
|
|
1009
|
+
return [4, fubaoRequest.get("/api/family/planning/getOpenSchedulingDateByOperationName", {
|
|
1010
|
+
params: params
|
|
1011
|
+
})];
|
|
1012
|
+
case 1:
|
|
1013
|
+
response = _c.sent().data;
|
|
1014
|
+
if (_get(response, 'code') === 1) {
|
|
1015
|
+
if (_get(response, 'data')) {
|
|
1016
|
+
momentSchedulingDate = dayjs(_get(response, 'data.schedulingDate'));
|
|
1017
|
+
(_b = this.form) === null || _b === void 0 ? void 0 : _b.setFieldsValue({
|
|
1018
|
+
appointmentDate: momentSchedulingDate
|
|
1019
|
+
});
|
|
1020
|
+
this.getAccordingtoDateOfData(_get(response, 'data.schedulingDate'));
|
|
1021
|
+
this.setState({
|
|
1022
|
+
openSchedulingDateByOperationNameData: _get(response, 'data'),
|
|
1023
|
+
operationName: _get(changedValues, 'operationName')
|
|
1024
|
+
});
|
|
1025
|
+
} else {
|
|
1026
|
+
this.setState({
|
|
1027
|
+
openSchedulingDateByOperationNameData: {},
|
|
1028
|
+
operationName: _get(changedValues, 'operationName')
|
|
1029
|
+
});
|
|
1030
|
+
_message.warning(_get(response, 'msg'));
|
|
1031
|
+
}
|
|
1032
|
+
} else {
|
|
1033
|
+
_message.warning(_get(response, 'msg'));
|
|
1034
|
+
}
|
|
1035
|
+
_c.label = 2;
|
|
1036
|
+
case 2:
|
|
1037
|
+
if (_get(changedValues, 'appointmentDate')) {
|
|
1038
|
+
appointmentDate = _get(changedValues, 'appointmentDate').format('YYYY-MM-DD');
|
|
1039
|
+
this.getAccordingtoDateOfData(appointmentDate);
|
|
1040
|
+
this.getAccordingtoDateOfScheduling(appointmentDate);
|
|
1041
|
+
}
|
|
1042
|
+
return [2];
|
|
1043
|
+
}
|
|
1044
|
+
});
|
|
1045
|
+
});
|
|
1046
|
+
};
|
|
1047
|
+
_this.getAccordingtoDateOfScheduling = function (date) {
|
|
1048
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1049
|
+
var params, response;
|
|
1050
|
+
return __generator(this, function (_a) {
|
|
1051
|
+
switch (_a.label) {
|
|
1052
|
+
case 0:
|
|
1053
|
+
params = {
|
|
1054
|
+
'schedulingDate.equals': date,
|
|
1055
|
+
'deleteFlag.equals': 0
|
|
1056
|
+
};
|
|
1057
|
+
return [4, fubaoRequest.get("/api/family/planning/getSchedulingInformation", {
|
|
1058
|
+
params: params
|
|
1059
|
+
})];
|
|
1060
|
+
case 1:
|
|
1061
|
+
response = _a.sent().data;
|
|
1062
|
+
if (_get(response, 'code') === 1) {
|
|
1063
|
+
this.setState({
|
|
1064
|
+
openSchedulingDateByOperationNameData: _get(response, 'data.0')
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1067
|
+
return [2];
|
|
1068
|
+
}
|
|
1069
|
+
});
|
|
1070
|
+
});
|
|
1071
|
+
};
|
|
1072
|
+
_this.getAccordingtoDateOfData = function (date) {
|
|
1073
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1074
|
+
var params, response;
|
|
1075
|
+
return __generator(this, function (_a) {
|
|
1076
|
+
switch (_a.label) {
|
|
1077
|
+
case 0:
|
|
1078
|
+
params = {
|
|
1079
|
+
'appointmentDate.equals': date,
|
|
1080
|
+
'deleteFlag.equals': 0
|
|
1081
|
+
};
|
|
1082
|
+
return [4, fubaoRequest.get("/api/family/planning/getEarlyPregnancyCheckSurgicalType", {
|
|
1083
|
+
params: params
|
|
1084
|
+
})];
|
|
1085
|
+
case 1:
|
|
1086
|
+
response = _a.sent().data;
|
|
1087
|
+
if (_get(response, 'code') === 1) {
|
|
1088
|
+
this.setState({
|
|
1089
|
+
sameDayData: _get(response, 'data')
|
|
1090
|
+
});
|
|
1091
|
+
}
|
|
1092
|
+
return [2];
|
|
1093
|
+
}
|
|
1094
|
+
});
|
|
1095
|
+
});
|
|
1096
|
+
};
|
|
1097
|
+
_this.handleOk = function (item) {
|
|
1098
|
+
return function () {
|
|
1099
|
+
var id = _get(item, 'id');
|
|
1100
|
+
_this.setState({
|
|
1101
|
+
popconfirmVisible: true,
|
|
1102
|
+
popconfirmVisibleId: id
|
|
1103
|
+
});
|
|
1104
|
+
};
|
|
1105
|
+
};
|
|
1106
|
+
_this.hanleCancelAppointmentSurgery = function (item) {
|
|
1107
|
+
return function () {
|
|
1108
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1109
|
+
var id;
|
|
1110
|
+
return __generator(this, function (_a) {
|
|
1111
|
+
switch (_a.label) {
|
|
1112
|
+
case 0:
|
|
1113
|
+
id = _get(item, 'id');
|
|
1114
|
+
return [4, fubaoRequest["delete"]("/api/family/planning/cancelAppointmentSurgery/".concat(id))];
|
|
1115
|
+
case 1:
|
|
1116
|
+
_a.sent().data;
|
|
1117
|
+
this.setState({
|
|
1118
|
+
activeTabKey: '2'
|
|
1119
|
+
});
|
|
1120
|
+
return [4, this.getRecordData()];
|
|
1121
|
+
case 2:
|
|
1122
|
+
_a.sent();
|
|
1123
|
+
return [2];
|
|
1124
|
+
}
|
|
1125
|
+
});
|
|
1126
|
+
});
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
_this.handleUpdateAppointmentSurgery = function (item) {
|
|
1130
|
+
return function () {
|
|
1131
|
+
var _a;
|
|
1132
|
+
var formValue = modifyValueToForm(item);
|
|
1133
|
+
_this.form = _this.formRef.current;
|
|
1134
|
+
(_a = _this.form) === null || _a === void 0 ? void 0 : _a.setFieldsValue(formValue);
|
|
1135
|
+
_this.getAccordingtoDateOfData(_get(item, 'appointmentDate'));
|
|
1136
|
+
_this.getAccordingtoDateOfScheduling(_get(item, 'appointmentDate'));
|
|
1137
|
+
_this.setState({
|
|
1138
|
+
activeTabKey: '1',
|
|
1139
|
+
operationName: _get(item, 'operationName'),
|
|
1140
|
+
selectData: item,
|
|
1141
|
+
isUpdate: true
|
|
1142
|
+
});
|
|
1143
|
+
};
|
|
1144
|
+
};
|
|
1145
|
+
_this.getOperationKey = function (operationName) {
|
|
1146
|
+
var operationKey = '';
|
|
1147
|
+
if (operationName) {
|
|
1148
|
+
_map(NurseTypesMapping$1, function (item, key) {
|
|
1149
|
+
if (_get(item, 'name') === operationName) {
|
|
1150
|
+
operationKey = _get(item, 'key');
|
|
1151
|
+
}
|
|
1152
|
+
});
|
|
1153
|
+
}
|
|
1154
|
+
return operationKey;
|
|
1155
|
+
};
|
|
1156
|
+
_this.renderSource = function (data, operationName) {
|
|
1157
|
+
var operationKey = _this.getOperationKey(operationName);
|
|
1158
|
+
var num = _get(data, "".concat(operationKey, "Num")) || 0;
|
|
1159
|
+
var reservationNum = _get(data, "".concat(operationKey, "ReservationNum")) || 0;
|
|
1160
|
+
var residueNum = _get(data, "".concat(operationKey, "ResidueNum")) || 0;
|
|
1161
|
+
return "\u5269\u4F59\u53F7\u6E90\uFF1A".concat(residueNum, "\u4E2A\uFF1B\u5DF2\u9884\u7EA6\uFF1A").concat(reservationNum, "\u4E2A\uFF1B\u5F00\u653E\u53F7\u6E90\uFF1A").concat(num, "\u4E2A");
|
|
1162
|
+
};
|
|
1163
|
+
_this.renderAppointmentMorningOrAfternoon = function (data, operationName) {
|
|
1164
|
+
var _a;
|
|
1165
|
+
var sameDayData = _this.state.sameDayData;
|
|
1166
|
+
var operationKey = _this.getOperationKey(operationName);
|
|
1167
|
+
var residueNum = _get(data, "".concat(operationKey, "ResidueNum")) || 0;
|
|
1168
|
+
var attendanceSet = _get(data, 'attendanceSet');
|
|
1169
|
+
_this.form = _this.formRef.current;
|
|
1170
|
+
var appointmentDate = (_a = _this.form) === null || _a === void 0 ? void 0 : _a.getFieldValue('appointmentDate');
|
|
1171
|
+
var today = dayjs();
|
|
1172
|
+
var hour = today.hour();
|
|
1173
|
+
var isBefore = dayjs(formatDate(appointmentDate)).diff(dayjs(formatDate(today)), 'days');
|
|
1174
|
+
var morningOverTime = false;
|
|
1175
|
+
var afternoonOverTime = false;
|
|
1176
|
+
if (isBefore < 0) {
|
|
1177
|
+
morningOverTime = true;
|
|
1178
|
+
afternoonOverTime = true;
|
|
1179
|
+
}
|
|
1180
|
+
if (isBefore === 0 && hour > 11) {
|
|
1181
|
+
morningOverTime = true;
|
|
1182
|
+
}
|
|
1183
|
+
if (isBefore === 0 && hour > 17) {
|
|
1184
|
+
afternoonOverTime = true;
|
|
1185
|
+
}
|
|
1186
|
+
var options = [];
|
|
1187
|
+
if (attendanceSet === 3) {
|
|
1188
|
+
var morningData = _filter(sameDayData, function (item) {
|
|
1189
|
+
return _get(item, 'appointmentMorningOrAfternoon') === '上午' && _get(item, 'progressStatus') !== 1 && _get(item, 'progressStatus') !== 5;
|
|
1190
|
+
});
|
|
1191
|
+
var afternoonData = _filter(sameDayData, function (item) {
|
|
1192
|
+
return _get(item, 'appointmentMorningOrAfternoon') === '下午' && _get(item, 'progressStatus') !== 1 && _get(item, 'progressStatus') !== 5;
|
|
1193
|
+
});
|
|
1194
|
+
options = [{
|
|
1195
|
+
label: '上午',
|
|
1196
|
+
value: '上午',
|
|
1197
|
+
isFull: morningData.length > 25 || residueNum === 0 ? true : false,
|
|
1198
|
+
isOvertiem: morningOverTime
|
|
1199
|
+
}, {
|
|
1200
|
+
label: '下午',
|
|
1201
|
+
value: '下午',
|
|
1202
|
+
isFull: afternoonData.length > 25 || residueNum === 0 ? true : false,
|
|
1203
|
+
isOvertiem: afternoonOverTime
|
|
1204
|
+
}];
|
|
1205
|
+
} else if (attendanceSet === 2) {
|
|
1206
|
+
options = [{
|
|
1207
|
+
label: '下午',
|
|
1208
|
+
value: '下午',
|
|
1209
|
+
isFull: residueNum === 0 ? true : false,
|
|
1210
|
+
isOvertiem: afternoonOverTime
|
|
1211
|
+
}];
|
|
1212
|
+
} else if (attendanceSet === 1) {
|
|
1213
|
+
options = [{
|
|
1214
|
+
label: '上午',
|
|
1215
|
+
value: '上午',
|
|
1216
|
+
isFull: residueNum === 0 ? true : false,
|
|
1217
|
+
isOvertiem: morningOverTime
|
|
1218
|
+
}];
|
|
1219
|
+
} else {
|
|
1220
|
+
options = [];
|
|
1221
|
+
}
|
|
1222
|
+
if (attendanceSet) {
|
|
1223
|
+
return /*#__PURE__*/React.createElement(_Form.Item, {
|
|
1224
|
+
name: "appointmentMorningOrAfternoon",
|
|
1225
|
+
label: "\u9884\u7EA6\u65F6\u95F4\u6BB5",
|
|
1226
|
+
rules: [{
|
|
1227
|
+
required: true,
|
|
1228
|
+
message: '预约时间段是必填项'
|
|
1229
|
+
}]
|
|
1230
|
+
}, /*#__PURE__*/React.createElement(_Radio.Group, null, options.map(function (item, index) {
|
|
1231
|
+
return /*#__PURE__*/React.createElement(_Radio.Button, {
|
|
1232
|
+
value: item.value,
|
|
1233
|
+
key: index,
|
|
1234
|
+
disabled: item.isFull || item.isOvertiem
|
|
1235
|
+
}, item.label, item.isFull && /*#__PURE__*/React.createElement("span", {
|
|
1236
|
+
style: {
|
|
1237
|
+
color: 'red',
|
|
1238
|
+
paddingLeft: 16
|
|
1239
|
+
}
|
|
1240
|
+
}, "\u5DF2\u6EE1"));
|
|
1241
|
+
})));
|
|
1242
|
+
} else {
|
|
1243
|
+
return /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
|
|
1244
|
+
span: 6
|
|
1245
|
+
}), /*#__PURE__*/React.createElement(_Col, {
|
|
1246
|
+
span: 18
|
|
1247
|
+
}, /*#__PURE__*/React.createElement(_Alert, {
|
|
1248
|
+
message: "\u6682\u65E0\u53EF\u9884\u7EA6\u65F6\u95F4\u6BB5",
|
|
1249
|
+
type: "warning"
|
|
1250
|
+
})));
|
|
1251
|
+
}
|
|
1252
|
+
};
|
|
1253
|
+
_this.renderColor = function (data) {
|
|
1254
|
+
var templateData = _this.state.templateData;
|
|
1255
|
+
var filterArr = _filter(templateData, function (item) {
|
|
1256
|
+
return _get(item, 'operationName') === _get(data, 'operationName');
|
|
1257
|
+
});
|
|
1258
|
+
return {
|
|
1259
|
+
backgroundColor: _get(filterArr, '0.backgroundColor') || 'rgb(243, 243, 254)',
|
|
1260
|
+
fontColor: _get(filterArr, '0.fontColor') || 'rgb(243, 243, 254)'
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
return _this;
|
|
1264
|
+
}
|
|
1265
|
+
Index.prototype.componentDidMount = function () {
|
|
1266
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1267
|
+
return __generator(this, function (_a) {
|
|
1268
|
+
this.getAppointmentData();
|
|
1269
|
+
this.getReservationPanel();
|
|
1270
|
+
this.getTemplate();
|
|
1271
|
+
return [2];
|
|
1272
|
+
});
|
|
1273
|
+
});
|
|
1274
|
+
};
|
|
1275
|
+
Index.prototype.render = function () {
|
|
1276
|
+
var _this = this;
|
|
1277
|
+
var _a = this.props,
|
|
1278
|
+
visible = _a.visible,
|
|
1279
|
+
onCancel = _a.onCancel;
|
|
1280
|
+
_a.formDescriptions;
|
|
1281
|
+
var _b = this.state;
|
|
1282
|
+
_b.data;
|
|
1283
|
+
var operationNameOptions = _b.operationNameOptions,
|
|
1284
|
+
recordData = _b.recordData,
|
|
1285
|
+
popconfirmVisible = _b.popconfirmVisible,
|
|
1286
|
+
popconfirmVisibleId = _b.popconfirmVisibleId,
|
|
1287
|
+
activeTabKey = _b.activeTabKey,
|
|
1288
|
+
openSchedulingDateByOperationNameData = _b.openSchedulingDateByOperationNameData,
|
|
1289
|
+
operationName = _b.operationName,
|
|
1290
|
+
isUpdate = _b.isUpdate;
|
|
1291
|
+
return /*#__PURE__*/React.createElement(_Modal, {
|
|
1292
|
+
centered: true,
|
|
1293
|
+
wrapClassName: "modal-phone apponit-modal",
|
|
1294
|
+
title: '手术预约',
|
|
1295
|
+
visible: visible,
|
|
1296
|
+
onCancel: onCancel,
|
|
1297
|
+
onOk: this.handleSubmit,
|
|
1298
|
+
width: 580,
|
|
1299
|
+
footer: [/*#__PURE__*/React.createElement(_Button, {
|
|
1300
|
+
key: "back",
|
|
1301
|
+
onClick: onCancel
|
|
1302
|
+
}, "\u5173\u95ED"), /*#__PURE__*/React.createElement(_Button, {
|
|
1303
|
+
key: "submit",
|
|
1304
|
+
type: "primary",
|
|
1305
|
+
style: activeTabKey === '2' || _isEmpty(openSchedulingDateByOperationNameData) ? {
|
|
1306
|
+
display: 'none'
|
|
1307
|
+
} : {
|
|
1308
|
+
display: 'inline-block'
|
|
1309
|
+
},
|
|
1310
|
+
disabled: activeTabKey === '2' || _isEmpty(openSchedulingDateByOperationNameData) ? true : false,
|
|
1311
|
+
onClick: this.handleSubmit
|
|
1312
|
+
}, "\u4FDD\u5B58")]
|
|
1313
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1314
|
+
className: "modal-phone-content appointModel"
|
|
1315
|
+
}, /*#__PURE__*/React.createElement(_Tabs, {
|
|
1316
|
+
activeKey: activeTabKey,
|
|
1317
|
+
onChange: this.handleTabChange,
|
|
1318
|
+
type: "card"
|
|
1319
|
+
}, /*#__PURE__*/React.createElement(TabPane, {
|
|
1320
|
+
tab: "\u624B\u672F\u9884\u7EA6",
|
|
1321
|
+
key: "1"
|
|
1322
|
+
}, /*#__PURE__*/React.createElement(_Form, {
|
|
1323
|
+
autoComplete: "off",
|
|
1324
|
+
className: "modal-phone-pregnancy",
|
|
1325
|
+
ref: this.formRef,
|
|
1326
|
+
labelCol: {
|
|
1327
|
+
span: 6
|
|
1328
|
+
},
|
|
1329
|
+
wrapperCol: {
|
|
1330
|
+
span: 18
|
|
1331
|
+
},
|
|
1332
|
+
onValuesChange: this.handleItemChange
|
|
1333
|
+
}, /*#__PURE__*/React.createElement(_Form.Item, {
|
|
1334
|
+
name: "operationName",
|
|
1335
|
+
label: "\u624B\u672F\u540D\u79F0",
|
|
1336
|
+
rules: [{
|
|
1337
|
+
required: true,
|
|
1338
|
+
message: '手术名称是必填项'
|
|
1339
|
+
}]
|
|
1340
|
+
}, /*#__PURE__*/React.createElement(Select, {
|
|
1341
|
+
options: operationNameOptions,
|
|
1342
|
+
placeholder: "\u624B\u672F\u540D\u79F0",
|
|
1343
|
+
disabled: isUpdate
|
|
1344
|
+
})), /*#__PURE__*/React.createElement(_Form.Item, {
|
|
1345
|
+
name: "payment",
|
|
1346
|
+
label: "\u7F34\u8D39\u60C5\u51B5",
|
|
1347
|
+
rules: [{
|
|
1348
|
+
required: true,
|
|
1349
|
+
message: '自动获取HIS系统的缴费状态'
|
|
1350
|
+
}]
|
|
1351
|
+
}, /*#__PURE__*/React.createElement(_Input, {
|
|
1352
|
+
placeholder: "\u81EA\u52A8\u83B7\u53D6HIS\u7CFB\u7EDF\u7684\u7F34\u8D39\u72B6\u6001",
|
|
1353
|
+
disabled: true
|
|
1354
|
+
})), operationName && !_isEmpty(openSchedulingDateByOperationNameData) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {
|
|
1355
|
+
name: "appointmentDate",
|
|
1356
|
+
label: "\u9884\u7EA6\u65E5\u671F",
|
|
1357
|
+
rules: [{
|
|
1358
|
+
required: true,
|
|
1359
|
+
message: '预约日期是必填项'
|
|
1360
|
+
}]
|
|
1361
|
+
}, /*#__PURE__*/React.createElement(DatePicker_L, {
|
|
1362
|
+
dateRender: this.dateRender,
|
|
1363
|
+
disabledDate: this.disabledDate
|
|
1364
|
+
})), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
|
|
1365
|
+
span: 6
|
|
1366
|
+
}), /*#__PURE__*/React.createElement(_Col, {
|
|
1367
|
+
span: 18
|
|
1368
|
+
}, this.renderSource(openSchedulingDateByOperationNameData, operationName))), this.renderAppointmentMorningOrAfternoon(openSchedulingDateByOperationNameData, operationName)))), /*#__PURE__*/React.createElement(TabPane, {
|
|
1369
|
+
tab: "\u9884\u7EA6\u8BB0\u5F55",
|
|
1370
|
+
key: "2"
|
|
1371
|
+
}, recordData.length > 0 ? /*#__PURE__*/React.createElement("ul", {
|
|
1372
|
+
className: "appointment-ul"
|
|
1373
|
+
}, recordData.map(function (item, index) {
|
|
1374
|
+
return /*#__PURE__*/React.createElement("li", {
|
|
1375
|
+
className: "appointment-li",
|
|
1376
|
+
key: _get(item, 'id'),
|
|
1377
|
+
style: {
|
|
1378
|
+
background: _get(_this.renderColor(item), 'backgroundColor')
|
|
1379
|
+
}
|
|
1380
|
+
}, /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
|
|
1381
|
+
span: 12
|
|
1382
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1383
|
+
className: "label"
|
|
1384
|
+
}, "\u624B\u672F\u540D\u79F0:"), " ", _get(item, 'operationName')), /*#__PURE__*/React.createElement(_Col, {
|
|
1385
|
+
span: 12
|
|
1386
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1387
|
+
className: "label"
|
|
1388
|
+
}, "\u7F34\u8D39\u60C5\u51B5:"), " ", _get(item, 'payment') ? '已缴费' : '未缴费')), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
|
|
1389
|
+
span: 12
|
|
1390
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1391
|
+
className: "label"
|
|
1392
|
+
}, "\u9884\u7EA6\u65E5\u671F:"), " ", _get(item, 'appointmentDate')), /*#__PURE__*/React.createElement(_Col, {
|
|
1393
|
+
span: 12
|
|
1394
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1395
|
+
className: "label"
|
|
1396
|
+
}, "\u9884\u7EA6\u65F6\u95F4\u6BB5:"), " ", _get(item, 'appointmentMorningOrAfternoon'))), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
|
|
1397
|
+
span: 3
|
|
1398
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1399
|
+
className: "label"
|
|
1400
|
+
}, "\u5065\u5EB7\u5BA3\u6559:")), /*#__PURE__*/React.createElement(_Col, {
|
|
1401
|
+
span: 18
|
|
1402
|
+
}, _get(item, 'postoperationMissionsContent'))), /*#__PURE__*/React.createElement(_Row, null, /*#__PURE__*/React.createElement(_Col, {
|
|
1403
|
+
span: 12
|
|
1404
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1405
|
+
className: "label"
|
|
1406
|
+
}, "\u767B\u8BB0\u65E5\u671F:"), " ", _get(item, 'registrationDate')), /*#__PURE__*/React.createElement(_Col, {
|
|
1407
|
+
span: 12
|
|
1408
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
1409
|
+
className: "label"
|
|
1410
|
+
}, "\u767B\u8BB0\u8005:"), " ", _get(item, 'appointmentPeople'))), /*#__PURE__*/React.createElement("div", {
|
|
1411
|
+
className: "sign-in"
|
|
1412
|
+
}, _get(item, 'progressStatus') === 1 ? /*#__PURE__*/React.createElement("span", null, "\u5F85\u9884\u7EA6") : _get(item, 'progressStatus') === 2 ? /*#__PURE__*/React.createElement("span", {
|
|
1413
|
+
style: {
|
|
1414
|
+
background: '#7b8c9b'
|
|
1415
|
+
}
|
|
1416
|
+
}, "\u5F85\u7B7E\u5230") : _get(item, 'progressStatus') === 3 ? /*#__PURE__*/React.createElement("span", {
|
|
1417
|
+
style: {
|
|
1418
|
+
background: '#21AC8D'
|
|
1419
|
+
}
|
|
1420
|
+
}, "\u5DF2\u7B7E\u5230") : _get(item, 'progressStatus') === 4 ? /*#__PURE__*/React.createElement("span", {
|
|
1421
|
+
style: {
|
|
1422
|
+
background: '#21AC8D'
|
|
1423
|
+
}
|
|
1424
|
+
}, "\u5DF2\u5B8C\u6210") : _get(item, 'progressStatus') === 0 ? /*#__PURE__*/React.createElement("span", {
|
|
1425
|
+
style: {
|
|
1426
|
+
background: '#FF7295'
|
|
1427
|
+
}
|
|
1428
|
+
}, "\u5DF2\u8D85\u65F6") : ''), (_get(item, 'progressStatus') === 0 || _get(item, 'progressStatus') === 2) && /*#__PURE__*/React.createElement("div", {
|
|
1429
|
+
className: "button-group"
|
|
1430
|
+
}, /*#__PURE__*/React.createElement(_Popconfirm, {
|
|
1431
|
+
key: "cancel",
|
|
1432
|
+
title: "\u662F\u5426\u786E\u8BA4\u53D6\u6D88\u9884\u7EA6!",
|
|
1433
|
+
visible: _get(item, 'id') === popconfirmVisibleId && popconfirmVisible,
|
|
1434
|
+
onCancel: function onCancel() {
|
|
1435
|
+
_this.setState({
|
|
1436
|
+
popconfirmVisible: false,
|
|
1437
|
+
popconfirmVisibleId: undefined
|
|
1438
|
+
});
|
|
1439
|
+
},
|
|
1440
|
+
onConfirm: _this.hanleCancelAppointmentSurgery(item),
|
|
1441
|
+
okText: "\u786E\u5B9A",
|
|
1442
|
+
cancelText: "\u53D6\u6D88"
|
|
1443
|
+
}, /*#__PURE__*/React.createElement(_Button, {
|
|
1444
|
+
key: "submit",
|
|
1445
|
+
type: "link",
|
|
1446
|
+
onClick: _this.handleOk(item)
|
|
1447
|
+
}, "\u53D6\u6D88")), /*#__PURE__*/React.createElement(_Button, {
|
|
1448
|
+
type: "link",
|
|
1449
|
+
key: "update",
|
|
1450
|
+
onClick: _this.handleUpdateAppointmentSurgery(item)
|
|
1451
|
+
}, "\u4FEE\u6539")));
|
|
1452
|
+
})) : /*#__PURE__*/React.createElement(_Empty, {
|
|
1453
|
+
image: _Empty.PRESENTED_IMAGE_SIMPLE
|
|
1454
|
+
})))));
|
|
1455
|
+
};
|
|
1456
|
+
Index.defaultProps = {
|
|
1457
|
+
title: '',
|
|
1458
|
+
formDescriptions: modalFormDescriptions,
|
|
1459
|
+
formItemLayout: {
|
|
1460
|
+
labelCol: {
|
|
1461
|
+
span: 6
|
|
1462
|
+
},
|
|
1463
|
+
wrapperCol: {
|
|
1464
|
+
span: 18
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
};
|
|
1468
|
+
return Index;
|
|
1469
|
+
}(DynamicForm);
|
|
1470
|
+
var AppointModal = Index;
|
|
1471
|
+
var css_248z = ".index-module_nurse-desk__VdA7R {\n height: 100%;\n}\n.index-module_nurse-desk-tabs__jR3gG {\n display: flex;\n flex-flow: row nowrap;\n height: 40px;\n color: #333;\n line-height: 40px;\n background-color: #ddd;\n}\n.index-module_nurse-desk-tabs-item__bF-Hz {\n margin: 0 32px;\n font-size: 14px;\n cursor: pointer;\n}\n.index-module_nurse-desk-tabs-item-active__x2-aS {\n color: #4556d8;\n border-bottom: 2px solid #4556d8;\n}\n.index-module_nurse-desk-tabs-item-active__x2-aS::after {\n width: 20px;\n content: '';\n}\n.index-module_nurse-desk-content__dHOhH {\n height: calc(100% - 40px) !important;\n padding: 8px;\n overflow-x: scroll;\n}\n.index-module_hj-desk__BlUZ- {\n height: 100%;\n}\n.index-module_hj-desk__BlUZ- .index-module_operation-appointment__5D-k3 {\n position: fixed;\n top: 142px;\n right: 24px;\n z-index: 2;\n height: 48px;\n cursor: pointer;\n}\n.index-module_hj-desk__BlUZ- .index-module_operation-appointment__5D-k3 div {\n display: inline-block;\n vertical-align: middle;\n}\n.index-module_hj-desk__BlUZ- .index-module_operation-appointment__5D-k3 .index-module_icon__QO3GU {\n width: 48px;\n height: 48px;\n background: #da71a2;\n background-size: auto;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.index-module_hj-desk__BlUZ- .index-module_operation-appointment__5D-k3 .index-module_title__TcSDN {\n width: 132px;\n position: absolute;\n right: 48px;\n padding: 12px;\n color: #da71a2;\n border-radius: 30px;\n box-shadow: 0 9px 14px 0 hsla(0, 0%, 69%, 0.2), 0 2px 10px -4px hsla(0, 0%, 67.1%, 0.4);\n opacity: 0;\n transition: all 0.3s;\n}\n.index-module_hj-desk__BlUZ- .index-module_operation-appointment__5D-k3:hover .index-module_title__TcSDN {\n opacity: 1;\n}\n.index-module_prenatal-visit-main-table__-xiLx table {\n table-layout: fixed !important;\n border: 1px solid #e9e9e9;\n border-collapse: collapse !important;\n}\n.index-module_prenatal-visit-main-table__-xiLx .index-module_ant-table-thead__wHa9l > tr > th {\n color: #150f55;\n font-weight: 600;\n border: 1px solid #e9e9e9;\n}\n.index-module_prenatal-visit-main-table__-xiLx .index-module_ant-table-tbody__w3gxQ {\n background-color: #fff;\n}\n.index-module_prenatal-visit-main-table__-xiLx .index-module_ant-table__qid63 {\n font-size: 14px;\n}\n.index-module_prenatal-visit-main-table__-xiLx .index-module_ant-table-tbody__w3gxQ > tr > td {\n border-right: 1px solid #e9e9e9;\n}\n";
|
|
1472
|
+
var styles = {
|
|
1473
|
+
"nurse-desk": "index-module_nurse-desk__VdA7R",
|
|
1474
|
+
"nurse-desk-tabs": "index-module_nurse-desk-tabs__jR3gG",
|
|
1475
|
+
"nurse-desk-tabs-item": "index-module_nurse-desk-tabs-item__bF-Hz",
|
|
1476
|
+
"nurse-desk-tabs-item-active": "index-module_nurse-desk-tabs-item-active__x2-aS",
|
|
1477
|
+
"nurse-desk-content": "index-module_nurse-desk-content__dHOhH",
|
|
1478
|
+
"hj-desk": "index-module_hj-desk__BlUZ-",
|
|
1479
|
+
"operation-appointment": "index-module_operation-appointment__5D-k3",
|
|
1480
|
+
"icon": "index-module_icon__QO3GU",
|
|
1481
|
+
"title": "index-module_title__TcSDN",
|
|
1482
|
+
"prenatal-visit-main-table": "index-module_prenatal-visit-main-table__-xiLx",
|
|
1483
|
+
"ant-table-thead": "index-module_ant-table-thead__wHa9l",
|
|
1484
|
+
"ant-table-tbody": "index-module_ant-table-tbody__w3gxQ",
|
|
1485
|
+
"ant-table": "index-module_ant-table__qid63"
|
|
1486
|
+
};
|
|
1487
|
+
styleInject(css_248z);
|
|
1488
|
+
function FamilyPlanning_FileManagement_DoctorDesk_FC(props) {
|
|
1489
|
+
var _this = this;
|
|
1490
|
+
var _a, _b;
|
|
1491
|
+
var id = (_a = props.id) !== null && _a !== void 0 ? _a : getSearchParamsValue('id');
|
|
1492
|
+
var basicInfo = SLocal_State.getUserData();
|
|
1493
|
+
var surgicalRecordId = getSearchParamsValue('surgicalRecordId');
|
|
1494
|
+
var _c = useState(),
|
|
1495
|
+
data = _c[0],
|
|
1496
|
+
setData = _c[1];
|
|
1497
|
+
var _d = useState(false),
|
|
1498
|
+
renderModal = _d[0],
|
|
1499
|
+
setRenderModal = _d[1];
|
|
1500
|
+
var _e = useState((_b = getSearchParamsValue('activeKey')) !== null && _b !== void 0 ? _b : 'zkbl'),
|
|
1501
|
+
activeKey = _e[0],
|
|
1502
|
+
setActiveKey = _e[1];
|
|
1503
|
+
var _f = useState(),
|
|
1504
|
+
domain = _f[0],
|
|
1505
|
+
setDomain = _f[1];
|
|
1506
|
+
useEffect(function () {
|
|
1507
|
+
(function () {
|
|
1508
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1509
|
+
var data, _a, res;
|
|
1510
|
+
return __generator(this, function (_b) {
|
|
1511
|
+
switch (_b.label) {
|
|
1512
|
+
case 0:
|
|
1513
|
+
if (!id) return [3, 2];
|
|
1514
|
+
return [4, fubaoRequest.get("/api/family/planning/getFamilyPlanningFile/page?id.equals=".concat(id))];
|
|
1515
|
+
case 1:
|
|
1516
|
+
_a = _b.sent().data;
|
|
1517
|
+
return [3, 3];
|
|
1518
|
+
case 2:
|
|
1519
|
+
_a = {};
|
|
1520
|
+
_b.label = 3;
|
|
1521
|
+
case 3:
|
|
1522
|
+
data = _a;
|
|
1523
|
+
return [4, fubaoRequest.get("/api/family/planning/getObstetricsApi")];
|
|
1524
|
+
case 4:
|
|
1525
|
+
res = _b.sent().data;
|
|
1526
|
+
if (data) {
|
|
1527
|
+
data = _get(data, 'data.pageData.0');
|
|
1528
|
+
}
|
|
1529
|
+
setData(data);
|
|
1530
|
+
setDomain(_get(res, 'data'));
|
|
1531
|
+
return [2];
|
|
1532
|
+
}
|
|
1533
|
+
});
|
|
1534
|
+
});
|
|
1535
|
+
})();
|
|
1536
|
+
return function () {};
|
|
1537
|
+
}, [id]);
|
|
1538
|
+
function handleClickTab(key) {
|
|
1539
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1540
|
+
var login, prenatalDiagnosisUrl, prenatalVisitUrl;
|
|
1541
|
+
var _a;
|
|
1542
|
+
return __generator(this, function (_b) {
|
|
1543
|
+
login = (_a = SLocal_State.userData) === null || _a === void 0 ? void 0 : _a.login;
|
|
1544
|
+
if (key === 'cqzd') {
|
|
1545
|
+
prenatalDiagnosisUrl = "http://".concat(domain, "/single/pd?moduleName=prenatalDiagnosisV2&patId=").concat(_get(data, 'outpatientNo'), "&empId=").concat(login);
|
|
1546
|
+
window.open(prenatalDiagnosisUrl, '_blank');
|
|
1547
|
+
} else if (key === 'wcbj') {
|
|
1548
|
+
prenatalVisitUrl = "http://".concat(domain, "/single/obout?patId=").concat(_get(data, 'outpatientNo'), "&empId=").concat(login);
|
|
1549
|
+
window.open(prenatalVisitUrl, '_blank');
|
|
1550
|
+
} else {
|
|
1551
|
+
setActiveKey(key);
|
|
1552
|
+
}
|
|
1553
|
+
return [2];
|
|
1554
|
+
});
|
|
1555
|
+
});
|
|
1556
|
+
}
|
|
1557
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1558
|
+
className: styles["hj-desk"]
|
|
1559
|
+
}, /*#__PURE__*/React.createElement(PanelWithChildFC, {
|
|
1560
|
+
activeKey: activeKey,
|
|
1561
|
+
setActiveKey: handleClickTab,
|
|
1562
|
+
headerItems: [{
|
|
1563
|
+
title: '姓名',
|
|
1564
|
+
value: data === null || data === void 0 ? void 0 : data.name
|
|
1565
|
+
}, {
|
|
1566
|
+
title: '性别',
|
|
1567
|
+
value: '女'
|
|
1568
|
+
}, {
|
|
1569
|
+
title: '年龄',
|
|
1570
|
+
value: data === null || data === void 0 ? void 0 : data.age
|
|
1571
|
+
}, {
|
|
1572
|
+
title: '门诊号',
|
|
1573
|
+
value: data === null || data === void 0 ? void 0 : data.outpatientNo
|
|
1574
|
+
}],
|
|
1575
|
+
tabItems: [{
|
|
1576
|
+
key: 'zkbl',
|
|
1577
|
+
title: '专科病历',
|
|
1578
|
+
node: /*#__PURE__*/React.createElement(ZKBL, {
|
|
1579
|
+
id: id,
|
|
1580
|
+
basicInfo: basicInfo,
|
|
1581
|
+
data: data
|
|
1582
|
+
})
|
|
1583
|
+
}, {
|
|
1584
|
+
key: 'ssbl',
|
|
1585
|
+
title: '手术病历',
|
|
1586
|
+
node: /*#__PURE__*/React.createElement(SurgicalRecord, {
|
|
1587
|
+
id: id,
|
|
1588
|
+
basicInfo: basicInfo,
|
|
1589
|
+
basicData: data,
|
|
1590
|
+
surgicalRecordId: surgicalRecordId
|
|
1591
|
+
})
|
|
1592
|
+
}, {
|
|
1593
|
+
key: 'jyjc',
|
|
1594
|
+
title: '检验检查',
|
|
1595
|
+
node: /*#__PURE__*/React.createElement(DoctorEnd_SurveyReport, {
|
|
1596
|
+
headerInfo: data
|
|
1597
|
+
})
|
|
1598
|
+
}, {
|
|
1599
|
+
key: 'yxbg',
|
|
1600
|
+
title: '影像报告',
|
|
1601
|
+
node: /*#__PURE__*/React.createElement(DoctorEnd_ImageReport, {
|
|
1602
|
+
headerInfo: data
|
|
1603
|
+
})
|
|
1604
|
+
}, {
|
|
1605
|
+
key: 'jbxx',
|
|
1606
|
+
title: '基本信息',
|
|
1607
|
+
node: /*#__PURE__*/React.createElement(BasicInfo, {
|
|
1608
|
+
id: id,
|
|
1609
|
+
basicInfo: basicInfo,
|
|
1610
|
+
data: data
|
|
1611
|
+
})
|
|
1612
|
+
}, {
|
|
1613
|
+
key: 'wcbj',
|
|
1614
|
+
title: '围产保健',
|
|
1615
|
+
node: null
|
|
1616
|
+
}, {
|
|
1617
|
+
key: 'cqzd',
|
|
1618
|
+
title: '产前诊断',
|
|
1619
|
+
node: null
|
|
1620
|
+
}]
|
|
1621
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
1622
|
+
className: styles["operation-appointment"],
|
|
1623
|
+
onClick: function onClick() {
|
|
1624
|
+
return setRenderModal(true);
|
|
1625
|
+
}
|
|
1626
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1627
|
+
className: styles["title"]
|
|
1628
|
+
}, "\u624B\u672F\u9884\u7EA6"), /*#__PURE__*/React.createElement("div", {
|
|
1629
|
+
className: styles["icon"]
|
|
1630
|
+
}, /*#__PURE__*/React.createElement(HistoryOutlined, {
|
|
1631
|
+
style: {
|
|
1632
|
+
color: '#fff',
|
|
1633
|
+
fontSize: 22
|
|
1634
|
+
}
|
|
1635
|
+
}))), renderModal && /*#__PURE__*/React.createElement(AppointModal, {
|
|
1636
|
+
visible: renderModal,
|
|
1637
|
+
onCancel: function onCancel() {
|
|
1638
|
+
return setRenderModal(false);
|
|
1639
|
+
},
|
|
1640
|
+
basicData: data
|
|
1641
|
+
}));
|
|
1642
|
+
}
|
|
1643
|
+
export { FamilyPlanning_FileManagement_DoctorDesk_FC as default };
|
|
1644
|
+
//# sourceMappingURL=.root.js.map
|