From eed67f73759e5424635b48ddadfc3e3149c1beda Mon Sep 17 00:00:00 2001 From: guanyu Date: Mon, 18 May 2026 11:02:19 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#530:=20=E6=A0=B9=E5=9B=A0+?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=B9=E6=A1=88=E6=91=98=E8=A6=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BUG_522_ANALYSIS.md | 32 +++++++++++++++++++ .../tprChart/components/addTprDialog.vue | 3 ++ 2 files changed, 35 insertions(+) create mode 100644 BUG_522_ANALYSIS.md diff --git a/BUG_522_ANALYSIS.md b/BUG_522_ANALYSIS.md new file mode 100644 index 000000000..29d9b49c9 --- /dev/null +++ b/BUG_522_ANALYSIS.md @@ -0,0 +1,32 @@ +# Bug #522 分析报告 + +## Bug 描述 +[住院护士站-三测单] 体征录入点击保存后缺乏执行反馈且窗口异常自动关闭 + +## 涉及文件 +- 前端: `openhis-ui-vue3/src/views/inpatientNurse/tprChart/components/addTprDialog.vue` +- API: `openhis-ui-vue3/src/views/inpatientNurse/tprChart/components/api.js` +- 父组件: `openhis-ui-vue3/src/views/inpatientNurse/tprChart/index.vue` + +## 根因分析 + +### 问题1:弹窗异常自动关闭 — 根因 + +在 `addTprDialog.vue` 模板中,保存按钮使用了 `:disabled="buttonDisabled"`(第50行和第108行),但 **`buttonDisabled` 变量在整个 script setup 中从未声明**。 + +在 Vue 3 `