From 18ab6620478ec176e2e01b643c2a232e006c85fc Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 22 May 2026 12:27:08 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#568:=20=E4=BF=AE=E5=A4=8D=E9=97=A8?= =?UTF-8?q?=E8=AF=8A=E6=97=A5=E7=BB=93=E9=A1=B5=E9=9D=A2=E6=8E=92=E7=89=88?= =?UTF-8?q?=E6=B7=B7=E4=B9=B1=20-=20=E6=9B=BF=E6=8D=A2=E5=86=B2=E7=AA=81CS?= =?UTF-8?q?S=E4=B8=BA=E8=A1=A8=E6=A0=BC=E5=B8=83=E5=B1=80=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:模板使用布局但CSS仍定义旧的.report-row/.el-col/.label/.value样式, 且CSS中存在未解决的git合并冲突标记,导致表格元素无样式、排版混乱。 修复:将CSS替换为匹配模板的.report-table/.label-cell/.value-cell样式。 Co-Authored-By: Claude Opus 4.7 --- .../views/clinicmanagement/dayEnd/index.vue | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue index b99b7728..3b14ba43 100755 --- a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue +++ b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue @@ -320,28 +320,29 @@ getPharmacyCabinetLists(); padding-left: 8px; border-left: 3px solid #409eff; } -.report-row { - margin: 12px 0; +.report-table { + width: 100%; + border-collapse: collapse; + margin: 8px 0; } -.report-row .el-col { - display: flex; - align-items: center; -} -.label { - min-width: 130px; - flex-shrink: 0; - color: #606266; +.report-table td { + padding: 8px 4px; + vertical-align: middle; white-space: nowrap; - text-align: right; } -.value { +.label-cell { + width: 120px; + color: #606266; + text-align: right; + padding-right: 4px; +} +.value-cell { color: #303133; font-weight: 500; - white-space: nowrap; } .divider { height: 1px; background-color: #dcdfe6; - margin: 16px 0; + margin: 12px 0; }