ソースを参照

fix:修改选择器自适应高度

liujiayin 3 年 前
コミット
6df6a1f5a6
1 ファイル変更5 行追加4 行削除
  1. 5 4
      src/business/platform/org/employee/panel.vue

+ 5 - 4
src/business/platform/org/employee/panel.vue

@@ -26,10 +26,10 @@
         />
       </div>
       <div
-        :style="{ height:(tableHeight-105)+'px'}"
+        :style="{ height:auto}"
       >
         <el-scrollbar
-          style="height: 100%;width:100%;"
+          style="height: 100%;width:100%; padding-bottom:8px;"
           wrap-class="ibps-tree-wrapper ibps-scrollbar-wrapper"
         >
           <el-tree
@@ -53,7 +53,7 @@
     </div>
     <ibps-crud
       ref="crud"
-      :height="600"
+      :height="'auto'"
       :data="listData"
       :toolbars="listConfig.toolbars"
       :search-form="listConfig.searchForm"
@@ -101,7 +101,7 @@ export default {
     seetingSearchPartyType: String, // 设置查询用户类型
     height: {
       type: String,
-      default: '400px'
+    //   default: '400px'
     },
     partyTypeId: { // 类型节点ID
       type: [String, Number],
@@ -467,6 +467,7 @@ $border-color: #e5e6e7;
     }
     .ibps-tree-search-form {
       padding: 5px;
+      padding-bottom: 20px;
       border-right: 1px solid $border-color;
       background: #ffffff;
     }