3e57405631a0ffdfd73bf6d4fad67011659e323a
根因:infectiousDiseaseReportDialog.vue 的 show() 函数将 cardNo 初始化为空字符串, 而后端 DTO 的 cardNo 字段有 @NotBlank 校验,导致保存时后端拒绝请求。 同仓库的 infectiousReport/index.vue 已有此修复(调用 getNextCardNo API), 但诊断流程使用的 infectiousDiseaseReportDialog.vue 漏掉了此修复。 修复:在 show() 函数中调用 getNextCardNo API 获取卡片编号, API 失败时降级为 TEMP_ 前缀的临时卡号,与 infectiousReport/index.vue 保持一致。
Description
No description provided
Languages
Java
49.5%
Vue
44.8%
JavaScript
4.6%
HTML
0.7%
SCSS
0.1%