From b9a2f37b48ec817e938c0708e929008b878f9278 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Sun, 28 Sep 2025 15:33:52 +0800
Subject: [PATCH] feat:更新样式和解决bug

---
 src/views/system/user.vue          |    4 ++++
 src/views/resource/wayline.vue     |    2 +-
 src/views/device/devicePerMenu.vue |    2 ++
 src/option/system/dict.js          |    2 +-
 src/styles/element-ui.scss         |    5 ++++-
 5 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/option/system/dict.js b/src/option/system/dict.js
index a3ebf3d..c268396 100644
--- a/src/option/system/dict.js
+++ b/src/option/system/dict.js
@@ -59,7 +59,7 @@
       label: '封存',
       prop: 'isSealed',
       type: 'switch',
-      align: 'center',
+      // align: 'center',
       width: 100,
       dicData: [
         {
diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss
index 5050fe9..72655e8 100644
--- a/src/styles/element-ui.scss
+++ b/src/styles/element-ui.scss
@@ -98,7 +98,7 @@
       .el-dialog__headerbtn {
         position: absolute;
         left: 0;
-        top: 14px;
+        //top: 14px;
 
         .el-dialog__close {
           color: #fff;
@@ -111,6 +111,9 @@
 }
 
 .ztzf-drawer-body-basic-container {
+  .el-drawer__header {
+    margin-bottom: 0;
+  }
   .el-drawer__body {
     display: flex;
     flex-direction: column;
diff --git a/src/views/device/devicePerMenu.vue b/src/views/device/devicePerMenu.vue
index ca5ae19..007dd5a 100644
--- a/src/views/device/devicePerMenu.vue
+++ b/src/views/device/devicePerMenu.vue
@@ -77,6 +77,8 @@
           },
           {
             label: '绑定菜单',
+            searchSpan: 5,
+            span: 24,
             prop: 'menu_id',
             type: 'tree',
             dicUrl: '/blade-system/menu/deviceButtons',
diff --git a/src/views/resource/wayline.vue b/src/views/resource/wayline.vue
index 244cb8f..cd7e37b 100644
--- a/src/views/resource/wayline.vue
+++ b/src/views/resource/wayline.vue
@@ -45,7 +45,7 @@
         searchMenuSpan: 6,
         border: true,
         index: true,
-        selection: true,
+        // selection: true,
         dialogClickModal: false,
         menu: false, // 禁用默认操作列
 
diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index b292605..431afa2 100644
--- a/src/views/system/user.vue
+++ b/src/views/system/user.vue
@@ -515,6 +515,7 @@
             column: [
               {
                 label: '到期时间',
+                labelWidth: 110,
                 prop: 'expireTime',
                 type: 'datetime',
                 format: 'YYYY-MM-DD HH:mm:ss',
@@ -522,12 +523,14 @@
               },
               {
                 label: '次数限制',
+                labelWidth: 110,
                 prop: 'maxLoginNum',
                 type: 'input',
               },
 
               {
                 label: '飞行开始时间',
+                labelWidth: 110,
                 prop: 'flightStartTime',
                 type: 'time',
                 format: 'HH:mm',
@@ -542,6 +545,7 @@
               },
               {
                 label: '飞行结束时间',
+                labelWidth: 110,
                 prop: 'flightEndTime',
                 type: 'time',
                 format: 'HH:mm',

--
Gitblit v1.9.3