Files
his/BUG_364_362_FIX.md
2026-04-09 01:03:06 +08:00

51 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Bug 364/362 - 问题分析与修复方案
## Bug #364 - 住院护士站三测单病历号检索失败 ✅ 已修复
### 问题根因
前端表格列定义错误,将"病历号"列绑定到了 `encounterId` (就诊ID) 而不是 `patientBusNo` (病历号)。
**前端问题** (`tprChart/index.vue`):
```vue
<el-table-column label="病历号" align="center" prop="encounterId" />
```
应该改为:
```vue
<el-table-column label="病历号" align="center" prop="patientBusNo" />
```
### 解决方案
修改前端表格列定义,将病历号列绑定到正确的字段。
**修复状态**: ✅ 已修复并提交
---
## Bug #362 - 住院护士站入科时间显示错误 ⏳ 分析中
### 问题根因
`PatientHomeAppMapper.xml` 中,入院时间从 `adm_encounter.start_time` 获取:
```xml
T2.start_time AS admissionDate, -- 入院日期
```
这个字段是正确的入院时间。Bug描述"双击查看详情时显示当前系统时间"可能是因为:
1. 某些情况下前端缓存了错误的日期
2. 或者用户看到的是"住院天数"的计算基时间
### 解决方案
确认前端显示的确实是 `admissionDate` 字段,而不是其他时间字段。
---
## 修复计划
### Bug 364
1. ✅ 修改 `tprChart/index.vue` 中的病历号列绑定
2. ⏳ 测试验证检索功能
### Bug 362
1. ⏳ 检查前端显示逻辑
2. ⏳ 确认数据来源正确
赵云Bug 364已修复。Bug 362正在分析中。