From b149cc3f3e0b43cc6337a0cdfb292ee6e2c28017 Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 29 May 2026 00:24:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(#590):=20=E8=AF=B7=E4=BF=AE=E5=A4=8D=20Bug?= =?UTF-8?q?=20#590=EF=BC=9A[=E9=97=A8=E8=AF=8A=E5=8C=BB=E7=94=9F=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E7=AB=99-=E5=BE=85=E5=86=99=E7=97=85=E5=8E=86]=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E4=B8=BA=E6=93=8D=E4=BD=9C=E7=9A=84=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=8D=A1=E7=89=87=E4=B8=AD=E6=9F=A5=E7=9C=8B=E6=82=A3?= =?UTF-8?q?=E8=80=85=E9=94=99=E4=B9=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因: - 在 `待写病历` 页面的表格中,**操作列** 宽度为 `width="150"`,但该列包含两个操作按钮: - `写病历`(3个中文字) - `查看患者`(4个中文字) - 间隔符 `|` 或 `el-divider` - 150px 的宽度不足以让两个 link 按钮同行排列,导致"查看患者"换行,造成排版错乱。 - ### 修改内容 - | 文件 | 修改 | - |---|---| - | `src/views/doctorstation/pendingEmr.vue:70` | 操作列 `width="150"` → `width="200"` | - | `src/views/doctorstation/components/pendingEmr/index.vue:47` | 操作列 `width="150"` → `width="200"` | - ### 验证结果 - ✅ lint 无新增报错(预置的格式警告与本次修改无关) - ✅ 编译通过 - ### 效果 - 两个按钮现在有足够的空间在同一行并排显示:`写病历 | 查看患者`,不再换行错乱。 修复: - 修改相关代码文件 --- .../src/views/doctorstation/components/pendingEmr/index.vue | 2 +- openhis-ui-vue3/src/views/doctorstation/pendingEmr.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openhis-ui-vue3/src/views/doctorstation/components/pendingEmr/index.vue b/openhis-ui-vue3/src/views/doctorstation/components/pendingEmr/index.vue index 85bfc8345..d3734b263 100755 --- a/openhis-ui-vue3/src/views/doctorstation/components/pendingEmr/index.vue +++ b/openhis-ui-vue3/src/views/doctorstation/components/pendingEmr/index.vue @@ -44,7 +44,7 @@ {{ parseTime(row.registerTime, '{y}-{m}-{d} {h}:{i}:{s}') }} - + - +