From 9ccde974b85157aee21943ca8aa718f7093985bc Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 09 一月 2023 17:25:50 +0800
Subject: [PATCH] 网格管理

---
 src/views/systemSetting/baseSetting/user/components/header/index.vue |   25 +++++++++++++++++--------
 1 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/src/views/systemSetting/baseSetting/user/components/header/index.vue b/src/views/systemSetting/baseSetting/user/components/header/index.vue
index 67dcb8d..4b6d0de 100644
--- a/src/views/systemSetting/baseSetting/user/components/header/index.vue
+++ b/src/views/systemSetting/baseSetting/user/components/header/index.vue
@@ -10,8 +10,9 @@
             </div>
             <div class="addUser">
                 <!-- :before-close="handleClose" -->
-                <el-button class="addBtn" type="primary" @click="dialogCreate = true">娣诲姞鐢ㄦ埛</el-button>
-                <el-dialog :visible.sync="dialogCreate" title="鏂板璐︽埛" width="45%" v-if="dialogCreate">
+                <el-button class="addBtn button-addition" type="primary" @click="dialogCreate = true">娣诲姞鐢ㄦ埛</el-button>
+                <el-dialog :visible.sync="dialogCreate" title="鏂板璐︽埛" width="60%" v-if="dialogCreate"
+                    :before-close="handleClose">
                     <createUser @sendDialog="sendDialog" />
                 </el-dialog>
             </div>
@@ -37,7 +38,15 @@
         sendDialog(flag) {
             console.log(flag);
             this.dialogCreate = flag.flag;
-            this.$emit('setDialog', { flag:true })
+            this.$emit('setDialog', { flag: true })
+        },
+        handleClose(done) {
+            this.$confirm('纭鍏抽棴锛�')
+                .then(_ => {
+                    this.dialogCreate = false;
+                    done();
+                })
+                .catch(_ => { });
         }
     },
     props: ['setDialog', 'getSearch', 'flag'],
@@ -45,7 +54,7 @@
 </script>
 <style lang="scss" scoped>
 header {
-    background-color: #09152f;
+    // background-color: #09152f;
     border: 1pox solid #fff;
 
     .headerContent {
@@ -65,11 +74,11 @@
 
             .el-input {
                 flex: 2;
-                color: #1d3f57;
+                // color: #1d3f57;
 
                 &::v-deep .el-input__inner {
-                    background-color: #09152f;
-                    border: 1px solid #17324c;
+                    // background-color: #09152f;
+                    // border: 1px solid #17324c;
                 }
             }
 
@@ -95,7 +104,7 @@
             padding: 12px 30px;
         }
 
-            
+
     }
 }
 </style>
\ No newline at end of file

--
Gitblit v1.8.0