Эх сурвалжийг харах

Merge branch 'V0.0.2' of http://10.87.10.227:4000/jzyd_yyds/soc_web into V0.0.2

luojun 2 жил өмнө
parent
commit
73bb8fdbcb

+ 8 - 2
src/components/elDialog/dialog.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-dialog :close="close" v-bind="$attrs" v-on="$listeners" :close-on-click-modal="false">
+    <el-dialog v-bind="$attrs" v-on="$listeners" :close-on-click-modal="false" class="centerDialog">
       <slot></slot>
       <slot name="footer" class="dialog-footer"></slot>
     </el-dialog>
@@ -23,8 +23,14 @@ export default {
   },
 };
 </script>
-<style lang="scss">
+<style lang="scss" >
 .dialog-footer {
   text-align: right;
 }
 </style>
+<style lang="scss" scoped>
+  .centerDialog{
+    position: absolute;
+    top: 20%;
+  } 
+</style>

+ 2 - 2
src/components/layoutContainer/index.vue

@@ -63,13 +63,13 @@ export default {
 </script>
 <style lang="scss" scoped>
 .big_box {
-  width: 100%;
+//   width: 100%;
   display: flex;
   .leftBar {
     min-width: 200px;
   }
   .rightBar {
-    width: 85%;
+    width: 80%;
   }
   .dragonet {
     width: 10px;

+ 7 - 6
src/components/orgTree/index.vue

@@ -129,11 +129,12 @@ export default {
 };
 </script>
 
-<style lang="scss" scoped>
-.el-tree-ex {
-  overflow: auto;
-  ::v-deep .is-current > .el-tree-node__content {
-    background-color: #d1e0f1 !important;
+<style lang='scss' scoped>
+  .el-tree-ex {
+    // overflow: auto;
+    ::v-deep .is-current > .el-tree-node__content {
+      background-color: #d1e0f1 !important;
+    }
   }
-}
+
 </style>