From 17f26d9743338615b4a53d916422981472ea1402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B3=E7=BE=BD?= <关羽@gentronhealth.com> Date: Sun, 10 May 2026 16:05:56 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#389:=20=E4=BD=8F=E9=99=A2=E6=8A=A4?= =?UTF-8?q?=E5=A3=AB=E7=AB=99-=E3=80=8B=E5=8C=BB=E5=98=B1=E6=A0=A1?= =?UTF-8?q?=E5=AF=B9=EF=BC=9A=E7=95=8C=E9=9D=A2=E7=AD=9B=E9=80=89=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=A4=B1=E6=95=88=EF=BC=9A=E5=8B=BE=E9=80=89"?= =?UTF-8?q?=E4=B8=B4=E6=97=B6"=E5=8C=BB=E5=98=B1=E4=BB=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA"=E9=95=BF=E6=9C=9F"=E5=8C=BB=E5=98=B1=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:therapyEnum 参数映射逻辑完全颠倒。 原代码:type.value === 1 ? undefined : type.value === 2 ? 1 : 2 - 选择"长期"(1)时传 undefined(不传,无过滤) - 选择"临时"(2)时传 1(长期值) - 选择"全部"时传 2(临时值) 修复:直接传 type.value,与后端 therapyEnum 枚举一致: - undefined → 全部 / 1 → 长期 / 2 → 临时 Co-Authored-By: Claude Opus 4.7 --- .../medicalOrderProofread/components/prescriptionList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhis-ui-vue3/src/views/inpatientNurse/medicalOrderProofread/components/prescriptionList.vue b/openhis-ui-vue3/src/views/inpatientNurse/medicalOrderProofread/components/prescriptionList.vue index f019ccab..2869e7b0 100755 --- a/openhis-ui-vue3/src/views/inpatientNurse/medicalOrderProofread/components/prescriptionList.vue +++ b/openhis-ui-vue3/src/views/inpatientNurse/medicalOrderProofread/components/prescriptionList.vue @@ -181,7 +181,7 @@ function handleGetPrescription() { getPrescriptionList({ encounterIds: encounterIds, requestStatus: props.requestStatus, - therapyEnum: type.value === 1 ? undefined : type.value === 2 ? 1 : 2, // 1=全部(不传), 2=长期(1), 3=临时(2) + therapyEnum: type.value, pageSize: 10000, pageNo: 1, }).then((res) => {