From caa45c33106ab59bcb1da45a9814a18827c3c480 Mon Sep 17 00:00:00 2001 From: guanyu Date: Wed, 29 Apr 2026 16:48:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D#472=E4=BD=8F=E9=99=A2?= =?UTF-8?q?=E5=8C=BB=E7=94=9F=E7=AB=99=E6=89=8B=E6=9C=AF=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E5=8D=95=E5=8B=BE=E9=80=89=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因: 前端获取手术项目列表时传递的adviceTypes为字符串'3', 后端期望List格式, 可能导致解析异常。 修复: 将adviceTypes: '3'改为adviceTypes: [3]数组格式, 确保Spring MVC能正确解析为List。 --- .../home/components/order/applicationForm/surgery.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/surgery.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/surgery.vue index 92970ba4..887660cf 100644 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/surgery.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/surgery.vue @@ -116,7 +116,7 @@ const getList = () => { pageNum: 1, categoryCode: '24', organizationId: patientInfo.value.inHospitalOrgId, - adviceTypes: '3', //1 药品 2耗材 3诊疗 + adviceTypes: [3], //1 药品 2耗材 3诊疗 }) .then((res) => { if (res.code === 200) {