@lm_fe/pages-fubao 0.1.201 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/a_chunks/{.root55.js → CervicalCarcinoma.Screening.form.js} +1 -8
- package/dist/a_chunks/{.root57.js → CervicalCarcinoma.Screening.form2.js} +0 -7
- package/dist/a_chunks/Form.js +3 -5
- package/dist/a_chunks/{.root56.js → MammaryCancer.Screening.form.js} +4 -28
- package/dist/a_chunks/{.root58.js → MammaryCancer.Screening.form2.js} +0 -1
- package/dist/a_chunks/ModalForm.js +254 -280
- package/dist/a_chunks/api.js +311 -325
- package/dist/a_chunks/common.js +0 -1
- package/dist/a_chunks/config.js +135 -164
- package/dist/a_chunks/{.root.js → family-planning.file-management.doctor-desk.js} +241 -281
- package/dist/a_chunks/family-planning.file-management.doctor-desk2.js +18 -0
- package/dist/a_chunks/{.root9.js → family-planning.file-management.list.js} +16 -26
- package/dist/a_chunks/{.root2.js → family-planning.file-management.nurse-desk.js} +22 -30
- package/dist/a_chunks/{.root13.js → family-planning.tracing-management.list.js} +300 -331
- package/dist/a_chunks/folic-acid.file-management.add.js +12 -0
- package/dist/a_chunks/folic-acid.file-management.edit.js +12 -0
- package/dist/a_chunks/{.root16.js → folic-acid.file-management.list.js} +4 -6
- package/dist/a_chunks/{.root17.js → follow-up.positive.premarital.js} +11 -2
- package/dist/a_chunks/{.root18.js → follow-up.positive.progestation.js} +10 -1
- package/dist/a_chunks/form_config.js +11 -130
- package/dist/a_chunks/{.root3.js → fubao.data-report.breast-cancer.js} +4 -6
- package/dist/a_chunks/{.root4.js → fubao.data-report.cervical-cancer.js} +4 -6
- package/dist/a_chunks/{.root5.js → fubao.family-planning.booking-management.js} +3 -3
- package/dist/a_chunks/{.root52.js → fubao.family-planning.booking-management2.js} +167 -219
- package/dist/a_chunks/{.root6.js → fubao.family-planning.curettage-statistics.js} +6 -9
- package/dist/a_chunks/fubao.family-planning.file-management.js +9 -0
- package/dist/a_chunks/{.root10.js → fubao.family-planning.surgery-management.js} +9 -15
- package/dist/a_chunks/{.root11.js → fubao.family-planning.surgery-scheduling.js} +210 -244
- package/dist/a_chunks/fubao.family-planning.tracing-management.js +14 -0
- package/dist/a_chunks/{.root28.js → fubao.gynecological-diseases.pathological-follow-up.js} +11 -15
- package/dist/a_chunks/{.root29.js → fubao.gynecological-diseases.pathological-reminder.js} +11 -15
- package/dist/a_chunks/fubao.gynecological-diseases.two-cancers.js +141 -0
- package/dist/a_chunks/fubao.pre-pregnancy-care.file-management.js +492 -0
- package/dist/a_chunks/{.root44.js → fubao.premarital-care.file-management.js} +13 -19
- package/dist/a_chunks/{.root47.js → fubao.report-entry.patients.js} +5 -8
- package/dist/a_chunks/{.root63.js → fubao.report-entry.patients2.js} +1 -2
- package/dist/a_chunks/{.root40.js → fubao.report-entry.reports.js} +3 -3
- package/dist/a_chunks/{.root62.js → fubao.report-entry.reports2.js} +64 -65
- package/dist/a_chunks/{.root64.js → fubao.report-entry.reports3.js} +0 -1
- package/dist/a_chunks/{.root65.js → fubao.report-entry.reports4.js} +0 -1
- package/dist/a_chunks/fubao.statistic.abnormal-breast-cancer.js +97 -0
- package/dist/a_chunks/fubao.statistic.abnormal-cervical-cancer.js +94 -0
- package/dist/a_chunks/{.root48.js → fubao.statistic.breast-cancer.js} +0 -1
- package/dist/a_chunks/{.root49.js → fubao.statistic.cervical-cancer.js} +0 -1
- package/dist/a_chunks/fubao.statistic.premarital-checkup.js +120 -0
- package/dist/a_chunks/fubao.statistic.progestation-checkup.js +89 -0
- package/dist/a_chunks/{.root19.js → gynecological-diseases.adolescent-management.list.js} +16 -27
- package/dist/a_chunks/gynecological-diseases.breast.edit.js +121 -0
- package/dist/a_chunks/{.root21.js → gynecological-diseases.breast.list.js} +16 -18
- package/dist/a_chunks/{.root24.js → gynecological-diseases.cervical-cancer-report.list.js} +10 -14
- package/dist/a_chunks/gynecological-diseases.cervical.edit.js +121 -0
- package/dist/a_chunks/{.root23.js → gynecological-diseases.cervical.list.js} +16 -18
- package/dist/a_chunks/{.root25.js → gynecological-diseases.hpv-report.list.js} +10 -14
- package/dist/a_chunks/{.root26.js → gynecological-diseases.mammary-cancer-report.list.js} +10 -14
- package/dist/a_chunks/{.root27.js → gynecological-diseases.menopause-management.list.js} +16 -27
- package/dist/a_chunks/{.root30.js → gynecological-diseases.regular-screening.list.js} +9 -14
- package/dist/a_chunks/gynecological-diseases.two-cancers.add.js +12 -0
- package/dist/a_chunks/{.root32.js → gynecological-diseases.two-cancers.edit.js} +11 -19
- package/dist/a_chunks/{.root33.js → gynecological-diseases.two-cancers.exam.js} +309 -336
- package/dist/a_chunks/{.root34.js → gynecological-diseases.two-cancers.followup.js} +1 -2
- package/dist/a_chunks/index.js +43 -57
- package/dist/a_chunks/index2.js +148 -64
- package/dist/a_chunks/index3.js +131 -1151
- package/dist/a_chunks/index4.js +57 -1040
- package/dist/a_chunks/index5.js +140 -0
- package/dist/a_chunks/index6.js +1169 -0
- package/dist/a_chunks/index7.js +1006 -0
- package/dist/a_chunks/{.root61.js → pages.fubao.premarital-care.js} +4 -5
- package/dist/a_chunks/pages.fubao.premarital-care2.js +114 -0
- package/dist/a_chunks/pages.fubao.premarital-care3.js +132 -0
- package/dist/a_chunks/pre-pregnancy-care.file-management.add.js +12 -0
- package/dist/a_chunks/pre-pregnancy-care.file-management.edit.js +199 -0
- package/dist/a_chunks/pre-pregnancy-care.file-management.edit2.js +830 -0
- package/dist/a_chunks/{.root39.js → pre-pregnancy-care.husband.husband-exam.js} +57 -84
- package/dist/a_chunks/{.root41.js → pre-pregnancy-care.wife.wife-exam.js} +57 -84
- package/dist/a_chunks/premarital-care.file-management.add.js +12 -0
- package/dist/a_chunks/{.root59.js → premarital-care.file-management.config.js} +10 -11
- package/dist/a_chunks/{.root60.js → premarital-care.file-management.config2.js} +0 -1
- package/dist/a_chunks/premarital-care.file-management.edit.js +199 -0
- package/dist/a_chunks/premarital-care.file-management.edit2.js +817 -0
- package/dist/a_chunks/{.root45.js → premarital-care.husband-v2.husband-exam.js} +56 -83
- package/dist/a_chunks/{.root46.js → premarital-care.wife-v2.wife-exam.js} +56 -83
- package/dist/a_chunks/style-inject.es.js +0 -1
- package/dist/a_chunks/tslib.es6.js +1 -2
- package/dist/a_chunks/{.root53.js → two-cancers.edit.form_config.js} +1 -2
- package/dist/a_chunks/{.root54.js → two-cancers.edit.form_config2.js} +4 -5
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js +0 -1
- package/dist/index.js +59 -54
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/SurgicalRecordv2/Curettage/index.d.ts +1 -1
- package/dist/pages/fubao/family-planning/file-management/doctor-desk/components/VideoReport/method.d.ts +1 -1
- package/dist/pages/fubao/gynecological-diseases/pathological-follow-up/config/table.d.ts +2 -1
- package/dist/pages/fubao/gynecological-diseases/pathological-reminder/config/table.d.ts +2 -1
- package/dist/pages/fubao/gynecological-diseases/two-cancers/./344/270/244/347/231/214/351/232/217/350/256/277/index.d.ts +1 -1
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/form_config.d.ts +2 -1
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index copy.d.ts +18 -0
- package/dist/pages/fubao/pre-pregnancy-care/file-management/edit/index.d.ts +3 -18
- package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/form_config_nv.d.ts +4 -0
- package/dist/pages/fubao/premarital-care/file-management/edit/form_config.d.ts +2 -1
- package/dist/pages/fubao/premarital-care/file-management/edit/index copy 2.d.ts +17 -0
- package/dist/pages/fubao/premarital-care/file-management/edit/index.d.ts +3 -17
- package/dist/pages/fubao/statistic/abnormal-breast-cancer/index.d.ts +2 -0
- package/dist/pages/fubao/statistic/abnormal-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/index.d.ts +1 -1
- package/dist/pages/fubao/statistic/progestation-checkup/./345/255/225/346/243/200/351/232/217/350/256/277/index.d.ts +1 -1
- package/dist/routes/index.d.ts +2 -0
- package/dist/routes/meta.d.ts +2 -0
- package/package.json +19 -14
- package/dist/a_chunks/.root.js.map +0 -1
- package/dist/a_chunks/.root10.js.map +0 -1
- package/dist/a_chunks/.root11.js.map +0 -1
- package/dist/a_chunks/.root12.js +0 -45
- package/dist/a_chunks/.root12.js.map +0 -1
- package/dist/a_chunks/.root13.js.map +0 -1
- package/dist/a_chunks/.root14.js +0 -26
- package/dist/a_chunks/.root14.js.map +0 -1
- package/dist/a_chunks/.root15.js +0 -26
- 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 +0 -125
- package/dist/a_chunks/.root20.js.map +0 -1
- package/dist/a_chunks/.root21.js.map +0 -1
- package/dist/a_chunks/.root22.js +0 -125
- 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 +0 -20
- 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 +0 -281
- package/dist/a_chunks/.root35.js.map +0 -1
- package/dist/a_chunks/.root36.js +0 -26
- package/dist/a_chunks/.root36.js.map +0 -1
- package/dist/a_chunks/.root37.js +0 -1497
- package/dist/a_chunks/.root37.js.map +0 -1
- package/dist/a_chunks/.root38.js +0 -2956
- 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 +0 -26
- package/dist/a_chunks/.root42.js.map +0 -1
- package/dist/a_chunks/.root43.js +0 -1542
- 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 +0 -263
- package/dist/a_chunks/.root50.js.map +0 -1
- package/dist/a_chunks/.root51.js +0 -232
- 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/.root7.js +0 -58
- package/dist/a_chunks/.root7.js.map +0 -1
- package/dist/a_chunks/.root8.js +0 -19
- package/dist/a_chunks/.root8.js.map +0 -1
- package/dist/a_chunks/.root9.js.map +0 -1
- package/dist/a_chunks/Form.js.map +0 -1
- package/dist/a_chunks/ModalForm.js.map +0 -1
- package/dist/a_chunks/api.js.map +0 -1
- package/dist/a_chunks/common.js.map +0 -1
- package/dist/a_chunks/config.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/form_config.js.map +0 -1
- package/dist/a_chunks/index.js.map +0 -1
- package/dist/a_chunks/index2.js.map +0 -1
- package/dist/a_chunks/index3.js.map +0 -1
- package/dist/a_chunks/index4.js.map +0 -1
- package/dist/a_chunks/style-inject.es.js.map +0 -1
- package/dist/a_chunks/tslib.es6.js.map +0 -1
- package/dist/a_chunks//344/275/223/346/240/274/346/243/200/346/237/245_config.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/pages/fubao/pre-pregnancy-care/.public-exam/config/adapter.d.ts +0 -2
- package/dist/pages/fubao/premarital-care/.public-exam/config/adapter.d.ts +0 -2
- /package/dist/pages/fubao/premarital-care/.public-exam/SecondSex/{form_config.d.ts → form_config_nan.d.ts} +0 -0
|
@@ -70,7 +70,7 @@ var form_config = defineFormConfig([{
|
|
|
70
70
|
return ctx.required;
|
|
71
71
|
},
|
|
72
72
|
"inputProps": {
|
|
73
|
-
|
|
73
|
+
uniqueKey: '民族s',
|
|
74
74
|
marshal: 0
|
|
75
75
|
},
|
|
76
76
|
layout: '1/3'
|
|
@@ -90,7 +90,7 @@ var form_config = defineFormConfig([{
|
|
|
90
90
|
return ctx.required;
|
|
91
91
|
},
|
|
92
92
|
"inputProps": {
|
|
93
|
-
|
|
93
|
+
uniqueKey: '省份s'
|
|
94
94
|
},
|
|
95
95
|
layout: '1/3'
|
|
96
96
|
}, {
|
|
@@ -98,7 +98,7 @@ var form_config = defineFormConfig([{
|
|
|
98
98
|
"label": "文化程度",
|
|
99
99
|
"inputType": "MS",
|
|
100
100
|
"inputProps": {
|
|
101
|
-
|
|
101
|
+
uniqueKey: '文化程度s',
|
|
102
102
|
marshal: 0
|
|
103
103
|
},
|
|
104
104
|
layout: '1/3'
|
|
@@ -107,7 +107,7 @@ var form_config = defineFormConfig([{
|
|
|
107
107
|
"label": "职业",
|
|
108
108
|
"inputType": "MS",
|
|
109
109
|
"inputProps": {
|
|
110
|
-
|
|
110
|
+
uniqueKey: '职业s',
|
|
111
111
|
marshal: 0
|
|
112
112
|
},
|
|
113
113
|
layout: '1/3'
|
|
@@ -186,4 +186,3 @@ var form_config = defineFormConfig([{
|
|
|
186
186
|
}]
|
|
187
187
|
}]);
|
|
188
188
|
export { form_config as default };
|
|
189
|
-
//# sourceMappingURL=.root61.js.map
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { defineFormConfig } from '@lm_fe/service';
|
|
2
|
+
var options_正常异常 = [{
|
|
3
|
+
label: '正常',
|
|
4
|
+
value: 1
|
|
5
|
+
}, {
|
|
6
|
+
label: '异常',
|
|
7
|
+
value: 2,
|
|
8
|
+
warning: true,
|
|
9
|
+
inputType: 'input'
|
|
10
|
+
}];
|
|
11
|
+
var options_未见异常 = [{
|
|
12
|
+
label: '未见异常',
|
|
13
|
+
value: 1
|
|
14
|
+
}, {
|
|
15
|
+
label: '异常',
|
|
16
|
+
value: 2,
|
|
17
|
+
warning: true,
|
|
18
|
+
inputType: 'input'
|
|
19
|
+
}];
|
|
20
|
+
var form_config_nan = defineFormConfig([{
|
|
21
|
+
"name": "第二性征",
|
|
22
|
+
"children": [{
|
|
23
|
+
"key": "adamsApple__",
|
|
24
|
+
"label": "喉结",
|
|
25
|
+
"inputType": "MC",
|
|
26
|
+
required: true,
|
|
27
|
+
"inputProps": {
|
|
28
|
+
options: options_正常异常
|
|
29
|
+
},
|
|
30
|
+
layout: '1/3'
|
|
31
|
+
}, {
|
|
32
|
+
"key": "pubes__",
|
|
33
|
+
"label": "阴毛",
|
|
34
|
+
"inputType": "MC",
|
|
35
|
+
required: true,
|
|
36
|
+
"inputProps": {
|
|
37
|
+
options: options_正常异常
|
|
38
|
+
},
|
|
39
|
+
layout: '1/3'
|
|
40
|
+
}, {
|
|
41
|
+
"key": "secondSexCharacterOther",
|
|
42
|
+
"label": "其他",
|
|
43
|
+
"inputType": "input",
|
|
44
|
+
layout: '1/3'
|
|
45
|
+
}]
|
|
46
|
+
}, {
|
|
47
|
+
"name": "生殖器官",
|
|
48
|
+
"children": [{
|
|
49
|
+
"key": "penis__",
|
|
50
|
+
"label": "阴茎",
|
|
51
|
+
"inputType": "MC",
|
|
52
|
+
required: true,
|
|
53
|
+
layout: '1/3',
|
|
54
|
+
inputProps: {
|
|
55
|
+
options: options_未见异常
|
|
56
|
+
}
|
|
57
|
+
}, {
|
|
58
|
+
"key": "prepuce__",
|
|
59
|
+
"label": "包皮",
|
|
60
|
+
"inputType": "MC",
|
|
61
|
+
required: true,
|
|
62
|
+
layout: '1/3',
|
|
63
|
+
inputProps: {
|
|
64
|
+
options: options_未见异常
|
|
65
|
+
}
|
|
66
|
+
}, {
|
|
67
|
+
"key": "testes__",
|
|
68
|
+
"label": "睾丸",
|
|
69
|
+
"inputType": "MC",
|
|
70
|
+
required: true,
|
|
71
|
+
layout: '1/3',
|
|
72
|
+
inputProps: {
|
|
73
|
+
options: options_未见异常
|
|
74
|
+
}
|
|
75
|
+
}, {
|
|
76
|
+
"key": "epididymides__",
|
|
77
|
+
"label": "附睾",
|
|
78
|
+
"inputType": "MC",
|
|
79
|
+
required: true,
|
|
80
|
+
layout: '1/3',
|
|
81
|
+
inputProps: {
|
|
82
|
+
options: options_未见异常
|
|
83
|
+
}
|
|
84
|
+
}, {
|
|
85
|
+
"key": "anus__",
|
|
86
|
+
"label": "肛门",
|
|
87
|
+
"inputType": "MC",
|
|
88
|
+
required: true,
|
|
89
|
+
layout: '1/3',
|
|
90
|
+
inputProps: {
|
|
91
|
+
options: options_未见异常
|
|
92
|
+
}
|
|
93
|
+
}, {
|
|
94
|
+
"key": "genitalsOther",
|
|
95
|
+
"label": "其他",
|
|
96
|
+
"inputType": "input",
|
|
97
|
+
layout: '1/3'
|
|
98
|
+
}, {
|
|
99
|
+
"key": "selectBtn2",
|
|
100
|
+
"label": "一键勾选",
|
|
101
|
+
"inputType": "check_invert_button",
|
|
102
|
+
layout: '1/3'
|
|
103
|
+
}]
|
|
104
|
+
}, {
|
|
105
|
+
"label": "检查医生",
|
|
106
|
+
"key": "checkDoctor",
|
|
107
|
+
required: true,
|
|
108
|
+
layout: '1/3',
|
|
109
|
+
"inputType": "MA",
|
|
110
|
+
inputProps: {
|
|
111
|
+
memorieskey: '妇保-检查医生'
|
|
112
|
+
}
|
|
113
|
+
}]);
|
|
114
|
+
export { form_config_nan as default };
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { defineFormConfig } from '@lm_fe/service';
|
|
2
|
+
var options_正常异常 = [{
|
|
3
|
+
label: '正常',
|
|
4
|
+
value: 1
|
|
5
|
+
}, {
|
|
6
|
+
label: '异常',
|
|
7
|
+
value: 2,
|
|
8
|
+
warning: true,
|
|
9
|
+
inputType: 'input'
|
|
10
|
+
}];
|
|
11
|
+
var options_未见异常 = [{
|
|
12
|
+
label: '未见异常',
|
|
13
|
+
value: 1
|
|
14
|
+
}, {
|
|
15
|
+
label: '异常',
|
|
16
|
+
value: 2,
|
|
17
|
+
warning: true,
|
|
18
|
+
inputType: 'input'
|
|
19
|
+
}];
|
|
20
|
+
var form_config_nv = defineFormConfig([{
|
|
21
|
+
"name": "第二性征",
|
|
22
|
+
"children": [{
|
|
23
|
+
"key": "breast__",
|
|
24
|
+
"label": "乳房",
|
|
25
|
+
"inputType": "MC",
|
|
26
|
+
required: true,
|
|
27
|
+
"inputProps": {
|
|
28
|
+
options: options_正常异常
|
|
29
|
+
},
|
|
30
|
+
layout: '1/3'
|
|
31
|
+
}, {
|
|
32
|
+
"key": "pubes__",
|
|
33
|
+
"label": "阴毛",
|
|
34
|
+
"inputType": "MC",
|
|
35
|
+
required: true,
|
|
36
|
+
"inputProps": {
|
|
37
|
+
options: options_正常异常
|
|
38
|
+
},
|
|
39
|
+
layout: '1/3'
|
|
40
|
+
}, {
|
|
41
|
+
"key": "secondSexCharacterOther",
|
|
42
|
+
"label": "其他",
|
|
43
|
+
"inputType": "input",
|
|
44
|
+
layout: '1/3'
|
|
45
|
+
}]
|
|
46
|
+
}, {
|
|
47
|
+
"name": "生殖器官",
|
|
48
|
+
"children": [{
|
|
49
|
+
"key": "vulva__",
|
|
50
|
+
"label": "外阴",
|
|
51
|
+
"inputType": "MC",
|
|
52
|
+
required: true,
|
|
53
|
+
layout: '1/3',
|
|
54
|
+
inputProps: {
|
|
55
|
+
options: options_未见异常
|
|
56
|
+
}
|
|
57
|
+
}, {
|
|
58
|
+
"key": "vagina__",
|
|
59
|
+
"label": "阴道",
|
|
60
|
+
"inputType": "MC",
|
|
61
|
+
required: true,
|
|
62
|
+
layout: '1/3',
|
|
63
|
+
inputProps: {
|
|
64
|
+
options: options_未见异常
|
|
65
|
+
}
|
|
66
|
+
}, {
|
|
67
|
+
"key": "cervix__",
|
|
68
|
+
"label": "宫颈",
|
|
69
|
+
"inputType": "MC",
|
|
70
|
+
required: true,
|
|
71
|
+
layout: '1/3',
|
|
72
|
+
inputProps: {
|
|
73
|
+
options: options_未见异常
|
|
74
|
+
}
|
|
75
|
+
}, {
|
|
76
|
+
"key": "uterus__",
|
|
77
|
+
"label": "子宫",
|
|
78
|
+
"inputType": "MC",
|
|
79
|
+
required: true,
|
|
80
|
+
layout: '1/3',
|
|
81
|
+
inputProps: {
|
|
82
|
+
options: options_未见异常
|
|
83
|
+
}
|
|
84
|
+
}, {
|
|
85
|
+
"key": "secretions__",
|
|
86
|
+
"label": "分泌物",
|
|
87
|
+
"inputType": "MC",
|
|
88
|
+
required: true,
|
|
89
|
+
layout: '1/3',
|
|
90
|
+
inputProps: {
|
|
91
|
+
options: options_未见异常
|
|
92
|
+
}
|
|
93
|
+
}, {
|
|
94
|
+
"key": "appendix__",
|
|
95
|
+
"label": "附件",
|
|
96
|
+
"inputType": "MC",
|
|
97
|
+
required: true,
|
|
98
|
+
layout: '1/3',
|
|
99
|
+
inputProps: {
|
|
100
|
+
options: options_未见异常
|
|
101
|
+
}
|
|
102
|
+
}, {
|
|
103
|
+
"key": "anus__",
|
|
104
|
+
"label": "肛门",
|
|
105
|
+
"inputType": "MC",
|
|
106
|
+
required: true,
|
|
107
|
+
layout: '1/3',
|
|
108
|
+
inputProps: {
|
|
109
|
+
options: options_未见异常
|
|
110
|
+
}
|
|
111
|
+
}, {
|
|
112
|
+
"key": "genitalsOther",
|
|
113
|
+
"label": "其他",
|
|
114
|
+
"inputType": "input",
|
|
115
|
+
layout: '1/3'
|
|
116
|
+
}, {
|
|
117
|
+
"key": "selectBtn2",
|
|
118
|
+
"label": "一键勾选",
|
|
119
|
+
"inputType": "check_invert_button",
|
|
120
|
+
layout: '1/3'
|
|
121
|
+
}]
|
|
122
|
+
}, {
|
|
123
|
+
"label": "检查医生",
|
|
124
|
+
"key": "checkDoctor",
|
|
125
|
+
required: true,
|
|
126
|
+
layout: '1/3',
|
|
127
|
+
"inputType": "MA",
|
|
128
|
+
inputProps: {
|
|
129
|
+
memorieskey: '妇保-检查医生'
|
|
130
|
+
}
|
|
131
|
+
}]);
|
|
132
|
+
export { form_config_nv as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import WifePanel_new from './pre-pregnancy-care.file-management.edit.js';
|
|
2
|
+
export { default } from './pre-pregnancy-care.file-management.edit.js';
|
|
3
|
+
import './tslib.es6.js';
|
|
4
|
+
import 'dayjs';
|
|
5
|
+
import 'lodash';
|
|
6
|
+
import '@lm_fe/components_m';
|
|
7
|
+
import '@lm_fe/env';
|
|
8
|
+
import '@lm_fe/provoke';
|
|
9
|
+
import '@lm_fe/utils';
|
|
10
|
+
import 'antd';
|
|
11
|
+
import 'react';
|
|
12
|
+
import '@lm_fe/pages';
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { b as __assign, _ as __awaiter, a as __generator } from './tslib.es6.js';
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import { get, set } from 'lodash';
|
|
4
|
+
import { BaseEditPanelFormFC } from '@lm_fe/components_m';
|
|
5
|
+
import { mchcUtils, mchcDriver } from '@lm_fe/env';
|
|
6
|
+
import { use_provoke } from '@lm_fe/provoke';
|
|
7
|
+
import { request } from '@lm_fe/utils';
|
|
8
|
+
import { Form } from 'antd';
|
|
9
|
+
import React, { useState, useEffect } from 'react';
|
|
10
|
+
import { BF_Wrap2 } from '@lm_fe/pages';
|
|
11
|
+
var baseUrl = '/api/progestation/check/addProgestationCheckArchives';
|
|
12
|
+
var w_vm = 'womanProgestationCheckArchivesDetailVM';
|
|
13
|
+
var m_vm = 'manProgestationCheckArchivesDetailVM';
|
|
14
|
+
var baseinfo_k = 'progestationCheckArchivesBasicInformation';
|
|
15
|
+
var medical_history_k = 'progestationCheckArchivesMedicalHistory';
|
|
16
|
+
var physical_exam_k = 'progestationCheckArchivesPhysicalExamination';
|
|
17
|
+
var fuck_keys = ['name', 'outpatientNo', 'telephone', 'age'];
|
|
18
|
+
var form_fn = function form_fn() {
|
|
19
|
+
return import('./pre-pregnancy-care.file-management.edit2.js');
|
|
20
|
+
};
|
|
21
|
+
function WifePanel_new(props) {
|
|
22
|
+
var _this = this;
|
|
23
|
+
var id = mchcUtils.single_id(props);
|
|
24
|
+
var _a = BF_Wrap2({
|
|
25
|
+
default_conf: {
|
|
26
|
+
title: '孕前检查-档案编辑',
|
|
27
|
+
tableColumns: form_fn
|
|
28
|
+
}
|
|
29
|
+
}),
|
|
30
|
+
config = _a.config,
|
|
31
|
+
Wrap = _a.Wrap;
|
|
32
|
+
var user = use_provoke(function (s) {
|
|
33
|
+
return s.user_info;
|
|
34
|
+
});
|
|
35
|
+
var form = Form.useForm()[0];
|
|
36
|
+
var _b = useState({}),
|
|
37
|
+
data = _b[0],
|
|
38
|
+
set_data = _b[1];
|
|
39
|
+
useEffect(function () {
|
|
40
|
+
handleInit();
|
|
41
|
+
return mchcDriver.on_rm('data', function (e) {
|
|
42
|
+
var _a, _b;
|
|
43
|
+
var _c;
|
|
44
|
+
if (e.type === 'ReadCard') {
|
|
45
|
+
var res = e.data;
|
|
46
|
+
(_c = form.setFieldsValue) === null || _c === void 0 ? void 0 : _c.call(form, (_a = {}, _a[w_vm] = (_b = {}, _b[baseinfo_k] = __assign({}, res), _b), _a));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}, []);
|
|
50
|
+
function init_baseinfo(data, key, iswoman) {
|
|
51
|
+
if (iswoman === void 0) {
|
|
52
|
+
iswoman = true;
|
|
53
|
+
}
|
|
54
|
+
var vm = iswoman ? w_vm : m_vm;
|
|
55
|
+
var prefix = iswoman ? 'woman' : 'man';
|
|
56
|
+
var upppercase_key = key[0].toUpperCase() + key.slice(1);
|
|
57
|
+
if (!get(data, "".concat(vm, ".").concat(baseinfo_k, ".").concat(key))) {
|
|
58
|
+
set(data, "".concat(vm, ".").concat(baseinfo_k, ".").concat(key), get(data, "".concat(prefix).concat(upppercase_key)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function revert_init_baseinfo(data, key, iswoman) {
|
|
62
|
+
if (iswoman === void 0) {
|
|
63
|
+
iswoman = true;
|
|
64
|
+
}
|
|
65
|
+
var vm = iswoman ? w_vm : m_vm;
|
|
66
|
+
var prefix = iswoman ? 'woman' : 'man';
|
|
67
|
+
var upppercase_key = key[0].toUpperCase() + key.slice(1);
|
|
68
|
+
if (!get(data, "".concat(prefix).concat(upppercase_key))) {
|
|
69
|
+
set(data, "".concat(prefix).concat(upppercase_key), get(data, "".concat(vm, ".").concat(baseinfo_k, ".").concat(key)));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function handleInit() {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
74
|
+
var data, _a;
|
|
75
|
+
return __generator(this, function (_b) {
|
|
76
|
+
switch (_b.label) {
|
|
77
|
+
case 0:
|
|
78
|
+
if (!id) return [3, 2];
|
|
79
|
+
return [4, request.get("/api/progestation/check/getByProgestationCheckArchivesId?progestationCheckArchivesId.equals=".concat(id, "&childrenSign.equals=0"), {
|
|
80
|
+
unboxing: true
|
|
81
|
+
})];
|
|
82
|
+
case 1:
|
|
83
|
+
_a = _b.sent().data;
|
|
84
|
+
return [3, 3];
|
|
85
|
+
case 2:
|
|
86
|
+
_a = {};
|
|
87
|
+
_b.label = 3;
|
|
88
|
+
case 3:
|
|
89
|
+
data = _a;
|
|
90
|
+
['name', 'outpatientNo', 'telephone', 'age'].forEach(function (key) {
|
|
91
|
+
init_baseinfo(data, key, true);
|
|
92
|
+
init_baseinfo(data, key, false);
|
|
93
|
+
});
|
|
94
|
+
if (get(data, "".concat(w_vm, ".nearRelation"))) {
|
|
95
|
+
set(data, 'nearRelation', get(data, '${w_vm}.nearRelation'));
|
|
96
|
+
}
|
|
97
|
+
if (get(data, "".concat(w_vm, ".nearRelationNote"))) {
|
|
98
|
+
set(data, 'nearRelationNote', get(data, "".concat(w_vm, ".nearRelationNote")));
|
|
99
|
+
}
|
|
100
|
+
if (get(data, "".concat(m_vm, ".nearRelation"))) {
|
|
101
|
+
set(data, 'nearRelation', get(data, "".concat(m_vm, ".nearRelation")));
|
|
102
|
+
}
|
|
103
|
+
if (get(data, "".concat(m_vm, ".nearRelationNote"))) {
|
|
104
|
+
set(data, 'nearRelationNote', get(data, "".concat(m_vm, ".nearRelationNote")));
|
|
105
|
+
}
|
|
106
|
+
if (!get(data, 'nearRelationNote')) {
|
|
107
|
+
set(data, 'nearRelationNote', null);
|
|
108
|
+
}
|
|
109
|
+
if (!get(data, 'filingDay')) set(data, 'filingDay', dayjs(new Date()));
|
|
110
|
+
if (!get(data, 'auditor')) set(data, 'auditor', user === null || user === void 0 ? void 0 : user.firstName);
|
|
111
|
+
data = mchcUtils.autoNoteToCommonOption(data);
|
|
112
|
+
[w_vm, m_vm].forEach(function (vm) {
|
|
113
|
+
set(data, "".concat(vm, ".").concat(baseinfo_k), mchcUtils.autoNoteToCommonOption(get(data, "".concat(vm, ".").concat(baseinfo_k))));
|
|
114
|
+
set(data, "".concat(vm, ".").concat(medical_history_k), mchcUtils.autoNoteToCommonOption(get(data, "".concat(vm, ".").concat(medical_history_k))));
|
|
115
|
+
set(data, "".concat(vm, ".").concat(physical_exam_k), mchcUtils.autoNoteToCommonOption(get(data, "".concat(vm, ".").concat(physical_exam_k))));
|
|
116
|
+
});
|
|
117
|
+
set_data(data);
|
|
118
|
+
form.setFieldsValue(data);
|
|
119
|
+
return [2];
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
function handleSubmit(values) {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
126
|
+
var submit_values;
|
|
127
|
+
return __generator(this, function (_a) {
|
|
128
|
+
switch (_a.label) {
|
|
129
|
+
case 0:
|
|
130
|
+
fuck_keys.forEach(function (key) {
|
|
131
|
+
revert_init_baseinfo(values, key, true);
|
|
132
|
+
revert_init_baseinfo(values, key, false);
|
|
133
|
+
});
|
|
134
|
+
submit_values = mchcUtils.autoCommonOptionToNote(values);
|
|
135
|
+
[w_vm, m_vm].forEach(function (vm) {
|
|
136
|
+
set(submit_values, "".concat(vm, ".").concat(baseinfo_k), mchcUtils.autoCommonOptionToNote(get(submit_values, "".concat(vm, ".").concat(baseinfo_k))));
|
|
137
|
+
set(submit_values, "".concat(vm, ".").concat(medical_history_k), mchcUtils.autoCommonOptionToNote(get(submit_values, "".concat(vm, ".").concat(medical_history_k))));
|
|
138
|
+
set(submit_values, "".concat(vm, ".").concat(physical_exam_k), mchcUtils.autoCommonOptionToNote(get(submit_values, "".concat(vm, ".").concat(physical_exam_k))));
|
|
139
|
+
});
|
|
140
|
+
console.log('params', {
|
|
141
|
+
params: submit_values,
|
|
142
|
+
values: values
|
|
143
|
+
});
|
|
144
|
+
if (get(submit_values, 'nearRelation')) {
|
|
145
|
+
set(submit_values, "".concat(m_vm, ".nearRelation"), get(submit_values, 'nearRelation'));
|
|
146
|
+
set(submit_values, "".concat(w_vm, ".nearRelation"), get(submit_values, 'nearRelation'));
|
|
147
|
+
}
|
|
148
|
+
if (get(submit_values, 'nearRelationNote')) {
|
|
149
|
+
set(submit_values, "".concat(m_vm, ".nearRelationNote"), get(submit_values, 'nearRelationNote'));
|
|
150
|
+
set(submit_values, "".concat(w_vm, ".nearRelationNote"), get(submit_values, 'nearRelationNote'));
|
|
151
|
+
}
|
|
152
|
+
set(submit_values, "".concat(m_vm, ".fileType"), 1);
|
|
153
|
+
set(submit_values, "".concat(w_vm, ".fileType"), 2);
|
|
154
|
+
if (!!id) return [3, 2];
|
|
155
|
+
submit_values = __assign(__assign({}, submit_values), {
|
|
156
|
+
fileStatus: 1
|
|
157
|
+
});
|
|
158
|
+
return [4, request.post(baseUrl, submit_values)];
|
|
159
|
+
case 1:
|
|
160
|
+
_a.sent();
|
|
161
|
+
return [3, 6];
|
|
162
|
+
case 2:
|
|
163
|
+
if (!get(values, 'id')) return [3, 4];
|
|
164
|
+
submit_values = __assign(__assign(__assign({}, data), submit_values), {
|
|
165
|
+
fileStatus: 2
|
|
166
|
+
});
|
|
167
|
+
return [4, request.put('/api/progestation/check/updateProgestationCheckArchivesDetail', submit_values)];
|
|
168
|
+
case 3:
|
|
169
|
+
_a.sent();
|
|
170
|
+
return [3, 6];
|
|
171
|
+
case 4:
|
|
172
|
+
submit_values = __assign(__assign({}, submit_values), {
|
|
173
|
+
fileStatus: 2
|
|
174
|
+
});
|
|
175
|
+
return [4, request.post(baseUrl, submit_values)];
|
|
176
|
+
case 5:
|
|
177
|
+
_a.sent();
|
|
178
|
+
_a.label = 6;
|
|
179
|
+
case 6:
|
|
180
|
+
return [2];
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
return /*#__PURE__*/React.createElement(Wrap, {
|
|
186
|
+
style: {}
|
|
187
|
+
}, /*#__PURE__*/React.createElement(BaseEditPanelFormFC, {
|
|
188
|
+
form: form,
|
|
189
|
+
formDescriptions: __DEV__ ? form_fn : config === null || config === void 0 ? void 0 : config.tableColumns,
|
|
190
|
+
onFinish: function onFinish(values) {
|
|
191
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
192
|
+
return __generator(this, function (_a) {
|
|
193
|
+
return [2, handleSubmit(values)];
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
}));
|
|
198
|
+
}
|
|
199
|
+
export { WifePanel_new as default };
|