From dffcb18769de656e8b99a4f73522fdc7a8cbcef0 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:14 +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 前端筛选参数映射错误:radio按钮的值(1=全部/2=长期/3=临时)被直接传给后端therapyEnum参数, 而后端枚举值为1=长期、2=临时。当选择"临时"(type.value=3)时,后端收到therapyEnum=3不匹配任何枚举, 导致筛选失效。修复为正确映射:1->undefined(不传), 2->1(长期), 3->2(临时)。 Co-Authored-By: Claude Opus 4.7 --- .../medicalOrderProofread/components/prescriptionList.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 d666fd61..f019ccab 100755 --- a/openhis-ui-vue3/src/views/inpatientNurse/medicalOrderProofread/components/prescriptionList.vue +++ b/openhis-ui-vue3/src/views/inpatientNurse/medicalOrderProofread/components/prescriptionList.vue @@ -11,9 +11,9 @@ >
- 全部 - 长期 - 临时 + 全部 + 长期 + 临时 查询 @@ -159,7 +159,7 @@ import {formatDateStr} from '@/utils/index'; const activeNames = ref([]); const prescriptionList = ref([]); const deadline = ref(formatDateStr(new Date(), 'YYYY-MM-DD') + ' 23:59:59'); -const type = ref(1); +const type = ref(undefined); const { proxy } = getCurrentInstance(); const loading = ref(false); const chooseAll = ref(false);