From f62b5dccd3fbd23ff9353f4e7ea5e6d18aa54946 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 21 Jan 2026 17:46:37 +0800
Subject: [PATCH] feat:添加判断

---
 applications/task-work-order/src/styles/common/cockpit.scss |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/applications/task-work-order/src/styles/common/cockpit.scss b/applications/task-work-order/src/styles/common/cockpit.scss
index 6ad24b1..4c671ac 100644
--- a/applications/task-work-order/src/styles/common/cockpit.scss
+++ b/applications/task-work-order/src/styles/common/cockpit.scss
@@ -461,7 +461,13 @@
   background: #FFFFFF;
   border: 1px solid #CCCCCC;
   border-radius: 6px 6px 6px 6px;
-  margin-top: 10vh !important;
+  margin-top: auto !important;
+  max-height: 90vh;
+  min-height: 20vh;
+  position: absolute;
+  left: 50%;
+  top: 50%;
+  transform: translate(-50%, -50%);
 
 
   .el-dialog__header {
@@ -482,8 +488,6 @@
   }
 
   .el-dialog__body {
-    max-height: 70vh;
-    min-height: 20vh;
     overflow: auto;
 
     .detail-title {

--
Gitblit v1.9.3