@lm_fe/pages-mchc 0.1.201 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -7
- package/dist/a_chunks/.root.js +266 -826
- package/dist/a_chunks/.root10.js +74 -113
- package/dist/a_chunks/.root100.js +269 -98
- package/dist/a_chunks/.root101.js +90 -99
- package/dist/a_chunks/.root102.js +204 -669
- package/dist/a_chunks/.root103.js +102 -53
- package/dist/a_chunks/.root104.js +97 -52
- package/dist/a_chunks/.root105.js +29 -431
- package/dist/a_chunks/.root106.js +44 -214
- package/dist/a_chunks/.root107.js +61 -106
- package/dist/a_chunks/.root108.js +56 -1134
- package/dist/a_chunks/.root109.js +137 -197
- package/dist/a_chunks/.root11.js +362 -79
- package/dist/a_chunks/.root110.js +92 -168
- package/dist/a_chunks/.root111.js +160 -29
- package/dist/a_chunks/.root112.js +232 -190
- package/dist/a_chunks/.root113.js +204 -19
- package/dist/a_chunks/.root114.js +486 -1113
- package/dist/a_chunks/.root115.js +77 -0
- package/dist/a_chunks/.root116.js +57 -0
- package/dist/a_chunks/.root117.js +1647 -0
- package/dist/a_chunks/.root118.js +159 -0
- package/dist/a_chunks/.root119.js +123 -0
- package/dist/a_chunks/.root12.js +213 -96
- package/dist/a_chunks/.root120.js +192 -0
- package/dist/a_chunks/.root121.js +544 -0
- package/dist/a_chunks/.root122.js +802 -0
- package/dist/a_chunks/.root123.js +82 -0
- package/dist/a_chunks/.root124.js +96 -0
- package/dist/a_chunks/.root125.js +150 -0
- package/dist/a_chunks/.root126.js +102 -0
- package/dist/a_chunks/.root127.js +70 -0
- package/dist/a_chunks/.root128.js +121 -0
- package/dist/a_chunks/.root129.js +120 -0
- package/dist/a_chunks/.root13.js +471 -128
- package/dist/a_chunks/.root130.js +321 -0
- package/dist/a_chunks/.root131.js +462 -0
- package/dist/a_chunks/.root132.js +107 -0
- package/dist/a_chunks/.root133.js +107 -0
- package/dist/a_chunks/.root134.js +101 -0
- package/dist/a_chunks/.root135.js +652 -0
- package/dist/a_chunks/.root136.js +153 -0
- package/dist/a_chunks/.root137.js +71 -0
- package/dist/a_chunks/.root138.js +64 -0
- package/dist/a_chunks/.root139.js +79 -0
- package/dist/a_chunks/.root14.js +174 -131
- package/dist/a_chunks/.root140.js +71 -0
- package/dist/a_chunks/.root141.js +84 -0
- package/dist/a_chunks/.root142.js +12 -0
- package/dist/a_chunks/.root143.js +560 -0
- package/dist/a_chunks/.root144.js +435 -0
- package/dist/a_chunks/.root145.js +25 -0
- package/dist/a_chunks/.root146.js +1237 -0
- package/dist/a_chunks/.root147.js +304 -0
- package/dist/a_chunks/.root148.js +142 -0
- package/dist/a_chunks/.root149.js +105 -0
- package/dist/a_chunks/.root15.js +341 -124
- package/dist/a_chunks/.root150.js +1100 -0
- package/dist/a_chunks/.root151.js +168 -0
- package/dist/a_chunks/.root152.js +157 -0
- package/dist/a_chunks/.root153.js +185 -0
- package/dist/a_chunks/.root154.js +29 -0
- package/dist/a_chunks/.root155.js +192 -0
- package/dist/a_chunks/.root156.js +20 -0
- package/dist/a_chunks/.root157.js +107 -0
- package/dist/a_chunks/.root158.js +960 -0
- package/dist/a_chunks/.root16.js +177 -29
- package/dist/a_chunks/.root17.js +113 -159
- package/dist/a_chunks/.root18.js +51 -229
- package/dist/a_chunks/.root19.js +96 -116
- package/dist/a_chunks/.root2.js +384 -98
- package/dist/a_chunks/.root20.js +68 -102
- package/dist/a_chunks/.root21.js +141 -127
- package/dist/a_chunks/.root22.js +24 -35
- package/dist/a_chunks/.root23.js +123 -10
- package/dist/a_chunks/.root24.js +123 -8
- package/dist/a_chunks/.root25.js +106 -10
- package/dist/a_chunks/.root26.js +14 -10
- package/dist/a_chunks/.root27.js +129 -244
- package/dist/a_chunks/.root28.js +219 -5
- package/dist/a_chunks/.root29.js +109 -8
- package/dist/a_chunks/.root3.js +560 -489
- package/dist/a_chunks/.root30.js +104 -69
- package/dist/a_chunks/.root31.js +98 -8
- package/dist/a_chunks/.root32.js +75 -1645
- package/dist/a_chunks/.root33.js +9 -40
- package/dist/a_chunks/.root34.js +7 -225
- package/dist/a_chunks/.root35.js +10 -141
- package/dist/a_chunks/.root36.js +10 -35
- package/dist/a_chunks/.root37.js +221 -93
- package/dist/a_chunks/.root38.js +4 -179
- package/dist/a_chunks/.root39.js +14 -27
- package/dist/a_chunks/.root4.js +38 -499
- package/dist/a_chunks/.root40.js +57 -190
- package/dist/a_chunks/.root41.js +15 -262
- package/dist/a_chunks/.root42.js +12 -454
- package/dist/a_chunks/.root43.js +24 -28
- package/dist/a_chunks/.root44.js +224 -32
- package/dist/a_chunks/.root45.js +123 -27
- package/dist/a_chunks/.root46.js +9 -26
- package/dist/a_chunks/.root47.js +79 -166
- package/dist/a_chunks/.root48.js +15 -117
- package/dist/a_chunks/.root49.js +10 -173
- package/dist/a_chunks/.root5.js +44 -204
- package/dist/a_chunks/.root50.js +166 -127
- package/dist/a_chunks/.root51.js +174 -52
- package/dist/a_chunks/.root52.js +59 -476
- package/dist/a_chunks/.root53.js +440 -10
- package/dist/a_chunks/.root54.js +16 -9
- package/dist/a_chunks/.root55.js +15 -642
- package/dist/a_chunks/.root56.js +16 -743
- package/dist/a_chunks/.root57.js +14 -197
- package/dist/a_chunks/.root58.js +100 -155
- package/dist/a_chunks/.root59.js +95 -218
- package/dist/a_chunks/.root6.js +36 -411
- package/dist/a_chunks/.root60.js +91 -184
- package/dist/a_chunks/.root61.js +109 -60
- package/dist/a_chunks/.root62.js +53 -170
- package/dist/a_chunks/.root63.js +81 -155
- package/dist/a_chunks/.root64.js +16 -479
- package/dist/a_chunks/.root65.js +15 -519
- package/dist/a_chunks/.root66.js +627 -111
- package/dist/a_chunks/.root67.js +396 -973
- package/dist/a_chunks/.root68.js +22 -5
- package/dist/a_chunks/.root69.js +15 -18
- package/dist/a_chunks/.root7.js +48 -18532
- package/dist/a_chunks/.root70.js +213 -12
- package/dist/a_chunks/.root71.js +16 -9
- package/dist/a_chunks/.root72.js +53 -8
- package/dist/a_chunks/.root73.js +67 -254
- package/dist/a_chunks/.root74.js +60 -259
- package/dist/a_chunks/.root75.js +153 -64
- package/dist/a_chunks/.root76.js +154 -115
- package/dist/a_chunks/.root77.js +451 -108
- package/dist/a_chunks/.root78.js +456 -508
- package/dist/a_chunks/.root79.js +93 -316
- package/dist/a_chunks/.root8.js +36 -135
- package/dist/a_chunks/.root80.js +108 -470
- package/dist/a_chunks/.root81.js +40 -123
- package/dist/a_chunks/.root82.js +68 -202
- package/dist/a_chunks/.root83.js +17 -423
- package/dist/a_chunks/.root84.js +68 -249
- package/dist/a_chunks/.root85.js +17 -207
- package/dist/a_chunks/.root86.js +15 -574
- package/dist/a_chunks/.root87.js +75 -90
- package/dist/a_chunks/.root88.js +238 -69
- package/dist/a_chunks/.root89.js +46 -1678
- package/dist/a_chunks/.root9.js +46 -66
- package/dist/a_chunks/.root90.js +247 -174
- package/dist/a_chunks/.root91.js +106 -190
- package/dist/a_chunks/.root92.js +65 -520
- package/dist/a_chunks/.root93.js +517 -819
- package/dist/a_chunks/.root94.js +303 -146
- package/dist/a_chunks/.root95.js +428 -94
- package/dist/a_chunks/.root96.js +110 -71
- package/dist/a_chunks/.root97.js +191 -115
- package/dist/a_chunks/.root98.js +416 -101
- package/dist/a_chunks/.root99.js +359 -483
- package/dist/a_chunks/DoctorEnd_FurtherPage.js +377 -511
- package/dist/a_chunks/HistoryTable.js +14 -13
- package/dist/a_chunks/OpenReferralInEdit.js +44 -0
- package/dist/a_chunks/base.js +132 -0
- package/dist/a_chunks/common.js +28 -0
- package/dist/a_chunks/diagnoses-week.js +20 -29
- package/dist/a_chunks/index.js +474 -833
- package/dist/a_chunks/index1.js +4 -4
- package/dist/a_chunks/index12.js +4 -4
- package/dist/a_chunks/index2.js +5 -107
- package/dist/a_chunks/index3.js +32 -36
- package/dist/a_chunks/index4.js +17 -26
- package/dist/a_chunks/index5.js +8 -14
- package/dist/a_chunks/request.js +4 -41
- package/dist/a_chunks/utils.js +8 -9
- package/dist/a_chunks/utils2.js +1 -2
- package/dist/a_chunks//344/270/252/344/272/272/345/217/262.js +28 -0
- package/dist/a_chunks//345/255/225/344/272/247/345/217/262.js +0 -1
- package/dist/a_chunks//351/253/230/345/215/261/347/256/241/347/220/206.js +0 -1
- package/dist/index.js +6 -19
- package/dist/pages/config-table/panel2/index.d.ts +4 -0
- package/dist/pages/config-table/utils.d.ts +2 -2
- package/dist/pages/follow-up/questionnaire3/index.d.ts +2 -1
- package/dist/pages/gynecological-diseases/women/list/config/table.d.ts +1 -1
- package/dist/pages/highrisk-management/list/form_config.d.ts +2 -1
- package/dist/pages/knowledge/list/form_config.d.ts +4 -0
- package/dist/pages/knowledge/list/index.d.ts +2 -0
- package/dist/pages/my-knowledge/components/query.d.ts +1 -1
- package/dist/pages/pregnant-school/personal-records/.list/config/table.d.ts +1 -1
- package/dist/pages/pregnant-school/personal-records/.list/index.d.ts +3 -3
- package/dist/pages/pregnant-school/personal-statistics/.list/index.d.ts +23 -2
- package/dist/pages/pregnant-school/statistics/.list/config/table.d.ts +1 -1
- package/dist/pages/pregnant-school/statistics/.list/index.d.ts +3 -3
- package/dist/pages/prenatal-visit/physical-sign/list/bf_default.d.ts +2 -1
- package/dist/pages/prenatal-visit/physical-sign/list/components/Query.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/common.d.ts +2 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.api/curve.d.ts +2 -9
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.api/home.d.ts +3 -3
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.api/image.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.api/index.d.ts +17 -7
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.api/initial.d.ts +3 -2
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.api/survey.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.base/Inner.d.ts +0 -2
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.base/husband/form_config.d.ts +3 -2
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.base/pregnancy/form_config.d.ts +3 -2
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.birth-plan/Inner.d.ts +3 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.birth-plan/index.d.ts +3 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.case-report/ComponentPanl.d.ts +12 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.case-report/Inner.d.ts +3 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.case-report/constant_new.d.ts +45 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.case-report/form_config/base.d.ts +2 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.case-report/form_config//344/271/231/350/202/235/346/204/237/346/237/223/345/255/225/344/272/247/345/246/207/345/217/212/346/211/200/347/224/237/346/226/260/347/224/237/345/204/277/344/270/252/346/241/210/347/231/273/350/256/260/345/215/241.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.case-report/form_config//346/242/205/346/257/222/346/204/237/346/237/223/345/255/225/344/272/247/345/246/207/345/237/272/346/234/254/346/203/205/345/206/265.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.case-report/form_config//350/211/276/346/273/213/347/227/205/346/204/237/346/237/223/345/246/207/345/245/263/345/237/272/346/234/254/346/203/205/345/206/265.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.case-report/index.d.ts +3 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.components/Diagnoses/index.d.ts +1 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.components/Diagnoses/template/Inner.d.ts +2 -13
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.components/Diagnoses/template/index.d.ts +3 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.further/DoctorEnd_FurtherPage.d.ts +1 -8
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.further/components/FurtherForm/config.d.ts +0 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.further/components/FurtherForm/form_config/Form.d.ts +3 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.further/components/FurtherForm/index.d.ts +1 -5
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.further/components/FurtherSidebar/index.d.ts +0 -5
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.further/components/FurtherSidebar/management-plan/Inner.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.further/components/FurtherTable/index.d.ts +2 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.further/index.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.further/methods/request.d.ts +0 -2
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/BloodGlucose/record/form_config.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/BloodGlucose/record/index.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/BloodGlucose/static/form_config.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/BloodGlucose/static/index.d.ts +3 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/BloodPressure/record/form_config.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/BloodPressure/record/index.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/BloodPressure/static/form_config.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/BloodPressure/static/index.d.ts +3 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/FetalMovement/record/form_config.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/FetalMovement/record/index.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/FetalMovement/static/form_config.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/FetalMovement/static/index.d.ts +3 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/Seg.d.ts +6 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/index.d.ts +2 -12
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/DoctorEnd_Initial.d.ts +2 -13
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/JianYanJianCha/index.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/QiTaBingshi/index.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/TiGeJianCha/index.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/YiBanBingShi/index.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/YuChanQi/config.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/YuChanQi/index.d.ts +3 -6
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/YunChanShi/index.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/ZhenDuanChuLi/config.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/ZhenDuanChuLi/index.d.ts +4 -12
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/components/ZhuanKeJianCha/index.d.ts +3 -6
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/methods/request.d.ts +2 -4
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.postpartum/DoctorEnd_Postpartum.d.ts +12 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.postpartum/components/FurtherForm/config.d.ts +6 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.postpartum/components/FurtherForm/form_config/Form.d.ts +10 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.postpartum/components/FurtherForm/form_config/default.d.ts +4 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.postpartum/components/FurtherForm/index.d.ts +16 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.postpartum/components/FurtherSidebar/index.d.ts +12 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.postpartum/components/FurtherTable/config.d.ts +3 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.postpartum/components/FurtherTable/index.d.ts +12 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.postpartum/index.d.ts +3 -0
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/out.d.ts +11 -7
- package/dist/pages/prenatal-visit/pregnancy/list/config/table.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/archival-information/form//344/270/252/344/272/272/345/217/262.d.ts +1 -0
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/archival-information/form//346/227/242/345/276/200/345/217/262.d.ts +1 -71
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/archival-information/form//346/234/254/346/254/241/345/255/225/344/272/247/344/277/241/346/201/257.d.ts +2 -1
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/close-archives/components/Form.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/close-archives/form_config.d.ts +3 -2
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/further-visit/config/table copy.d.ts +86 -0
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/further-visit/config/table.d.ts +4 -86
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/further-visit/index1.d.ts +7 -114
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/outercourt-report/components/Table.d.ts +1 -1
- package/dist/pages/prenatal-visit/pregnancy/nurse-end/outercourt-report/index1.d.ts +1 -1
- package/dist/pages/prenatal-visit/report/list/Inner.d.ts +4 -0
- package/dist/pages/prenatal-visit/report/list/form_config.d.ts +4 -0
- package/dist/pages/prenatal-visit/report/list/index copy 2.d.ts +10 -0
- package/dist/pages/prenatal-visit/report/list/index copy.d.ts +1 -1
- package/dist/pages/prenatal-visit/report/list/index.d.ts +2 -9
- package/dist/pages/prenatal-visit/report/list/types.d.ts +5 -0
- package/dist/pages/referral-management/referral-in/add/index copy.d.ts +11 -0
- package/dist/pages/referral-management/referral-in/add/index.d.ts +5 -11
- package/dist/pages/referral-management/referral-in/list/OpenReferralInEdit.d.ts +13 -0
- package/dist/pages/referral-management/referral-in/list/config/table.d.ts +3 -37
- package/dist/pages/referral-management/referral-in/list/index copy.d.ts +26 -0
- package/dist/pages/referral-management/referral-in/list/index.d.ts +2 -1
- package/dist/pages/referral-management/referral-out/list/config/table.d.ts +19 -1
- package/dist/pages/referral-management/referral-out/list/index copy.d.ts +99 -0
- package/dist/pages/referral-management/referral-out/list/index.d.ts +2 -1
- package/dist/pages/statistics/further-visit/detail/index.d.ts +2 -0
- package/dist/pages/statistics/further-visit/detail/serch_config.d.ts +4 -0
- package/dist/pages/statistics/further-visit/detail/table_config.d.ts +4 -0
- package/dist/pages/statistics/further-visit/list/index.d.ts +2 -0
- package/dist/pages/statistics/further-visit/list/serch_config.d.ts +4 -0
- package/dist/pages/statistics/further-visit/list/table_config.d.ts +4 -0
- package/dist/pages/system/role/components/RolesModal.d.ts +2 -2
- package/dist/pages/system/role/config/form.d.ts +4 -2
- package/dist/pages/system/role/index.d.ts +1 -1
- package/dist/pages/system/user/components/UsersModal.d.ts +2 -2
- package/dist/pages/system/user/config/adapter.d.ts +1 -1
- package/dist/pages/system/user/config/table.d.ts +1 -1
- package/dist/pages/system/user/index.d.ts +3 -3
- package/dist/pages/system-config/form_config.d.ts +1 -1
- package/dist/pages/task-logs/components/Query.d.ts +1 -1
- package/dist/pages/task-logs/config/form.d.ts +2 -2
- package/dist/pages/task-logs/config/table.d.ts +2 -2
- package/dist/pages/task-logs/index.d.ts +2 -2
- package/dist/pages/tasks/list/config/adapter.d.ts +1 -1
- package/dist/pages/tasks/list/config/table.d.ts +1 -1
- package/dist/pages/tasks/list/form_config.d.ts +4 -0
- package/dist/pages/tasks/list/index copy.d.ts +3 -0
- package/dist/pages/tasks/list/index.d.ts +2 -57
- package/dist/pages/tasks/list/search_config.d.ts +4 -0
- package/dist/pages/test/form_config.d.ts +4 -0
- package/dist/pages/test/index.d.ts +1 -1
- package/dist/pages/visit-management/telephone-followup/form_config.d.ts +4 -0
- package/dist/pages/visit-management/telephone-followup/index.d.ts +2 -0
- package/dist/routes/index.d.ts +8 -4
- package/dist/routes/meta.d.ts +8 -4
- package/package.json +30 -13
- package/dist/a_chunks/.root.js.map +0 -1
- package/dist/a_chunks/.root10.js.map +0 -1
- package/dist/a_chunks/.root100.js.map +0 -1
- package/dist/a_chunks/.root101.js.map +0 -1
- package/dist/a_chunks/.root102.js.map +0 -1
- package/dist/a_chunks/.root103.js.map +0 -1
- package/dist/a_chunks/.root104.js.map +0 -1
- package/dist/a_chunks/.root105.js.map +0 -1
- package/dist/a_chunks/.root106.js.map +0 -1
- package/dist/a_chunks/.root107.js.map +0 -1
- package/dist/a_chunks/.root108.js.map +0 -1
- package/dist/a_chunks/.root109.js.map +0 -1
- package/dist/a_chunks/.root11.js.map +0 -1
- package/dist/a_chunks/.root110.js.map +0 -1
- package/dist/a_chunks/.root111.js.map +0 -1
- package/dist/a_chunks/.root112.js.map +0 -1
- package/dist/a_chunks/.root113.js.map +0 -1
- package/dist/a_chunks/.root114.js.map +0 -1
- package/dist/a_chunks/.root12.js.map +0 -1
- package/dist/a_chunks/.root13.js.map +0 -1
- package/dist/a_chunks/.root14.js.map +0 -1
- package/dist/a_chunks/.root15.js.map +0 -1
- package/dist/a_chunks/.root16.js.map +0 -1
- package/dist/a_chunks/.root17.js.map +0 -1
- package/dist/a_chunks/.root18.js.map +0 -1
- package/dist/a_chunks/.root19.js.map +0 -1
- package/dist/a_chunks/.root2.js.map +0 -1
- package/dist/a_chunks/.root20.js.map +0 -1
- package/dist/a_chunks/.root21.js.map +0 -1
- package/dist/a_chunks/.root22.js.map +0 -1
- package/dist/a_chunks/.root23.js.map +0 -1
- package/dist/a_chunks/.root24.js.map +0 -1
- package/dist/a_chunks/.root25.js.map +0 -1
- package/dist/a_chunks/.root26.js.map +0 -1
- package/dist/a_chunks/.root27.js.map +0 -1
- package/dist/a_chunks/.root28.js.map +0 -1
- package/dist/a_chunks/.root29.js.map +0 -1
- package/dist/a_chunks/.root3.js.map +0 -1
- package/dist/a_chunks/.root30.js.map +0 -1
- package/dist/a_chunks/.root31.js.map +0 -1
- package/dist/a_chunks/.root32.js.map +0 -1
- package/dist/a_chunks/.root33.js.map +0 -1
- package/dist/a_chunks/.root34.js.map +0 -1
- package/dist/a_chunks/.root35.js.map +0 -1
- package/dist/a_chunks/.root36.js.map +0 -1
- package/dist/a_chunks/.root37.js.map +0 -1
- package/dist/a_chunks/.root38.js.map +0 -1
- package/dist/a_chunks/.root39.js.map +0 -1
- package/dist/a_chunks/.root4.js.map +0 -1
- package/dist/a_chunks/.root40.js.map +0 -1
- package/dist/a_chunks/.root41.js.map +0 -1
- package/dist/a_chunks/.root42.js.map +0 -1
- package/dist/a_chunks/.root43.js.map +0 -1
- package/dist/a_chunks/.root44.js.map +0 -1
- package/dist/a_chunks/.root45.js.map +0 -1
- package/dist/a_chunks/.root46.js.map +0 -1
- package/dist/a_chunks/.root47.js.map +0 -1
- package/dist/a_chunks/.root48.js.map +0 -1
- package/dist/a_chunks/.root49.js.map +0 -1
- package/dist/a_chunks/.root5.js.map +0 -1
- package/dist/a_chunks/.root50.js.map +0 -1
- package/dist/a_chunks/.root51.js.map +0 -1
- package/dist/a_chunks/.root52.js.map +0 -1
- package/dist/a_chunks/.root53.js.map +0 -1
- package/dist/a_chunks/.root54.js.map +0 -1
- package/dist/a_chunks/.root55.js.map +0 -1
- package/dist/a_chunks/.root56.js.map +0 -1
- package/dist/a_chunks/.root57.js.map +0 -1
- package/dist/a_chunks/.root58.js.map +0 -1
- package/dist/a_chunks/.root59.js.map +0 -1
- package/dist/a_chunks/.root6.js.map +0 -1
- package/dist/a_chunks/.root60.js.map +0 -1
- package/dist/a_chunks/.root61.js.map +0 -1
- package/dist/a_chunks/.root62.js.map +0 -1
- package/dist/a_chunks/.root63.js.map +0 -1
- package/dist/a_chunks/.root64.js.map +0 -1
- package/dist/a_chunks/.root65.js.map +0 -1
- package/dist/a_chunks/.root66.js.map +0 -1
- package/dist/a_chunks/.root67.js.map +0 -1
- package/dist/a_chunks/.root68.js.map +0 -1
- package/dist/a_chunks/.root69.js.map +0 -1
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root70.js.map +0 -1
- package/dist/a_chunks/.root71.js.map +0 -1
- package/dist/a_chunks/.root72.js.map +0 -1
- package/dist/a_chunks/.root73.js.map +0 -1
- package/dist/a_chunks/.root74.js.map +0 -1
- package/dist/a_chunks/.root75.js.map +0 -1
- package/dist/a_chunks/.root76.js.map +0 -1
- package/dist/a_chunks/.root77.js.map +0 -1
- package/dist/a_chunks/.root78.js.map +0 -1
- package/dist/a_chunks/.root79.js.map +0 -1
- package/dist/a_chunks/.root8.js.map +0 -1
- package/dist/a_chunks/.root80.js.map +0 -1
- package/dist/a_chunks/.root81.js.map +0 -1
- package/dist/a_chunks/.root82.js.map +0 -1
- package/dist/a_chunks/.root83.js.map +0 -1
- package/dist/a_chunks/.root84.js.map +0 -1
- package/dist/a_chunks/.root85.js.map +0 -1
- package/dist/a_chunks/.root86.js.map +0 -1
- package/dist/a_chunks/.root87.js.map +0 -1
- package/dist/a_chunks/.root88.js.map +0 -1
- package/dist/a_chunks/.root89.js.map +0 -1
- package/dist/a_chunks/.root9.js.map +0 -1
- package/dist/a_chunks/.root90.js.map +0 -1
- package/dist/a_chunks/.root91.js.map +0 -1
- package/dist/a_chunks/.root92.js.map +0 -1
- package/dist/a_chunks/.root93.js.map +0 -1
- package/dist/a_chunks/.root94.js.map +0 -1
- package/dist/a_chunks/.root95.js.map +0 -1
- package/dist/a_chunks/.root96.js.map +0 -1
- package/dist/a_chunks/.root97.js.map +0 -1
- package/dist/a_chunks/.root98.js.map +0 -1
- package/dist/a_chunks/.root99.js.map +0 -1
- package/dist/a_chunks/DoctorEnd_FurtherPage.js.map +0 -1
- package/dist/a_chunks/HistoryTable.js.map +0 -1
- package/dist/a_chunks/bindLifecycle.js +0 -234
- package/dist/a_chunks/bindLifecycle.js.map +0 -1
- package/dist/a_chunks/diagnoses-week.js.map +0 -1
- package/dist/a_chunks/extends.js +0 -11
- package/dist/a_chunks/extends.js.map +0 -1
- package/dist/a_chunks/hoist-non-react-statics.cjs.js +0 -382
- package/dist/a_chunks/hoist-non-react-statics.cjs.js.map +0 -1
- package/dist/a_chunks/index.js.map +0 -1
- package/dist/a_chunks/index1.js.map +0 -1
- package/dist/a_chunks/index12.js.map +0 -1
- package/dist/a_chunks/index2.js.map +0 -1
- package/dist/a_chunks/index3.js.map +0 -1
- package/dist/a_chunks/index4.js.map +0 -1
- package/dist/a_chunks/index5.js.map +0 -1
- package/dist/a_chunks/index6.js +0 -754
- package/dist/a_chunks/index6.js.map +0 -1
- package/dist/a_chunks/react-router.js +0 -1890
- package/dist/a_chunks/react-router.js.map +0 -1
- package/dist/a_chunks/request.js.map +0 -1
- package/dist/a_chunks/utils.js.map +0 -1
- package/dist/a_chunks/utils2.js.map +0 -1
- package/dist/a_chunks//345/255/225/344/272/247/345/217/262.js.map +0 -1
- package/dist/a_chunks//351/253/230/345/215/261/347/256/241/347/220/206.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/pages/follow-up/questionnaire3/Inner.d.ts +0 -6
- package/dist/pages/follow-up/questionnaire3/create/Step2Right.d.ts +0 -11
- package/dist/pages/follow-up/questionnaire3/create/common.d.ts +0 -46
- package/dist/pages/follow-up/questionnaire3/create/fakeData.d.ts +0 -6
- package/dist/pages/follow-up/questionnaire3/create/question-item.d.ts +0 -14
- package/dist/pages/follow-up/questionnaire3/create/step1.d.ts +0 -9
- package/dist/pages/follow-up/questionnaire3/create/step2.d.ts +0 -10
- package/dist/pages/follow-up/questionnaire3/create/step3.d.ts +0 -8
- package/dist/pages/follow-up/questionnaire3/create/step4.d.ts +0 -8
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.components/DiagReminder/index.d.ts +0 -13
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.components/PreventPreeclampsia/index.d.ts +0 -8
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.components/ResultImport/index.d.ts +0 -11
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/components/BloodGlucose/index.d.ts +0 -21
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/components/BloodPressure/index.d.ts +0 -21
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.home-care/components/FetalMovement/index.d.ts +0 -34
- package/dist/pages/prenatal-visit/pregnancy/doctor-end/.initial/func.d.ts +0 -33
- package/dist/pages/system-config/config.d.ts +0 -12
- package/dist/pages/tasks/test/index.d.ts +0 -2
|
@@ -0,0 +1,1237 @@
|
|
|
1
|
+
import { rt_ctx } from '@lm_fe/env';
|
|
2
|
+
import { defineFormConfig } from '@lm_fe/service';
|
|
3
|
+
var ctx = rt_ctx;
|
|
4
|
+
var layout = '1/2';
|
|
5
|
+
ctx.React;
|
|
6
|
+
var form_config = defineFormConfig([{
|
|
7
|
+
label: '根据门诊号选择孕妇联动',
|
|
8
|
+
children: [{
|
|
9
|
+
label: '就诊卡号',
|
|
10
|
+
inputType: 'PatientSelect',
|
|
11
|
+
dataIndex: 'outpatientNO',
|
|
12
|
+
layout: '1/3',
|
|
13
|
+
disabledDeps: function disabledDeps(f) {
|
|
14
|
+
return !!f.getFieldValue('id');
|
|
15
|
+
},
|
|
16
|
+
inputProps: {
|
|
17
|
+
onPatientSelect: function onPatientSelect(v, form) {
|
|
18
|
+
if (form) {
|
|
19
|
+
v.pregnancyId = v.id;
|
|
20
|
+
v.id = undefined;
|
|
21
|
+
form.setFieldsValue(v);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}, {
|
|
26
|
+
dataIndex: 'pregnancyId',
|
|
27
|
+
title: 'pregnancyId',
|
|
28
|
+
layout: '1/3',
|
|
29
|
+
inputProps: {
|
|
30
|
+
disabled: true
|
|
31
|
+
}
|
|
32
|
+
}, {
|
|
33
|
+
title: '姓名',
|
|
34
|
+
dataIndex: 'name',
|
|
35
|
+
inputProps: {
|
|
36
|
+
disabled: true
|
|
37
|
+
},
|
|
38
|
+
layout: '1/3'
|
|
39
|
+
}, {
|
|
40
|
+
title: '证件号码',
|
|
41
|
+
dataIndex: 'idNO',
|
|
42
|
+
inputProps: {
|
|
43
|
+
disabled: true
|
|
44
|
+
},
|
|
45
|
+
layout: '1/3'
|
|
46
|
+
}, {
|
|
47
|
+
title: '年龄',
|
|
48
|
+
dataIndex: 'age',
|
|
49
|
+
inputProps: {
|
|
50
|
+
disabled: true
|
|
51
|
+
},
|
|
52
|
+
layout: '1/3',
|
|
53
|
+
inputType: 'InputNumber'
|
|
54
|
+
}, {
|
|
55
|
+
title: '孕周',
|
|
56
|
+
dataIndex: 'gestationalWeek',
|
|
57
|
+
inputProps: {
|
|
58
|
+
disabled: true
|
|
59
|
+
},
|
|
60
|
+
layout: '1/3'
|
|
61
|
+
}]
|
|
62
|
+
}, {
|
|
63
|
+
label: 'bmi联动',
|
|
64
|
+
children: [{
|
|
65
|
+
label: 'weight',
|
|
66
|
+
name: 'physicalExamination.weight',
|
|
67
|
+
inputProps: {
|
|
68
|
+
unit: 'kg'
|
|
69
|
+
},
|
|
70
|
+
processLocal: function processLocal(v, form) {
|
|
71
|
+
if (form) {
|
|
72
|
+
var values = form.getFieldsValue();
|
|
73
|
+
var height = ctx.utils.get(values, 'physicalExamination.height');
|
|
74
|
+
var bmi = ctx.utils.calc_bmi(height, v);
|
|
75
|
+
var new_values = ctx.utils.set({}, 'physicalExamination.bmi', bmi);
|
|
76
|
+
form.setFieldsValue(new_values);
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
layout: layout
|
|
80
|
+
}, {
|
|
81
|
+
label: 'height',
|
|
82
|
+
name: 'physicalExamination.height',
|
|
83
|
+
inputProps: {
|
|
84
|
+
unit: 'cm'
|
|
85
|
+
},
|
|
86
|
+
processLocal: function processLocal(v, form) {
|
|
87
|
+
if (form) {
|
|
88
|
+
var values = form.getFieldsValue();
|
|
89
|
+
var weight = ctx.utils.get(values, 'physicalExamination.weight');
|
|
90
|
+
var bmi = ctx.utils.calc_bmi(weight, v);
|
|
91
|
+
var new_values = ctx.utils.set({}, 'physicalExamination.bmi', bmi);
|
|
92
|
+
form.setFieldsValue(new_values);
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
layout: layout
|
|
96
|
+
}, {
|
|
97
|
+
label: 'bmi',
|
|
98
|
+
name: 'physicalExamination.bmi',
|
|
99
|
+
inputProps: {
|
|
100
|
+
disabled: true
|
|
101
|
+
},
|
|
102
|
+
layout: layout
|
|
103
|
+
}]
|
|
104
|
+
}, {
|
|
105
|
+
label: '证件联动',
|
|
106
|
+
children: [{
|
|
107
|
+
"key": "BasicInfo.idType",
|
|
108
|
+
"label": "证件类型",
|
|
109
|
+
"inputType": "MS",
|
|
110
|
+
inputProps: {
|
|
111
|
+
uniqueKey: '证件类型'
|
|
112
|
+
},
|
|
113
|
+
required: function required() {
|
|
114
|
+
return ctx.required;
|
|
115
|
+
},
|
|
116
|
+
layout: layout
|
|
117
|
+
}, {
|
|
118
|
+
"key": "BasicInfo.idNO",
|
|
119
|
+
"label": "证件号码",
|
|
120
|
+
processLocal: function processLocal(v, form) {
|
|
121
|
+
if (form) {
|
|
122
|
+
var idNO = ctx.utils.trim(v);
|
|
123
|
+
var idNO_len = ctx.utils.size(idNO);
|
|
124
|
+
var values = form.getFieldsValue();
|
|
125
|
+
var idType = ctx.utils.get(values, 'BasicInfo.idType');
|
|
126
|
+
if (idType === 1 && idNO_len === 18) {
|
|
127
|
+
var id_info = ctx.utils.checkIdNo_new(idNO);
|
|
128
|
+
if (id_info) {
|
|
129
|
+
var baseInfo = {
|
|
130
|
+
dob: id_info.birth,
|
|
131
|
+
nationality: id_info.nationality,
|
|
132
|
+
nativeplace: id_info.province,
|
|
133
|
+
age: id_info.age
|
|
134
|
+
};
|
|
135
|
+
var new_values = ctx.utils.set({}, 'BasicInfo', baseInfo);
|
|
136
|
+
form.setFieldsValue(new_values);
|
|
137
|
+
} else {
|
|
138
|
+
ctx.mchcEnv.error('请输入符合规范的身份证号码!');
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
form.setFieldsValue({});
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"inputType": "input",
|
|
145
|
+
required: function required() {
|
|
146
|
+
return ctx.required;
|
|
147
|
+
},
|
|
148
|
+
layout: layout
|
|
149
|
+
}, {
|
|
150
|
+
"key": "BasicInfo.dob",
|
|
151
|
+
"label": "出生日期",
|
|
152
|
+
"inputType": "single_date_picker",
|
|
153
|
+
required: function required() {
|
|
154
|
+
return ctx.required;
|
|
155
|
+
},
|
|
156
|
+
layout: layout
|
|
157
|
+
}, {
|
|
158
|
+
"key": "BasicInfo.age",
|
|
159
|
+
"label": "年龄",
|
|
160
|
+
"inputType": "input_number",
|
|
161
|
+
required: function required() {
|
|
162
|
+
return ctx.required;
|
|
163
|
+
},
|
|
164
|
+
layout: layout
|
|
165
|
+
}, {
|
|
166
|
+
"key": "BasicInfo.nationality",
|
|
167
|
+
"label": "国籍",
|
|
168
|
+
"inputType": "country_select",
|
|
169
|
+
required: function required() {
|
|
170
|
+
return ctx.required;
|
|
171
|
+
},
|
|
172
|
+
layout: layout
|
|
173
|
+
}, {
|
|
174
|
+
"key": "BasicInfo.nativeplace",
|
|
175
|
+
"label": "籍贯",
|
|
176
|
+
"inputType": "MS",
|
|
177
|
+
required: function required() {
|
|
178
|
+
return ctx.required;
|
|
179
|
+
},
|
|
180
|
+
"inputProps": {
|
|
181
|
+
marshal: 0,
|
|
182
|
+
uniqueKey: '省份s'
|
|
183
|
+
},
|
|
184
|
+
layout: layout
|
|
185
|
+
}]
|
|
186
|
+
}, {
|
|
187
|
+
label: '接口联动(通过接口计算预产期)',
|
|
188
|
+
children: [{
|
|
189
|
+
label: "末次月经",
|
|
190
|
+
name: "pregnancy.lmp",
|
|
191
|
+
inputType: "single_date_picker",
|
|
192
|
+
inputProps: {
|
|
193
|
+
placeholder: "请输入末次月经"
|
|
194
|
+
},
|
|
195
|
+
processLocal: function processLocal(v, f) {
|
|
196
|
+
if (v && f) {
|
|
197
|
+
ctx.request.get("/api/pregnancyCalc-calcEddByLmp", {
|
|
198
|
+
params: {
|
|
199
|
+
lmp: v
|
|
200
|
+
}
|
|
201
|
+
}).then(function (r) {
|
|
202
|
+
var edd = r.data;
|
|
203
|
+
f.setFieldsValue({
|
|
204
|
+
sureEdd: edd,
|
|
205
|
+
pregnancy: {
|
|
206
|
+
edd: edd
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
layout: '1/3'
|
|
213
|
+
}, {
|
|
214
|
+
label: "预产期",
|
|
215
|
+
name: "pregnancy.edd",
|
|
216
|
+
inputType: "single_date_picker",
|
|
217
|
+
inputProps: {
|
|
218
|
+
disabled: true
|
|
219
|
+
},
|
|
220
|
+
layout: '1/3'
|
|
221
|
+
}, {
|
|
222
|
+
label: "修订预产期",
|
|
223
|
+
name: "sureEdd",
|
|
224
|
+
inputType: "single_date_picker",
|
|
225
|
+
inputProps: {
|
|
226
|
+
disabled: true
|
|
227
|
+
},
|
|
228
|
+
layout: '1/3'
|
|
229
|
+
}]
|
|
230
|
+
}, {
|
|
231
|
+
label: '其他联动',
|
|
232
|
+
children: [{
|
|
233
|
+
title: '隐藏显示联动(联合)',
|
|
234
|
+
inputType: 'title'
|
|
235
|
+
}, {
|
|
236
|
+
label: '吃饭了吗',
|
|
237
|
+
layout: '1/2',
|
|
238
|
+
inputProps: {
|
|
239
|
+
size: 'small'
|
|
240
|
+
},
|
|
241
|
+
inputType: 'straw',
|
|
242
|
+
children: [{
|
|
243
|
+
name: 'show0',
|
|
244
|
+
inputType: 'MC',
|
|
245
|
+
inputProps: {
|
|
246
|
+
options: [{
|
|
247
|
+
value: 0,
|
|
248
|
+
label: '还没'
|
|
249
|
+
}, {
|
|
250
|
+
value: 1,
|
|
251
|
+
label: '拉了'
|
|
252
|
+
}],
|
|
253
|
+
marshal: 0
|
|
254
|
+
}
|
|
255
|
+
}, {
|
|
256
|
+
name: 'show0Note',
|
|
257
|
+
inputType: 'MA',
|
|
258
|
+
inputProps: {
|
|
259
|
+
options: 'aa,bb',
|
|
260
|
+
width: 90
|
|
261
|
+
},
|
|
262
|
+
layout: '1/1',
|
|
263
|
+
showDeps: function showDeps(f) {
|
|
264
|
+
var value = f.getFieldValue('show0');
|
|
265
|
+
return value > 0;
|
|
266
|
+
}
|
|
267
|
+
}]
|
|
268
|
+
}, {
|
|
269
|
+
label: '联动',
|
|
270
|
+
layout: '1/2',
|
|
271
|
+
inputType: 'straw',
|
|
272
|
+
children: [{
|
|
273
|
+
name: 'show0',
|
|
274
|
+
inputType: 'MSW',
|
|
275
|
+
inputProps: {
|
|
276
|
+
checked_value: 1,
|
|
277
|
+
unchecked_value: 0
|
|
278
|
+
}
|
|
279
|
+
}, {
|
|
280
|
+
name: 'show0Note',
|
|
281
|
+
inputType: 'MA',
|
|
282
|
+
inputProps: {
|
|
283
|
+
placeholder: '请输入备注',
|
|
284
|
+
width: 120
|
|
285
|
+
},
|
|
286
|
+
layout: '1/1',
|
|
287
|
+
showDeps: {
|
|
288
|
+
show0: function show0(v) {
|
|
289
|
+
return v === 1;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}]
|
|
293
|
+
}, {
|
|
294
|
+
title: '隐藏显示联动(普通)',
|
|
295
|
+
inputType: 'title'
|
|
296
|
+
}, {
|
|
297
|
+
name: 'show0',
|
|
298
|
+
inputType: 'MC',
|
|
299
|
+
label: '控制显示',
|
|
300
|
+
layout: '1/2',
|
|
301
|
+
inputProps: {
|
|
302
|
+
options: '否,是',
|
|
303
|
+
marshal: 0
|
|
304
|
+
}
|
|
305
|
+
}, {
|
|
306
|
+
name: 'show0Note',
|
|
307
|
+
inputType: 'MA',
|
|
308
|
+
label: '输入',
|
|
309
|
+
layout: '1/2',
|
|
310
|
+
showDeps: {
|
|
311
|
+
show0: [1]
|
|
312
|
+
}
|
|
313
|
+
}, {
|
|
314
|
+
title: '必填联动',
|
|
315
|
+
inputType: 'title'
|
|
316
|
+
}, {
|
|
317
|
+
name: 'required0',
|
|
318
|
+
inputType: 'MC',
|
|
319
|
+
label: '控制必填',
|
|
320
|
+
layout: '1/2',
|
|
321
|
+
inputProps: {
|
|
322
|
+
options: '否,是',
|
|
323
|
+
marshal: 0
|
|
324
|
+
}
|
|
325
|
+
}, {
|
|
326
|
+
name: 'required0Note',
|
|
327
|
+
inputType: 'MA',
|
|
328
|
+
label: '输入',
|
|
329
|
+
layout: '1/2',
|
|
330
|
+
requiredDeps: {
|
|
331
|
+
required0: [1]
|
|
332
|
+
}
|
|
333
|
+
}, {
|
|
334
|
+
title: '禁用联动',
|
|
335
|
+
inputType: 'title'
|
|
336
|
+
}, {
|
|
337
|
+
name: 'disabled0',
|
|
338
|
+
inputType: 'MC',
|
|
339
|
+
label: '控制必填',
|
|
340
|
+
layout: '1/2',
|
|
341
|
+
inputProps: {
|
|
342
|
+
options: '否,是',
|
|
343
|
+
marshal: 0
|
|
344
|
+
}
|
|
345
|
+
}, {
|
|
346
|
+
name: 'disabled0Note',
|
|
347
|
+
inputType: 'MA',
|
|
348
|
+
label: '输入',
|
|
349
|
+
layout: '1/2',
|
|
350
|
+
disabledDeps: {
|
|
351
|
+
disabled0: [1]
|
|
352
|
+
}
|
|
353
|
+
}]
|
|
354
|
+
}, {
|
|
355
|
+
label: '常用组件',
|
|
356
|
+
children: [{
|
|
357
|
+
containerType: 'tabs',
|
|
358
|
+
label: '输入MA',
|
|
359
|
+
children: [{
|
|
360
|
+
name: 'ma0',
|
|
361
|
+
label: '远程配置(接口)',
|
|
362
|
+
inputType: 'MA',
|
|
363
|
+
layout: layout,
|
|
364
|
+
inputProps: {
|
|
365
|
+
marshal: 0,
|
|
366
|
+
fetch_options: function fetch_options() {
|
|
367
|
+
return ctx.request.get('/api/document-templates', {
|
|
368
|
+
params: {
|
|
369
|
+
page: 0,
|
|
370
|
+
size: 20,
|
|
371
|
+
'moduleType.equals': 1
|
|
372
|
+
}
|
|
373
|
+
}).then(function (r) {
|
|
374
|
+
return ctx.utils.expect_array(r.data).map(function (_) {
|
|
375
|
+
return {
|
|
376
|
+
label: _.title,
|
|
377
|
+
value: _.title
|
|
378
|
+
};
|
|
379
|
+
});
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}, {
|
|
384
|
+
label: '动态选项',
|
|
385
|
+
inputType: 'MA',
|
|
386
|
+
name: 'ma0',
|
|
387
|
+
layout: layout,
|
|
388
|
+
inputProps: {
|
|
389
|
+
memorieskey: '测试用'
|
|
390
|
+
}
|
|
391
|
+
}, {
|
|
392
|
+
label: '输入框',
|
|
393
|
+
inputType: 'MA',
|
|
394
|
+
name: 'ma0',
|
|
395
|
+
layout: layout
|
|
396
|
+
}, {
|
|
397
|
+
label: '配置',
|
|
398
|
+
layout: layout,
|
|
399
|
+
name: 'ma0',
|
|
400
|
+
inputType: 'MA',
|
|
401
|
+
inputProps: {
|
|
402
|
+
options: '我,和,你'
|
|
403
|
+
}
|
|
404
|
+
}, {
|
|
405
|
+
label: '字典',
|
|
406
|
+
layout: layout,
|
|
407
|
+
name: 'ma0',
|
|
408
|
+
inputType: 'MA',
|
|
409
|
+
inputProps: {
|
|
410
|
+
uniqueKey: '民族s'
|
|
411
|
+
}
|
|
412
|
+
}]
|
|
413
|
+
}, {
|
|
414
|
+
containerType: 'tabs',
|
|
415
|
+
label: '下拉MS',
|
|
416
|
+
children: [{
|
|
417
|
+
name: 'ms0',
|
|
418
|
+
label: '远程配置2',
|
|
419
|
+
inputType: 'MS',
|
|
420
|
+
layout: layout,
|
|
421
|
+
inputProps: {
|
|
422
|
+
marshal: 0,
|
|
423
|
+
fetch_options: {
|
|
424
|
+
url: "/api/document-templates?moduleType.equals=1&page=0&size=9999",
|
|
425
|
+
labelKey: "title",
|
|
426
|
+
valueKey: "id"
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}, {
|
|
430
|
+
name: 'ms0',
|
|
431
|
+
label: '配置',
|
|
432
|
+
inputType: 'MS',
|
|
433
|
+
layout: layout,
|
|
434
|
+
inputProps: {
|
|
435
|
+
marshal: 0,
|
|
436
|
+
options: 'a,b,c,d,e,f,g,h,i'
|
|
437
|
+
}
|
|
438
|
+
}, {
|
|
439
|
+
label: '字典',
|
|
440
|
+
name: 'ms0',
|
|
441
|
+
inputType: 'MS',
|
|
442
|
+
layout: layout,
|
|
443
|
+
inputProps: {
|
|
444
|
+
marshal: 0,
|
|
445
|
+
uniqueKey: '职业'
|
|
446
|
+
}
|
|
447
|
+
}, {
|
|
448
|
+
label: '自定义',
|
|
449
|
+
name: 'ms0',
|
|
450
|
+
layout: layout,
|
|
451
|
+
inputType: 'MS',
|
|
452
|
+
inputProps: {
|
|
453
|
+
marshal: 1,
|
|
454
|
+
options: 'a,b,c,d,e,f,g,h,i,j,k'
|
|
455
|
+
}
|
|
456
|
+
}, {
|
|
457
|
+
label: '多选',
|
|
458
|
+
name: 'ms0',
|
|
459
|
+
layout: layout,
|
|
460
|
+
inputType: 'MS',
|
|
461
|
+
inputProps: {
|
|
462
|
+
marshal: 0,
|
|
463
|
+
type: 'multiple',
|
|
464
|
+
options: [{
|
|
465
|
+
label: '无',
|
|
466
|
+
value: '000',
|
|
467
|
+
exclusive: true
|
|
468
|
+
}, {
|
|
469
|
+
label: '选项1',
|
|
470
|
+
value: 'aaa'
|
|
471
|
+
}, {
|
|
472
|
+
label: '选项2',
|
|
473
|
+
value: 'bbb'
|
|
474
|
+
}, {
|
|
475
|
+
label: '选项3',
|
|
476
|
+
value: 'ccc'
|
|
477
|
+
}]
|
|
478
|
+
}
|
|
479
|
+
}, {
|
|
480
|
+
title: 'frugal 对象存储, 只能单选, marshal只能1或2',
|
|
481
|
+
inputType: 'title'
|
|
482
|
+
}, {
|
|
483
|
+
label: 'frugal',
|
|
484
|
+
name: 'ms0',
|
|
485
|
+
layout: '1/1',
|
|
486
|
+
inputType: 'MS',
|
|
487
|
+
inputProps: {
|
|
488
|
+
marshal: 1,
|
|
489
|
+
frugal: true,
|
|
490
|
+
options: [{
|
|
491
|
+
label: '无',
|
|
492
|
+
value: '000',
|
|
493
|
+
exclusive: true
|
|
494
|
+
}, {
|
|
495
|
+
label: '选项1',
|
|
496
|
+
value: 'aaa'
|
|
497
|
+
}, {
|
|
498
|
+
label: '选项2',
|
|
499
|
+
value: 'bbb'
|
|
500
|
+
}, {
|
|
501
|
+
label: '选项3',
|
|
502
|
+
value: 'ccc'
|
|
503
|
+
}]
|
|
504
|
+
}
|
|
505
|
+
}, {
|
|
506
|
+
label: '值',
|
|
507
|
+
name: 'ms0',
|
|
508
|
+
inputType: 'text_area',
|
|
509
|
+
inputProps: {}
|
|
510
|
+
}]
|
|
511
|
+
}, {
|
|
512
|
+
containerType: 'tabs',
|
|
513
|
+
label: '勾选MC',
|
|
514
|
+
children: [{
|
|
515
|
+
label: '字典',
|
|
516
|
+
name: 'mc0',
|
|
517
|
+
inputType: 'MC',
|
|
518
|
+
layout: '1/1',
|
|
519
|
+
inputProps: {
|
|
520
|
+
marshal: 0,
|
|
521
|
+
uniqueKey: '性别4'
|
|
522
|
+
}
|
|
523
|
+
}, {
|
|
524
|
+
label: '配置',
|
|
525
|
+
name: 'mc0',
|
|
526
|
+
layout: '1/1',
|
|
527
|
+
inputType: 'MC',
|
|
528
|
+
inputProps: {
|
|
529
|
+
marshal: 0,
|
|
530
|
+
options: 'a,b,c,d,e,f,g,h,i,j'
|
|
531
|
+
}
|
|
532
|
+
}, {
|
|
533
|
+
label: '带组件',
|
|
534
|
+
name: 'mc0',
|
|
535
|
+
layout: '1/1',
|
|
536
|
+
inputType: 'MC',
|
|
537
|
+
inputProps: {
|
|
538
|
+
options: [{
|
|
539
|
+
label: '无',
|
|
540
|
+
value: 0
|
|
541
|
+
}, {
|
|
542
|
+
label: '日期',
|
|
543
|
+
value: 11,
|
|
544
|
+
inputType: 'MyDatePicker',
|
|
545
|
+
props: {}
|
|
546
|
+
}, {
|
|
547
|
+
label: '带MA',
|
|
548
|
+
value: 22,
|
|
549
|
+
inputType: 'MA',
|
|
550
|
+
props: {
|
|
551
|
+
options: 'a,b,c'
|
|
552
|
+
}
|
|
553
|
+
}, {
|
|
554
|
+
label: '带MS',
|
|
555
|
+
value: 33,
|
|
556
|
+
inputType: 'MS',
|
|
557
|
+
props: {
|
|
558
|
+
options: 'a,b,c',
|
|
559
|
+
marshal: 0
|
|
560
|
+
}
|
|
561
|
+
}, {
|
|
562
|
+
label: '带MC',
|
|
563
|
+
value: 44,
|
|
564
|
+
inputType: 'MC',
|
|
565
|
+
props: {
|
|
566
|
+
options: 'a,b,c',
|
|
567
|
+
marshal: 0
|
|
568
|
+
}
|
|
569
|
+
}]
|
|
570
|
+
}
|
|
571
|
+
}, {
|
|
572
|
+
label: '多选',
|
|
573
|
+
name: 'mc0',
|
|
574
|
+
layout: '1/1',
|
|
575
|
+
inputType: 'MC',
|
|
576
|
+
inputProps: {
|
|
577
|
+
type: 'multiple',
|
|
578
|
+
options: [{
|
|
579
|
+
label: '无',
|
|
580
|
+
value: 55,
|
|
581
|
+
exclusive: true
|
|
582
|
+
}, {
|
|
583
|
+
label: '日期',
|
|
584
|
+
value: 66,
|
|
585
|
+
inputType: 'MyDatePicker',
|
|
586
|
+
props: {}
|
|
587
|
+
}, {
|
|
588
|
+
label: '带MA',
|
|
589
|
+
value: 77,
|
|
590
|
+
inputType: 'MA',
|
|
591
|
+
props: {
|
|
592
|
+
options: 'a,b,c'
|
|
593
|
+
}
|
|
594
|
+
}, {
|
|
595
|
+
label: '带MS',
|
|
596
|
+
value: 88,
|
|
597
|
+
inputType: 'MS',
|
|
598
|
+
props: {
|
|
599
|
+
options: 'a,b,c',
|
|
600
|
+
marshal: 0
|
|
601
|
+
}
|
|
602
|
+
}, {
|
|
603
|
+
label: '带MC',
|
|
604
|
+
value: 99,
|
|
605
|
+
inputType: 'MC',
|
|
606
|
+
props: {
|
|
607
|
+
options: 'a,b,c',
|
|
608
|
+
marshal: 0
|
|
609
|
+
}
|
|
610
|
+
}]
|
|
611
|
+
}
|
|
612
|
+
}, {
|
|
613
|
+
label: '普通多选',
|
|
614
|
+
name: 'mc1',
|
|
615
|
+
layout: '1/1',
|
|
616
|
+
inputType: 'MC',
|
|
617
|
+
inputProps: {
|
|
618
|
+
type: 'multiple',
|
|
619
|
+
marshal: 0,
|
|
620
|
+
options: [{
|
|
621
|
+
label: '无',
|
|
622
|
+
value: 11,
|
|
623
|
+
exclusive: true
|
|
624
|
+
}, {
|
|
625
|
+
label: '日期',
|
|
626
|
+
value: 22,
|
|
627
|
+
props: {}
|
|
628
|
+
}, {
|
|
629
|
+
label: '带MA',
|
|
630
|
+
value: 33
|
|
631
|
+
}, {
|
|
632
|
+
label: '带MS',
|
|
633
|
+
value: 44
|
|
634
|
+
}, {
|
|
635
|
+
label: '带MC',
|
|
636
|
+
value: 55
|
|
637
|
+
}]
|
|
638
|
+
}
|
|
639
|
+
}, {
|
|
640
|
+
title: 'frugal 对象存储, 只能单选, marshal只能1或2',
|
|
641
|
+
inputType: 'title'
|
|
642
|
+
}, {
|
|
643
|
+
label: 'frugal',
|
|
644
|
+
name: 'mc0',
|
|
645
|
+
layout: '1/1',
|
|
646
|
+
inputType: 'MC',
|
|
647
|
+
inputProps: {
|
|
648
|
+
marshal: 1,
|
|
649
|
+
frugal: true,
|
|
650
|
+
options: [{
|
|
651
|
+
label: '无',
|
|
652
|
+
value: '000',
|
|
653
|
+
exclusive: true
|
|
654
|
+
}, {
|
|
655
|
+
label: '选项1',
|
|
656
|
+
value: 'aaa',
|
|
657
|
+
inputType: 'MC',
|
|
658
|
+
props: {
|
|
659
|
+
options: '1,2,3,4'
|
|
660
|
+
}
|
|
661
|
+
}, {
|
|
662
|
+
label: '选项2',
|
|
663
|
+
value: 'bbb'
|
|
664
|
+
}, {
|
|
665
|
+
label: '选项3',
|
|
666
|
+
value: 'ccc'
|
|
667
|
+
}]
|
|
668
|
+
}
|
|
669
|
+
}, {
|
|
670
|
+
label: '值',
|
|
671
|
+
name: 'mc0',
|
|
672
|
+
inputType: 'text_area',
|
|
673
|
+
inputProps: {}
|
|
674
|
+
}, {
|
|
675
|
+
label: '多选值',
|
|
676
|
+
name: 'mc1',
|
|
677
|
+
inputType: 'text_area',
|
|
678
|
+
inputProps: {}
|
|
679
|
+
}]
|
|
680
|
+
}, {
|
|
681
|
+
label: '开关MSW',
|
|
682
|
+
containerType: 'tabs',
|
|
683
|
+
children: [{
|
|
684
|
+
label: '形式1',
|
|
685
|
+
name: 'switch0',
|
|
686
|
+
inputType: 'MSW',
|
|
687
|
+
layout: '1/3',
|
|
688
|
+
inputProps: {
|
|
689
|
+
checked_value: '选中值,默认true',
|
|
690
|
+
unchecked_value: '反选中值,默认false'
|
|
691
|
+
}
|
|
692
|
+
}, {
|
|
693
|
+
label: '形式2',
|
|
694
|
+
layout: '1/3',
|
|
695
|
+
name: 'switch0',
|
|
696
|
+
inputType: 'MSW',
|
|
697
|
+
inputProps: {
|
|
698
|
+
switch_type: 'checkbox',
|
|
699
|
+
checked_value: '选中值,默认true',
|
|
700
|
+
unchecked_value: '反选中值,默认false'
|
|
701
|
+
}
|
|
702
|
+
}, {
|
|
703
|
+
inputType: 'MA',
|
|
704
|
+
name: 'switch0',
|
|
705
|
+
layout: '1/3'
|
|
706
|
+
}]
|
|
707
|
+
}, {
|
|
708
|
+
containerType: 'tabs',
|
|
709
|
+
label: '列表',
|
|
710
|
+
children: [{
|
|
711
|
+
layout: '1/1',
|
|
712
|
+
label: 'MyEditTable',
|
|
713
|
+
name: 'lb0',
|
|
714
|
+
inputType: 'MyEditTable',
|
|
715
|
+
inputProps: {
|
|
716
|
+
marshal: 0,
|
|
717
|
+
showEdit: true,
|
|
718
|
+
genRowData: function genRowData(arr) {
|
|
719
|
+
return {
|
|
720
|
+
aa: '99',
|
|
721
|
+
bb: ctx.utils.formatDateTime()
|
|
722
|
+
};
|
|
723
|
+
},
|
|
724
|
+
formDescriptions: [{
|
|
725
|
+
label: 'aa',
|
|
726
|
+
name: 'aa',
|
|
727
|
+
inputType: 'MA',
|
|
728
|
+
props: {
|
|
729
|
+
options: '1,2'
|
|
730
|
+
}
|
|
731
|
+
}, {
|
|
732
|
+
label: 'bb',
|
|
733
|
+
name: 'bb',
|
|
734
|
+
inputType: 'MyDatePicker',
|
|
735
|
+
inputProps: {
|
|
736
|
+
showTime: true
|
|
737
|
+
}
|
|
738
|
+
}]
|
|
739
|
+
}
|
|
740
|
+
}, {
|
|
741
|
+
layout: '1/1',
|
|
742
|
+
label: 'MyEditTable',
|
|
743
|
+
name: 'lb0',
|
|
744
|
+
inputType: 'MyEditTable',
|
|
745
|
+
inputProps: {
|
|
746
|
+
marshal: 0,
|
|
747
|
+
genRowData: function genRowData(arr) {
|
|
748
|
+
return {
|
|
749
|
+
aa: '99',
|
|
750
|
+
bb: ctx.utils.formatDateTime()
|
|
751
|
+
};
|
|
752
|
+
},
|
|
753
|
+
formDescriptions: [{
|
|
754
|
+
label: 'aa',
|
|
755
|
+
name: 'aa',
|
|
756
|
+
inputType: 'MyPressure',
|
|
757
|
+
props: {
|
|
758
|
+
options: '1,2'
|
|
759
|
+
}
|
|
760
|
+
}, {
|
|
761
|
+
label: 'bb',
|
|
762
|
+
name: 'bb',
|
|
763
|
+
inputType: 'DateTimeInput',
|
|
764
|
+
inputProps: {
|
|
765
|
+
showSecond: false
|
|
766
|
+
}
|
|
767
|
+
}]
|
|
768
|
+
}
|
|
769
|
+
}, {
|
|
770
|
+
layout: '1/1',
|
|
771
|
+
name: 'lb0',
|
|
772
|
+
label: 'ArrayPanel',
|
|
773
|
+
inputType: 'ArrayPanel',
|
|
774
|
+
inputProps: {
|
|
775
|
+
marshal: 0,
|
|
776
|
+
genRowData: function genRowData(arr) {
|
|
777
|
+
return {
|
|
778
|
+
aa: '22'
|
|
779
|
+
};
|
|
780
|
+
},
|
|
781
|
+
formDescriptions: [{
|
|
782
|
+
label: 'aa',
|
|
783
|
+
name: 'aa',
|
|
784
|
+
inputType: 'MA',
|
|
785
|
+
props: {
|
|
786
|
+
options: '1,2'
|
|
787
|
+
},
|
|
788
|
+
layout: '1/2'
|
|
789
|
+
}, {
|
|
790
|
+
label: 'bb',
|
|
791
|
+
name: 'bb',
|
|
792
|
+
inputType: 'MyDatePicker',
|
|
793
|
+
layout: '1/2',
|
|
794
|
+
inputProps: {
|
|
795
|
+
showTime: true
|
|
796
|
+
}
|
|
797
|
+
}]
|
|
798
|
+
}
|
|
799
|
+
}, {
|
|
800
|
+
layout: '1/1',
|
|
801
|
+
name: 'lb0',
|
|
802
|
+
label: '值',
|
|
803
|
+
inputType: 'component',
|
|
804
|
+
inputProps: {
|
|
805
|
+
component: function component(_a) {
|
|
806
|
+
var value = _a.value;
|
|
807
|
+
return JSON.stringify(value);
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}, {
|
|
811
|
+
layout: '1/1',
|
|
812
|
+
name: 'lb1',
|
|
813
|
+
label: 'ArraySingle',
|
|
814
|
+
inputType: 'ArraySingle',
|
|
815
|
+
inputProps: {
|
|
816
|
+
marshal: 0,
|
|
817
|
+
genRowData: function genRowData(arr) {
|
|
818
|
+
return ctx.utils.formatDate();
|
|
819
|
+
},
|
|
820
|
+
inputType: 'MA'
|
|
821
|
+
}
|
|
822
|
+
}, {
|
|
823
|
+
layout: '1/1',
|
|
824
|
+
name: 'lb1',
|
|
825
|
+
label: '值',
|
|
826
|
+
inputType: 'component',
|
|
827
|
+
inputProps: {
|
|
828
|
+
component: function component(_a) {
|
|
829
|
+
var value = _a.value;
|
|
830
|
+
return JSON.stringify(value);
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
}]
|
|
834
|
+
}, {
|
|
835
|
+
containerType: 'tabs',
|
|
836
|
+
label: '地址',
|
|
837
|
+
children: [{
|
|
838
|
+
label: '地址1',
|
|
839
|
+
name: 'dz0',
|
|
840
|
+
inputType: 'MyAddress',
|
|
841
|
+
layout: '1/1',
|
|
842
|
+
inputProps: {}
|
|
843
|
+
}, {
|
|
844
|
+
label: '时间',
|
|
845
|
+
name: 'dz1',
|
|
846
|
+
inputType: 'MyAddress',
|
|
847
|
+
layout: '1/1',
|
|
848
|
+
inputProps: {
|
|
849
|
+
addressBtns: [{
|
|
850
|
+
label: '同上',
|
|
851
|
+
name: 'dz0'
|
|
852
|
+
}]
|
|
853
|
+
}
|
|
854
|
+
}]
|
|
855
|
+
}, {
|
|
856
|
+
containerType: 'tabs',
|
|
857
|
+
label: '日期时间',
|
|
858
|
+
children: [{
|
|
859
|
+
label: '选择',
|
|
860
|
+
children: [{
|
|
861
|
+
label: '日期',
|
|
862
|
+
name: 'rq0',
|
|
863
|
+
inputType: 'MyDatePicker',
|
|
864
|
+
layout: '1/2',
|
|
865
|
+
inputProps: {}
|
|
866
|
+
}, {
|
|
867
|
+
label: '日期时间',
|
|
868
|
+
name: 'sjrq0',
|
|
869
|
+
inputType: 'MyDatePicker',
|
|
870
|
+
layout: '1/2',
|
|
871
|
+
inputProps: {
|
|
872
|
+
showTime: true
|
|
873
|
+
}
|
|
874
|
+
}, {
|
|
875
|
+
label: '日期时间带秒',
|
|
876
|
+
name: 'sjrqm0',
|
|
877
|
+
inputType: 'MyDatePicker',
|
|
878
|
+
layout: '1/2',
|
|
879
|
+
inputProps: {
|
|
880
|
+
showTime: true,
|
|
881
|
+
format: 'YYYY-MM-DD HH:mm:ss'
|
|
882
|
+
}
|
|
883
|
+
}, {
|
|
884
|
+
label: '时间',
|
|
885
|
+
name: 'sj0',
|
|
886
|
+
inputType: 'MyDatePicker',
|
|
887
|
+
layout: '1/2',
|
|
888
|
+
inputProps: {
|
|
889
|
+
time_only: true
|
|
890
|
+
}
|
|
891
|
+
}, {
|
|
892
|
+
label: '时间',
|
|
893
|
+
name: 'sjz',
|
|
894
|
+
inputType: 'MyDatePicker',
|
|
895
|
+
layout: '1/2',
|
|
896
|
+
inputProps: {
|
|
897
|
+
time_only: true
|
|
898
|
+
}
|
|
899
|
+
}, {
|
|
900
|
+
label: '星期',
|
|
901
|
+
name: 'xq0',
|
|
902
|
+
inputType: 'MyDatePicker',
|
|
903
|
+
layout: '1/2',
|
|
904
|
+
inputProps: {
|
|
905
|
+
picker: 'week',
|
|
906
|
+
format: null
|
|
907
|
+
}
|
|
908
|
+
}, {
|
|
909
|
+
label: '月份',
|
|
910
|
+
name: 'yf0',
|
|
911
|
+
inputType: 'MyDatePicker',
|
|
912
|
+
layout: '1/2',
|
|
913
|
+
inputProps: {
|
|
914
|
+
picker: 'month',
|
|
915
|
+
format: null
|
|
916
|
+
}
|
|
917
|
+
}, {
|
|
918
|
+
label: '季度',
|
|
919
|
+
name: 'jd0',
|
|
920
|
+
inputType: 'MyDatePicker',
|
|
921
|
+
layout: '1/2',
|
|
922
|
+
inputProps: {
|
|
923
|
+
picker: 'quarter',
|
|
924
|
+
format: null
|
|
925
|
+
}
|
|
926
|
+
}, {
|
|
927
|
+
label: '年度',
|
|
928
|
+
name: 'nd0',
|
|
929
|
+
inputType: 'MyDatePicker',
|
|
930
|
+
layout: '1/2',
|
|
931
|
+
inputProps: {
|
|
932
|
+
picker: 'year',
|
|
933
|
+
format: null
|
|
934
|
+
}
|
|
935
|
+
}]
|
|
936
|
+
}, {
|
|
937
|
+
label: '范围',
|
|
938
|
+
children: [{
|
|
939
|
+
label: '日期格式1',
|
|
940
|
+
name: 'rqfw0',
|
|
941
|
+
inputType: 'MyRangeDate',
|
|
942
|
+
layout: '1/2'
|
|
943
|
+
}, {
|
|
944
|
+
label: '日期值',
|
|
945
|
+
name: 'rqfw0',
|
|
946
|
+
inputType: 'text_area',
|
|
947
|
+
layout: '1/1',
|
|
948
|
+
inputProps: {}
|
|
949
|
+
}, {
|
|
950
|
+
label: '日期格式2',
|
|
951
|
+
name: 'rqfw1',
|
|
952
|
+
inputType: 'MyRangeDate',
|
|
953
|
+
layout: '1/2',
|
|
954
|
+
inputProps: {
|
|
955
|
+
marshal: 0
|
|
956
|
+
}
|
|
957
|
+
}, {
|
|
958
|
+
label: '日期值',
|
|
959
|
+
name: 'rqfw1',
|
|
960
|
+
inputType: 'text_area',
|
|
961
|
+
layout: '1/1',
|
|
962
|
+
inputProps: {}
|
|
963
|
+
}, {
|
|
964
|
+
label: '日期时间',
|
|
965
|
+
name: 'rqfwt0',
|
|
966
|
+
inputType: 'MyRangeDateTime',
|
|
967
|
+
layout: '1/2'
|
|
968
|
+
}, {
|
|
969
|
+
label: '日期值',
|
|
970
|
+
name: 'rqfwt0',
|
|
971
|
+
inputType: 'text_area',
|
|
972
|
+
layout: '1/1',
|
|
973
|
+
inputProps: {}
|
|
974
|
+
}]
|
|
975
|
+
}, {
|
|
976
|
+
label: '手输',
|
|
977
|
+
children: [{
|
|
978
|
+
label: '日期时间',
|
|
979
|
+
name: 'sj1',
|
|
980
|
+
inputType: 'MyDatePicker',
|
|
981
|
+
layout: '1/2',
|
|
982
|
+
inputProps: {
|
|
983
|
+
showTime: true,
|
|
984
|
+
format: ctx.utils.formatDateTime.format
|
|
985
|
+
}
|
|
986
|
+
}, {
|
|
987
|
+
label: '日期时间秒',
|
|
988
|
+
name: 'sj1',
|
|
989
|
+
inputType: 'DateTimeInput',
|
|
990
|
+
layout: '1/2',
|
|
991
|
+
inputProps: {
|
|
992
|
+
showSecond: true
|
|
993
|
+
}
|
|
994
|
+
}]
|
|
995
|
+
}]
|
|
996
|
+
}, {
|
|
997
|
+
containerType: 'tabs',
|
|
998
|
+
label: '模板',
|
|
999
|
+
children: [{
|
|
1000
|
+
label: '模板',
|
|
1001
|
+
name: 'mb',
|
|
1002
|
+
inputType: 'TemplateTextarea',
|
|
1003
|
+
layout: '1/2',
|
|
1004
|
+
inputProps: {
|
|
1005
|
+
TemplateTextarea_type: [{
|
|
1006
|
+
"title": "科室xx",
|
|
1007
|
+
"type": 16,
|
|
1008
|
+
"depid": 2
|
|
1009
|
+
}, {
|
|
1010
|
+
"title": "个人xx",
|
|
1011
|
+
"type": 17
|
|
1012
|
+
}, {
|
|
1013
|
+
"title": "gg",
|
|
1014
|
+
"type": 18
|
|
1015
|
+
}]
|
|
1016
|
+
}
|
|
1017
|
+
}, {
|
|
1018
|
+
"name": "inspection",
|
|
1019
|
+
"label": "检验检查",
|
|
1020
|
+
"inputType": "textareaWithResult",
|
|
1021
|
+
layout: '1/2',
|
|
1022
|
+
"inputProps": {
|
|
1023
|
+
"TemplateTextarea_type": [{
|
|
1024
|
+
"title": "检验结果",
|
|
1025
|
+
"url": "/api/getLabExamImportTree"
|
|
1026
|
+
}, {
|
|
1027
|
+
"title": "超声结果",
|
|
1028
|
+
"url": "/api/getImageExamImportTree"
|
|
1029
|
+
}],
|
|
1030
|
+
"gen_obj": function gen_obj() {
|
|
1031
|
+
return {
|
|
1032
|
+
pregnancyId: ctx.utils.single_id() || 2
|
|
1033
|
+
};
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
}]
|
|
1037
|
+
}, {
|
|
1038
|
+
containerType: 'tabs',
|
|
1039
|
+
label: '多个值',
|
|
1040
|
+
children: [{
|
|
1041
|
+
label: '单字段',
|
|
1042
|
+
layout: '1/1',
|
|
1043
|
+
name: 'ma0',
|
|
1044
|
+
inputType: 'ArrayInput',
|
|
1045
|
+
inputProps: {
|
|
1046
|
+
options: [{
|
|
1047
|
+
inputType: 'MA',
|
|
1048
|
+
prefix: '这里有',
|
|
1049
|
+
suffix: '个人'
|
|
1050
|
+
}, {
|
|
1051
|
+
inputType: 'MyDatePicker',
|
|
1052
|
+
prefix: '日期是'
|
|
1053
|
+
}]
|
|
1054
|
+
}
|
|
1055
|
+
}, {
|
|
1056
|
+
label: '血压',
|
|
1057
|
+
layout: '1/2',
|
|
1058
|
+
inputType: 'straw',
|
|
1059
|
+
children: [{
|
|
1060
|
+
name: 'systolic',
|
|
1061
|
+
inputType: 'input_number',
|
|
1062
|
+
inputProps: {
|
|
1063
|
+
width: 80,
|
|
1064
|
+
placeholder: '请输入收缩压'
|
|
1065
|
+
}
|
|
1066
|
+
}, {
|
|
1067
|
+
"inputType": "input",
|
|
1068
|
+
processRemote: function processRemote(v) {
|
|
1069
|
+
return '/';
|
|
1070
|
+
},
|
|
1071
|
+
"inputProps": {
|
|
1072
|
+
disabled: true,
|
|
1073
|
+
width: 12,
|
|
1074
|
+
style: {
|
|
1075
|
+
paddingLeft: 2,
|
|
1076
|
+
paddingRight: 2
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
}, {
|
|
1080
|
+
name: 'diastolic',
|
|
1081
|
+
inputType: 'input_number',
|
|
1082
|
+
inputProps: {
|
|
1083
|
+
width: 80,
|
|
1084
|
+
placeholder: '请输入舒张压'
|
|
1085
|
+
},
|
|
1086
|
+
layout: '1/1'
|
|
1087
|
+
}]
|
|
1088
|
+
}]
|
|
1089
|
+
}]
|
|
1090
|
+
}, {
|
|
1091
|
+
label: '状态判断',
|
|
1092
|
+
children: [{
|
|
1093
|
+
label: '自身状态判断(输入 123 或者 456 变色)',
|
|
1094
|
+
inputType: 'input_number',
|
|
1095
|
+
name: 'color0',
|
|
1096
|
+
checkWarn: function checkWarn(v, form) {
|
|
1097
|
+
if (v === 123) {
|
|
1098
|
+
return 'error';
|
|
1099
|
+
}
|
|
1100
|
+
if (v === 456) {
|
|
1101
|
+
return 'warning';
|
|
1102
|
+
}
|
|
1103
|
+
return '';
|
|
1104
|
+
}
|
|
1105
|
+
}, {
|
|
1106
|
+
name: 'color1',
|
|
1107
|
+
label: '根据其他表单值变色',
|
|
1108
|
+
inputType: 'MA',
|
|
1109
|
+
error_deps: {
|
|
1110
|
+
color0: function color0(v) {
|
|
1111
|
+
return v === 123;
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
warning_deps: {
|
|
1115
|
+
color0: function color0(v) {
|
|
1116
|
+
return v === 456;
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
}, {
|
|
1120
|
+
name: 'color2',
|
|
1121
|
+
label: '静态状态',
|
|
1122
|
+
inputType: 'MA',
|
|
1123
|
+
processRemote: function processRemote(v, form) {
|
|
1124
|
+
return v || '!!!';
|
|
1125
|
+
},
|
|
1126
|
+
inputProps: {
|
|
1127
|
+
status: 'error'
|
|
1128
|
+
}
|
|
1129
|
+
}]
|
|
1130
|
+
}, {
|
|
1131
|
+
title: '一键勾选',
|
|
1132
|
+
children: [{
|
|
1133
|
+
label: 'MSW',
|
|
1134
|
+
name: 'yj0',
|
|
1135
|
+
layout: "1/3",
|
|
1136
|
+
inputType: 'MSW'
|
|
1137
|
+
}, {
|
|
1138
|
+
label: 'MC',
|
|
1139
|
+
name: 'yj1',
|
|
1140
|
+
inputType: 'MC',
|
|
1141
|
+
layout: "1/3",
|
|
1142
|
+
inputProps: {
|
|
1143
|
+
options: 'aa,bb,cc',
|
|
1144
|
+
marshal: 0
|
|
1145
|
+
}
|
|
1146
|
+
}, {
|
|
1147
|
+
"inputType": "check_invert_button",
|
|
1148
|
+
layout: "1/3"
|
|
1149
|
+
}, {
|
|
1150
|
+
"inputType": "check_invert_button",
|
|
1151
|
+
label: '自定义',
|
|
1152
|
+
layout: "1/3",
|
|
1153
|
+
inputProps: {
|
|
1154
|
+
check_invert_values: {
|
|
1155
|
+
yj1: [2, 3],
|
|
1156
|
+
yj2: [2, 3]
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
}, {
|
|
1160
|
+
label: '嵌套',
|
|
1161
|
+
children: [{
|
|
1162
|
+
label: 'MS',
|
|
1163
|
+
name: 'yj2',
|
|
1164
|
+
inputType: 'MS',
|
|
1165
|
+
layout: "1/3",
|
|
1166
|
+
inputProps: {
|
|
1167
|
+
options: 'aa,bb,cc,dd',
|
|
1168
|
+
marshal: 0
|
|
1169
|
+
}
|
|
1170
|
+
}, {
|
|
1171
|
+
label: 'MA',
|
|
1172
|
+
name: 'yj3',
|
|
1173
|
+
inputType: 'MA',
|
|
1174
|
+
layout: "1/3",
|
|
1175
|
+
inputProps: {
|
|
1176
|
+
options: 'aa,bb,cc'
|
|
1177
|
+
}
|
|
1178
|
+
}, {
|
|
1179
|
+
label: '不受选中',
|
|
1180
|
+
name: 'yj4',
|
|
1181
|
+
inputType: 'MS',
|
|
1182
|
+
layout: "1/3",
|
|
1183
|
+
disabled_check: true,
|
|
1184
|
+
inputProps: {
|
|
1185
|
+
options: 'aa,bb,cc'
|
|
1186
|
+
}
|
|
1187
|
+
}]
|
|
1188
|
+
}]
|
|
1189
|
+
}, {
|
|
1190
|
+
title: '按钮',
|
|
1191
|
+
children: [{
|
|
1192
|
+
inputType: 'MyButton',
|
|
1193
|
+
layout: '1/2',
|
|
1194
|
+
inputProps: {
|
|
1195
|
+
btn_text: '一个按钮',
|
|
1196
|
+
on_btn_click: function on_btn_click(e, form) {
|
|
1197
|
+
if (form) {
|
|
1198
|
+
form.setFieldsValue({
|
|
1199
|
+
btn_input: 'aabbcc'
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
1202
|
+
return ctx.request.get('/api/pregnancies', {
|
|
1203
|
+
params: {
|
|
1204
|
+
'name.equals': 'abc'
|
|
1205
|
+
}
|
|
1206
|
+
}).then(function (r) {
|
|
1207
|
+
console.log('data', r.data);
|
|
1208
|
+
ctx.mchcEnv.success('获取到数据');
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
}, {
|
|
1213
|
+
inputType: 'MyButton',
|
|
1214
|
+
layout: '1/2',
|
|
1215
|
+
inputProps: {
|
|
1216
|
+
btn_text: '打印',
|
|
1217
|
+
on_btn_click: function on_btn_click(e, form) {
|
|
1218
|
+
if (form) {
|
|
1219
|
+
var id = form.getFieldValue('id') || 14;
|
|
1220
|
+
ctx.print({
|
|
1221
|
+
url: '/api/pdf-preview',
|
|
1222
|
+
method: 'post',
|
|
1223
|
+
data: {
|
|
1224
|
+
resource: "prenatalRVisit",
|
|
1225
|
+
id: id
|
|
1226
|
+
}
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
}, {
|
|
1232
|
+
inputType: 'MA',
|
|
1233
|
+
name: 'btn_input',
|
|
1234
|
+
layout: '1/2'
|
|
1235
|
+
}]
|
|
1236
|
+
}]);
|
|
1237
|
+
export { form_config as default };
|