From 1ee913c8ccdfebc117fbf44ec68ef78beb287db0 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 1 Jun 2026 16:31:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= =?UTF-8?q?=E7=89=A9=E6=96=99=E6=B7=BB=E5=8A=A0=E5=88=97=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_detail.vue | 9 ++++- src/views/wpm_bx/mlogbw_check_table.vue | 45 ++++++++++++++----------- 2 files changed, 34 insertions(+), 20 deletions(-) diff --git a/src/views/wpm_bx/mlog_detail.vue b/src/views/wpm_bx/mlog_detail.vue index c1970b61..c12df44e 100644 --- a/src/views/wpm_bx/mlog_detail.vue +++ b/src/views/wpm_bx/mlog_detail.vue @@ -364,7 +364,13 @@ - + + +
- - -
-
- {{ col.label }} -
-
-
+ + +
+
+ {{ col.label }}
@@ -582,7 +572,14 @@ export default { if (event.target && event.target.closest(".action-more")) { return; } + if (event.target && event.target.closest(".col-setting-float-panel")) { + return; + } this.openedActionMenu = null; + this.columnSettingVisible = false; + }, + openColumnSetting() { + this.columnSettingVisible = !this.columnSettingVisible; }, check_add(){ let that = this; @@ -1471,7 +1468,17 @@ tbody tr:nth-child(odd) .sticky-cell{ .more-menu-btn:hover{ background: #fef0f0; } -.col-setting-panel{ +.col-setting-float-panel{ + position: absolute; + right: 0; + top: 35px; + z-index: 100; + background: #fff; + border: 1px solid #ebeef5; + border-radius: 4px; + box-shadow: 0 2px 12px rgba(0,0,0,0.12); + padding: 8px 12px; + min-width: 150px; max-height: 300px; overflow-y: auto; }