4cff77f95c7e6d6104afe3838eeef9834d749537
根因: - ** 修复: - `handleWriteEmr` 导航到 `/doctorstation/index?encounterId=xxx`,但 `src/router/index.js` 中 `/doctorstation` 下只有 `pending-emr` 子路由,**没有 `index` 子路由**,导致跳转失败(空白页/404)。 - ** - 在 `src/router/index.js:295` 的 `/doctorstation` 子路由中,新增 `index` 路由,指向 `@/views/doctorstation/index.vue`,与 `redirect: '/doctorstation/index'` 保持一致。 - 全链路 6 环分析:** - | 环节 | 状态 | 说明 | - |---|---|---| - | ① 录入 | ✅ 正常 | 两个按钮均有 `@click.stop` 事件绑定 | - | ② 保存 | N/A | 只读列表页面,无保存操作 | - | ③ 查询 | ✅ 正常 | `listPendingEmr` / `getPatientDetails` API 已存在 | - | ⑤ 删除 | N/A | 无相关操作 | - | ⑥ 关联模块 | ✅ 正常 | `index.vue` 已有 `encounterId` 参数处理逻辑(Bug #626 已适配) | - 验证:** - `vite build` ✅ 编译通过(1m40s) - `eslint` ✅ 无语法错误
Description
No description provided
Languages
Java
47.5%
Vue
45.9%
JavaScript
5.6%
HTML
0.6%
SCSS
0.1%