b6d1adb8f93b21df0cf69c8cc7c024cefa5a0dda
根因:mapAdviceTypeLabel 函数依赖 drord_doctor_type 字典数据进行类型映射, 当字典中缺少 value=3(诊疗)的条目时,find() 返回 undefined,函数返回空字符串, 导致保存后刷新列表时"医嘱类型"列显示为空白。 修复:在 mapAdviceTypeLabel 中为诊疗/手术类医嘱(wor_activity_definition 表) 添加兜底映射逻辑:type 3→诊疗, 6→手术, 4→手术, 1→检验, 2→检查, 5→其他, 确保即使字典缺失对应条目也能正确显示类型标签。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Description
No description provided
Languages
Java
49.5%
Vue
44.8%
JavaScript
4.6%
HTML
0.7%
SCSS
0.1%