赵云
a844920e3f
Fix Bug #502: 【住院护士站-汇总发药申请】顶部医嘱类型(长期/临时)过滤按钮点击无响应
根因:父组件 index.vue 中 therapyEnum 变量未声明为 ref,且未通过 props 传递给子组件 prescriptionList.vue,
导致点击"长期/临时"按钮时数据流断裂,子组件 API 调用始终使用本地未变化的 therapyEnum 值。
修复:
1. index.vue 新增 const therapyEnum = ref(undefined)
2. index.vue 新增 handleTherapyChange() 调用 handleGetPrescription() 刷新列表
3. index.vue 将 therapyEnum 作为 prop 传入 PrescriptionList
4. prescriptionList.vue 将本地 therapyEnum ref 改为 props 接收
2026-05-11 15:26:58 +08:00
..
2026-05-08 09:14:18 +08:00
2026-05-08 10:40:06 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-09 22:19:03 +08:00
2026-05-08 09:14:18 +08:00
2026-05-11 08:45:05 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-11 15:26:58 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-11 15:26:58 +08:00
2026-05-11 15:26:58 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-09 18:48:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-11 13:46:54 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-11 00:00:24 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00
2026-05-08 09:14:18 +08:00