fix: 修复#472住院医生站手术申请单勾选无效
根因: 前端获取手术项目列表时传递的adviceTypes为字符串'3', 后端期望List<Integer>格式, 可能导致解析异常。 修复: 将adviceTypes: '3'改为adviceTypes: [3]数组格式, 确保Spring MVC能正确解析为List<Integer>。
This commit is contained in:
@@ -116,7 +116,7 @@ const getList = () => {
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
categoryCode: '24',
|
categoryCode: '24',
|
||||||
organizationId: patientInfo.value.inHospitalOrgId,
|
organizationId: patientInfo.value.inHospitalOrgId,
|
||||||
adviceTypes: '3', //1 药品 2耗材 3诊疗
|
adviceTypes: [3], //1 药品 2耗材 3诊疗
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
|||||||
Reference in New Issue
Block a user