From 0e2ada26ddb7ff26155860ecbef22bb2d205648e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8E=E4=BD=97?= Date: Sat, 13 Jun 2026 00:57:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(#762):=20=E6=B1=87=E6=80=BB=E9=A2=86?= =?UTF-8?q?=E8=8D=AF=E7=AD=9B=E9=80=89=E6=A0=87=E7=AD=BE=E6=96=87=E5=AD=97?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E4=B8=94=E5=8A=9F=E8=83=BD=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因: - el-radio-button 使用自闭合标签,Element Plus 需要 slot 传入文字才能渲染 - drugType 未通过 prop 传递给子组件,西药/中药筛选功能断裂 - 子组件 API 调用缺少 tcmFlag 参数,后端无法区分西药/中药 - provide 未从 vue 导入 修复: - index.vue: 4个 radio-button 补充中文标签(西药/中药/明细/汇总) - index.vue: drugType radio-group 添加 @change 触发刷新 - index.vue: 子组件添加 :drug-type prop 传递 - index.vue: 补全 provide 到 vue import - prescriptionList.vue: defineProps 新增 drugType prop,API 添加 tcmFlag - summaryMedicineList.vue: defineProps 新增 drugType prop,API 添加 tcmFlag - 清理三个文件的 UTF-8 BOM 字符 --- .../components/prescriptionList.vue | 7 ++++- .../components/summaryMedicineList.vue | 7 ++++- .../inpatientNurse/drugDistribution/index.vue | 31 ++++++++++--------- 3 files changed, 29 insertions(+), 16 deletions(-) diff --git a/healthlink-his-ui/src/views/inpatientNurse/drugDistribution/components/prescriptionList.vue b/healthlink-his-ui/src/views/inpatientNurse/drugDistribution/components/prescriptionList.vue index a804f9fd9..46868303c 100755 --- a/healthlink-his-ui/src/views/inpatientNurse/drugDistribution/components/prescriptionList.vue +++ b/healthlink-his-ui/src/views/inpatientNurse/drugDistribution/components/prescriptionList.vue @@ -1,4 +1,4 @@ -