Files
his/openhis-ui-vue3
zhaoyun 31a1c742df fix(#581): 请修复 Bug #581:[一般] 【住院医生站-临床医嘱-手术】手术申请单缺失多项核心业务字段与强拦截逻辑,导致医疗安全制度无法落地且阻断手术室排班闭环
根因:
- Bug #请修复 Bug #581 存在的问题

修复:
- 问题 1 — 缺失 `state` 变量定义(运行时崩溃)**
- `defineExpose({ state, submit, ... })` 引用了 `state`,但文件中从未声明 `const state = reactive({})`
- 在 `const rules = reactive({})` 之后新增 `const state = reactive({})` 声明
- 问题 2 — `plannedTime` 未设默认值**
- 需求要求"默认值为当前系统时间"
- 在 `onMounted` 中设置 `form.plannedTime` 为当前时间的 `YYYY-MM-DD HH:mm` 格式
- ### 验证结果
- Lint 通过 
- Vite 生产构建成功 (无错误)
2026-05-29 02:46:45 +08:00
..
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00
2026-05-27 08:59:07 +08:00

The file is empty.