From 9d9e7fa175dea46a61ab816c2db2a649946eae1e 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:07:05 +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为undefined时会被序列化为字符串"undefined"传递给后端, 导致后端无法正确解析而跳过过滤条件。修复为条件展开语法:仅在type.value有值时才传递therapyEnum参数, 确保"全部"筛选时不传该字段以获取全部医嘱。 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 2869e7b0..b87f5b1e 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, + ...(type.value !== undefined ? { therapyEnum: type.value } : {}), pageSize: 10000, pageNo: 1, }).then((res) => {